Package odata.msgraph.client.beta.entity
Class EnrollmentProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EnrollmentProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DepEnrollmentBaseProfile,DepEnrollmentProfile
public class EnrollmentProfile 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 classEnrollmentProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringconfigurationEndpointUrlprotected Stringdescriptionprotected StringdisplayNameprotected BooleanenableAuthenticationViaCompanyPortalprotected BooleanrequireCompanyPortalOnSetupAssistantEnrolledDevicesprotected BooleanrequiresUserAuthentication-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEnrollmentProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnrollmentProfile.BuilderbuilderEnrollmentProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String>exportMobileConfig()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConfigurationEndpointUrl()“Configuration endpoint url to use for Enrollment”Optional<String>getDescription()“Description of the profile”Optional<String>getDisplayName()“Name of the profile”Optional<Boolean>getEnableAuthenticationViaCompanyPortal()“Indicates to authenticate with Apple Setup Assistant instead of Company Portal.”Optional<Boolean>getRequireCompanyPortalOnSetupAssistantEnrolledDevices()“Indicates that Company Portal is required on setup assistant enrolled devices”Optional<Boolean>getRequiresUserAuthentication()“Indicates if the profile requires user authentication”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()EnrollmentProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EnrollmentProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsetDefaultProfile()StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnupdateDeviceProfileAssignment(List<String> deviceIds)EnrollmentProfilewithConfigurationEndpointUrl(String configurationEndpointUrl)Returns an immutable copy ofthiswith just theconfigurationEndpointUrlfield changed.EnrollmentProfilewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.EnrollmentProfilewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.EnrollmentProfilewithEnableAuthenticationViaCompanyPortal(Boolean enableAuthenticationViaCompanyPortal)Returns an immutable copy ofthiswith just theenableAuthenticationViaCompanyPortalfield changed.EnrollmentProfilewithRequireCompanyPortalOnSetupAssistantEnrolledDevices(Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices)Returns an immutable copy ofthiswith just therequireCompanyPortalOnSetupAssistantEnrolledDevicesfield changed.EnrollmentProfilewithRequiresUserAuthentication(Boolean requiresUserAuthentication)Returns an immutable copy ofthiswith just therequiresUserAuthenticationfield changed.EnrollmentProfilewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
configurationEndpointUrl
protected String configurationEndpointUrl
-
description
protected String description
-
displayName
protected String displayName
-
enableAuthenticationViaCompanyPortal
protected Boolean enableAuthenticationViaCompanyPortal
-
requireCompanyPortalOnSetupAssistantEnrolledDevices
protected Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices
-
requiresUserAuthentication
protected Boolean requiresUserAuthentication
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEnrollmentProfile
public static EnrollmentProfile.Builder builderEnrollmentProfile()
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
-
getConfigurationEndpointUrl
public Optional<String> getConfigurationEndpointUrl()
“Configuration endpoint url to use for Enrollment”- Returns:
- property configurationEndpointUrl
-
withConfigurationEndpointUrl
public EnrollmentProfile withConfigurationEndpointUrl(String configurationEndpointUrl)
Returns an immutable copy ofthiswith just theconfigurationEndpointUrlfield 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.“Configuration endpoint url to use for Enrollment”
- Parameters:
configurationEndpointUrl- new value ofconfigurationEndpointUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationEndpointUrlfield changed
-
getDescription
public Optional<String> getDescription()
“Description of the profile”- Returns:
- property description
-
withDescription
public EnrollmentProfile 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 EnrollmentProfile 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
-
getEnableAuthenticationViaCompanyPortal
public Optional<Boolean> getEnableAuthenticationViaCompanyPortal()
“Indicates to authenticate with Apple Setup Assistant instead of Company Portal.”- Returns:
- property enableAuthenticationViaCompanyPortal
-
withEnableAuthenticationViaCompanyPortal
public EnrollmentProfile withEnableAuthenticationViaCompanyPortal(Boolean enableAuthenticationViaCompanyPortal)
Returns an immutable copy ofthiswith just theenableAuthenticationViaCompanyPortalfield 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.“Indicates to authenticate with Apple Setup Assistant instead of Company Portal.”
- Parameters:
enableAuthenticationViaCompanyPortal- new value ofenableAuthenticationViaCompanyPortalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableAuthenticationViaCompanyPortalfield changed
-
getRequireCompanyPortalOnSetupAssistantEnrolledDevices
public Optional<Boolean> getRequireCompanyPortalOnSetupAssistantEnrolledDevices()
“Indicates that Company Portal is required on setup assistant enrolled devices”- Returns:
- property requireCompanyPortalOnSetupAssistantEnrolledDevices
-
withRequireCompanyPortalOnSetupAssistantEnrolledDevices
public EnrollmentProfile withRequireCompanyPortalOnSetupAssistantEnrolledDevices(Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices)
Returns an immutable copy ofthiswith just therequireCompanyPortalOnSetupAssistantEnrolledDevicesfield 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.“Indicates that Company Portal is required on setup assistant enrolled devices”
- Parameters:
requireCompanyPortalOnSetupAssistantEnrolledDevices- new value ofrequireCompanyPortalOnSetupAssistantEnrolledDevicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequireCompanyPortalOnSetupAssistantEnrolledDevicesfield changed
-
getRequiresUserAuthentication
public Optional<Boolean> getRequiresUserAuthentication()
“Indicates if the profile requires user authentication”- Returns:
- property requiresUserAuthentication
-
withRequiresUserAuthentication
public EnrollmentProfile withRequiresUserAuthentication(Boolean requiresUserAuthentication)
Returns an immutable copy ofthiswith just therequiresUserAuthenticationfield 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.“Indicates if the profile requires user authentication”
- Parameters:
requiresUserAuthentication- new value ofrequiresUserAuthenticationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiresUserAuthenticationfield changed
-
withUnmappedField
public EnrollmentProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EnrollmentProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EnrollmentProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
setDefaultProfile
public com.github.davidmoten.odata.client.ActionRequestNoReturn setDefaultProfile()
-
updateDeviceProfileAssignment
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateDeviceProfileAssignment(List<String> deviceIds)
-
exportMobileConfig
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> exportMobileConfig()
-
-