Package odata.msgraph.client.beta.entity
Class AppleUserInitiatedEnrollmentProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AppleUserInitiatedEnrollmentProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AppleUserInitiatedEnrollmentProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The enrollmentProfile resource represents a collection of configurations which must be provided pre-enrollment to enable enrolling certain devices whose identities have been pre-staged. Pre-staged device identities are assigned to this type of profile to apply the profile's configurations at enrollment of the corresponding device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppleUserInitiatedEnrollmentProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AppleOwnerTypeEnrollmentType>availableEnrollmentTypeOptionsprotected StringavailableEnrollmentTypeOptionsNextLinkprotected OffsetDateTimecreatedDateTimeprotected AppleUserInitiatedEnrollmentTypedefaultEnrollmentTypeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected DevicePlatformTypeplatformprotected Integerpriority-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppleUserInitiatedEnrollmentProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppleUserInitiatedEnrollmentProfile.BuilderbuilderAppleUserInitiatedEnrollmentProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).AppleEnrollmentProfileAssignmentCollectionRequestgetAssignments()“The list of assignments for this profile.”com.github.davidmoten.odata.client.CollectionPage<AppleOwnerTypeEnrollmentType>getAvailableEnrollmentTypeOptions()“List of available enrollment type options”com.github.davidmoten.odata.client.CollectionPage<AppleOwnerTypeEnrollmentType>getAvailableEnrollmentTypeOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of available enrollment type options”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“Profile creation time”Optional<AppleUserInitiatedEnrollmentType>getDefaultEnrollmentType()“The default profile enrollment type.”Optional<String>getDescription()“Description of the profile”Optional<String>getDisplayName()“Name of the profile”Optional<OffsetDateTime>getLastModifiedDateTime()“Profile last modified time”Optional<DevicePlatformType>getPlatform()“The platform of the Device.”Optional<Integer>getPriority()“Priority, 0 is highest”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AppleUserInitiatedEnrollmentProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AppleUserInitiatedEnrollmentProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsetPriority(Integer priority)StringtoString()AppleUserInitiatedEnrollmentProfilewithAvailableEnrollmentTypeOptions(List<AppleOwnerTypeEnrollmentType> availableEnrollmentTypeOptions)Returns an immutable copy ofthiswith just theavailableEnrollmentTypeOptionsfield changed.AppleUserInitiatedEnrollmentProfilewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.AppleUserInitiatedEnrollmentProfilewithDefaultEnrollmentType(AppleUserInitiatedEnrollmentType defaultEnrollmentType)Returns an immutable copy ofthiswith just thedefaultEnrollmentTypefield changed.AppleUserInitiatedEnrollmentProfilewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.AppleUserInitiatedEnrollmentProfilewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.AppleUserInitiatedEnrollmentProfilewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.AppleUserInitiatedEnrollmentProfilewithPlatform(DevicePlatformType platform)Returns an immutable copy ofthiswith just theplatformfield changed.AppleUserInitiatedEnrollmentProfilewithPriority(Integer priority)Returns an immutable copy ofthiswith just thepriorityfield changed.AppleUserInitiatedEnrollmentProfilewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
availableEnrollmentTypeOptions
protected List<AppleOwnerTypeEnrollmentType> availableEnrollmentTypeOptions
-
availableEnrollmentTypeOptionsNextLink
protected String availableEnrollmentTypeOptionsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
defaultEnrollmentType
protected AppleUserInitiatedEnrollmentType defaultEnrollmentType
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
platform
protected DevicePlatformType platform
-
priority
protected Integer priority
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAppleUserInitiatedEnrollmentProfile
public static AppleUserInitiatedEnrollmentProfile.Builder builderAppleUserInitiatedEnrollmentProfile()
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
-
getAvailableEnrollmentTypeOptions
public com.github.davidmoten.odata.client.CollectionPage<AppleOwnerTypeEnrollmentType> getAvailableEnrollmentTypeOptions()
“List of available enrollment type options”- Returns:
- property availableEnrollmentTypeOptions
-
withAvailableEnrollmentTypeOptions
public AppleUserInitiatedEnrollmentProfile withAvailableEnrollmentTypeOptions(List<AppleOwnerTypeEnrollmentType> availableEnrollmentTypeOptions)
Returns an immutable copy ofthiswith just theavailableEnrollmentTypeOptionsfield 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.“List of available enrollment type options”
- Parameters:
availableEnrollmentTypeOptions- new value ofavailableEnrollmentTypeOptionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theavailableEnrollmentTypeOptionsfield changed
-
getAvailableEnrollmentTypeOptions
public com.github.davidmoten.odata.client.CollectionPage<AppleOwnerTypeEnrollmentType> getAvailableEnrollmentTypeOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of available enrollment type options”- Parameters:
options- specify connect and read timeouts- Returns:
- property availableEnrollmentTypeOptions
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“Profile creation time”- Returns:
- property createdDateTime
-
withCreatedDateTime
public AppleUserInitiatedEnrollmentProfile withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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.“Profile creation time”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDefaultEnrollmentType
public Optional<AppleUserInitiatedEnrollmentType> getDefaultEnrollmentType()
“The default profile enrollment type.”- Returns:
- property defaultEnrollmentType
-
withDefaultEnrollmentType
public AppleUserInitiatedEnrollmentProfile withDefaultEnrollmentType(AppleUserInitiatedEnrollmentType defaultEnrollmentType)
Returns an immutable copy ofthiswith just thedefaultEnrollmentTypefield 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 default profile enrollment type.”
- Parameters:
defaultEnrollmentType- new value ofdefaultEnrollmentTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultEnrollmentTypefield changed
-
getDescription
public Optional<String> getDescription()
“Description of the profile”- Returns:
- property description
-
withDescription
public AppleUserInitiatedEnrollmentProfile withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Description of the profile”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Name of the profile”- Returns:
- property displayName
-
withDisplayName
public AppleUserInitiatedEnrollmentProfile withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Name of the profile”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“Profile last modified time”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public AppleUserInitiatedEnrollmentProfile withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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.“Profile last modified time”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getPlatform
public Optional<DevicePlatformType> getPlatform()
“The platform of the Device.”- Returns:
- property platform
-
withPlatform
public AppleUserInitiatedEnrollmentProfile withPlatform(DevicePlatformType platform)
Returns an immutable copy ofthiswith just theplatformfield 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 platform of the Device.”
- Parameters:
platform- new value ofplatformfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplatformfield changed
-
getPriority
public Optional<Integer> getPriority()
“Priority, 0 is highest”- Returns:
- property priority
-
withPriority
public AppleUserInitiatedEnrollmentProfile withPriority(Integer priority)
Returns an immutable copy ofthiswith just thepriorityfield 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.“Priority, 0 is highest”
- Parameters:
priority- new value ofpriorityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepriorityfield changed
-
withUnmappedField
public AppleUserInitiatedEnrollmentProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public AppleEnrollmentProfileAssignmentCollectionRequest getAssignments()
“The list of assignments for this profile.”- Returns:
- navigational property assignments
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AppleUserInitiatedEnrollmentProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AppleUserInitiatedEnrollmentProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
setPriority
public com.github.davidmoten.odata.client.ActionRequestNoReturn setPriority(Integer priority)
-
-