# 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.models.meas_quantity_results_nr import MeasQuantityResultsNr  # noqa: F401,E501
from swagger_server import util


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

    Do not edit the class manually.
    """
    def __init__(self, csi_rs_index: int=None, csi_rs_results: MeasQuantityResultsNr=None):  # noqa: E501
        """ResultsPerCsiRsIndex - a model defined in Swagger

        :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndex.  # noqa: E501
        :type csi_rs_index: int
        :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndex.  # noqa: E501
        :type csi_rs_results: MeasQuantityResultsNr
        """
        self.swagger_types = {
            'csi_rs_index': int,
            'csi_rs_results': MeasQuantityResultsNr
        }

        self.attribute_map = {
            'csi_rs_index': 'csiRsIndex',
            'csi_rs_results': 'csiRsResults'
        }
        self._csi_rs_index = csi_rs_index
        self._csi_rs_results = csi_rs_results

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

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

    @property
    def csi_rs_index(self) -> int:
        """Gets the csi_rs_index of this ResultsPerCsiRsIndex.


        :return: The csi_rs_index of this ResultsPerCsiRsIndex.
        :rtype: int
        """
        return self._csi_rs_index

    @csi_rs_index.setter
    def csi_rs_index(self, csi_rs_index: int):
        """Sets the csi_rs_index of this ResultsPerCsiRsIndex.


        :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndex.
        :type csi_rs_index: int
        """
        if csi_rs_index is None:
            raise ValueError("Invalid value for `csi_rs_index`, must not be `None`")  # noqa: E501

        self._csi_rs_index = csi_rs_index

    @property
    def csi_rs_results(self) -> MeasQuantityResultsNr:
        """Gets the csi_rs_results of this ResultsPerCsiRsIndex.


        :return: The csi_rs_results of this ResultsPerCsiRsIndex.
        :rtype: MeasQuantityResultsNr
        """
        return self._csi_rs_results

    @csi_rs_results.setter
    def csi_rs_results(self, csi_rs_results: MeasQuantityResultsNr):
        """Sets the csi_rs_results of this ResultsPerCsiRsIndex.


        :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndex.
        :type csi_rs_results: MeasQuantityResultsNr
        """

        self._csi_rs_results = csi_rs_results
