Class RevokeAppleVppLicensesActionResult
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceActionResult
-
- odata.msgraph.client.beta.complex.RevokeAppleVppLicensesActionResult
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class RevokeAppleVppLicensesActionResult extends DeviceActionResult implements com.github.davidmoten.odata.client.ODataType
“Revoke Apple Vpp licenses action result”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRevokeAppleVppLicensesActionResult.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerfailedLicensesCountprotected IntegertotalLicensesCount-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceActionResult
actionName, actionState, contextPath, lastUpdatedDateTime, odataType, startDateTime, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRevokeAppleVppLicensesActionResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RevokeAppleVppLicensesActionResult.BuilderbuilderRevokeAppleVppLicensesActionResult()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getFailedLicensesCount()“Total number of Apple Vpp licenses that failed to revoke”Optional<Integer>getTotalLicensesCount()“Total number of Apple Vpp licenses associated”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()RevokeAppleVppLicensesActionResultwithFailedLicensesCount(Integer failedLicensesCount)Returns an immutable copy ofthiswith just thefailedLicensesCountfield changed.RevokeAppleVppLicensesActionResultwithTotalLicensesCount(Integer totalLicensesCount)Returns an immutable copy ofthiswith just thetotalLicensesCountfield changed.RevokeAppleVppLicensesActionResultwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceActionResult
builder, getActionName, getActionState, getLastUpdatedDateTime, getStartDateTime, withActionName, withActionState, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceActionResult
-
getFailedLicensesCount
public Optional<Integer> getFailedLicensesCount()
“Total number of Apple Vpp licenses that failed to revoke”- Returns:
- property failedLicensesCount
-
withFailedLicensesCount
public RevokeAppleVppLicensesActionResult 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.“Total number of Apple Vpp 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()
“Total number of Apple Vpp licenses associated”- Returns:
- property totalLicensesCount
-
withTotalLicensesCount
public RevokeAppleVppLicensesActionResult 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.“Total number of Apple Vpp licenses associated”
- Parameters:
totalLicensesCount- new value oftotalLicensesCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicensesCountfield changed
-
withUnmappedField
public RevokeAppleVppLicensesActionResult withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceActionResult
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceActionResult
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceActionResult
-
builderRevokeAppleVppLicensesActionResult
public static RevokeAppleVppLicensesActionResult.Builder builderRevokeAppleVppLicensesActionResult()
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 classDeviceActionResult
-
-