The sushy.resources.oem.base Module

The sushy.resources.oem.base Module

class sushy.resources.oem.base.OEMCompositeField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField, sushy.resources.oem.base.OEMField

CompositeField for OEM fields.

class sushy.resources.oem.base.OEMDictionaryField(*args, **kwargs)

Bases: sushy.resources.base.DictionaryField, sushy.resources.oem.base.OEMField

DictionaryField for OEM fields.

class sushy.resources.oem.base.OEMExtensionResourceBase(resource, oem_property_name, *args, **kwargs)

Bases: object

refresh()

Refresh the attributes of the resource extension.

Freshly parses the resource OEM attributes via _parse_oem_attributes() method.

class sushy.resources.oem.base.OEMField(path, required=False, default=None, adapter=<function Field.<lambda>>)

Bases: sushy.resources.base.Field

Marker class for OEM specific fields.

class sushy.resources.oem.base.OEMListField(*args, **kwargs)

Bases: sushy.resources.base.ListField, sushy.resources.oem.base.OEMField

ListField for OEM fields.

class sushy.resources.oem.base.OEMMappedField(field, mapping, required=False, default=None)

Bases: sushy.resources.base.MappedField, sushy.resources.oem.base.OEMField

MappedField for OEM fields.

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.