com.ringcentral.definitions.CompanyAnsweringRuleScheduleInfoRequest Maven / Gradle / Ivy
package com.ringcentral.definitions;
/**
* Schedule when an answering rule should be applied
*/
public class CompanyAnsweringRuleScheduleInfoRequest {
/**
*
*/
public CompanyAnsweringRuleWeeklyScheduleInfoRequest weeklyRanges;
/**
* Specific data ranges. If specified, weeklyRanges cannot be specified
*/
public RangesInfo[] ranges;
/**
* Reference to Business Hours or After Hours schedule
* Enum: BusinessHours, AfterHours
*/
public String ref;
public CompanyAnsweringRuleScheduleInfoRequest weeklyRanges(CompanyAnsweringRuleWeeklyScheduleInfoRequest weeklyRanges) {
this.weeklyRanges = weeklyRanges;
return this;
}
public CompanyAnsweringRuleScheduleInfoRequest ranges(RangesInfo[] ranges) {
this.ranges = ranges;
return this;
}
public CompanyAnsweringRuleScheduleInfoRequest ref(String ref) {
this.ref = ref;
return this;
}
}