Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ServiceResourceSchedule Class

Use this class to pass results from your implemented Apex class to the ServiceResourceScheduleHandler interface methods.

Namespace

LxScheduler

ServiceResourceSchedule Constructors

The following are constructors for ServiceResourceSchedule.

ServiceResourceSchedule(serviceResourceId, unavailableTimeslots)

Creates a new instance of lxscheduler.ServiceResourceSchedule class.

Signature

public ServiceResourceSchedule(String serviceResourceId, Set<lxscheduler.UnavailableTimeslot> unavailableTimeslots)

Parameters

  • serviceResourceId:

    Type: String

    Record

    ID of the service resource.

  • unavailableTimeslots:

    Type: Set<lxscheduler.UnavailableTimeslot>

    An instance of lxscheduler.UnavailableTimeslot class.

ServiceResourceSchedule Properties

The following are properties for ServiceResourceSchedule.

serviceResourceId

Record ID of the service resource.

Signature

public String serviceResourceId {get; set;}

Property Value

Type: String

unavailableTimeslots

An instance of lxscheduler.UnavailableTimeslot class.

Signature

public Set<lxscheduler.UnavailableTimeslot> unavailableTimeslots {get; set;}

Property Value

Type: Set<lxscheduler.UnavailableTimeslot>