keystone.resource.backends.sql_model module

keystone.resource.backends.sql_model module

class keystone.resource.backends.sql_model.Project(*args, **kwargs)[source]

Bases: Base, ModelDictMixinWithExtras

attributes = ['id', 'name', 'domain_id', 'description', 'enabled', 'parent_id', 'is_domain', 'tags']
description
domain_id
enabled
extra
classmethod from_dict(project_dict)[source]
id
is_domain
name
parent_id
resource_options_registry = <keystone.common.resource_options.core.ResourceOptionRegistry object>
property tags
to_dict(include_extra_dict=False)[source]

Return the model’s attributes as a dictionary.

If include_extra_dict is True, ‘extra’ attributes are literally included in the resulting dictionary twice, for backwards-compatibility with a broken implementation.

class keystone.resource.backends.sql_model.ProjectOption(option_id, option_value)[source]

Bases: Base

option_id
option_value
project_id
class keystone.resource.backends.sql_model.ProjectTag(*args, **kwargs)[source]

Bases: Base, ModelDictMixin

attributes = ['project_id', 'name']
name
project_id
to_dict()[source]

Return the model’s attributes as a dictionary.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.