public class VppTokenRevokeLicensesActionResult extends VppTokenActionResult implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
VppTokenRevokeLicensesActionResult.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected VppTokenActionFailureReason |
actionFailureReason |
protected Integer |
failedLicensesCount |
protected Integer |
totalLicensesCount |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime| Modifier | Constructor and Description |
|---|---|
protected |
VppTokenRevokeLicensesActionResult() |
| Modifier and Type | Method and Description |
|---|---|
static VppTokenRevokeLicensesActionResult.Builder |
builderVppTokenRevokeLicensesActionResult()
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
VppTokenRevokeLicensesActionResult |
withActionFailureReason(VppTokenActionFailureReason actionFailureReason)
Returns an immutable copy of
this with just the actionFailureReason field changed. |
VppTokenRevokeLicensesActionResult |
withFailedLicensesCount(Integer failedLicensesCount)
Returns an immutable copy of
this with just the failedLicensesCount field changed. |
VppTokenRevokeLicensesActionResult |
withTotalLicensesCount(Integer totalLicensesCount)
Returns an immutable copy of
this with just the totalLicensesCount field changed. |
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer totalLicensesCount
protected Integer failedLicensesCount
protected VppTokenActionFailureReason actionFailureReason
protected VppTokenRevokeLicensesActionResult()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class VppTokenActionResultpublic Optional<Integer> getTotalLicensesCount()
public VppTokenRevokeLicensesActionResult withTotalLicensesCount(Integer totalLicensesCount)
this with just the totalLicensesCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.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.”
totalLicensesCount - new value of totalLicensesCount field (as defined in service metadata)this with just the totalLicensesCount field changedpublic Optional<Integer> getFailedLicensesCount()
public VppTokenRevokeLicensesActionResult withFailedLicensesCount(Integer failedLicensesCount)
this with just the failedLicensesCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.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.”
failedLicensesCount - new value of failedLicensesCount field (as defined in service metadata)this with just the failedLicensesCount field changedpublic Optional<VppTokenActionFailureReason> getActionFailureReason()
public VppTokenRevokeLicensesActionResult withActionFailureReason(VppTokenActionFailureReason actionFailureReason)
this with just the actionFailureReason field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The reason for the revoke licenses action failure.”
actionFailureReason - new value of actionFailureReason field (as defined in service metadata)this with just the actionFailureReason field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class VppTokenActionResultpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class VppTokenActionResultpublic static VppTokenRevokeLicensesActionResult.Builder builderVppTokenRevokeLicensesActionResult()
public String toString()
toString in class VppTokenActionResultCopyright © 2018–2020. All rights reserved.