rebrickable.api.models.part_colors_list module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
- 
class 
rebrickable.api.models.part_colors_list.PartColorsList(color_id=None, color_name=None, elements=None, num_set_parts=None, num_sets=None, part_img_url=None)¶ Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- 
attribute_map= {'color_id': 'color_id', 'color_name': 'color_name', 'elements': 'elements', 'num_set_parts': 'num_set_parts', 'num_sets': 'num_sets', 'part_img_url': 'part_img_url'}¶ 
- 
property 
color_id¶ Gets the color_id of this PartColorsList. # noqa: E501
- Returns
 The color_id of this PartColorsList. # noqa: E501
- Return type
 int
- 
property 
color_name¶ Gets the color_name of this PartColorsList. # noqa: E501
- Returns
 The color_name of this PartColorsList. # noqa: E501
- Return type
 str
- 
property 
elements¶ Gets the elements of this PartColorsList. # noqa: E501
- Returns
 The elements of this PartColorsList. # noqa: E501
- Return type
 list[int]
- 
property 
num_set_parts¶ Gets the num_set_parts of this PartColorsList. # noqa: E501
- Returns
 The num_set_parts of this PartColorsList. # noqa: E501
- Return type
 int
- 
property 
num_sets¶ Gets the num_sets of this PartColorsList. # noqa: E501
- Returns
 The num_sets of this PartColorsList. # noqa: E501
- Return type
 int
- 
openapi_types= {'color_id': 'int', 'color_name': 'str', 'elements': 'list[int]', 'num_set_parts': 'int', 'num_sets': 'int', 'part_img_url': 'str'}¶ 
- 
property 
part_img_url¶ Gets the part_img_url of this PartColorsList. # noqa: E501
- Returns
 The part_img_url of this PartColorsList. # noqa: E501
- Return type
 str
- 
to_dict()¶ Returns the model properties as a dict
- 
to_str()¶ Returns the string representation of the model
-