rebrickable.api.models.build module

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

class rebrickable.api.models.build.Build(build_options=None, num_ignored=None, num_missing=None, num_owned_less_ignored=None, pct_owned=None, total_parts=None, total_parts_less_ignored=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 = {'build_options': 'build_options', 'num_ignored': 'num_ignored', 'num_missing': 'num_missing', 'num_owned_less_ignored': 'num_owned_less_ignored', 'pct_owned': 'pct_owned', 'total_parts': 'total_parts', 'total_parts_less_ignored': 'total_parts_less_ignored'}
property build_options

Gets the build_options of this Build. # noqa: E501

Returns

The build_options of this Build. # noqa: E501

Return type

BuildOptions

property num_ignored

Gets the num_ignored of this Build. # noqa: E501

Returns

The num_ignored of this Build. # noqa: E501

Return type

int

property num_missing

Gets the num_missing of this Build. # noqa: E501

Returns

The num_missing of this Build. # noqa: E501

Return type

int

property num_owned_less_ignored

Gets the num_owned_less_ignored of this Build. # noqa: E501

Returns

The num_owned_less_ignored of this Build. # noqa: E501

Return type

int

openapi_types = {'build_options': 'BuildOptions', 'num_ignored': 'int', 'num_missing': 'int', 'num_owned_less_ignored': 'int', 'pct_owned': 'float', 'total_parts': 'int', 'total_parts_less_ignored': 'int'}
property pct_owned

Gets the pct_owned of this Build. # noqa: E501

Returns

The pct_owned of this Build. # noqa: E501

Return type

float

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property total_parts

Gets the total_parts of this Build. # noqa: E501

Returns

The total_parts of this Build. # noqa: E501

Return type

int

property total_parts_less_ignored

Gets the total_parts_less_ignored of this Build. # noqa: E501

Returns

The total_parts_less_ignored of this Build. # noqa: E501

Return type

int