# 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 ResultsPerCsiRsIndexListResultsPerCsiRsIndex(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
        """ResultsPerCsiRsIndexListResultsPerCsiRsIndex - a model defined in Swagger

        :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex.  # noqa: E501
        :type csi_rs_index: int
        :param csi_rs_results: The csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex.  # 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) -> 'ResultsPerCsiRsIndexListResultsPerCsiRsIndex':
        """Returns the dict as a model

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

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


        :return: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex.
        :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 ResultsPerCsiRsIndexListResultsPerCsiRsIndex.


        :param csi_rs_index: The csi_rs_index of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex.
        :type csi_rs_index: int
        """

        self._csi_rs_index = csi_rs_index

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


        :return: The csi_rs_results of this ResultsPerCsiRsIndexListResultsPerCsiRsIndex.
        :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 ResultsPerCsiRsIndexListResultsPerCsiRsIndex.


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

        self._csi_rs_results = csi_rs_results
