public class AppleOwnerTypeEnrollmentType extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AppleOwnerTypeEnrollmentType.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected AppleUserInitiatedEnrollmentType |
enrollmentType |
protected String |
odataType |
protected ManagedDeviceOwnerType |
ownerType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AppleOwnerTypeEnrollmentType() |
| Modifier and Type | Method and Description |
|---|---|
static AppleOwnerTypeEnrollmentType.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<AppleUserInitiatedEnrollmentType> |
getEnrollmentType()
“The enrollment type.”
|
Optional<ManagedDeviceOwnerType> |
getOwnerType()
“The owner type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AppleOwnerTypeEnrollmentType |
withEnrollmentType(AppleUserInitiatedEnrollmentType enrollmentType)
Returns an immutable copy of
this with just the enrollmentType
field changed. |
AppleOwnerTypeEnrollmentType |
withOwnerType(ManagedDeviceOwnerType ownerType)
Returns an immutable copy of
this with just the ownerType field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected ManagedDeviceOwnerType ownerType
protected AppleUserInitiatedEnrollmentType enrollmentType
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<ManagedDeviceOwnerType> getOwnerType()
public AppleOwnerTypeEnrollmentType withOwnerType(ManagedDeviceOwnerType ownerType)
this with just the ownerType 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.
“The owner type.”
ownerType - new value of ownerType field (as defined in service metadata)this with just the ownerType field changedpublic Optional<AppleUserInitiatedEnrollmentType> getEnrollmentType()
public AppleOwnerTypeEnrollmentType withEnrollmentType(AppleUserInitiatedEnrollmentType enrollmentType)
this with just the enrollmentType
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.
“The enrollment type.”
enrollmentType - new value of enrollmentType field (as defined in service metadata)this with just the enrollmentType 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 AppleOwnerTypeEnrollmentType.Builder builder()
Copyright © 2018–2020. All rights reserved.