PasswordInText¶
-
class
oci.apm_synthetics.models.
PasswordInText
(**kwargs)¶ Bases:
oci.apm_synthetics.models.password.Password
Password.
Attributes
PASSWORD_TYPE_IN_TEXT
str(object=’’) -> str PASSWORD_TYPE_VAULT_SECRET_ID
str(object=’’) -> str password
[Required] Gets the password of this PasswordInText. password_type
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'¶
-
PASSWORD_TYPE_VAULT_SECRET_ID
= 'VAULT_SECRET_ID'¶
-
__init__
(**kwargs)¶ Initializes a new PasswordInText object with values from keyword arguments. The default value of the
password_type
attribute of this class isIN_TEXT
and 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.
-
password
¶ [Required] Gets the password of this PasswordInText. Password.
Returns: The password of this PasswordInText. Return type: str
-
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
-