WorkTypeBuilder クラス
ビルダーオブジェクトを取得するには、WorkType クラスで定義される WorkTypeBuilder メソッドの 1 つを呼び出します。
名前空間
WorkTypeBuilder のメソッド
WorkTypeBuilder のメソッドは次のとおりです。
setBlockTimeAfterAppointmentInMinutes(blockTimeAfterAppointmentInMinutes)
署名
public lxscheduler.WorkTypeBuilder setBlockTimeAfterAppointmentInMinutes(Integer blockTimeAfterAppointmentInMinutes)
パラメーター
- blockTimeAfterAppointmentInMinutes
- 型: Integer
- 予定が利用不可と見なされた後の期間。
戻り値
setBlockTimeBeforeAppointmentInMinutes(blockTimeBeforeAppointmentInMinutes)
署名
public lxscheduler.WorkTypeBuilder setBlockTimeBeforeAppointmentInMinutes(Integer blockTimeBeforeAppointmentInMinutes)
パラメーター
- blockTimeBeforeAppointmentInMinutes
- 型: Integer
- 予定が利用不可と見なされるまでの期間。
戻り値
setDurationInMinutes(durationInMinutes)
署名
public lxscheduler.WorkTypeBuilder setDurationInMinutes(Integer durationInMinutes)
パラメーター
- durationInMinutes
- 型: Integer
- 行動の長さ (分) が含まれます。id が指定されていない場合は必須。
戻り値
setId(id)
署名
public lxscheduler.WorkTypeBuilder setId(String id)
パラメーター
- id
- 型: String
- 作業種別の ID。durationInMinutes が指定されていない場合は必須。
戻り値
setOperatingHoursId(operatingHoursId)
署名
public lxscheduler.WorkTypeBuilder setOperatingHoursId(String operatingHoursId)
パラメーター
- operatingHoursId
- 型: String
- 時間枠を決定する際は、取引先、作業種別、サービステリトリー、およびサービステリトリーメンバーのすべての業務時間の重複が考慮されます。
戻り値
setSkillRequirements(skillRequirements)
署名
public lxscheduler.WorkTypeBuilder setSkillRequirements(List<lxscheduler.SkillRequirement> skillRequirements)
パラメーター
- skillRequirements
- 型: List<lxscheduler.SkillRequirement>
- このメソッドは入力で、lxscheduler.SkillRequirement クラスのインスタンスを取得します。lxscheduler.SkillRequirementBuilder クラスを使用して、入力クラスのインスタンスを作成します。
戻り値
setTimeFrameEndInMinutes(timeFrameEndInMinutes)
署名
public lxscheduler.WorkTypeBuilder setTimeFrameEndInMinutes(Integer timeFrameEndInMinutes)
パラメーター
- timeFrameEndInMinutes
- 型: Integer
戻り値
setTimeFrameStartInMinutes(timeFrameStartInMinutes)
署名
public lxscheduler.WorkTypeBuilder setTimeFrameStartInMinutes(Integer timeFrameStartInMinutes)
パラメーター
- timeFrameStartInMinutes
- 型: Integer