Class UserCapabilities


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class UserCapabilities
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Properties indicating how the user is allowed to authenticate.
    Note: Objects should always be created or deserialized using the UserCapabilities.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the UserCapabilities.Builder, which maintain a set of all explicitly set fields called UserCapabilities.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Constructor Detail

      • UserCapabilities

        @Deprecated
        @ConstructorProperties({"canUseConsolePassword","canUseApiKeys","canUseAuthTokens","canUseSmtpCredentials","canUseDbCredentials","canUseCustomerSecretKeys","canUseOAuth2ClientCredentials"})
        public UserCapabilities​(Boolean canUseConsolePassword,
                                Boolean canUseApiKeys,
                                Boolean canUseAuthTokens,
                                Boolean canUseSmtpCredentials,
                                Boolean canUseDbCredentials,
                                Boolean canUseCustomerSecretKeys,
                                Boolean canUseOAuth2ClientCredentials)
        Deprecated.
    • Method Detail

      • getCanUseConsolePassword

        public Boolean getCanUseConsolePassword()
        Indicates if the user can log in to the console.
        Returns:
        the value
      • getCanUseApiKeys

        public Boolean getCanUseApiKeys()
        Indicates if the user can use API keys.
        Returns:
        the value
      • getCanUseAuthTokens

        public Boolean getCanUseAuthTokens()
        Indicates if the user can use SWIFT passwords / auth tokens.
        Returns:
        the value
      • getCanUseSmtpCredentials

        public Boolean getCanUseSmtpCredentials()
        Indicates if the user can use SMTP passwords.
        Returns:
        the value
      • getCanUseDbCredentials

        public Boolean getCanUseDbCredentials()
        Indicates if the user can use DB passwords.
        Returns:
        the value
      • getCanUseCustomerSecretKeys

        public Boolean getCanUseCustomerSecretKeys()
        Indicates if the user can use SigV4 symmetric keys.
        Returns:
        the value
      • getCanUseOAuth2ClientCredentials

        public Boolean getCanUseOAuth2ClientCredentials()
        Indicates if the user can use OAuth2 credentials and tokens.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel