PasswordInText¶
- class oci.apm_synthetics.models.PasswordInText(**kwargs)¶
Bases:
PasswordPassword.
Attributes:
A constant which can be used with the password_type property of a Password.
A constant which can be used with the password_type property of a Password.
[Required] Gets the password of this PasswordInText.
Gets the password_type of this Password.
Methods:
__init__(**kwargs)Initializes a new PasswordInText 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.
- PASSWORD_TYPE_IN_TEXT = 'IN_TEXT'¶
A constant which can be used with the password_type property of a Password. This constant has a value of “IN_TEXT”
- PASSWORD_TYPE_VAULT_SECRET_ID = 'VAULT_SECRET_ID'¶
A constant which can be used with the password_type property of a Password. This constant has a value of “VAULT_SECRET_ID”
- __init__(**kwargs)¶
Initializes a new PasswordInText object with values from keyword arguments. The default value of the
password_typeattribute of this class isIN_TEXTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
password_type (str) – The value to assign to the password_type property of this PasswordInText. Allowed values for this property are: “IN_TEXT”, “VAULT_SECRET_ID”
password (str) – The value to assign to the password property of this PasswordInText.
- 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¶
[Required] Gets the password of this PasswordInText. Password.
- Returns
The password of this PasswordInText.
- Return type
str
- property password_type¶
Gets the password_type of this Password. Type of method to pass password.
Allowed values for this property are: “IN_TEXT”, “VAULT_SECRET_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The password_type of this Password.
- Return type
str