UpdateCredentialBasicDetails

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

Bases: UpdateCredentialDetails

Credential information to be updated for the BASIC type.

Attributes:

TYPE_BASIC

A constant which can be used with the type property of a UpdateCredentialDetails.

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'

A constant which can be used with the type property of a UpdateCredentialDetails. This constant has a value of “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.

property password

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

Returns

The password of this UpdateCredentialBasicDetails.

Return type

str

property 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

property 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