Package odata.msgraph.client.beta.entity
Class AgreementAcceptance
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AgreementAcceptance
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AgreementAcceptance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgreementAcceptance.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringagreementFileIdprotected StringagreementIdprotected StringdeviceDisplayNameprotected StringdeviceIdprotected StringdeviceOSTypeprotected StringdeviceOSVersionprotected OffsetDateTimeexpirationDateTimeprotected OffsetDateTimerecordedDateTimeprotected AgreementAcceptanceStatestateprotected StringuserDisplayNameprotected StringuserEmailprotected StringuserIdprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgreementAcceptance()
-
Method Summary
-
-
-
Field Detail
-
agreementFileId
protected String agreementFileId
-
agreementId
protected String agreementId
-
deviceDisplayName
protected String deviceDisplayName
-
deviceId
protected String deviceId
-
deviceOSType
protected String deviceOSType
-
deviceOSVersion
protected String deviceOSVersion
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
recordedDateTime
protected OffsetDateTime recordedDateTime
-
state
protected AgreementAcceptanceState state
-
userDisplayName
protected String userDisplayName
-
userEmail
protected String userEmail
-
userId
protected String userId
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAgreementAcceptance
public static AgreementAcceptance.Builder builderAgreementAcceptance()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withAgreementFileId
public AgreementAcceptance withAgreementFileId(String agreementFileId)
-
withAgreementId
public AgreementAcceptance withAgreementId(String agreementId)
-
withDeviceDisplayName
public AgreementAcceptance withDeviceDisplayName(String deviceDisplayName)
-
withDeviceId
public AgreementAcceptance withDeviceId(String deviceId)
-
withDeviceOSType
public AgreementAcceptance withDeviceOSType(String deviceOSType)
-
withDeviceOSVersion
public AgreementAcceptance withDeviceOSVersion(String deviceOSVersion)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public AgreementAcceptance withExpirationDateTime(OffsetDateTime expirationDateTime)
-
getRecordedDateTime
public Optional<OffsetDateTime> getRecordedDateTime()
-
withRecordedDateTime
public AgreementAcceptance withRecordedDateTime(OffsetDateTime recordedDateTime)
-
getState
public Optional<AgreementAcceptanceState> getState()
-
withState
public AgreementAcceptance withState(AgreementAcceptanceState state)
-
withUserDisplayName
public AgreementAcceptance withUserDisplayName(String userDisplayName)
-
withUserEmail
public AgreementAcceptance withUserEmail(String userEmail)
-
withUserId
public AgreementAcceptance withUserId(String userId)
-
withUserPrincipalName
public AgreementAcceptance withUserPrincipalName(String userPrincipalName)
-
withUnmappedField
public AgreementAcceptance withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AgreementAcceptance patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AgreementAcceptance put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-