rebrickable.api.models.array_of_parts module

The version of the OpenAPI document: Generated by: https://openapi-generator.tech

class rebrickable.api.models.array_of_parts.ArrayOfParts(count=None, next=None, previous=None, results=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'count': 'count', 'next': 'next', 'previous': 'previous', 'results': 'results'}
property count

Gets the count of this ArrayOfParts. # noqa: E501

Returns

The count of this ArrayOfParts. # noqa: E501

Return type

int

property next

Gets the next of this ArrayOfParts. # noqa: E501

Returns

The next of this ArrayOfParts. # noqa: E501

Return type

str

openapi_types = {'count': 'int', 'next': 'str', 'previous': 'str', 'results': 'list[Part]'}
property previous

Gets the previous of this ArrayOfParts. # noqa: E501

Returns

The previous of this ArrayOfParts. # noqa: E501

Return type

str

property results

Gets the results of this ArrayOfParts. # noqa: E501

Returns

The results of this ArrayOfParts. # noqa: E501

Return type

list[Part]

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model