Class VppTokenActionResult
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VppTokenActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
VppTokenRevokeLicensesActionResult
public class VppTokenActionResult extends Object implements com.github.davidmoten.odata.client.ODataType
“The status of the action performed with an Apple Volume Purchase Program token.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVppTokenActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringactionNameprotected ActionStateactionStateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimelastUpdatedDateTimeprotected StringodataTypeprotected OffsetDateTimestartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedVppTokenActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VppTokenActionResult.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getActionName()“Action name”Optional<ActionState>getActionState()“State of the action”Optional<OffsetDateTime>getLastUpdatedDateTime()“Time the action state was last updated”Optional<OffsetDateTime>getStartDateTime()“Time the action was initiated”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VppTokenActionResultwithActionName(String actionName)Returns an immutable copy ofthiswith just theactionNamefield changed.VppTokenActionResultwithActionState(ActionState actionState)Returns an immutable copy ofthiswith just theactionStatefield changed.VppTokenActionResultwithLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)Returns an immutable copy ofthiswith just thelastUpdatedDateTimefield changed.VppTokenActionResultwithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.VppTokenActionResultwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
actionName
protected String actionName
-
actionState
protected ActionState actionState
-
lastUpdatedDateTime
protected OffsetDateTime lastUpdatedDateTime
-
startDateTime
protected OffsetDateTime startDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withActionName
public VppTokenActionResult withActionName(String actionName)
Returns an immutable copy ofthiswith just theactionNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Action name”
- Parameters:
actionName- new value ofactionNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionNamefield changed
-
getActionState
public Optional<ActionState> getActionState()
“State of the action”- Returns:
- property actionState
-
withActionState
public VppTokenActionResult withActionState(ActionState actionState)
Returns an immutable copy ofthiswith just theactionStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“State of the action”
- Parameters:
actionState- new value ofactionStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionStatefield changed
-
getLastUpdatedDateTime
public Optional<OffsetDateTime> getLastUpdatedDateTime()
“Time the action state was last updated”- Returns:
- property lastUpdatedDateTime
-
withLastUpdatedDateTime
public VppTokenActionResult withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
Returns an immutable copy ofthiswith just thelastUpdatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Time the action state was last updated”
- Parameters:
lastUpdatedDateTime- new value oflastUpdatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdatedDateTimefield changed
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“Time the action was initiated”- Returns:
- property startDateTime
-
withStartDateTime
public VppTokenActionResult withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy ofthiswith just thestartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Time the action was initiated”
- Parameters:
startDateTime- new value ofstartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartDateTimefield changed
-
withUnmappedField
public VppTokenActionResult withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static VppTokenActionResult.Builder builder()
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
-
-