Class EasEmailProfileConfigurationBase

    • Constructor Detail

      • EasEmailProfileConfigurationBase

        protected EasEmailProfileConfigurationBase()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceConfiguration
      • 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 of this with just the customDomainName 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.

        “Custom domain name value used while generating an email profile before installing on the device.”

        Parameters:
        customDomainName - new value of customDomainName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the customDomainName field 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 of this with just the userDomainNameSource 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.

        “UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device.”

        Parameters:
        userDomainNameSource - new value of userDomainNameSource field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userDomainNameSource field 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 of this with just the usernameAADSource 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 AAD field, that will be used to retrieve UserName for email profile.”

        Parameters:
        usernameAADSource - new value of usernameAADSource field (as defined in service metadata)
        Returns:
        immutable copy of this with just the usernameAADSource field 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 of this with just the usernameSource 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.

        “Username attribute that is picked from AAD and injected into this profile before installing on the device.”

        Parameters:
        usernameSource - new value of usernameSource field (as defined in service metadata)
        Returns:
        immutable copy of this with just the usernameSource field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public EasEmailProfileConfigurationBase patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected