Package odata.msgraph.client.beta.entity
Class EasEmailProfileConfigurationBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.EasEmailProfileConfigurationBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosEasEmailProfileConfiguration,Windows10EasEmailProfileConfiguration,WindowsPhoneEASEmailProfileConfiguration
public class EasEmailProfileConfigurationBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Apple device features configuration profile.”
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcustomDomainNameprotected DomainNameSourceuserDomainNameSourceprotected UsernameSourceusernameAADSourceprotected UserEmailSourceusernameSource-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEasEmailProfileConfigurationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getCustomDomainName()“Custom domain name value used while generating an email profile before installing on the device.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<DomainNameSource>getUserDomainNameSource()“UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device.”Optional<UsernameSource>getUsernameAADSource()“Name of the AAD field, that will be used to retrieve UserName for email profile.”Optional<UserEmailSource>getUsernameSource()“Username attribute that is picked from AAD and injected into this profile before installing on the device.”StringodataTypeName()EasEmailProfileConfigurationBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EasEmailProfileConfigurationBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EasEmailProfileConfigurationBasewithCustomDomainName(String customDomainName)Returns an immutable copy ofthiswith just thecustomDomainNamefield changed.EasEmailProfileConfigurationBasewithUnmappedField(String name, String value)EasEmailProfileConfigurationBasewithUserDomainNameSource(DomainNameSource userDomainNameSource)Returns an immutable copy ofthiswith just theuserDomainNameSourcefield changed.EasEmailProfileConfigurationBasewithUsernameAADSource(UsernameSource usernameAADSource)Returns an immutable copy ofthiswith just theusernameAADSourcefield changed.EasEmailProfileConfigurationBasewithUsernameSource(UserEmailSource usernameSource)Returns an immutable copy ofthiswith just theusernameSourcefield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
customDomainName
protected String customDomainName
-
userDomainNameSource
protected DomainNameSource userDomainNameSource
-
usernameAADSource
protected UsernameSource usernameAADSource
-
usernameSource
protected UserEmailSource usernameSource
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getCustomDomainName
public Optional<String> getCustomDomainName()
“Custom domain name value used while generating an email profile before installing on the device.”- Returns:
- property customDomainName
-
withCustomDomainName
public EasEmailProfileConfigurationBase withCustomDomainName(String customDomainName)
Returns an immutable copy ofthiswith just thecustomDomainNamefield 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.“Custom domain name value used while generating an email profile before installing on the device.”
- Parameters:
customDomainName- new value ofcustomDomainNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomDomainNamefield changed
-
getUserDomainNameSource
public Optional<DomainNameSource> getUserDomainNameSource()
“UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device.”- Returns:
- property userDomainNameSource
-
withUserDomainNameSource
public EasEmailProfileConfigurationBase withUserDomainNameSource(DomainNameSource userDomainNameSource)
Returns an immutable copy ofthiswith just theuserDomainNameSourcefield 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.“UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device.”
- Parameters:
userDomainNameSource- new value ofuserDomainNameSourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserDomainNameSourcefield changed
-
getUsernameAADSource
public Optional<UsernameSource> getUsernameAADSource()
“Name of the AAD field, that will be used to retrieve UserName for email profile.”- Returns:
- property usernameAADSource
-
withUsernameAADSource
public EasEmailProfileConfigurationBase withUsernameAADSource(UsernameSource usernameAADSource)
Returns an immutable copy ofthiswith just theusernameAADSourcefield 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 AAD field, that will be used to retrieve UserName for email profile.”
- Parameters:
usernameAADSource- new value ofusernameAADSourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusernameAADSourcefield changed
-
getUsernameSource
public Optional<UserEmailSource> getUsernameSource()
“Username attribute that is picked from AAD and injected into this profile before installing on the device.”- Returns:
- property usernameSource
-
withUsernameSource
public EasEmailProfileConfigurationBase withUsernameSource(UserEmailSource usernameSource)
Returns an immutable copy ofthiswith just theusernameSourcefield 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.“Username attribute that is picked from AAD and injected into this profile before installing on the device.”
- Parameters:
usernameSource- new value ofusernameSourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusernameSourcefield changed
-
withUnmappedField
public EasEmailProfileConfigurationBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public EasEmailProfileConfigurationBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public EasEmailProfileConfigurationBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-