# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from swagger_server.models.base_model_ import Model
from swagger_server import util


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

    Do not edit the class manually.
    """
    def __init__(self, price: float=None, volume: float=None):  # noqa: E501
        """DayOfferMatrixEuroMWhValues - a model defined in Swagger

        :param price: The price of this DayOfferMatrixEuroMWhValues.  # noqa: E501
        :type price: float
        :param volume: The volume of this DayOfferMatrixEuroMWhValues.  # noqa: E501
        :type volume: float
        """
        self.swagger_types = {
            'price': float,
            'volume': float
        }

        self.attribute_map = {
            'price': 'price',
            'volume': 'volume'
        }
        self._price = price
        self._volume = volume

    @classmethod
    def from_dict(cls, dikt) -> 'DayOfferMatrixEuroMWhValues':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The DayOfferMatrixEuroMWh_values of this DayOfferMatrixEuroMWhValues.  # noqa: E501
        :rtype: DayOfferMatrixEuroMWhValues
        """
        return util.deserialize_model(dikt, cls)

    @property
    def price(self) -> float:
        """Gets the price of this DayOfferMatrixEuroMWhValues.


        :return: The price of this DayOfferMatrixEuroMWhValues.
        :rtype: float
        """
        return self._price

    @price.setter
    def price(self, price: float):
        """Sets the price of this DayOfferMatrixEuroMWhValues.


        :param price: The price of this DayOfferMatrixEuroMWhValues.
        :type price: float
        """

        self._price = price

    @property
    def volume(self) -> float:
        """Gets the volume of this DayOfferMatrixEuroMWhValues.


        :return: The volume of this DayOfferMatrixEuroMWhValues.
        :rtype: float
        """
        return self._volume

    @volume.setter
    def volume(self, volume: float):
        """Sets the volume of this DayOfferMatrixEuroMWhValues.


        :param volume: The volume of this DayOfferMatrixEuroMWhValues.
        :type volume: float
        """

        self._volume = volume
