Class IosVppAppRevokeLicensesActionResult
- java.lang.Object
-
- odata.msgraph.client.beta.complex.IosVppAppRevokeLicensesActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosVppAppRevokeLicensesActionResult extends Object implements com.github.davidmoten.odata.client.ODataType
“Defines results for actions on iOS Vpp Apps, contains inherited properties for ActionResult.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosVppAppRevokeLicensesActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VppTokenActionFailureReasonactionFailureReasonprotected StringactionNameprotected ActionStateactionStateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerfailedLicensesCountprotected OffsetDateTimelastUpdatedDateTimeprotected StringmanagedDeviceIdprotected StringodataTypeprotected OffsetDateTimestartDateTimeprotected IntegertotalLicensesCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserId
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosVppAppRevokeLicensesActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosVppAppRevokeLicensesActionResult.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<VppTokenActionFailureReason>getActionFailureReason()“The reason for the revoke licenses action failure.”Optional<String>getActionName()“Action name”Optional<ActionState>getActionState()“State of the action”Optional<Integer>getFailedLicensesCount()“A count of the number of licenses for which revoke failed.”Optional<OffsetDateTime>getLastUpdatedDateTime()“Time the action state was last updated”Optional<String>getManagedDeviceId()“DeviceId associated with the action.”Optional<OffsetDateTime>getStartDateTime()“Time the action was initiated”Optional<Integer>getTotalLicensesCount()“A count of the number of licenses for which revoke was attempted.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“UserId associated with the action.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosVppAppRevokeLicensesActionResultwithActionFailureReason(VppTokenActionFailureReason actionFailureReason)Returns an immutable copy ofthiswith just theactionFailureReasonfield changed.IosVppAppRevokeLicensesActionResultwithActionName(String actionName)Returns an immutable copy ofthiswith just theactionNamefield changed.IosVppAppRevokeLicensesActionResultwithActionState(ActionState actionState)Returns an immutable copy ofthiswith just theactionStatefield changed.IosVppAppRevokeLicensesActionResultwithFailedLicensesCount(Integer failedLicensesCount)Returns an immutable copy ofthiswith just thefailedLicensesCountfield changed.IosVppAppRevokeLicensesActionResultwithLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)Returns an immutable copy ofthiswith just thelastUpdatedDateTimefield changed.IosVppAppRevokeLicensesActionResultwithManagedDeviceId(String managedDeviceId)Returns an immutable copy ofthiswith just themanagedDeviceIdfield changed.IosVppAppRevokeLicensesActionResultwithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.IosVppAppRevokeLicensesActionResultwithTotalLicensesCount(Integer totalLicensesCount)Returns an immutable copy ofthiswith just thetotalLicensesCountfield changed.IosVppAppRevokeLicensesActionResultwithUnmappedField(String name, String value)IosVppAppRevokeLicensesActionResultwithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.
-
-
-
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
-
actionFailureReason
protected VppTokenActionFailureReason actionFailureReason
-
actionName
protected String actionName
-
actionState
protected ActionState actionState
-
failedLicensesCount
protected Integer failedLicensesCount
-
lastUpdatedDateTime
protected OffsetDateTime lastUpdatedDateTime
-
managedDeviceId
protected String managedDeviceId
-
startDateTime
protected OffsetDateTime startDateTime
-
totalLicensesCount
protected Integer totalLicensesCount
-
userId
protected String userId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getActionFailureReason
public Optional<VppTokenActionFailureReason> getActionFailureReason()
“The reason for the revoke licenses action failure.”- Returns:
- property actionFailureReason
-
withActionFailureReason
public IosVppAppRevokeLicensesActionResult withActionFailureReason(VppTokenActionFailureReason actionFailureReason)
Returns an immutable copy ofthiswith just theactionFailureReasonfield 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.“The reason for the revoke licenses action failure.”
- Parameters:
actionFailureReason- new value ofactionFailureReasonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionFailureReasonfield changed
-
withActionName
public IosVppAppRevokeLicensesActionResult 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 IosVppAppRevokeLicensesActionResult 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
-
getFailedLicensesCount
public Optional<Integer> getFailedLicensesCount()
“A count of the number of licenses for which revoke failed.”- Returns:
- property failedLicensesCount
-
withFailedLicensesCount
public IosVppAppRevokeLicensesActionResult withFailedLicensesCount(Integer failedLicensesCount)
Returns an immutable copy ofthiswith just thefailedLicensesCountfield 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.“A count of the number of licenses for which revoke failed.”
- Parameters:
failedLicensesCount- new value offailedLicensesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedLicensesCountfield changed
-
getLastUpdatedDateTime
public Optional<OffsetDateTime> getLastUpdatedDateTime()
“Time the action state was last updated”- Returns:
- property lastUpdatedDateTime
-
withLastUpdatedDateTime
public IosVppAppRevokeLicensesActionResult 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
-
getManagedDeviceId
public Optional<String> getManagedDeviceId()
“DeviceId associated with the action.”- Returns:
- property managedDeviceId
-
withManagedDeviceId
public IosVppAppRevokeLicensesActionResult withManagedDeviceId(String managedDeviceId)
Returns an immutable copy ofthiswith just themanagedDeviceIdfield 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.“DeviceId associated with the action.”
- Parameters:
managedDeviceId- new value ofmanagedDeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceIdfield changed
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“Time the action was initiated”- Returns:
- property startDateTime
-
withStartDateTime
public IosVppAppRevokeLicensesActionResult 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
-
getTotalLicensesCount
public Optional<Integer> getTotalLicensesCount()
“A count of the number of licenses for which revoke was attempted.”- Returns:
- property totalLicensesCount
-
withTotalLicensesCount
public IosVppAppRevokeLicensesActionResult withTotalLicensesCount(Integer totalLicensesCount)
Returns an immutable copy ofthiswith just thetotalLicensesCountfield 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.“A count of the number of licenses for which revoke was attempted.”
- Parameters:
totalLicensesCount- new value oftotalLicensesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicensesCountfield changed
-
getUserId
public Optional<String> getUserId()
“UserId associated with the action.”- Returns:
- property userId
-
withUserId
public IosVppAppRevokeLicensesActionResult withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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.“UserId associated with the action.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUnmappedField
public IosVppAppRevokeLicensesActionResult 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 IosVppAppRevokeLicensesActionResult.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
-
-