def __init__(self, end_date=None, question_text=None, mode=None, partisan_affiliation=None, observations=None, margin_of_error=None, poll_slug=None, sample_subpopulation=None, survey_house=None, partisanship=None, start_date=None):
        """
        InlineResponse2001 - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.
        """
        self.swagger_types = {
            'end_date': 'date',
            'question_text': 'str',
            'mode': 'str',
            'partisan_affiliation': 'str',
            'observations': 'int',
            'margin_of_error': 'int',
            'poll_slug': 'str',
            'sample_subpopulation': 'str',
            'survey_house': 'str',
            'partisanship': 'str',
            'start_date': 'date'
        }

        self.attribute_map = {
            'end_date': 'end_date',
            'question_text': 'question_text',
            'mode': 'mode',
            'partisan_affiliation': 'partisan_affiliation',
            'observations': 'observations',
            'margin_of_error': 'margin_of_error',
            'poll_slug': 'poll_slug',
            'sample_subpopulation': 'sample_subpopulation',
            'survey_house': 'survey_house',
            'partisanship': 'partisanship',
            'start_date': 'start_date'
        }

        self._end_date = end_date
        self._question_text = question_text
        self._mode = mode
        self._partisan_affiliation = partisan_affiliation
        self._observations = observations
        self._margin_of_error = margin_of_error
        self._poll_slug = poll_slug
        self._sample_subpopulation = sample_subpopulation
        self._survey_house = survey_house
        self._partisanship = partisanship
        self._start_date = start_date
def __init__ ( self , end_date = None , question_text = None , mode = None , partisan_affiliation = None , observations = None , margin_of_error = None , poll_slug = None , sample_subpopulation = None , survey_house = None , partisanship = None , start_date = None ) : self . swagger_types = { 'end_date' : 'date' , 'question_text' : 'str' , 'mode' : 'str' , 'partisan_affiliation' : 'str' , 'observations' : 'int' , 'margin_of_error' : 'int' , 'poll_slug' : 'str' , 'sample_subpopulation' : 'str' , 'survey_house' : 'str' , 'partisanship' : 'str' , 'start_date' : 'date' } self . attribute_map = { 'end_date' : 'end_date' , 'question_text' : 'question_text' , 'mode' : 'mode' , 'partisan_affiliation' : 'partisan_affiliation' , 'observations' : 'observations' , 'margin_of_error' : 'margin_of_error' , 'poll_slug' : 'poll_slug' , 'sample_subpopulation' : 'sample_subpopulation' , 'survey_house' : 'survey_house' , 'partisanship' : 'partisanship' , 'start_date' : 'start_date' } self . _end_date = end_date self . _question_text = question_text self . _mode = mode self . _partisan_affiliation = partisan_affiliation self . _observations = observations self . _margin_of_error = margin_of_error self . _poll_slug = poll_slug self . _sample_subpopulation = sample_subpopulation self . _survey_house = survey_house self . _partisanship = partisanship self . _start_date = start_date
InlineResponse2001 - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.