def __init__(self, body=None, new_position=None, old_position=None, path=None, _configuration=None): # noqa: E501 """CreatePullReviewComment - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._body = None self._new_position = None self._old_position = None self._path = None self.discriminator = None if body is not None: self.body = body if new_position is not None: self.new_position = new_position if old_position is not None: self.old_position = old_position if path is not None: self.path = path
def __init__(self, author=None, branch=None, committer=None, dates=None, message=None, new_branch=None, sha=None, signoff=None, _configuration=None): # noqa: E501 """DeleteFileOptions - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._author = None self._branch = None self._committer = None self._dates = None self._message = None self._new_branch = None self._sha = None self._signoff = None self.discriminator = None if author is not None: self.author = author if branch is not None: self.branch = branch if committer is not None: self.committer = committer if dates is not None: self.dates = dates if message is not None: self.message = message if new_branch is not None: self.new_branch = new_branch self.sha = sha if signoff is not None: self.signoff = signoff
def __init__(self, active=None, branch_filter=None, config=None, events=None, _configuration=None): # noqa: E501 """EditHookOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._active = None self._branch_filter = None self._config = None self._events = None self.discriminator = None if active is not None: self.active = active if branch_filter is not None: self.branch_filter = branch_filter if config is not None: self.config = config if events is not None: self.events = events
def __init__(self, body=None, comments=None, commit_id=None, event=None, _configuration=None): # noqa: E501 """CreatePullReviewOptions - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._body = None self._comments = None self._commit_id = None self._event = None self.discriminator = None if body is not None: self.body = body if comments is not None: self.comments = comments if commit_id is not None: self.commit_id = commit_id if event is not None: self.event = event
def __init__(self, avatar_url=None, description=None, full_name=None, id=None, location=None, repo_admin_change_team_access=None, username=None, visibility=None, website=None, _configuration=None): # noqa: E501 """Organization - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._avatar_url = None self._description = None self._full_name = None self._id = None self._location = None self._repo_admin_change_team_access = None self._username = None self._visibility = None self._website = None self.discriminator = None if avatar_url is not None: self.avatar_url = avatar_url if description is not None: self.description = description if full_name is not None: self.full_name = full_name if id is not None: self.id = id if location is not None: self.location = location if repo_admin_change_team_access is not None: self.repo_admin_change_team_access = repo_admin_change_team_access if username is not None: self.username = username if visibility is not None: self.visibility = visibility if website is not None: self.website = website
def __init__(self, http_git_disabled=None, lfs_disabled=None, migrations_disabled=None, mirrors_disabled=None, stars_disabled=None, time_tracking_disabled=None, _configuration=None): # noqa: E501 """GeneralRepoSettings - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._http_git_disabled = None self._lfs_disabled = None self._migrations_disabled = None self._mirrors_disabled = None self._stars_disabled = None self._time_tracking_disabled = None self.discriminator = None if http_git_disabled is not None: self.http_git_disabled = http_git_disabled if lfs_disabled is not None: self.lfs_disabled = lfs_disabled if migrations_disabled is not None: self.migrations_disabled = migrations_disabled if mirrors_disabled is not None: self.mirrors_disabled = mirrors_disabled if stars_disabled is not None: self.stars_disabled = stars_disabled if time_tracking_disabled is not None: self.time_tracking_disabled = time_tracking_disabled
def __init__(self, full_name=None, id=None, name=None, owner=None, _configuration=None): # noqa: E501 """RepositoryMeta - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._full_name = None self._id = None self._name = None self._owner = None self.discriminator = None if full_name is not None: self.full_name = full_name if id is not None: self.id = id if name is not None: self.name = name if owner is not None: self.owner = owner
def __init__(self, default_git_trees_per_page=None, default_max_blob_size=None, default_paging_num=None, max_response_items=None, _configuration=None): # noqa: E501 """GeneralAPISettings - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._default_git_trees_per_page = None self._default_max_blob_size = None self._default_paging_num = None self._max_response_items = None self.discriminator = None if default_git_trees_per_page is not None: self.default_git_trees_per_page = default_git_trees_per_page if default_max_blob_size is not None: self.default_max_blob_size = default_max_blob_size if default_paging_num is not None: self.default_paging_num = default_paging_num if max_response_items is not None: self.max_response_items = max_response_items
def __init__(self, author=None, committer=None, message=None, tree=None, url=None, _configuration=None): # noqa: E501 """RepoCommit - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._author = None self._committer = None self._message = None self._tree = None self._url = None self.discriminator = None if author is not None: self.author = author if committer is not None: self.committer = committer if message is not None: self.message = message if tree is not None: self.tree = tree if url is not None: self.url = url
def __init__(self, context=None, created_at=None, creator=None, description=None, id=None, status=None, target_url=None, updated_at=None, url=None, _configuration=None): # noqa: E501 """CommitStatus - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._context = None self._created_at = None self._creator = None self._description = None self._id = None self._status = None self._target_url = None self._updated_at = None self._url = None self.discriminator = None if context is not None: self.context = context if created_at is not None: self.created_at = created_at if creator is not None: self.creator = creator if description is not None: self.description = description if id is not None: self.id = id if status is not None: self.status = status if target_url is not None: self.target_url = target_url if updated_at is not None: self.updated_at = updated_at if url is not None: self.url = url
def __init__(self, description=None, due_on=None, state=None, title=None, _configuration=None): # noqa: E501 """EditMilestoneOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._description = None self._due_on = None self._state = None self._title = None self.discriminator = None if description is not None: self.description = description if due_on is not None: self.due_on = due_on if state is not None: self.state = state if title is not None: self.title = title
def __init__(self, body=None, draft=None, name=None, prerelease=None, tag_name=None, target_commitish=None, _configuration=None): # noqa: E501 """EditReleaseOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._body = None self._draft = None self._name = None self._prerelease = None self._tag_name = None self._target_commitish = None self.discriminator = None if body is not None: self.body = body if draft is not None: self.draft = draft if name is not None: self.name = name if prerelease is not None: self.prerelease = prerelease if tag_name is not None: self.tag_name = tag_name if target_commitish is not None: self.target_commitish = target_commitish
def __init__(self, exec_times=None, name=None, next=None, prev=None, schedule=None, _configuration=None): # noqa: E501 """Cron - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._exec_times = None self._name = None self._next = None self._prev = None self._schedule = None self.discriminator = None if exec_times is not None: self.exec_times = exec_times if name is not None: self.name = name if next is not None: self.next = next if prev is not None: self.prev = prev if schedule is not None: self.schedule = schedule
def __init__(self, created_at=None, ignored=None, reason=None, repository_url=None, subscribed=None, url=None, _configuration=None): # noqa: E501 """WatchInfo - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._created_at = None self._ignored = None self._reason = None self._repository_url = None self._subscribed = None self._url = None self.discriminator = None if created_at is not None: self.created_at = created_at if ignored is not None: self.ignored = ignored if reason is not None: self.reason = reason if repository_url is not None: self.repository_url = repository_url if subscribed is not None: self.subscribed = subscribed if url is not None: self.url = url
def __init__(self, context=None, mode=None, text=None, wiki=None, _configuration=None): # noqa: E501 """MarkdownOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._context = None self._mode = None self._text = None self._wiki = None self.discriminator = None if context is not None: self.context = context if mode is not None: self.mode = mode if text is not None: self.text = text if wiki is not None: self.wiki = wiki
def __init__(self, latest_comment_url=None, state=None, title=None, type=None, url=None, _configuration=None): # noqa: E501 """NotificationSubject - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._latest_comment_url = None self._state = None self._title = None self._type = None self._url = None self.discriminator = None if latest_comment_url is not None: self.latest_comment_url = latest_comment_url if state is not None: self.state = state if title is not None: self.title = title if type is not None: self.type = type if url is not None: self.url = url
def __init__(self, description=None, diff_view_style=None, full_name=None, hide_activity=None, hide_email=None, language=None, location=None, theme=None, website=None, _configuration=None): # noqa: E501 """UserSettingsOptions - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._description = None self._diff_view_style = None self._full_name = None self._hide_activity = None self._hide_email = None self._language = None self._location = None self._theme = None self._website = None self.discriminator = None if description is not None: self.description = description if diff_view_style is not None: self.diff_view_style = diff_view_style if full_name is not None: self.full_name = full_name if hide_activity is not None: self.hide_activity = hide_activity if hide_email is not None: self.hide_email = hide_email if language is not None: self.language = language if location is not None: self.location = location if theme is not None: self.theme = theme if website is not None: self.website = website
def __init__(self, page=None, sha=None, total_count=None, tree=None, truncated=None, url=None, _configuration=None): # noqa: E501 """GitTreeResponse - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._page = None self._sha = None self._total_count = None self._tree = None self._truncated = None self._url = None self.discriminator = None if page is not None: self.page = page if sha is not None: self.sha = sha if total_count is not None: self.total_count = total_count if tree is not None: self.tree = tree if truncated is not None: self.truncated = truncated if url is not None: self.url = url
def __init__(self, can_create_org_repo=None, description=None, includes_all_repositories=None, name=None, permission=None, units=None, _configuration=None): # noqa: E501 """CreateTeamOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._can_create_org_repo = None self._description = None self._includes_all_repositories = None self._name = None self._permission = None self._units = None self.discriminator = None if can_create_org_repo is not None: self.can_create_org_repo = can_create_org_repo if description is not None: self.description = description if includes_all_repositories is not None: self.includes_all_repositories = includes_all_repositories self.name = name if permission is not None: self.permission = permission if units is not None: self.units = units
def __init__(self, created=None, duration=None, issue_index=None, issue_title=None, repo_name=None, repo_owner_name=None, seconds=None, _configuration=None): # noqa: E501 """StopWatch - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._created = None self._duration = None self._issue_index = None self._issue_title = None self._repo_name = None self._repo_owner_name = None self._seconds = None self.discriminator = None if created is not None: self.created = created if duration is not None: self.duration = duration if issue_index is not None: self.issue_index = issue_index if issue_title is not None: self.issue_title = issue_title if repo_name is not None: self.repo_name = repo_name if repo_owner_name is not None: self.repo_owner_name = repo_owner_name if seconds is not None: self.seconds = seconds
def __init__(self, email=None, full_name=None, login_name=None, must_change_password=None, password=None, send_notify=None, source_id=None, username=None, visibility=None, _configuration=None): # noqa: E501 """CreateUserOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._email = None self._full_name = None self._login_name = None self._must_change_password = None self._password = None self._send_notify = None self._source_id = None self._username = None self._visibility = None self.discriminator = None self.email = email if full_name is not None: self.full_name = full_name if login_name is not None: self.login_name = login_name if must_change_password is not None: self.must_change_password = must_change_password self.password = password if send_notify is not None: self.send_notify = send_notify if source_id is not None: self.source_id = source_id self.username = username if visibility is not None: self.visibility = visibility
def __init__(self, description=None, full_name=None, location=None, repo_admin_change_team_access=None, visibility=None, website=None, _configuration=None): # noqa: E501 """EditOrgOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._description = None self._full_name = None self._location = None self._repo_admin_change_team_access = None self._visibility = None self._website = None self.discriminator = None if description is not None: self.description = description if full_name is not None: self.full_name = full_name if location is not None: self.location = location if repo_admin_change_team_access is not None: self.repo_admin_change_team_access = repo_admin_change_team_access if visibility is not None: self.visibility = visibility if website is not None: self.website = website
def __init__(self, color=None, description=None, id=None, name=None, url=None, _configuration=None): # noqa: E501 """Label - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._color = None self._description = None self._id = None self._name = None self._url = None self.discriminator = None if color is not None: self.color = color if description is not None: self.description = description if id is not None: self.id = id if name is not None: self.name = name if url is not None: self.url = url
def __init__(self, mode=None, path=None, sha=None, size=None, type=None, url=None, _configuration=None): # noqa: E501 """GitEntry - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._mode = None self._path = None self._sha = None self._size = None self._type = None self._url = None self.discriminator = None if mode is not None: self.mode = mode if path is not None: self.path = path if sha is not None: self.sha = sha if size is not None: self.size = size if type is not None: self.type = type if url is not None: self.url = url
def __init__(self, about=None, content=None, file_name=None, labels=None, name=None, title=None, _configuration=None): # noqa: E501 """IssueTemplate - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._about = None self._content = None self._file_name = None self._labels = None self._name = None self._title = None self.discriminator = None if about is not None: self.about = about if content is not None: self.content = content if file_name is not None: self.file_name = file_name if labels is not None: self.labels = labels if name is not None: self.name = name if title is not None: self.title = title
def __init__(self, commit=None, id=None, message=None, name=None, tarball_url=None, zipball_url=None, _configuration=None): # noqa: E501 """Tag - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._commit = None self._id = None self._message = None self._name = None self._tarball_url = None self._zipball_url = None self.discriminator = None if commit is not None: self.commit = commit if id is not None: self.id = id if message is not None: self.message = message if name is not None: self.name = name if tarball_url is not None: self.tarball_url = tarball_url if zipball_url is not None: self.zipball_url = zipball_url
def __init__(self, client_id=None, client_secret=None, created=None, id=None, name=None, redirect_uris=None, _configuration=None): # noqa: E501 """OAuth2Application - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._client_id = None self._client_secret = None self._created = None self._id = None self._name = None self._redirect_uris = None self.discriminator = None if client_id is not None: self.client_id = client_id if client_secret is not None: self.client_secret = client_secret if created is not None: self.created = created if id is not None: self.id = id if name is not None: self.name = name if redirect_uris is not None: self.redirect_uris = redirect_uris
def __init__(self, label=None, ref=None, repo=None, repo_id=None, sha=None, _configuration=None): # noqa: E501 """PRBranchInfo - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._label = None self._ref = None self._repo = None self._repo_id = None self._sha = None self.discriminator = None if label is not None: self.label = label if ref is not None: self.ref = ref if repo is not None: self.repo = repo if repo_id is not None: self.repo_id = repo_id if sha is not None: self.sha = sha
def __init__(self, do=None, merge_commit_id=None, merge_message_field=None, merge_title_field=None, delete_branch_after_merge=None, force_merge=None, _configuration=None): # noqa: E501 """MergePullRequestOption - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._do = None self._merge_commit_id = None self._merge_message_field = None self._merge_title_field = None self._delete_branch_after_merge = None self._force_merge = None self.discriminator = None self.do = do if merge_commit_id is not None: self.merge_commit_id = merge_commit_id if merge_message_field is not None: self.merge_message_field = merge_message_field if merge_title_field is not None: self.merge_title_field = merge_title_field if delete_branch_after_merge is not None: self.delete_branch_after_merge = delete_branch_after_merge if force_merge is not None: self.force_merge = force_merge
def __init__(self, created=None, id=None, repo_count=None, topic_name=None, updated=None, _configuration=None): # noqa: E501 """TopicResponse - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._created = None self._id = None self._repo_count = None self._topic_name = None self._updated = None self.discriminator = None if created is not None: self.created = created if id is not None: self.id = id if repo_count is not None: self.repo_count = repo_count if topic_name is not None: self.topic_name = topic_name if updated is not None: self.updated = updated