models_v2.register_swift_params module

class models_v2.register_swift_params.RegisterSwiftParams(tenant_id=None, keystone_credentials=None)[source]

Bases: object

Implementation of the ‘RegisterSwiftParams’ model.

Specifies the parameters to register a Swift service on Keystone server.

Attributes:
tenant_id (string): Specifies the tenant Id who’s Swift service will

be registered.

keystone_credentials (KeystoneCredentials): Specifies user credentials

of a Keystone server.

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.