Package com.microsoft.graph.models
Class WorkforceIntegration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Api Version.The Display Name.The Encryption.The Is Active.The Supported Entities.The Url.Fields inherited from class com.microsoft.graph.models.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
apiVersion
@SerializedName(value="apiVersion", alternate="ApiVersion") @Expose @Nullable public Integer apiVersionThe Api Version. API version for the call back URL. Start with 1. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Name of the workforce integration. -
encryption
@SerializedName(value="encryption", alternate="Encryption") @Expose @Nullable public WorkforceIntegrationEncryption encryptionThe Encryption. The workforce integration encryption resource. -
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> supportedEntitiesThe 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
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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classChangeTrackedEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-