Package odata.msgraph.client.beta.entity
Class IosVppAppAssignedLicense
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.IosVppAppAssignedLicense
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosVppAppAssignedDeviceLicense,IosVppAppAssignedUserLicense
public class IosVppAppAssignedLicense extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“iOS Volume Purchase Program license assignment. This class does not support Create, Delete, or Update.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosVppAppAssignedLicense.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringuserEmailAddressprotected StringuserIdprotected StringuserNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosVppAppAssignedLicense()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosVppAppAssignedLicense.BuilderbuilderIosVppAppAssignedLicense()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserEmailAddress()“The user email address.”Optional<String>getUserId()“The user ID.”Optional<String>getUserName()“The user name.”Optional<String>getUserPrincipalName()“The user principal name.”StringodataTypeName()IosVppAppAssignedLicensepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosVppAppAssignedLicenseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosVppAppAssignedLicensewithUnmappedField(String name, String value)IosVppAppAssignedLicensewithUserEmailAddress(String userEmailAddress)Returns an immutable copy ofthiswith just theuserEmailAddressfield changed.IosVppAppAssignedLicensewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.IosVppAppAssignedLicensewithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.IosVppAppAssignedLicensewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderIosVppAppAssignedLicense
public static IosVppAppAssignedLicense.Builder builderIosVppAppAssignedLicense()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getUserEmailAddress
public Optional<String> getUserEmailAddress()
“The user email address.”- Returns:
- property userEmailAddress
-
withUserEmailAddress
public IosVppAppAssignedLicense withUserEmailAddress(String userEmailAddress)
Returns an immutable copy ofthiswith just theuserEmailAddressfield 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 user email address.”
- Parameters:
userEmailAddress- new value ofuserEmailAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserEmailAddressfield changed
-
withUserId
public IosVppAppAssignedLicense withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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 user ID.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUserName
public IosVppAppAssignedLicense withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield 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 user name.”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“The user principal name.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public IosVppAppAssignedLicense withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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 user principal name.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public IosVppAppAssignedLicense withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public IosVppAppAssignedLicense patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public IosVppAppAssignedLicense put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-