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.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkforceIntegration
extends ChangeTrackedEntity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkforceIntegrationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the apiVersion property value.Gets the displayName property value.Gets the eligibilityFilteringEnabledEntities property value.Gets the encryption property value.The deserialization information for the current modelGets the isActive property value.Gets the supportedEntities property value.getUrl()Gets the url property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetApiVersion(Integer value) Sets the apiVersion property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the eligibilityFilteringEnabledEntities property value.voidSets the encryption property value.voidsetIsActive(Boolean value) Sets the isActive property value.voidSets the supportedEntities property value.voidSets the url property value.Methods inherited from class com.microsoft.graph.models.ChangeTrackedEntity
getCreatedBy, getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setCreatedDateTime, setLastModifiedBy, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkforceIntegration
public WorkforceIntegration()Instantiates a newWorkforceIntegrationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkforceIntegration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
WorkforceIntegration
-
getApiVersion
Gets the apiVersion property value. API version for the callback URL. Start with 1.- Returns:
- a
Integer
-
getDisplayName
Gets the displayName property value. Name of the workforce integration.- Returns:
- a
String
-
getEligibilityFilteringEnabledEntities
@Nullable public EnumSet<EligibilityFilteringEnabledEntities> getEligibilityFilteringEnabledEntities()Gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason.- Returns:
- a
EnumSet<EligibilityFilteringEnabledEntities>
-
getEncryption
Gets the encryption property value. The workforce integration encryption resource.- Returns:
- a
WorkforceIntegrationEncryption
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classChangeTrackedEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsActive
Gets the isActive property value. Indicates whether this workforce integration is currently active and available.- Returns:
- a
Boolean
-
getSupportedEntities
Gets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest.- Returns:
- a
EnumSet<WorkforceIntegrationSupportedEntities>
-
getUrl
Gets the url property value. Workforce Integration URL for callbacks from the Shifts service.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classChangeTrackedEntity- Parameters:
writer- Serialization writer to use to serialize this model
-
setApiVersion
Sets the apiVersion property value. API version for the callback URL. Start with 1.- Parameters:
value- Value to set for the apiVersion property.
-
setDisplayName
Sets the displayName property value. Name of the workforce integration.- Parameters:
value- Value to set for the displayName property.
-
setEligibilityFilteringEnabledEntities
public void setEligibilityFilteringEnabledEntities(@Nullable EnumSet<EligibilityFilteringEnabledEntities> value) Sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason.- Parameters:
value- Value to set for the eligibilityFilteringEnabledEntities property.
-
setEncryption
Sets the encryption property value. The workforce integration encryption resource.- Parameters:
value- Value to set for the encryption property.
-
setIsActive
Sets the isActive property value. Indicates whether this workforce integration is currently active and available.- Parameters:
value- Value to set for the isActive property.
-
setSupportedEntities
Sets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest.- Parameters:
value- Value to set for the supportedEntities property.
-
setUrl
Sets the url property value. Workforce Integration URL for callbacks from the Shifts service.- Parameters:
value- Value to set for the url property.
-