Class VppTokenRevokeLicensesActionResult
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VppTokenActionResult
-
- odata.msgraph.client.beta.complex.VppTokenRevokeLicensesActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VppTokenRevokeLicensesActionResult extends VppTokenActionResult implements com.github.davidmoten.odata.client.ODataType
“The status of the revoke licenses action performed on the Apple Volume Purchase Program token.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVppTokenRevokeLicensesActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VppTokenActionFailureReasonactionFailureReasonprotected IntegerfailedLicensesCountprotected IntegertotalLicensesCount-
Fields inherited from class odata.msgraph.client.beta.complex.VppTokenActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVppTokenRevokeLicensesActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VppTokenRevokeLicensesActionResult.BuilderbuilderVppTokenRevokeLicensesActionResult()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<Integer>getFailedLicensesCount()“A count of the number of licenses that failed to revoke.”Optional<Integer>getTotalLicensesCount()“A count of the number of licenses that were attempted to revoke.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VppTokenRevokeLicensesActionResultwithActionFailureReason(VppTokenActionFailureReason actionFailureReason)Returns an immutable copy ofthiswith just theactionFailureReasonfield changed.VppTokenRevokeLicensesActionResultwithFailedLicensesCount(Integer failedLicensesCount)Returns an immutable copy ofthiswith just thefailedLicensesCountfield changed.VppTokenRevokeLicensesActionResultwithTotalLicensesCount(Integer totalLicensesCount)Returns an immutable copy ofthiswith just thetotalLicensesCountfield changed.VppTokenRevokeLicensesActionResultwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.VppTokenActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Field Detail
-
actionFailureReason
protected VppTokenActionFailureReason actionFailureReason
-
failedLicensesCount
protected Integer failedLicensesCount
-
totalLicensesCount
protected Integer totalLicensesCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classVppTokenActionResult
-
getActionFailureReason
public Optional<VppTokenActionFailureReason> getActionFailureReason()
“The reason for the revoke licenses action failure.”- Returns:
- property actionFailureReason
-
withActionFailureReason
public VppTokenRevokeLicensesActionResult 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
-
getFailedLicensesCount
public Optional<Integer> getFailedLicensesCount()
“A count of the number of licenses that failed to revoke.”- Returns:
- property failedLicensesCount
-
withFailedLicensesCount
public VppTokenRevokeLicensesActionResult 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 that failed to revoke.”
- Parameters:
failedLicensesCount- new value offailedLicensesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedLicensesCountfield changed
-
getTotalLicensesCount
public Optional<Integer> getTotalLicensesCount()
“A count of the number of licenses that were attempted to revoke.”- Returns:
- property totalLicensesCount
-
withTotalLicensesCount
public VppTokenRevokeLicensesActionResult 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 that were attempted to revoke.”
- Parameters:
totalLicensesCount- new value oftotalLicensesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicensesCountfield changed
-
withUnmappedField
public VppTokenRevokeLicensesActionResult withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classVppTokenActionResult
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classVppTokenActionResult
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classVppTokenActionResult
-
builderVppTokenRevokeLicensesActionResult
public static VppTokenRevokeLicensesActionResult.Builder builderVppTokenRevokeLicensesActionResult()
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
-
toString
public String toString()
- Overrides:
toStringin classVppTokenActionResult
-
-