Package odata.msgraph.client.entity
Class WorkforceIntegration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ChangeTrackedEntity
-
- odata.msgraph.client.entity.WorkforceIntegration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WorkforceIntegration extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkforceIntegration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerapiVersionprotected StringdisplayNameprotected WorkforceIntegrationEncryptionencryptionprotected BooleanisActiveprotected WorkforceIntegrationSupportedEntitiessupportedEntitiesprotected Stringurl-
Fields inherited from class odata.msgraph.client.entity.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkforceIntegration()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.ChangeTrackedEntity
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTime
-
-
-
-
Field Detail
-
apiVersion
protected Integer apiVersion
-
displayName
protected String displayName
-
encryption
protected WorkforceIntegrationEncryption encryption
-
isActive
protected Boolean isActive
-
supportedEntities
protected WorkforceIntegrationSupportedEntities supportedEntities
-
url
protected String url
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classChangeTrackedEntity
-
builderWorkforceIntegration
public static WorkforceIntegration.Builder builderWorkforceIntegration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classChangeTrackedEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classChangeTrackedEntity
-
withApiVersion
public WorkforceIntegration withApiVersion(Integer apiVersion)
-
withDisplayName
public WorkforceIntegration withDisplayName(String displayName)
-
getEncryption
public Optional<WorkforceIntegrationEncryption> getEncryption()
-
withEncryption
public WorkforceIntegration withEncryption(WorkforceIntegrationEncryption encryption)
-
withIsActive
public WorkforceIntegration withIsActive(Boolean isActive)
-
getSupportedEntities
public Optional<WorkforceIntegrationSupportedEntities> getSupportedEntities()
-
withSupportedEntities
public WorkforceIntegration withSupportedEntities(WorkforceIntegrationSupportedEntities supportedEntities)
-
withUrl
public WorkforceIntegration withUrl(String url)
-
withUnmappedField
public WorkforceIntegration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classChangeTrackedEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classChangeTrackedEntity
-
patch
public WorkforceIntegration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classChangeTrackedEntity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WorkforceIntegration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classChangeTrackedEntity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classChangeTrackedEntity
-
-