public class EnrollmentProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EnrollmentProfile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
configurationEndpointUrl |
protected String |
description |
protected String |
displayName |
protected Boolean |
enableAuthenticationViaCompanyPortal |
protected Boolean |
requireCompanyPortalOnSetupAssistantEnrolledDevices |
protected Boolean |
requiresUserAuthentication |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EnrollmentProfile() |
| Modifier and Type | Method and Description |
|---|---|
static EnrollmentProfile.Builder |
builderEnrollmentProfile()
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.ChangedFields |
getChangedFields() |
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
EnrollmentProfile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EnrollmentProfile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
setDefaultProfile() |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
updateDeviceProfileAssignment(List<String> deviceIds) |
EnrollmentProfile |
withConfigurationEndpointUrl(String configurationEndpointUrl)
Returns an immutable copy of
this with just the configurationEndpointUrl field changed. |
EnrollmentProfile |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
EnrollmentProfile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
EnrollmentProfile |
withEnableAuthenticationViaCompanyPortal(Boolean enableAuthenticationViaCompanyPortal)
Returns an immutable copy of
this with just the enableAuthenticationViaCompanyPortal field changed. |
EnrollmentProfile |
withRequireCompanyPortalOnSetupAssistantEnrolledDevices(Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices)
Returns an immutable copy of
this with just the requireCompanyPortalOnSetupAssistantEnrolledDevices field changed. |
EnrollmentProfile |
withRequiresUserAuthentication(Boolean requiresUserAuthentication)
Returns an immutable copy of
this with just the requiresUserAuthentication field changed. |
protected String displayName
protected String description
protected Boolean requiresUserAuthentication
protected String configurationEndpointUrl
protected Boolean enableAuthenticationViaCompanyPortal
protected Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static EnrollmentProfile.Builder builderEnrollmentProfile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public EnrollmentProfile withDisplayName(String displayName)
this with just the displayName
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.
“Name of the profile”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public EnrollmentProfile withDescription(String description)
this with just the description
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.
“Description of the profile”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Boolean> getRequiresUserAuthentication()
public EnrollmentProfile withRequiresUserAuthentication(Boolean requiresUserAuthentication)
this with just the requiresUserAuthentication 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.
“Indicates if the profile requires user authentication”
requiresUserAuthentication - new value of requiresUserAuthentication field (as defined in service metadata)this with just the requiresUserAuthentication field changedpublic Optional<String> getConfigurationEndpointUrl()
public EnrollmentProfile withConfigurationEndpointUrl(String configurationEndpointUrl)
this with just the configurationEndpointUrl 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.
“Configuration endpoint url to use for Enrollment”
configurationEndpointUrl - new value of configurationEndpointUrl field (as defined in service metadata)this with just the configurationEndpointUrl field changedpublic Optional<Boolean> getEnableAuthenticationViaCompanyPortal()
public EnrollmentProfile withEnableAuthenticationViaCompanyPortal(Boolean enableAuthenticationViaCompanyPortal)
this with just the enableAuthenticationViaCompanyPortal 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.
“Indicates to authenticate with Apple Setup Assistant instead of Company Portal.”
enableAuthenticationViaCompanyPortal - new value of enableAuthenticationViaCompanyPortal field (as defined in service metadata)this with just the enableAuthenticationViaCompanyPortal field changedpublic Optional<Boolean> getRequireCompanyPortalOnSetupAssistantEnrolledDevices()
public EnrollmentProfile withRequireCompanyPortalOnSetupAssistantEnrolledDevices(Boolean requireCompanyPortalOnSetupAssistantEnrolledDevices)
this with just the requireCompanyPortalOnSetupAssistantEnrolledDevices 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.
“Indicates that Company Portal is required on setup assistant enrolled devices”
requireCompanyPortalOnSetupAssistantEnrolledDevices - new value of requireCompanyPortalOnSetupAssistantEnrolledDevices field (as defined in service metadata)this with just the requireCompanyPortalOnSetupAssistantEnrolledDevices field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic EnrollmentProfile patch()
this with changed fields reset.public EnrollmentProfile put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn setDefaultProfile()
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateDeviceProfileAssignment(List<String> deviceIds)
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> exportMobileConfig()
Copyright © 2018–2020. All rights reserved.