public class SharedAppleDeviceUser extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
SharedAppleDeviceUser.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Long |
dataQuota |
protected Boolean |
dataToSync |
protected Long |
dataUsed |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
userPrincipalName |
| Modifier | Constructor and Description |
|---|---|
protected |
SharedAppleDeviceUser() |
| Modifier and Type | Method and Description |
|---|---|
static SharedAppleDeviceUser.Builder |
builder()
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.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserPrincipalName()
“User name”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
SharedAppleDeviceUser |
withDataQuota(Long dataQuota)
Returns an immutable copy of
this with just the dataQuota field
changed. |
SharedAppleDeviceUser |
withDataToSync(Boolean dataToSync)
Returns an immutable copy of
this with just the dataToSync field
changed. |
SharedAppleDeviceUser |
withDataUsed(Long dataUsed)
Returns an immutable copy of
this with just the dataUsed field
changed. |
SharedAppleDeviceUser |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String userPrincipalName
protected Boolean dataToSync
protected Long dataQuota
protected Long dataUsed
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getUserPrincipalName()
public SharedAppleDeviceUser withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“User name”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic SharedAppleDeviceUser withDataToSync(Boolean dataToSync)
this with just the dataToSync field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Data to sync”
dataToSync - new value of dataToSync field (as defined in service metadata)this with just the dataToSync field changedpublic SharedAppleDeviceUser withDataQuota(Long dataQuota)
this with just the dataQuota field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Data quota”
dataQuota - new value of dataQuota field (as defined in service metadata)this with just the dataQuota field changedpublic SharedAppleDeviceUser withDataUsed(Long dataUsed)
this with just the dataUsed field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Data quota”
dataUsed - new value of dataUsed field (as defined in service metadata)this with just the dataUsed field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static SharedAppleDeviceUser.Builder builder()
Copyright © 2018–2020. All rights reserved.