Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, _links=None, url=None):
super(TeamSettingsDataContractBase, self).__init__()
self._links = _links
self.url = url
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'},
'activities': {'key': 'activities', 'type': '[Activity]'},
'days_off': {'key': 'daysOff', 'type': '[DateRange]'},
'team_member': {'key': 'teamMember', 'type': 'IdentityRef'}
}
def __init__(self, _links=None, url=None, activities=None, days_off=None, team_member=None):
super(TeamMemberCapacityIdentityRef, self).__init__(_links=_links, url=url, activities=activities, days_off=days_off)
self.team_member = team_member
class TeamSetting(TeamSettingsDataContractBase):
"""TeamSetting.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param backlog_iteration: Backlog Iteration
:type backlog_iteration: :class:`TeamSettingsIteration `
:param backlog_visibilities: Information about categories that are visible on the backlog.
:type backlog_visibilities: dict
:param bugs_behavior: BugsBehavior (Off, AsTasks, AsRequirements, ...)
:type bugs_behavior: object
:param default_iteration: Default Iteration, the iteration used when creating a new work item on the queries page.
:type default_iteration: :class:`TeamSettingsIteration `
:param default_iteration_macro: Default Iteration macro (if any)
:type default_iteration_macro: str
"""TeamSettingsDaysOffPatch.
:param days_off:
:type days_off: list of :class:`DateRange `
"""
_attribute_map = {
'days_off': {'key': 'daysOff', 'type': '[DateRange]'}
}
def __init__(self, days_off=None):
super(TeamSettingsDaysOffPatch, self).__init__()
self.days_off = days_off
class TeamSettingsIteration(TeamSettingsDataContractBase):
"""TeamSettingsIteration.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param attributes: Attributes of the iteration such as start and end date.
:type attributes: :class:`TeamIterationAttributes `
:param id: Id of the iteration.
:type id: str
:param name: Name of the iteration.
:type name: str
:param path: Relative path of the iteration.
:type path: str
"""
'max_expanded_teams': {'key': 'maxExpandedTeams', 'type': 'int'},
'start_date': {'key': 'startDate', 'type': 'iso-8601'},
'teams': {'key': 'teams', 'type': '[TimelineTeamData]'}
}
def __init__(self, id=None, revision=None, child_id_to_parent_id_map=None, criteria_status=None, end_date=None, max_expanded_teams=None, start_date=None, teams=None):
super(DeliveryViewData, self).__init__(id=id, revision=revision)
self.child_id_to_parent_id_map = child_id_to_parent_id_map
self.criteria_status = criteria_status
self.end_date = end_date
self.max_expanded_teams = max_expanded_teams
self.start_date = start_date
self.teams = teams
class IterationWorkItems(TeamSettingsDataContractBase):
"""IterationWorkItems.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param work_item_relations: Work item relations
:type work_item_relations: list of :class:`WorkItemLink `
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'},
'work_item_relations': {'key': 'workItemRelations', 'type': '[WorkItemLink]'}
}
:param work_item_relations: Work item relations
:type work_item_relations: list of :class:`WorkItemLink `
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'},
'work_item_relations': {'key': 'workItemRelations', 'type': '[WorkItemLink]'}
}
def __init__(self, _links=None, url=None, work_item_relations=None):
super(IterationWorkItems, self).__init__(_links=_links, url=url)
self.work_item_relations = work_item_relations
class TeamFieldValues(TeamSettingsDataContractBase):
"""TeamFieldValues.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param default_value: The default team field value
:type default_value: str
:param field: Shallow ref to the field being used as a team field
:type field: :class:`FieldReference `
:param values: Collection of all valid team field values
:type values: list of :class:`TeamFieldValue `
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'settings': {'key': 'settings', 'type': '{object}'}
}
def __init__(self, name=None, url=None, _links=None, settings=None):
super(BoardChart, self).__init__(name=name, url=url)
self._links = _links
self.settings = settings
class CapacityContractBase(TeamSettingsDataContractBase):
"""CapacityContractBase.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param activities: Collection of capacities associated with the team member
:type activities: list of :class:`Activity `
:param days_off: The days off associated with the team member
:type days_off: list of :class:`DateRange `
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'},
'activities': {'key': 'activities', 'type': '[Activity]'},
:param url: Full http link to the resource
:type url: str
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, _links=None, url=None):
super(TeamSettingsDataContractBase, self).__init__()
self._links = _links
self.url = url
class TeamSettingsDaysOff(TeamSettingsDataContractBase):
"""TeamSettingsDaysOff.
:param _links: Collection of links relevant to resource
:type _links: :class:`ReferenceLinks `
:param url: Full http link to the resource
:type url: str
:param days_off:
:type days_off: list of :class:`DateRange `
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'url': {'key': 'url', 'type': 'str'},
'days_off': {'key': 'daysOff', 'type': '[DateRange]'}
}