ask_smapi_model.v1.vendor_management package¶
Submodules¶
Note
Canonical imports have been added in the __init__.py
of the package.
This helps in importing the class directly from the package, than
through the module.
For eg: if package a
has module b
with
class C
, you can do from a import C
instead of
from a.b import C
.
ask_smapi_model.v1.vendor_management.vendor module¶
-
class
ask_smapi_model.v1.vendor_management.vendor.
Vendor
(name=None, id=None, roles=None)¶ Bases:
object
Vendor Response Object.
Parameters: -
attribute_map
= {'id': 'id', 'name': 'name', 'roles': 'roles'}¶
-
deserialized_types
= {'id': 'str', 'name': 'str', 'roles': 'list[str]'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
ask_smapi_model.v1.vendor_management.vendors module¶
-
class
ask_smapi_model.v1.vendor_management.vendors.
Vendors
(vendors=None)¶ Bases:
object
List of Vendors.
Parameters: vendors ((optional) list[ask_smapi_model.v1.vendor_management.vendor.Vendor]) – -
attribute_map
= {'vendors': 'vendors'}¶
-
deserialized_types
= {'vendors': 'list[ask_smapi_model.v1.vendor_management.vendor.Vendor]'}¶
-
supports_multiple_types
= False¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-