Class Authentication

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Authentication
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Constructor Detail

      • Authentication

        protected Authentication()
    • Method Detail

      • odataTypeName

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

        public static Authentication.Builder builderAuthentication()
        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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getFido2Methods

        public Fido2AuthenticationMethodCollectionRequest getFido2Methods()

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Returns:
        navigational property fido2Methods
      • getMicrosoftAuthenticatorMethods

        public MicrosoftAuthenticatorAuthenticationMethodCollectionRequest getMicrosoftAuthenticatorMethods()

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Returns:
        navigational property microsoftAuthenticatorMethods
      • getPasswordMethods

        public PasswordAuthenticationMethodCollectionRequest getPasswordMethods()

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Returns:
        navigational property passwordMethods
      • getSoftwareOathMethods

        public SoftwareOathAuthenticationMethodCollectionRequest getSoftwareOathMethods()

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Returns:
        navigational property softwareOathMethods
      • getWindowsHelloForBusinessMethods

        public WindowsHelloForBusinessAuthenticationMethodCollectionRequest getWindowsHelloForBusinessMethods()

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Returns:
        navigational property windowsHelloForBusinessMethods
      • withFido2Methods

        public Authentication withFido2Methods​(List<Fido2AuthenticationMethod> fido2Methods)
        Returns an immutable copy of this with just the fido2Methods 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.

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

        public Authentication withMicrosoftAuthenticatorMethods​(List<MicrosoftAuthenticatorAuthenticationMethod> microsoftAuthenticatorMethods)
        Returns an immutable copy of this with just the microsoftAuthenticatorMethods 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.

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

        public Authentication withPasswordMethods​(List<PasswordAuthenticationMethod> passwordMethods)
        Returns an immutable copy of this with just the passwordMethods 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.

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

        public Authentication withSoftwareOathMethods​(List<SoftwareOathAuthenticationMethod> softwareOathMethods)
        Returns an immutable copy of this with just the softwareOathMethods 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.

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

        public Authentication withTemporaryAccessPassMethods​(List<TemporaryAccessPassAuthenticationMethod> temporaryAccessPassMethods)
        Returns an immutable copy of this with just the temporaryAccessPassMethods 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.

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

        public Authentication withWindowsHelloForBusinessMethods​(List<WindowsHelloForBusinessAuthenticationMethod> windowsHelloForBusinessMethods)
        Returns an immutable copy of this with just the windowsHelloForBusinessMethods 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.

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

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

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