Class SharedAppleDeviceUser
- java.lang.Object
-
- odata.msgraph.client.beta.complex.SharedAppleDeviceUser
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SharedAppleDeviceUser extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharedAppleDeviceUser.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected LongdataQuotaprotected BooleandataToSyncprotected LongdataUsedprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserPrincipalName
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharedAppleDeviceUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SharedAppleDeviceUser.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Long>getDataQuota()“Data quota”Optional<Boolean>getDataToSync()“Data to sync”Optional<Long>getDataUsed()“Data quota”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()“User name”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()SharedAppleDeviceUserwithDataQuota(Long dataQuota)Returns an immutable copy ofthiswith just thedataQuotafield changed.SharedAppleDeviceUserwithDataToSync(Boolean dataToSync)Returns an immutable copy ofthiswith just thedataToSyncfield changed.SharedAppleDeviceUserwithDataUsed(Long dataUsed)Returns an immutable copy ofthiswith just thedataUsedfield changed.SharedAppleDeviceUserwithUnmappedField(String name, String value)SharedAppleDeviceUserwithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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
-
dataQuota
protected Long dataQuota
-
dataToSync
protected Boolean dataToSync
-
dataUsed
protected Long dataUsed
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDataQuota
public SharedAppleDeviceUser withDataQuota(Long dataQuota)
Returns an immutable copy ofthiswith just thedataQuotafield 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.“Data quota”
- Parameters:
dataQuota- new value ofdataQuotafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataQuotafield changed
-
withDataToSync
public SharedAppleDeviceUser withDataToSync(Boolean dataToSync)
Returns an immutable copy ofthiswith just thedataToSyncfield 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.“Data to sync”
- Parameters:
dataToSync- new value ofdataToSyncfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataToSyncfield changed
-
withDataUsed
public SharedAppleDeviceUser withDataUsed(Long dataUsed)
Returns an immutable copy ofthiswith just thedataUsedfield 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.“Data quota”
- Parameters:
dataUsed- new value ofdataUsedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataUsedfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User name”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public SharedAppleDeviceUser 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.“User name”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public SharedAppleDeviceUser 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 SharedAppleDeviceUser.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
-
-