Class WorkforceIntegration

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class WorkforceIntegration extends ChangeTrackedEntity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Workforce Integration.
  • Field Details

    • apiVersion

      @SerializedName(value="apiVersion", alternate="ApiVersion") @Expose @Nullable public Integer apiVersion
      The Api Version. API version for the call back URL. Start with 1.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Name of the workforce integration.
    • encryption

      @SerializedName(value="encryption", alternate="Encryption") @Expose @Nullable public WorkforceIntegrationEncryption encryption
      The Encryption. The workforce integration encryption resource.
    • isActive

      @SerializedName(value="isActive", alternate="IsActive") @Expose @Nullable public Boolean isActive
      The Is Active. Indicates whether this workforce integration is currently active and available.
    • supportedEntities

      @SerializedName(value="supportedEntities", alternate="SupportedEntities") @Expose @Nullable public EnumSet<WorkforceIntegrationSupportedEntities> supportedEntities
      The Supported Entities. This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase.
    • url

      @SerializedName(value="url", alternate="Url") @Expose @Nullable public String url
      The Url. Workforce Integration URL for callbacks from the Shifts service.
  • Constructor Details

    • WorkforceIntegration

      public WorkforceIntegration()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ChangeTrackedEntity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to