def __init__(self, name, team_id, *args, **kwargs):  # noqa: E501
        """CreateProject - a model defined in OpenAPI

        Args:
            name (str): The name of the Project.
            team_id (int): The ID of the team the project belongs to.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            abbreviation (str): The Project abbreviation used in Story summaries. Should be kept to 3 characters at most.. [optional]  # noqa: E501
            color (str): The color you wish to use for the Project in the system.. [optional]  # noqa: E501
            created_at (datetime): Defaults to the time/date it is created but can be set to reflect another date.. [optional]  # noqa: E501
            description (str): The Project description.. [optional]  # noqa: E501
            external_id (str): This field can be set to another unique ID. In the case that the Project has been imported from another tool, the ID in the other tool can be indicated here.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs for any members you want to add as Owners on this new Epic.. [optional]  # noqa: E501
            iteration_length (int): The number of weeks per iteration in this Project.. [optional]  # noqa: E501
            start_time (datetime): The date at which the Project was started.. [optional]  # noqa: E501
            updated_at (datetime): Defaults to the time/date it is created but can be set to reflect another date.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.name = name
        self.team_id = team_id
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #2
0
    def __init__(self, branch_id, branch_name, closed, created_at, draft, entity_type, id, num_added, num_commits, num_modified, num_removed, number, target_branch_id, target_branch_name, title, updated_at, url, *args, **kwargs):  # noqa: E501
        """PullRequest - a model defined in OpenAPI

        Args:
            branch_id (int): The ID of the branch for the particular pull request.
            branch_name (str): The name of the branch for the particular pull request.
            closed (bool): True/False boolean indicating whether the VCS pull request has been closed.
            created_at (datetime): The time/date the pull request was created.
            draft (bool): True/False boolean indicating whether the VCS pull request is in the draft state.
            entity_type (str): A string description of this resource.
            id (int): The unique ID associated with the pull request in Clubhouse.
            num_added (int): Number of lines added in the pull request, according to VCS.
            num_commits (int, none_type): The number of commits on the pull request.
            num_modified (int, none_type): Number of lines modified in the pull request, according to VCS.
            num_removed (int): Number of lines removed in the pull request, according to VCS.
            number (int): The pull requests unique number ID in VCS.
            target_branch_id (int): The ID of the target branch for the particular pull request.
            target_branch_name (str): The name of the target branch for the particular pull request.
            title (str): The title of the pull request.
            updated_at (datetime): The time/date the pull request was created.
            url (str): The URL for the pull request.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            build_status (str): The status of the Continuous Integration workflow for the pull request.. [optional]  # noqa: E501
            review_status (str): The status of the review for the pull request.. [optional]  # noqa: E501
            vcs_labels ([PullRequestLabel], none_type): An array of PullRequestLabels attached to the PullRequest.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.branch_id = branch_id
        self.branch_name = branch_name
        self.closed = closed
        self.created_at = created_at
        self.draft = draft
        self.entity_type = entity_type
        self.id = id
        self.num_added = num_added
        self.num_commits = num_commits
        self.num_modified = num_modified
        self.num_removed = num_removed
        self.number = number
        self.target_branch_id = target_branch_id
        self.target_branch_name = target_branch_name
        self.title = title
        self.updated_at = updated_at
        self.url = url
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #3
0
    def __init__(self, name, project_id, *args, **kwargs):  # noqa: E501
        """CreateStoryParams - a model defined in OpenAPI

        Args:
            name (str): The name of the story.
            project_id (int): The ID of the project the story belongs to.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            archived (bool): Controls the story's archived state.. [optional]  # noqa: E501
            comments ([CreateStoryCommentParams]): An array of comments to add to the story.. [optional]  # noqa: E501
            completed_at_override (datetime): A manual override for the time/date the Story was completed.. [optional]  # noqa: E501
            created_at (datetime): The time/date the Story was created.. [optional]  # noqa: E501
            deadline (datetime, none_type): The due date of the story.. [optional]  # noqa: E501
            description (str): The description of the story.. [optional]  # noqa: E501
            epic_id (int, none_type): The ID of the epic the story belongs to.. [optional]  # noqa: E501
            estimate (int, none_type): The numeric point estimate of the story. Can also be null, which means unestimated.. [optional]  # noqa: E501
            external_id (str): This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.. [optional]  # noqa: E501
            external_links ([str]): An array of External Links associated with this story.. [optional]  # noqa: E501
            external_tickets ([CreateExternalTicketParams]): An array of External Tickets associated with this story. These External Tickets must have unquie external id. Duplicated External Tickets will be removed.. [optional]  # noqa: E501
            file_ids ([int]): An array of IDs of files attached to the story.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs of the followers of this story.. [optional]  # noqa: E501
            group_id (str, none_type): The id of the group to associate with this story.. [optional]  # noqa: E501
            iteration_id (int, none_type): The ID of the iteration the story belongs to.. [optional]  # noqa: E501
            labels ([CreateLabelParams]): An array of labels attached to the story.. [optional]  # noqa: E501
            linked_file_ids ([int]): An array of IDs of linked files attached to the story.. [optional]  # noqa: E501
            owner_ids ([str]): An array of UUIDs of the owners of this story.. [optional]  # noqa: E501
            requested_by_id (str): The ID of the member that requested the story.. [optional]  # noqa: E501
            started_at_override (datetime): A manual override for the time/date the Story was started.. [optional]  # noqa: E501
            story_links ([CreateStoryLinkParams]): An array of story links attached to the story.. [optional]  # noqa: E501
            story_type (str): The type of story (feature, bug, chore).. [optional]  # noqa: E501
            support_tickets ([CreateExternalTicketParams]): [optional]  # noqa: E501
            tasks ([CreateTaskParams]): An array of tasks connected to the story.. [optional]  # noqa: E501
            updated_at (datetime): The time/date the Story was updated.. [optional]  # noqa: E501
            workflow_state_id (int): The ID of the workflow state the story will be in.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.name = name
        self.project_id = project_id
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #4
0
    def __init__(self, app_url, archived, color, created_at, description, entity_type, external_id, id, name, updated_at, *args, **kwargs):  # noqa: E501
        """Label - a model defined in OpenAPI

        Args:
            app_url (str): The Clubhouse application url for the Label.
            archived (bool): A true/false boolean indicating if the Label has been archived.
            color (str, none_type): The hex color to be displayed with the Label (for example, \"#ff0000\").
            created_at (datetime, none_type): The time/date that the Label was created.
            description (str, none_type): The description of the Label.
            entity_type (str): A string description of this resource.
            external_id (str, none_type): This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.
            id (int): The unique ID of the Label.
            name (str): The name of the Label.
            updated_at (datetime, none_type): The time/date that the Label was updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            stats (LabelStats): [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.app_url = app_url
        self.archived = archived
        self.color = color
        self.created_at = created_at
        self.description = description
        self.entity_type = entity_type
        self.external_id = external_id
        self.id = id
        self.name = name
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, *args, **kwargs):  # noqa: E501
        """UpdateMilestone - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            after_id (int): The ID of the Milestone we want to move this Milestone after.. [optional]  # noqa: E501
            before_id (int): The ID of the Milestone we want to move this Milestone before.. [optional]  # noqa: E501
            categories ([CreateCategoryParams]): An array of IDs of Categories attached to the Milestone.. [optional]  # noqa: E501
            completed_at_override (datetime, none_type): A manual override for the time/date the Milestone was completed.. [optional]  # noqa: E501
            description (str): The Milestone's description.. [optional]  # noqa: E501
            name (str): The name of the Milestone.. [optional]  # noqa: E501
            started_at_override (datetime, none_type): A manual override for the time/date the Milestone was started.. [optional]  # noqa: E501
            state (str): The workflow state that the Milestone is in.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #6
0
    def __init__(self, app_url, archived, blocked, blocker, comment_ids,
                 completed, completed_at, completed_at_override, created_at,
                 deadline, entity_type, epic_id, estimate, external_id,
                 external_links, external_tickets, file_ids, follower_ids,
                 group_id, group_mention_ids, id, iteration_id, labels,
                 linked_file_ids, member_mention_ids, mention_ids, moved_at,
                 name, num_tasks_completed, owner_ids, position,
                 previous_iteration_ids, project_id, requested_by_id, started,
                 started_at, started_at_override, stats, story_links,
                 story_type, support_tickets, task_ids, updated_at,
                 workflow_state_id, *args, **kwargs):  # noqa: E501
        """StorySlim - a model defined in OpenAPI

        Args:
            app_url (str): The Clubhouse application url for the Story.
            archived (bool): True if the story has been archived or not.
            blocked (bool): A true/false boolean indicating if the Story is currently blocked.
            blocker (bool): A true/false boolean indicating if the Story is currently a blocker of another story.
            comment_ids ([int]): An array of IDs of Comments attached to the story.
            completed (bool): A true/false boolean indicating if the Story has been completed.
            completed_at (datetime, none_type): The time/date the Story was completed.
            completed_at_override (datetime, none_type): A manual override for the time/date the Story was completed.
            created_at (datetime): The time/date the Story was created.
            deadline (datetime, none_type): The due date of the story.
            entity_type (str): A string description of this resource.
            epic_id (int, none_type): The ID of the epic the story belongs to.
            estimate (int, none_type): The numeric point estimate of the story. Can also be null, which means unestimated.
            external_id (str, none_type): This field can be set to another unique ID. In the case that the Story has been imported from another tool, the ID in the other tool can be indicated here.
            external_links ([str]): An array of external link (strings) associated with a Story
            external_tickets ([ExternalTicket]): An array of External Tickets associated with a Story
            file_ids ([int]): An array of IDs of Files attached to the story.
            follower_ids ([str]): An array of UUIDs for any Members listed as Followers.
            group_id (str, none_type): The ID of the group associated with the story.
            group_mention_ids ([str]): An array of Group IDs that have been mentioned in the Story description.
            id (int): The unique ID of the Story.
            iteration_id (int, none_type): The ID of the iteration the story belongs to.
            labels ([Label]): An array of labels attached to the story.
            linked_file_ids ([int]): An array of IDs of LinkedFiles attached to the story.
            member_mention_ids ([str]): An array of Member IDs that have been mentioned in the Story description.
            mention_ids ([str]): Deprecated: use member_mention_ids.
            moved_at (datetime, none_type): The time/date the Story was last changed workflow-state.
            name (str): The name of the story.
            num_tasks_completed (int): The number of tasks on the story which are complete.
            owner_ids ([str]): An array of UUIDs of the owners of this story.
            position (int): A number representing the position of the story in relation to every other story in the current project.
            previous_iteration_ids ([int]): The IDs of the iteration the story belongs to.
            project_id (int): The ID of the project the story belongs to.
            requested_by_id (str): The ID of the Member that requested the story.
            started (bool): A true/false boolean indicating if the Story has been started.
            started_at (datetime, none_type): The time/date the Story was started.
            started_at_override (datetime, none_type): A manual override for the time/date the Story was started.
            stats (StoryStats):
            story_links ([TypedStoryLink]): An array of story links attached to the Story.
            story_type (str): The type of story (feature, bug, chore).
            support_tickets ([SupportTicket]):
            task_ids ([int]): An array of IDs of Tasks attached to the story.
            updated_at (datetime, none_type): The time/date the Story was updated.
            workflow_state_id (int): The ID of the workflow state the story is currently in.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            cycle_time (int): The cycle time (in seconds) of this story when complete.. [optional]  # noqa: E501
            description (str): The description of the Story.. [optional]  # noqa: E501
            lead_time (int): The lead time (in seconds) of this story when complete.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.app_url = app_url
        self.archived = archived
        self.blocked = blocked
        self.blocker = blocker
        self.comment_ids = comment_ids
        self.completed = completed
        self.completed_at = completed_at
        self.completed_at_override = completed_at_override
        self.created_at = created_at
        self.deadline = deadline
        self.entity_type = entity_type
        self.epic_id = epic_id
        self.estimate = estimate
        self.external_id = external_id
        self.external_links = external_links
        self.external_tickets = external_tickets
        self.file_ids = file_ids
        self.follower_ids = follower_ids
        self.group_id = group_id
        self.group_mention_ids = group_mention_ids
        self.id = id
        self.iteration_id = iteration_id
        self.labels = labels
        self.linked_file_ids = linked_file_ids
        self.member_mention_ids = member_mention_ids
        self.mention_ids = mention_ids
        self.moved_at = moved_at
        self.name = name
        self.num_tasks_completed = num_tasks_completed
        self.owner_ids = owner_ids
        self.position = position
        self.previous_iteration_ids = previous_iteration_ids
        self.project_id = project_id
        self.requested_by_id = requested_by_id
        self.started = started
        self.started_at = started_at
        self.started_at_override = started_at_override
        self.stats = stats
        self.story_links = story_links
        self.story_type = story_type
        self.support_tickets = support_tickets
        self.task_ids = task_ids
        self.updated_at = updated_at
        self.workflow_state_id = workflow_state_id
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, deactivated, display_icon, email_address, entity_type,
                 gravatar_hash, id, mention_name, name, *args,
                 **kwargs):  # noqa: E501
        """Profile - a model defined in OpenAPI

        Args:
            deactivated (bool): A true/false boolean indicating whether the Member has been deactivated within Clubhouse.
            display_icon (Icon):
            email_address (str, none_type): The primary email address of the Member with the Organization.
            entity_type (str): A string description of this resource.
            gravatar_hash (str, none_type): This is the gravatar hash associated with email_address.
            id (str): The unique identifier of the profile.
            mention_name (str): The Member's username within the Organization.
            name (str, none_type): The Member's name within the Organization.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            two_factor_auth_activated (bool): If Two Factor Authentication is activated for this User.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.deactivated = deactivated
        self.display_icon = display_icon
        self.email_address = email_address
        self.entity_type = entity_type
        self.gravatar_hash = gravatar_hash
        self.id = id
        self.mention_name = mention_name
        self.name = name
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #8
0
    def __init__(self, app_url, created_at, description, end_date, entity_type,
                 follower_ids, group_ids, group_mention_ids, id, labels,
                 member_mention_ids, mention_ids, name, start_date, stats,
                 status, updated_at, *args, **kwargs):  # noqa: E501
        """Iteration - a model defined in OpenAPI

        Args:
            app_url (str): The Clubhouse application url for the Iteration.
            created_at (datetime): The instant when this iteration was created.
            description (str): The description of the iteration.
            end_date (datetime): The date this iteration begins.
            entity_type (str): A string description of this resource
            follower_ids ([str]): An array of UUIDs for any Members listed as Followers.
            group_ids ([str]): An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.
            group_mention_ids ([str]): An array of Group IDs that have been mentioned in the Story description.
            id (int): The ID of the iteration.
            labels ([Label]): An array of labels attached to the iteration.
            member_mention_ids ([str]): An array of Member IDs that have been mentioned in the Story description.
            mention_ids ([str]): Deprecated: use member_mention_ids.
            name (str): The name of the iteration.
            start_date (datetime): The date this iteration begins.
            stats (IterationStats):
            status (str): The status of the iteration. Values are either \"unstarted\", \"started\", or \"done\".
            updated_at (datetime): The instant when this iteration was last updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.app_url = app_url
        self.created_at = created_at
        self.description = description
        self.end_date = end_date
        self.entity_type = entity_type
        self.follower_ids = follower_ids
        self.group_ids = group_ids
        self.group_mention_ids = group_mention_ids
        self.id = id
        self.labels = labels
        self.member_mention_ids = member_mention_ids
        self.mention_ids = mention_ids
        self.name = name
        self.start_date = start_date
        self.stats = stats
        self.status = status
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #9
0
    def __init__(self, abbreviation, app_url, archived, color, created_at,
                 days_to_thermometer, description, entity_type, external_id,
                 follower_ids, id, iteration_length, name, show_thermometer,
                 start_time, stats, team_id, updated_at, *args,
                 **kwargs):  # noqa: E501
        """Project - a model defined in OpenAPI

        Args:
            abbreviation (str, none_type): The Project abbreviation used in Story summaries. Should be kept to 3 characters at most.
            app_url (str): The Clubhouse application url for the Project.
            archived (bool): True/false boolean indicating whether the Project is in an Archived state.
            color (str, none_type): The color associated with the Project in the Clubhouse member interface.
            created_at (datetime, none_type): The time/date that the Project was created.
            days_to_thermometer (int): The number of days before the thermometer appears in the Story summary.
            description (str, none_type): The description of the Project.
            entity_type (str): A string description of this resource.
            external_id (str, none_type): This field can be set to another unique ID. In the case that the Project has been imported from another tool, the ID in the other tool can be indicated here.
            follower_ids ([str]): An array of UUIDs for any Members listed as Followers.
            id (int): The unique ID of the Project.
            iteration_length (int): The number of weeks per iteration in this Project.
            name (str): The name of the Project
            show_thermometer (bool): Configuration to enable or disable thermometers in the Story summary.
            start_time (datetime): The date at which the Project was started.
            stats (ProjectStats):
            team_id (int): The ID of the team the project belongs to.
            updated_at (datetime, none_type): The time/date that the Project was last updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.abbreviation = abbreviation
        self.app_url = app_url
        self.archived = archived
        self.color = color
        self.created_at = created_at
        self.days_to_thermometer = days_to_thermometer
        self.description = description
        self.entity_type = entity_type
        self.external_id = external_id
        self.follower_ids = follower_ids
        self.id = id
        self.iteration_length = iteration_length
        self.name = name
        self.show_thermometer = show_thermometer
        self.start_time = start_time
        self.stats = stats
        self.team_id = team_id
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, name, type, url, *args, **kwargs):  # noqa: E501
        """CreateLinkedFile - a model defined in OpenAPI

        Args:
            name (str): The name of the file.
            type (str): The integration type of the file (e.g. google, dropbox, box).
            url (str): The URL of linked file.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            content_type (str): The content type of the image (e.g. txt/plain).. [optional]  # noqa: E501
            description (str): The description of the file.. [optional]  # noqa: E501
            size (int): The filesize, if the integration provided it.. [optional]  # noqa: E501
            story_id (int): The ID of the linked story.. [optional]  # noqa: E501
            thumbnail_url (str): The URL of the thumbnail, if the integration provided it.. [optional]  # noqa: E501
            uploader_id (str): The UUID of the member that uploaded the file.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.name = name
        self.type = type
        self.url = url
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #11
0
    def __init__(self, created_at, created_without_invite, disabled, entity_type, group_ids, id, profile, role, updated_at, *args, **kwargs):  # noqa: E501
        """Member - a model defined in OpenAPI

        Args:
            created_at (datetime, none_type): The time/date the Member was created.
            created_without_invite (bool): Whether this member was created as a placeholder entity.
            disabled (bool): True/false boolean indicating whether the Member has been disabled within this Organization.
            entity_type (str): A string description of this resource.
            group_ids ([str]): The Member's group ids
            id (str): The Member's ID in Clubhouse.
            profile (Profile):
            role (str): The Member's role in the Clubhouse organization.
            updated_at (datetime, none_type): The time/date the Member was last updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            replaced_by (str): The id of the member that replaces this one when merged.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.created_at = created_at
        self.created_without_invite = created_without_invite
        self.disabled = disabled
        self.entity_type = entity_type
        self.group_ids = group_ids
        self.id = id
        self.profile = profile
        self.role = role
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #12
0
    def __init__(self, data, next, total, *args, **kwargs):  # noqa: E501
        """StorySearchResults - a model defined in OpenAPI

        Args:
            data ([Story]): A list of search results.
            next (str, none_type): The URL path and query string for the next page of search results.
            total (int): The total number of matches for the search query. The first 1000 matches can be paged through via the API.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            cursors ([str]): [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.data = data
        self.next = next
        self.total = total
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, auto_assign_owner, created_at, default_state_id, description, entity_type, id, name, project_ids, states, team_id, updated_at, *args, **kwargs):  # noqa: E501
        """Workflow - a model defined in OpenAPI

        Args:
            auto_assign_owner (bool): Indicates if an owner is automatically assigned when an unowned story is started.
            created_at (datetime): The date the Workflow was created.
            default_state_id (int): The unique ID of the default state that new Stories are entered into.
            description (str): A description of the workflow.
            entity_type (str): A string description of this resource.
            id (int): The unique ID of the Workflow.
            name (str): The name of the workflow.
            project_ids ([float]): An array of IDs of projects within the Workflow.
            states ([WorkflowState]): A map of the states in this Workflow.
            team_id (int): The ID of the team the workflow belongs to.
            updated_at (datetime): The date the Workflow was updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.auto_assign_owner = auto_assign_owner
        self.created_at = created_at
        self.default_state_id = default_state_id
        self.description = description
        self.entity_type = entity_type
        self.id = id
        self.name = name
        self.project_ids = project_ids
        self.states = states
        self.team_id = team_id
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, color, created_at, description, entity_type, id, name, num_stories, num_story_templates, position, type, updated_at, verb, *args, **kwargs):  # noqa: E501
        """WorkflowState - a model defined in OpenAPI

        Args:
            color (str): The hex color for this Workflow State.
            created_at (datetime): The time/date the Workflow State was created.
            description (str): The description of what sort of Stories belong in that Workflow state.
            entity_type (str): A string description of this resource.
            id (int): The unique ID of the Workflow State.
            name (str): The Workflow State's name.
            num_stories (int): The number of Stories currently in that Workflow State.
            num_story_templates (int): The number of Story Templates associated with that Workflow State.
            position (int): The position that the Workflow State is in, starting with 0 at the left.
            type (str): The type of Workflow State (Unstarted, Started, or Finished)
            updated_at (datetime): When the Workflow State was last updated.
            verb (str, none_type): The verb that triggers a move to that Workflow State when making VCS commits.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.color = color
        self.created_at = created_at
        self.description = description
        self.entity_type = entity_type
        self.id = id
        self.name = name
        self.num_stories = num_stories
        self.num_story_templates = num_story_templates
        self.position = position
        self.type = type
        self.updated_at = updated_at
        self.verb = verb
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, *args, **kwargs):  # noqa: E501
        """UpdateProject - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            abbreviation (str): The Project abbreviation used in Story summaries. Should be kept to 3 characters at most.. [optional]  # noqa: E501
            archived (bool): A true/false boolean indicating whether the Story is in archived state.. [optional]  # noqa: E501
            color (str): The color that represents the Project in the UI.. [optional]  # noqa: E501
            days_to_thermometer (int): The number of days before the thermometer appears in the Story summary.. [optional]  # noqa: E501
            description (str): The Project's description.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs for any Members you want to add as Followers.. [optional]  # noqa: E501
            name (str): The Project's name.. [optional]  # noqa: E501
            show_thermometer (bool): Configuration to enable or disable thermometers in the Story summary.. [optional]  # noqa: E501
            team_id (int): The ID of the team the project belongs to.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #16
0
    def __init__(self, complete, completed_at, created_at, description,
                 entity_type, external_id, group_mention_ids, id,
                 member_mention_ids, mention_ids, owner_ids, position,
                 story_id, updated_at, *args, **kwargs):  # noqa: E501
        """Task - a model defined in OpenAPI

        Args:
            complete (bool): True/false boolean indicating whether the Task has been completed.
            completed_at (datetime, none_type): The time/date the Task was completed.
            created_at (datetime): The time/date the Task was created.
            description (str): Full text of the Task.
            entity_type (str): A string description of this resource.
            external_id (str, none_type): This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.
            group_mention_ids ([str]): An array of UUIDs of Groups mentioned in this Task.
            id (int): The unique ID of the Task.
            member_mention_ids ([str]): An array of UUIDs of Members mentioned in this Task.
            mention_ids ([str]): Deprecated: use member_mention_ids.
            owner_ids ([str]): An array of UUIDs of the Owners of this Task.
            position (int): The number corresponding to the Task's position within a list of Tasks on a Story.
            story_id (int): The unique identifier of the parent Story.
            updated_at (datetime, none_type): The time/date the Task was updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.complete = complete
        self.completed_at = completed_at
        self.created_at = created_at
        self.description = description
        self.entity_type = entity_type
        self.external_id = external_id
        self.group_mention_ids = group_mention_ids
        self.id = id
        self.member_mention_ids = member_mention_ids
        self.mention_ids = mention_ids
        self.owner_ids = owner_ids
        self.position = position
        self.story_id = story_id
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #17
0
    def __init__(self, app_url, archived, comments, completed, completed_at, completed_at_override, created_at, deadline, description, entity_type, epic_state_id, external_id, external_tickets, follower_ids, group_id, group_mention_ids, id, labels, member_mention_ids, mention_ids, milestone_id, name, owner_ids, planned_start_date, position, project_ids, requested_by_id, started, started_at, started_at_override, state, stats, support_tickets, updated_at, *args, **kwargs):  # noqa: E501
        """Epic - a model defined in OpenAPI

        Args:
            app_url (str): The Clubhouse application url for the Epic.
            archived (bool): True/false boolean that indicates whether the Epic is archived or not.
            comments ([ThreadedComment]): A nested array of threaded comments.
            completed (bool): A true/false boolean indicating if the Epic has been completed.
            completed_at (datetime, none_type): The time/date the Epic was completed.
            completed_at_override (datetime, none_type): A manual override for the time/date the Epic was completed.
            created_at (datetime, none_type): The time/date the Epic was created.
            deadline (datetime, none_type): The Epic's deadline.
            description (str): The Epic's description.
            entity_type (str): A string description of this resource.
            epic_state_id (int): The ID of the Epic State.
            external_id (str, none_type): This field can be set to another unique ID. In the case that the Epic has been imported from another tool, the ID in the other tool can be indicated here.
            external_tickets ([ExternalTicket]):
            follower_ids ([str]): An array of UUIDs for any Members you want to add as Followers on this Epic.
            group_id (str, none_type):
            group_mention_ids ([str]): An array of Group IDs that have been mentioned in the Epic description.
            id (int): The unique ID of the Epic.
            labels ([Label]): An array of Labels attached to the Epic.
            member_mention_ids ([str]): An array of Member IDs that have been mentioned in the Epic description.
            mention_ids ([str]): Deprecated: use member_mention_ids.
            milestone_id (int, none_type): The ID of the Milestone this Epic is related to.
            name (str): The name of the Epic.
            owner_ids ([str]): An array of UUIDs for any members you want to add as Owners on this new Epic.
            planned_start_date (datetime, none_type): The Epic's planned start date.
            position (int): The Epic's relative position in the Epic workflow state.
            project_ids ([int]): The IDs of Projects related to this Epic.
            requested_by_id (str): The ID of the Member that requested the epic.
            started (bool): A true/false boolean indicating if the Epic has been started.
            started_at (datetime, none_type): The time/date the Epic was started.
            started_at_override (datetime, none_type): A manual override for the time/date the Epic was started.
            state (str): `Deprecated` The workflow state that the Epic is in.
            stats (EpicStats):
            support_tickets ([SupportTicket]):
            updated_at (datetime, none_type): The time/date the Epic was updated.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.app_url = app_url
        self.archived = archived
        self.comments = comments
        self.completed = completed
        self.completed_at = completed_at
        self.completed_at_override = completed_at_override
        self.created_at = created_at
        self.deadline = deadline
        self.description = description
        self.entity_type = entity_type
        self.epic_state_id = epic_state_id
        self.external_id = external_id
        self.external_tickets = external_tickets
        self.follower_ids = follower_ids
        self.group_id = group_id
        self.group_mention_ids = group_mention_ids
        self.id = id
        self.labels = labels
        self.member_mention_ids = member_mention_ids
        self.mention_ids = mention_ids
        self.milestone_id = milestone_id
        self.name = name
        self.owner_ids = owner_ids
        self.planned_start_date = planned_start_date
        self.position = position
        self.project_ids = project_ids
        self.requested_by_id = requested_by_id
        self.started = started
        self.started_at = started_at
        self.started_at_override = started_at_override
        self.state = state
        self.stats = stats
        self.support_tickets = support_tickets
        self.updated_at = updated_at
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #18
0
    def __init__(self, *args, **kwargs):  # noqa: E501
        """StoryContents - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            deadline (datetime): The due date of the story.. [optional]  # noqa: E501
            description (str): The description of the story.. [optional]  # noqa: E501
            entity_type (str): A string description of this resource.. [optional]  # noqa: E501
            epic_id (int): The ID of the epic the story belongs to.. [optional]  # noqa: E501
            estimate (int): The numeric point estimate of the story. Can also be null, which means unestimated.. [optional]  # noqa: E501
            external_links ([str]): An array of external links connected to the story.. [optional]  # noqa: E501
            external_tickets ([ExternalTicket]): An array of external tickets connected to the story.. [optional]  # noqa: E501
            files ([File]): An array of files attached to the story.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs for any Members listed as Followers.. [optional]  # noqa: E501
            iteration_id (int): The ID of the iteration the story belongs to.. [optional]  # noqa: E501
            labels ([Label]): An array of labels attached to the story.. [optional]  # noqa: E501
            linked_files ([LinkedFile]): An array of linked files attached to the story.. [optional]  # noqa: E501
            name (str): The name of the story.. [optional]  # noqa: E501
            owner_ids ([str]): An array of UUIDs of the owners of this story.. [optional]  # noqa: E501
            project_id (int): The ID of the project the story belongs to.. [optional]  # noqa: E501
            story_type (str): The type of story (feature, bug, chore).. [optional]  # noqa: E501
            tasks ([StoryContentsTask]): An array of tasks connected to the story.. [optional]  # noqa: E501
            workflow_state_id (int): The ID of the workflow state the story is currently in.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #19
0
    def __init__(self, story_ids, *args, **kwargs):  # noqa: E501
        """UpdateStories - a model defined in OpenAPI

        Args:
            story_ids ([int]): The Ids of the Stories you wish to update.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            after_id (int): The ID of the story that the stories are to be moved below.. [optional]  # noqa: E501
            archived (bool): If the Stories should be archived or not.. [optional]  # noqa: E501
            before_id (int): The ID of the story that the stories are to be moved before.. [optional]  # noqa: E501
            deadline (datetime, none_type): The due date of the story.. [optional]  # noqa: E501
            epic_id (int, none_type): The ID of the epic the story belongs to.. [optional]  # noqa: E501
            estimate (int, none_type): The numeric point estimate of the story. Can also be null, which means unestimated.. [optional]  # noqa: E501
            external_links ([str]): An array of External Links associated with this story.. [optional]  # noqa: E501
            follower_ids_add ([str]): The UUIDs of the new followers to be added.. [optional]  # noqa: E501
            follower_ids_remove ([str]): The UUIDs of the followers to be removed.. [optional]  # noqa: E501
            group_id (str, none_type): The Id of the Group the Stories should belong to.. [optional]  # noqa: E501
            iteration_id (int, none_type): The ID of the iteration the story belongs to.. [optional]  # noqa: E501
            labels_add ([CreateLabelParams]): An array of labels to be added.. [optional]  # noqa: E501
            labels_remove ([CreateLabelParams]): An array of labels to be removed.. [optional]  # noqa: E501
            move_to (str): [optional]  # noqa: E501
            owner_ids_add ([str]): The UUIDs of the new owners to be added.. [optional]  # noqa: E501
            owner_ids_remove ([str]): The UUIDs of the owners to be removed.. [optional]  # noqa: E501
            project_id (int): The ID of the Project the Stories should belong to.. [optional]  # noqa: E501
            requested_by_id (str): The ID of the member that requested the story.. [optional]  # noqa: E501
            story_type (str): The type of story (feature, bug, chore).. [optional]  # noqa: E501
            workflow_state_id (int): The ID of the workflow state to put the stories in.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.story_ids = story_ids
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #20
0
    def __init__(self, query, *args, **kwargs):  # noqa: E501
        """Search - a model defined in OpenAPI

        Args:
            query (str): See our help center article on [search operators](https://help.clubhouse.io/hc/en-us/articles/360000046646-Search-Operators)

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            include (str): [optional] if omitted the server will use the default value of "cursors"  # noqa: E501
            next (str): The next page token.. [optional]  # noqa: E501
            page_size (int): The number of search results to include in a page. Minimum of 1 and maximum of 25.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.query = query
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #21
0
    def __init__(self, description, *args, **kwargs):  # noqa: E501
        """EntityTemplateTask - a model defined in OpenAPI

        Args:
            description (str): The Task description.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            complete (bool): True/false boolean indicating whether the Task is completed. Defaults to false.. [optional]  # noqa: E501
            external_id (str): This field can be set to another unique ID. In the case that the Task has been imported from another tool, the ID in the other tool can be indicated here.. [optional]  # noqa: E501
            owner_ids ([str]): An array of UUIDs for any members you want to add as Owners on this new Task.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.description = description
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #22
0
    def __init__(self, created_at, entity_type, id, object_id, subject_id, type, updated_at, verb, *args, **kwargs):  # noqa: E501
        """TypedStoryLink - a model defined in OpenAPI

        Args:
            created_at (datetime): The time/date when the Story Link was created.
            entity_type (str): A string description of this resource.
            id (int): The unique identifier of the Story Link.
            object_id (int): The ID of the object Story.
            subject_id (int): The ID of the subject Story.
            type (str): This indicates whether the Story is the subject or object in the Story Link.
            updated_at (datetime): The time/date when the Story Link was last updated.
            verb (str): How the subject Story acts on the object Story. This can be \"blocks\", \"duplicates\", or \"relates to\".

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.created_at = created_at
        self.entity_type = entity_type
        self.id = id
        self.object_id = object_id
        self.subject_id = subject_id
        self.type = type
        self.updated_at = updated_at
        self.verb = verb
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, end_date, name, start_date, *args,
                 **kwargs):  # noqa: E501
        """CreateIteration - a model defined in OpenAPI

        Args:
            end_date (str): The date this Iteration ends, e.g. 2019-07-01.
            name (str): The name of this Iteration.
            start_date (str): The date this Iteration begins, e.g. 2019-07-01.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            description (str): The description of the Iteration.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs for any Members you want to add as Followers.. [optional]  # noqa: E501
            group_ids ([str]): An array of UUIDs for any Groups you want to add as Followers. Currently, only one Group association is presented in our web UI.. [optional]  # noqa: E501
            labels ([CreateLabelParams]): An array of Labels attached to the Iteration.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.end_date = end_date
        self.name = name
        self.start_date = start_date
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #24
0
    def __init__(self, last_story_update, num_points, num_points_done,
                 num_points_started, num_points_unstarted,
                 num_related_documents, num_stories_done, num_stories_started,
                 num_stories_unestimated, num_stories_unstarted, *args,
                 **kwargs):  # noqa: E501
        """EpicStats - a model defined in OpenAPI

        Args:
            last_story_update (datetime, none_type): The date of the last update of a Story in this Epic.
            num_points (int): The total number of points in this Epic.
            num_points_done (int): The total number of completed points in this Epic.
            num_points_started (int): The total number of started points in this Epic.
            num_points_unstarted (int): The total number of unstarted points in this Epic.
            num_related_documents (int): The total number of documents associated with this Epic.
            num_stories_done (int): The total number of done Stories in this Epic.
            num_stories_started (int): The total number of started Stories in this Epic.
            num_stories_unestimated (int): The total number of Stories with no point estimate.
            num_stories_unstarted (int): The total number of unstarted Stories in this Epic.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            average_cycle_time (int): The average cycle time (in seconds) of completed stories in this Epic.. [optional]  # noqa: E501
            average_lead_time (int): The average lead time (in seconds) of completed stories in this Epic.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.last_story_update = last_story_update
        self.num_points = num_points
        self.num_points_done = num_points_done
        self.num_points_started = num_points_started
        self.num_points_unstarted = num_points_unstarted
        self.num_related_documents = num_related_documents
        self.num_stories_done = num_stories_done
        self.num_stories_started = num_stories_started
        self.num_stories_unestimated = num_stories_unestimated
        self.num_stories_unstarted = num_stories_unstarted
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #25
0
    def __init__(self, created_at, deleted, entity_type, id, merged_branch_ids,
                 name, persistent, pull_requests, repository_id, updated_at,
                 url, *args, **kwargs):  # noqa: E501
        """Branch - a model defined in OpenAPI

        Args:
            created_at (datetime, none_type): The time/date the Branch was created.
            deleted (bool): A true/false boolean indicating if the Branch has been deleted.
            entity_type (str): A string description of this resource.
            id (int, none_type): The unique ID of the Branch.
            merged_branch_ids ([int]): The IDs of the Branches the Branch has been merged into.
            name (str): The name of the Branch.
            persistent (bool): A true/false boolean indicating if the Branch is persistent; e.g. master.
            pull_requests ([PullRequest]): An array of PullRequests attached to the Branch (there is usually only one).
            repository_id (int, none_type): The ID of the Repository that contains the Branch.
            updated_at (datetime, none_type): The time/date the Branch was updated.
            url (str): The URL of the Branch.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.created_at = created_at
        self.deleted = deleted
        self.entity_type = entity_type
        self.id = id
        self.merged_branch_ids = merged_branch_ids
        self.name = name
        self.persistent = persistent
        self.pull_requests = pull_requests
        self.repository_id = repository_id
        self.updated_at = updated_at
        self.url = url
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #26
0
    def __init__(self, name, *args, **kwargs):  # noqa: E501
        """CreateCategory - a model defined in OpenAPI

        Args:
            name (str): The name of the new Category.

        Keyword Args:
            type (str): The type of entity this Category is associated with; currently Milestone is the only type of Category.. defaults to "milestone", must be one of ["milestone", ]  # noqa: E501
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            color (str): The hex color to be displayed with the Category (for example, \"#ff0000\").. [optional]  # noqa: E501
            external_id (str): This field can be set to another unique ID. In the case that the Category has been imported from another tool, the ID in the other tool can be indicated here.. [optional]  # noqa: E501
        """

        type = kwargs.get('type', "milestone")
        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.name = name
        self.type = type
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, *args, **kwargs):  # noqa: E501
        """SearchStories - a model defined in OpenAPI

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            archived (bool): A true/false boolean indicating whether the Story is in archived state.. [optional]  # noqa: E501
            completed_at_end (datetime): Stories should have been completed before this date.. [optional]  # noqa: E501
            completed_at_start (datetime): Stories should have been competed after this date.. [optional]  # noqa: E501
            created_at_end (datetime): Stories should have been created before this date.. [optional]  # noqa: E501
            created_at_start (datetime): Stories should have been created after this date.. [optional]  # noqa: E501
            deadline_end (datetime): Stories should have a deadline before this date.. [optional]  # noqa: E501
            deadline_start (datetime): Stories should have a deadline after this date.. [optional]  # noqa: E501
            epic_id (int, none_type): The Epic IDs that may be associated with the Stories.. [optional]  # noqa: E501
            epic_ids ([int]): The Epic IDs that may be associated with the Stories.. [optional]  # noqa: E501
            estimate (int): The number of estimate points associate with the Stories.. [optional]  # noqa: E501
            external_id (str): An ID or URL that references an external resource. Useful during imports.. [optional]  # noqa: E501
            group_id (str, none_type): The Group ID that is associated with the Stories. [optional]  # noqa: E501
            group_ids ([str]): The Group IDs that are associated with the Stories. [optional]  # noqa: E501
            includes_description (bool): Whether to include the story description in the response.. [optional]  # noqa: E501
            iteration_id (int, none_type): The Iteration ID that may be associated with the Stories.. [optional]  # noqa: E501
            iteration_ids ([int]): The Iteration IDs that may be associated with the Stories.. [optional]  # noqa: E501
            label_ids ([int]): The Label IDs that may be associated with the Stories.. [optional]  # noqa: E501
            label_name (str): The name of any associated Labels.. [optional]  # noqa: E501
            owner_id (str, none_type): An array of UUIDs for any Users who may be Owners of the Stories.. [optional]  # noqa: E501
            owner_ids ([str]): An array of UUIDs for any Users who may be Owners of the Stories.. [optional]  # noqa: E501
            project_id (int): The IDs for the Projects the Stories may be assigned to.. [optional]  # noqa: E501
            project_ids ([int]): The IDs for the Projects the Stories may be assigned to.. [optional]  # noqa: E501
            requested_by_id (str): The UUID of any Users who may have requested the Stories.. [optional]  # noqa: E501
            story_type (str): The type of Stories that you want returned.. [optional]  # noqa: E501
            updated_at_end (datetime): Stories should have been updated before this date.. [optional]  # noqa: E501
            updated_at_start (datetime): Stories should have been updated after this date.. [optional]  # noqa: E501
            workflow_state_id (int): The unique IDs of the specific Workflow States that the Stories should be in.. [optional]  # noqa: E501
            workflow_state_types ([str]): The type of Workflow State the Stories may be in.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
    def __init__(self, entity_type, name, type, *args, **kwargs):  # noqa: E501
        """Identity - a model defined in OpenAPI

        Args:
            entity_type (str): A string description of this resource.
            name (str, none_type): This is your login in VCS.
            type (str, none_type): The type of Identity; currently only type is github.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__,),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

        self.entity_type = entity_type
        self.name = name
        self.type = type
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)
Example #29
0
    def __init__(self, name, *args, **kwargs):  # noqa: E501
        """CreateEpic - a model defined in OpenAPI

        Args:
            name (str): The Epic's name.

        Keyword Args:
            _check_type (bool): if True, values for parameters in openapi_types
                                will be type checked and a TypeError will be
                                raised if the wrong type is input.
                                Defaults to True
            _path_to_item (tuple/list): This is a list of keys or values to
                                drill down to the model in received_data
                                when deserializing a response
            _spec_property_naming (bool): True if the variable names in the input data
                                are serialized names, as specified in the OpenAPI document.
                                False if the variable names in the input data
                                are pythonic names, e.g. snake case (default)
            _configuration (Configuration): the instance to use when
                                deserializing a file_type parameter.
                                If passed, type conversion is attempted
                                If omitted no type conversion is done.
            _visited_composed_classes (tuple): This stores a tuple of
                                classes that we have traveled through so that
                                if we see that class again we will not use its
                                discriminator again.
                                When traveling through a discriminator, the
                                composed schema that is
                                is traveled through is added to this set.
                                For example if Animal has a discriminator
                                petType and we pass in "Dog", and the class Dog
                                allOf includes Animal, we move through Animal
                                once using the discriminator, and pick Dog.
                                Then in Dog, we will make an instance of the
                                Animal class but this time we won't travel
                                through its discriminator because we passed in
                                _visited_composed_classes = (Animal,)
            completed_at_override (datetime): A manual override for the time/date the Epic was completed.. [optional]  # noqa: E501
            created_at (datetime): Defaults to the time/date it is created but can be set to reflect another date.. [optional]  # noqa: E501
            deadline (datetime, none_type): The Epic's deadline.. [optional]  # noqa: E501
            description (str): The Epic's description.. [optional]  # noqa: E501
            epic_state_id (int): The ID of the Epic State.. [optional]  # noqa: E501
            external_id (str): This field can be set to another unique ID. In the case that the Epic has been imported from another tool, the ID in the other tool can be indicated here.. [optional]  # noqa: E501
            follower_ids ([str]): An array of UUIDs for any Members you want to add as Followers on this new Epic.. [optional]  # noqa: E501
            group_id (str, none_type): The ID of the group to associate with the epic.. [optional]  # noqa: E501
            labels ([CreateLabelParams]): An array of Labels attached to the Epic.. [optional]  # noqa: E501
            milestone_id (int, none_type): The ID of the Milestone this Epic is related to.. [optional]  # noqa: E501
            owner_ids ([str]): An array of UUIDs for any members you want to add as Owners on this new Epic.. [optional]  # noqa: E501
            planned_start_date (datetime, none_type): The Epic's planned start date.. [optional]  # noqa: E501
            requested_by_id (str): The ID of the member that requested the epic.. [optional]  # noqa: E501
            started_at_override (datetime): A manual override for the time/date the Epic was started.. [optional]  # noqa: E501
            state (str): `Deprecated` The Epic's state (to do, in progress, or done); will be ignored when `epic_state_id` is set.. [optional]  # noqa: E501
            updated_at (datetime): Defaults to the time/date it is created but can be set to reflect another date.. [optional]  # noqa: E501
        """

        _check_type = kwargs.pop('_check_type', True)
        _spec_property_naming = kwargs.pop('_spec_property_naming', False)
        _path_to_item = kwargs.pop('_path_to_item', ())
        _configuration = kwargs.pop('_configuration', None)
        _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())

        if args:
            raise ApiTypeError(
                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
                % (
                    args,
                    self.__class__.__name__,
                ),
                path_to_item=_path_to_item,
                valid_classes=(self.__class__, ),
            )

        self._data_store = {}
        self._check_type = _check_type
        self._spec_property_naming = _spec_property_naming
        self._path_to_item = _path_to_item
        self._configuration = _configuration
        self._visited_composed_classes = _visited_composed_classes + (
            self.__class__, )

        self.name = name
        for var_name, var_value in kwargs.items():
            if var_name not in self.attribute_map and \
                        self._configuration is not None and \
                        self._configuration.discard_unknown_keys and \
                        self.additional_properties_type is None:
                # discard variable.
                continue
            setattr(self, var_name, var_value)