Class AppleOwnerTypeEnrollmentType
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AppleOwnerTypeEnrollmentType
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AppleOwnerTypeEnrollmentType extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppleOwnerTypeEnrollmentType.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected AppleUserInitiatedEnrollmentTypeenrollmentTypeprotected StringodataTypeprotected ManagedDeviceOwnerTypeownerTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleOwnerTypeEnrollmentType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppleOwnerTypeEnrollmentType.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AppleOwnerTypeEnrollmentTypewithEnrollmentType(AppleUserInitiatedEnrollmentType enrollmentType)Returns an immutable copy ofthiswith just theenrollmentTypefield changed.AppleOwnerTypeEnrollmentTypewithOwnerType(ManagedDeviceOwnerType ownerType)Returns an immutable copy ofthiswith just theownerTypefield changed.AppleOwnerTypeEnrollmentTypewithUnmappedField(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
-
enrollmentType
protected AppleUserInitiatedEnrollmentType enrollmentType
-
ownerType
protected ManagedDeviceOwnerType ownerType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getEnrollmentType
public Optional<AppleUserInitiatedEnrollmentType> getEnrollmentType()
“The enrollment type.”- Returns:
- property enrollmentType
-
withEnrollmentType
public AppleOwnerTypeEnrollmentType withEnrollmentType(AppleUserInitiatedEnrollmentType enrollmentType)
Returns an immutable copy ofthiswith just theenrollmentTypefield 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 enrollment type.”
- Parameters:
enrollmentType- new value ofenrollmentTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenrollmentTypefield changed
-
getOwnerType
public Optional<ManagedDeviceOwnerType> getOwnerType()
“The owner type.”- Returns:
- property ownerType
-
withOwnerType
public AppleOwnerTypeEnrollmentType withOwnerType(ManagedDeviceOwnerType ownerType)
Returns an immutable copy ofthiswith just theownerTypefield 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 owner type.”
- Parameters:
ownerType- new value ofownerTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theownerTypefield changed
-
withUnmappedField
public AppleOwnerTypeEnrollmentType 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 AppleOwnerTypeEnrollmentType.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
-
-