Class VppTokenLicenseSummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VppTokenLicenseSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VppTokenLicenseSummary extends Object implements com.github.davidmoten.odata.client.ODataType
“License summary of a given app in a token.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVppTokenLicenseSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappleIdprotected IntegeravailableLicenseCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected StringorganizationNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected IntegerusedLicenseCountprotected StringvppTokenId
-
Constructor Summary
Constructors Modifier Constructor Description protectedVppTokenLicenseSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VppTokenLicenseSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppleId()“The Apple Id associated with the given Apple Volume Purchase Program Token.”Optional<Integer>getAvailableLicenseCount()“The number of VPP licenses available.”Optional<String>getOrganizationName()“The organization associated with the Apple Volume Purchase Program Token.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUsedLicenseCount()“The number of VPP licenses in use.”Optional<String>getVppTokenId()“Identifier of the VPP token.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VppTokenLicenseSummarywithAppleId(String appleId)Returns an immutable copy ofthiswith just theappleIdfield changed.VppTokenLicenseSummarywithAvailableLicenseCount(Integer availableLicenseCount)Returns an immutable copy ofthiswith just theavailableLicenseCountfield changed.VppTokenLicenseSummarywithOrganizationName(String organizationName)Returns an immutable copy ofthiswith just theorganizationNamefield changed.VppTokenLicenseSummarywithUnmappedField(String name, String value)VppTokenLicenseSummarywithUsedLicenseCount(Integer usedLicenseCount)Returns an immutable copy ofthiswith just theusedLicenseCountfield changed.VppTokenLicenseSummarywithVppTokenId(String vppTokenId)Returns an immutable copy ofthiswith just thevppTokenIdfield 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
-
appleId
protected String appleId
-
availableLicenseCount
protected Integer availableLicenseCount
-
organizationName
protected String organizationName
-
usedLicenseCount
protected Integer usedLicenseCount
-
vppTokenId
protected String vppTokenId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAppleId
public Optional<String> getAppleId()
“The Apple Id associated with the given Apple Volume Purchase Program Token.”- Returns:
- property appleId
-
withAppleId
public VppTokenLicenseSummary withAppleId(String appleId)
Returns an immutable copy ofthiswith just theappleIdfield 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 Apple Id associated with the given Apple Volume Purchase Program Token.”
- Parameters:
appleId- new value ofappleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappleIdfield changed
-
getAvailableLicenseCount
public Optional<Integer> getAvailableLicenseCount()
“The number of VPP licenses available.”- Returns:
- property availableLicenseCount
-
withAvailableLicenseCount
public VppTokenLicenseSummary withAvailableLicenseCount(Integer availableLicenseCount)
Returns an immutable copy ofthiswith just theavailableLicenseCountfield 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 number of VPP licenses available.”
- Parameters:
availableLicenseCount- new value ofavailableLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theavailableLicenseCountfield changed
-
getOrganizationName
public Optional<String> getOrganizationName()
“The organization associated with the Apple Volume Purchase Program Token.”- Returns:
- property organizationName
-
withOrganizationName
public VppTokenLicenseSummary withOrganizationName(String organizationName)
Returns an immutable copy ofthiswith just theorganizationNamefield 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 organization associated with the Apple Volume Purchase Program Token.”
- Parameters:
organizationName- new value oforganizationNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theorganizationNamefield changed
-
getUsedLicenseCount
public Optional<Integer> getUsedLicenseCount()
“The number of VPP licenses in use.”- Returns:
- property usedLicenseCount
-
withUsedLicenseCount
public VppTokenLicenseSummary withUsedLicenseCount(Integer usedLicenseCount)
Returns an immutable copy ofthiswith just theusedLicenseCountfield 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 number of VPP licenses in use.”
- Parameters:
usedLicenseCount- new value ofusedLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusedLicenseCountfield changed
-
getVppTokenId
public Optional<String> getVppTokenId()
“Identifier of the VPP token.”- Returns:
- property vppTokenId
-
withVppTokenId
public VppTokenLicenseSummary withVppTokenId(String vppTokenId)
Returns an immutable copy ofthiswith just thevppTokenIdfield 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.“Identifier of the VPP token.”
- Parameters:
vppTokenId- new value ofvppTokenIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenIdfield changed
-
withUnmappedField
public VppTokenLicenseSummary 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 VppTokenLicenseSummary.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
-
-