def __init__(self, price=None, attribute_combinations=None, available_quantity=None, sold_quantity=None, picture_ids=None, local_vars_configuration=None): # noqa: E501 """Variations - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._price = None self._attribute_combinations = None self._available_quantity = None self._sold_quantity = None self._picture_ids = None self.discriminator = None if price is not None: self.price = price if attribute_combinations is not None: self.attribute_combinations = attribute_combinations if available_quantity is not None: self.available_quantity = available_quantity if sold_quantity is not None: self.sold_quantity = sold_quantity if picture_ids is not None: self.picture_ids = picture_ids
def __init__(self, grant_type=None, client_id=None, client_secret=None, redirect_uri=None, code=None, refresh_token=None, local_vars_configuration=None): # noqa: E501 """InlineObject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._grant_type = None self._client_id = None self._client_secret = None self._redirect_uri = None self._code = None self._refresh_token = None self.discriminator = None if grant_type is not None: self.grant_type = grant_type if client_id is not None: self.client_id = client_id if client_secret is not None: self.client_secret = client_secret if redirect_uri is not None: self.redirect_uri = redirect_uri if code is not None: self.code = code if refresh_token is not None: self.refresh_token = refresh_token
def __init__(self, source=None, local_vars_configuration=None): # noqa: E501 """ItemPictures - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._source = None self.discriminator = None if source is not None: self.source = source
def __init__(self, title=None, category_id=None, price=None, currency_id=None, available_quantity=None, buying_mode=None, listing_type_id=None, condition=None, description=None, video_id=None, pictures=None, attributes=None, variations=None, local_vars_configuration=None): # noqa: E501 """Item - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._title = None self._category_id = None self._price = None self._currency_id = None self._available_quantity = None self._buying_mode = None self._listing_type_id = None self._condition = None self._description = None self._video_id = None self._pictures = None self._attributes = None self._variations = None self.discriminator = None self.title = title self.category_id = category_id self.price = price self.currency_id = currency_id self.available_quantity = available_quantity self.buying_mode = buying_mode self.listing_type_id = listing_type_id self.condition = condition self.description = description self.video_id = video_id self.pictures = pictures if attributes is not None: self.attributes = attributes if variations is not None: self.variations = variations
def __init__(self, number=None, unit=None, local_vars_configuration=None): # noqa: E501 """AttributesValueStruct - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._number = None self._unit = None self.discriminator = None if number is not None: self.number = number if unit is not None: self.unit = unit
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads self.rest_client = rest.RESTClientObject(configuration) self.default_headers = {} if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. self.user_agent = 'MELI-PYTHON-SDK-3.0.0' self.client_side_validation = configuration.client_side_validation
def __init__(self, name=None, value_id=None, value_name=None, local_vars_configuration=None): # noqa: E501 """VariationsAttributeCombinations - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._name = None self._value_id = None self._value_name = None self.discriminator = None if name is not None: self.name = name if value_id is not None: self.value_id = value_id if value_name is not None: self.value_name = value_name
def __init__(self, id=None, name=None, value_id=None, value_name=None, value_struct=None, values=None, attribute_group_id=None, attribute_group_name=None, local_vars_configuration=None): # noqa: E501 """Attributes - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._id = None self._name = None self._value_id = None self._value_name = None self._value_struct = None self._values = None self._attribute_group_id = None self._attribute_group_name = None self.discriminator = None if id is not None: self.id = id if name is not None: self.name = name self.value_id = value_id if value_name is not None: self.value_name = value_name self.value_struct = value_struct if values is not None: self.values = values if attribute_group_id is not None: self.attribute_group_id = attribute_group_id if attribute_group_name is not None: self.attribute_group_name = attribute_group_name