Class VppLicensingType
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VppLicensingType
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VppLicensingType extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties for iOS Volume-Purchased Program (Vpp) Licensing Type.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVppLicensingType.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected BooleansupportDeviceLicensingprotected BooleansupportsDeviceLicensingprotected BooleansupportsUserLicensingprotected BooleansupportUserLicensingprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedVppLicensingType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VppLicensingType.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getSupportDeviceLicensing()“Whether the program supports the device licensing type.”Optional<Boolean>getSupportsDeviceLicensing()“Whether the program supports the device licensing type.”Optional<Boolean>getSupportsUserLicensing()“Whether the program supports the user licensing type.”Optional<Boolean>getSupportUserLicensing()“Whether the program supports the user licensing type.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VppLicensingTypewithSupportDeviceLicensing(Boolean supportDeviceLicensing)Returns an immutable copy ofthiswith just thesupportDeviceLicensingfield changed.VppLicensingTypewithSupportsDeviceLicensing(Boolean supportsDeviceLicensing)Returns an immutable copy ofthiswith just thesupportsDeviceLicensingfield changed.VppLicensingTypewithSupportsUserLicensing(Boolean supportsUserLicensing)Returns an immutable copy ofthiswith just thesupportsUserLicensingfield changed.VppLicensingTypewithSupportUserLicensing(Boolean supportUserLicensing)Returns an immutable copy ofthiswith just thesupportUserLicensingfield changed.VppLicensingTypewithUnmappedField(String name, String value)
-
-
-
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
-
supportDeviceLicensing
protected Boolean supportDeviceLicensing
-
supportsDeviceLicensing
protected Boolean supportsDeviceLicensing
-
supportsUserLicensing
protected Boolean supportsUserLicensing
-
supportUserLicensing
protected Boolean supportUserLicensing
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getSupportDeviceLicensing
public Optional<Boolean> getSupportDeviceLicensing()
“Whether the program supports the device licensing type.”- Returns:
- property supportDeviceLicensing
-
withSupportDeviceLicensing
public VppLicensingType withSupportDeviceLicensing(Boolean supportDeviceLicensing)
Returns an immutable copy ofthiswith just thesupportDeviceLicensingfield 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.“Whether the program supports the device licensing type.”
- Parameters:
supportDeviceLicensing- new value ofsupportDeviceLicensingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportDeviceLicensingfield changed
-
getSupportsDeviceLicensing
public Optional<Boolean> getSupportsDeviceLicensing()
“Whether the program supports the device licensing type.”- Returns:
- property supportsDeviceLicensing
-
withSupportsDeviceLicensing
public VppLicensingType withSupportsDeviceLicensing(Boolean supportsDeviceLicensing)
Returns an immutable copy ofthiswith just thesupportsDeviceLicensingfield 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.“Whether the program supports the device licensing type.”
- Parameters:
supportsDeviceLicensing- new value ofsupportsDeviceLicensingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportsDeviceLicensingfield changed
-
getSupportsUserLicensing
public Optional<Boolean> getSupportsUserLicensing()
“Whether the program supports the user licensing type.”- Returns:
- property supportsUserLicensing
-
withSupportsUserLicensing
public VppLicensingType withSupportsUserLicensing(Boolean supportsUserLicensing)
Returns an immutable copy ofthiswith just thesupportsUserLicensingfield 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.“Whether the program supports the user licensing type.”
- Parameters:
supportsUserLicensing- new value ofsupportsUserLicensingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportsUserLicensingfield changed
-
getSupportUserLicensing
public Optional<Boolean> getSupportUserLicensing()
“Whether the program supports the user licensing type.”- Returns:
- property supportUserLicensing
-
withSupportUserLicensing
public VppLicensingType withSupportUserLicensing(Boolean supportUserLicensing)
Returns an immutable copy ofthiswith just thesupportUserLicensingfield 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.“Whether the program supports the user licensing type.”
- Parameters:
supportUserLicensing- new value ofsupportUserLicensingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportUserLicensingfield changed
-
withUnmappedField
public VppLicensingType 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 VppLicensingType.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
-
-