models.swift_params module

class models.swift_params.SwiftParams(keystone_id=None, operator_roles=None)[source]

Bases: object

Implementation of the ‘SwiftParams’ model.

Specifies the parameters of Swift configuration.

Attributes:
keystone_id (int|long): Specifies the associated Keystone

configuration id.

operator_roles (list of string): Specifies a list of operator roles.

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.