UpdateCredentialBasicDetails

class oci.database_tools_runtime.models.UpdateCredentialBasicDetails(**kwargs)

Bases: oci.database_tools_runtime.models.update_credential_details.UpdateCredentialDetails

Credential information to be updated for the BASIC type.

Attributes

TYPE_BASIC str(object=’’) -> str
password Gets the password of this UpdateCredentialBasicDetails.
type [Required] Gets the type of this UpdateCredentialDetails.
user_name Gets the user_name of this UpdateCredentialBasicDetails.

Methods

__init__(**kwargs) Initializes a new UpdateCredentialBasicDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_BASIC = 'BASIC'
__init__(**kwargs)

Initializes a new UpdateCredentialBasicDetails object with values from keyword arguments. The default value of the type attribute of this class is BASIC and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this UpdateCredentialBasicDetails. Allowed values for this property are: “BASIC”
  • user_name (str) – The value to assign to the user_name property of this UpdateCredentialBasicDetails.
  • password (str) – The value to assign to the password property of this UpdateCredentialBasicDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

password

Gets the password of this UpdateCredentialBasicDetails. The password for the new credential.

Returns:The password of this UpdateCredentialBasicDetails.
Return type:str
type

[Required] Gets the type of this UpdateCredentialDetails. The type of credential.

Allowed values for this property are: “BASIC”

Returns:The type of this UpdateCredentialDetails.
Return type:str
user_name

Gets the user_name of this UpdateCredentialBasicDetails. The username for the new credential.

Returns:The user_name of this UpdateCredentialBasicDetails.
Return type:str