# coding: utf-8

"""
    https://api.partner.microsoft.com/v1.0/ingestion

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 1.0
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six

class MicrosoftIngestionApiModelsAvailabilitiesPrice(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'price_tier_id': 'str',
        'open_price': 'float',
        'currency_code': 'str'
    }

    attribute_map = {
        'price_tier_id': 'priceTierID',
        'open_price': 'openPrice',
        'currency_code': 'currencyCode'
    }

    def __init__(self, price_tier_id=None, open_price=None, currency_code=None):  # noqa: E501
        """MicrosoftIngestionApiModelsAvailabilitiesPrice - a model defined in Swagger"""  # noqa: E501
        self._price_tier_id = None
        self._open_price = None
        self._currency_code = None
        self.discriminator = None
        if price_tier_id is not None:
            self.price_tier_id = price_tier_id
        if open_price is not None:
            self.open_price = open_price
        if currency_code is not None:
            self.currency_code = currency_code

    @property
    def price_tier_id(self):
        """Gets the price_tier_id of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501


        :return: The price_tier_id of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :rtype: str
        """
        return self._price_tier_id

    @price_tier_id.setter
    def price_tier_id(self, price_tier_id):
        """Sets the price_tier_id of this MicrosoftIngestionApiModelsAvailabilitiesPrice.


        :param price_tier_id: The price_tier_id of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :type: str
        """

        self._price_tier_id = price_tier_id

    @property
    def open_price(self):
        """Gets the open_price of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501


        :return: The open_price of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :rtype: float
        """
        return self._open_price

    @open_price.setter
    def open_price(self, open_price):
        """Sets the open_price of this MicrosoftIngestionApiModelsAvailabilitiesPrice.


        :param open_price: The open_price of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :type: float
        """

        self._open_price = open_price

    @property
    def currency_code(self):
        """Gets the currency_code of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501


        :return: The currency_code of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :rtype: str
        """
        return self._currency_code

    @currency_code.setter
    def currency_code(self, currency_code):
        """Sets the currency_code of this MicrosoftIngestionApiModelsAvailabilitiesPrice.


        :param currency_code: The currency_code of this MicrosoftIngestionApiModelsAvailabilitiesPrice.  # noqa: E501
        :type: str
        """

        self._currency_code = currency_code

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(MicrosoftIngestionApiModelsAvailabilitiesPrice, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, MicrosoftIngestionApiModelsAvailabilitiesPrice):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
