models.user_ssh_key module¶
-
class
models.user_ssh_key.
UserSshKey
(ssh_key=None, username=None)[source]¶ Bases:
object
Implementation of the ‘UserSshKey’ model.
UserSshKey specifies username and ssh key.
- Attributes:
- ssh_key (string): Specifies SSH key needed to be added to the username
passed.
username (string): Specifies name of the user to add.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.