dohq_teamcity.custom package

Submodules

dohq_teamcity.custom.api module

class dohq_teamcity.custom.api.AgentApi(api_client=None)

Bases: dohq_teamcity.api.agent_api.AgentApi

get(agent_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_locator (str) – (required)
  • fields (str) –
Returns:

Agent

get_agent(agent_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_locator (str) – (required)
  • fields (str) –
Returns:

Agent

get_agent_field(agent_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • agent_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_agents(**kwargs)
Parameters:
  • async_req – bool
  • include_disconnected (bool) –
  • include_unauthorized (bool) –
  • locator (str) –
  • fields (str) –
Returns:

Agents

class dohq_teamcity.custom.api.AgentPoolApi(api_client=None)

Bases: dohq_teamcity.api.agent_pool_api.AgentPoolApi

get(agent_pool_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_pool_locator (str) – (required)
  • fields (str) –
Returns:

AgentPool

class dohq_teamcity.custom.api.BuildApi(api_client=None)

Bases: dohq_teamcity.api.build_api.BuildApi

get(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_aggregated_build_status(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
Returns:

str

get_aggregated_build_status_icon(build_locator, suffix, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • suffix (str) – (required)
Returns:

None

get_all_builds(**kwargs)
Parameters:
  • async_req – bool
  • build_type (str) –
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

get_build(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_build_actual_parameters(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_build_field_by_build_only(build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

IssuesUsages

Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

IssuesUsages

get_build_statistic_value(build_locator, name, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • name (str) – (required)
Returns:

str

get_build_statistic_values(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_build_status_icon(build_locator, suffix, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • suffix (str) – (required)
Returns:

None

get_source_file(build_locator, file_name, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • file_name (str) – (required)
Returns:

None

get_tags(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • locator (str) –
  • fields (str) –
Returns:

Tags

class dohq_teamcity.custom.api.BuildQueueApi(api_client=None)

Bases: dohq_teamcity.api.build_queue_api.BuildQueueApi

get_build_field_by_build_only(build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_compatible_agents(queued_build_locator, **kwargs)
Parameters:
  • async_req – bool
  • queued_build_locator (str) – (required)
  • fields (str) –
Returns:

Agents

get_tags(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • locator (str) –
  • fields (str) –
Returns:

Tags

class dohq_teamcity.custom.api.BuildTypeApi(api_client=None)

Bases: dohq_teamcity.api.build_type_api.BuildTypeApi

get(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_branches(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • locator (str) –
  • fields (str) –
Returns:

Branches

get_build_field(bt_locator, build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type_builds_tags(bt_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • field (str) – (required)
Returns:

Tags

get_build_type_field(bt_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type_template(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_type_xml(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_with_project(bt_locator, build_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_builds(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

class dohq_teamcity.custom.api.ChangeApi(api_client=None)

Bases: dohq_teamcity.api.change_api.ChangeApi

get(change_locator, **kwargs)
Parameters:
  • async_req – bool
  • change_locator (str) – (required)
  • fields (str) –
Returns:

Change

get_change(change_locator, **kwargs)
Parameters:
  • async_req – bool
  • change_locator (str) – (required)
  • fields (str) –
Returns:

Change

get_changes(**kwargs)
Parameters:
  • async_req – bool
  • project (str) –
  • build_type (str) –
  • build (str) –
  • vcs_root (str) –
  • since_change (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Changes

class dohq_teamcity.custom.api.DefaultApi(api_client=None)

Bases: dohq_teamcity.api.default_api.DefaultApi

get_api_version(**kwargs)
Parameters:async_req – bool
Returns:str
get_build_field_short(project_locator, bt_locator, build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_plugin_info(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Plugin

get_root(**kwargs)
Parameters:async_req – bool
Returns:str
get_version(**kwargs)
Parameters:async_req – bool
Returns:str
class dohq_teamcity.custom.api.GroupApi(api_client=None)

Bases: dohq_teamcity.api.group_api.GroupApi

get(group_locator, **kwargs)
Parameters:
  • async_req – bool
  • group_locator (str) – (required)
  • fields (str) –
Returns:

Group

get_group(group_locator, **kwargs)
Parameters:
  • async_req – bool
  • group_locator (str) – (required)
  • fields (str) –
Returns:

Group

get_groups(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Groups

get_user_properties(group_locator, name, **kwargs)
Parameters:
  • async_req – bool
  • group_locator (str) – (required)
  • name (str) – (required)
Returns:

str

class dohq_teamcity.custom.api.InvestigationApi(api_client=None)

Bases: dohq_teamcity.api.investigation_api.InvestigationApi

get(investigation_locator, **kwargs)
Parameters:
  • async_req – bool
  • investigation_locator (str) – (required)
  • fields (str) –
Returns:

Investigation

get_instance(investigation_locator, **kwargs)
Parameters:
  • async_req – bool
  • investigation_locator (str) – (required)
  • fields (str) –
Returns:

Investigation

class dohq_teamcity.custom.api.ProblemApi(api_client=None)

Bases: dohq_teamcity.api.problem_api.ProblemApi

get(problem_locator, **kwargs)
Parameters:
  • async_req – bool
  • problem_locator (str) – (required)
  • fields (str) –
Returns:

Problem

get_instance(problem_locator, **kwargs)
Parameters:
  • async_req – bool
  • problem_locator (str) – (required)
  • fields (str) –
Returns:

Problem

class dohq_teamcity.custom.api.ProblemOccurrenceApi(api_client=None)

Bases: dohq_teamcity.api.problem_occurrence_api.ProblemOccurrenceApi

get(problem_locator, **kwargs)
Parameters:
  • async_req – bool
  • problem_locator (str) – (required)
  • fields (str) –
Returns:

ProblemOccurrence

get_instance(problem_locator, **kwargs)
Parameters:
  • async_req – bool
  • problem_locator (str) – (required)
  • fields (str) –
Returns:

ProblemOccurrence

class dohq_teamcity.custom.api.ProjectApi(api_client=None)

Bases: dohq_teamcity.api.project_api.ProjectApi

get(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • fields (str) –
Returns:

Project

get_build_field_with_project(project_locator, bt_locator, build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type(project_locator, bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_type_field_with_project(project_locator, bt_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type_templates(project_locator, bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_types_in_project(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • fields (str) –
Returns:

BuildTypes

get_build_with_project(project_locator, bt_locator, build_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_builds(project_locator, bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • bt_locator (str) – (required)
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

get_project(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • fields (str) –
Returns:

Project

get_project_field(project_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_projects(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Projects

get_templates_in_project(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • fields (str) –
Returns:

BuildTypes

class dohq_teamcity.custom.api.ServerApi(api_client=None)

Bases: dohq_teamcity.api.server_api.ServerApi

get_plugins(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Plugins

get_server_info(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Server

get_server_version(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

class dohq_teamcity.custom.api.TestApi(api_client=None)

Bases: dohq_teamcity.api.test_api.TestApi

get(test_locator, **kwargs)
Parameters:
  • async_req – bool
  • test_locator (str) – (required)
  • fields (str) –
Returns:

Test

get_instance(test_locator, **kwargs)
Parameters:
  • async_req – bool
  • test_locator (str) – (required)
  • fields (str) –
Returns:

Test

class dohq_teamcity.custom.api.TestOccurrenceApi(api_client=None)

Bases: dohq_teamcity.api.test_occurrence_api.TestOccurrenceApi

get(test_locator, **kwargs)
Parameters:
  • async_req – bool
  • test_locator (str) – (required)
  • fields (str) –
Returns:

TestOccurrence

get_instance(test_locator, **kwargs)
Parameters:
  • async_req – bool
  • test_locator (str) – (required)
  • fields (str) –
Returns:

TestOccurrence

class dohq_teamcity.custom.api.UserApi(api_client=None)

Bases: dohq_teamcity.api.user_api.UserApi

get(user_locator, **kwargs)
Parameters:
  • async_req – bool
  • user_locator (str) – (required)
  • fields (str) –
Returns:

User

get_user(user_locator, **kwargs)
Parameters:
  • async_req – bool
  • user_locator (str) – (required)
  • fields (str) –
Returns:

User

get_user_field(user_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • user_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_user_properties(user_locator, **kwargs)
Parameters:
  • async_req – bool
  • user_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_user_property(user_locator, name, **kwargs)
Parameters:
  • async_req – bool
  • user_locator (str) – (required)
  • name (str) – (required)
Returns:

str

get_users(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Users

class dohq_teamcity.custom.api.VcsRootApi(api_client=None)

Bases: dohq_teamcity.api.vcs_root_api.VcsRootApi

get(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • fields (str) –
Returns:

VcsRoot

get_field(vcs_root_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_instance_field(vcs_root_locator, vcs_root_instance_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • vcs_root_instance_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_properties(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_property(vcs_root_locator, name, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • name (str) – (required)
Returns:

str

get_root(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • fields (str) –
Returns:

VcsRoot

get_root_instance(vcs_root_locator, vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstance

get_root_instance_properties(vcs_root_locator, vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_root_instances(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstances

get_roots(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

VcsRoots

class dohq_teamcity.custom.api.VcsRootInstanceApi(api_client=None)

Bases: dohq_teamcity.api.vcs_root_instance_api.VcsRootInstanceApi

get(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstance

get_instance(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstance

get_instance_field(vcs_root_instance_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_instances(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

VcsRootInstances

get_root_instance_properties(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

Properties

dohq_teamcity.custom.base_model module

class dohq_teamcity.custom.base_model.ContainerMixin(initlist=None)

Bases: collections.UserList

Object will response like container:

for build in builds:
    print(build.id)
container = True
class dohq_teamcity.custom.base_model.DeleteMixin

Bases: object

delete(*args, **kwargs)
class dohq_teamcity.custom.base_model.ReadMixin

Bases: object

read(*args, **kwargs)
exception dohq_teamcity.custom.base_model.TeamCityCodeException

Bases: Exception

exception dohq_teamcity.custom.base_model.TeamCityException

Bases: Exception

class dohq_teamcity.custom.base_model.TeamCityObject(teamcity=None, *args, **kwargs)

Bases: object

locator_id
swagger_types = {}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

exception dohq_teamcity.custom.base_model.TeamCityRuntimeException

Bases: Exception

dohq_teamcity.custom.client module

class dohq_teamcity.custom.client.TeamCity(url, auth, proxy=None)

Bases: dohq_teamcity.api_client.ApiClient

call_api(*args, **kwargs)

Quick hack for add Basic auth to swagger-codegen python

to_str()

Returns the string representation of the model

dohq_teamcity.custom.models module

class dohq_teamcity.custom.models.Agent(id=None, name=None, type_id=None, connected=False, enabled=False, authorized=False, uptodate=False, ip=None, protocol=None, version=None, last_activity_time=None, disconnection_comment=None, href=None, web_url=None, build=None, links=None, enabled_info=None, authorized_info=None, properties=None, environment=None, pool=None, compatible_build_types=None, incompatible_build_types=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.agent.Agent, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

api
delete_agent(**kwargs)
Parameters:async_req – bool
Returns:None
get(**kwargs)

Test msg

Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Agent

get_agent(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Agent

get_agent_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_agent_pool(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AgentPool

get_authorized_info(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AuthorizedInfo

get_compatible_build_types(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

get_enabled_info(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

EnabledInfo

get_incompatible_build_types(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Compatibilities

serve_agent(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Agent

serve_agent_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

set_agent_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

set_agent_pool(**kwargs)
Parameters:
Returns:

AgentPool

set_authorized_info(**kwargs)
Parameters:
Returns:

AuthorizedInfo

set_enabled_info(**kwargs)
Parameters:
Returns:

EnabledInfo

class dohq_teamcity.custom.models.AgentPool(id=None, name=None, href=None, max_agents=None, projects=None, agents=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.agent_pool.AgentPool, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add_agent(**kwargs)
Parameters:
  • async_req – bool
  • body (Agent) –
  • fields (str) –
Returns:

Agent

add_project(**kwargs)
Parameters:
  • async_req – bool
  • body (Project) –
Returns:

Project

api
delete_pool(**kwargs)
Parameters:async_req – bool
Returns:None
delete_pool_project(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
Returns:

None

delete_projects(**kwargs)
Parameters:async_req – bool
Returns:None
get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AgentPool

get_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_pool(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AgentPool

get_pool_agents(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Agents

get_pool_project(project_locator, **kwargs)
Parameters:
  • async_req – bool
  • project_locator (str) – (required)
  • fields (str) –
Returns:

Project

get_pool_projects(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Projects

replace_projects(**kwargs)
Parameters:
  • async_req – bool
  • body (Projects) –
Returns:

Projects

set_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

class dohq_teamcity.custom.models.AgentPools(count=None, href=None, next_href=None, prev_href=None, agent_pool=None, teamcity=None)

Bases: dohq_teamcity.models.agent_pools.AgentPools, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.AgentRequirements(count=None, agent_requirement=None, teamcity=None)

Bases: dohq_teamcity.models.agent_requirements.AgentRequirements, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Agents(count=None, next_href=None, prev_href=None, href=None, agent=None, teamcity=None)

Bases: dohq_teamcity.models.agents.Agents, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.ArtifactDependencies(count=None, artifact_dependency=None, replace=None, teamcity=None)

Bases: dohq_teamcity.models.artifact_dependencies.ArtifactDependencies, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Branches(count=None, href=None, branch=None, teamcity=None)

Bases: dohq_teamcity.models.branches.Branches, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Build(id=None, task_id=None, build_type_id=None, build_type_internal_id=None, number=None, status=None, state=None, running=False, composite=False, failed_to_start=False, personal=False, percentage_complete=None, branch_name=None, default_branch=False, unspecified_branch=False, history=False, pinned=False, href=None, web_url=None, queue_position=None, limited_changes_count=None, artifacts_directory=None, links=None, status_text=None, build_type=None, comment=None, tags=None, pin_info=None, user=None, start_estimate=None, wait_reason=None, running_info=None, canceled_info=None, queued_date=None, start_date=None, finish_date=None, triggered=None, last_changes=None, changes=None, revisions=None, versioned_settings_revision=None, artifact_dependency_changes=None, agent=None, compatible_agents=None, test_occurrences=None, problem_occurrences=None, artifacts=None, related_issues=None, properties=None, resulting_properties=None, attributes=None, statistics=None, metadata=None, snapshot_dependencies=None, artifact_dependencies=None, custom_artifact_dependencies=None, settings_hash=None, current_settings_hash=None, modification_id=None, chain_modification_id=None, replacement_ids=None, related=None, triggering_options=None, used_by_other_builds=False, status_change_comment=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.build.Build, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add_tags(**kwargs)
Parameters:
  • async_req – bool
  • body (Tags) –
  • fields (str) –
Returns:

Tags

api
cancel_build(**kwargs)
Parameters:
Returns:

Build

cancel_build_0(**kwargs)
Parameters:async_req – bool
Returns:BuildCancelRequest
delete_build(**kwargs)
Parameters:async_req – bool
Returns:None
delete_comment(**kwargs)
Parameters:async_req – bool
Returns:None
get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Build

get_aggregated_build_status(**kwargs)
Parameters:async_req – bool
Returns:str
get_aggregated_build_status_icon(suffix, **kwargs)
Parameters:
  • async_req – bool
  • suffix (str) – (required)
Returns:

None

get_artifacts_directory(**kwargs)
Parameters:async_req – bool
Returns:str
get_build(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Build

get_build_actual_parameters(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_build_field_by_build_only(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

Parameters:
  • async_req – bool
  • fields (str) –
Returns:

IssuesUsages

Parameters:
  • async_req – bool
  • fields (str) –
Returns:

IssuesUsages

get_build_statistic_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_build_statistic_values(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_build_status_icon(suffix, **kwargs)
Parameters:
  • async_req – bool
  • suffix (str) – (required)
Returns:

None

get_canceled_info(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Comment

get_children(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

Files

get_children_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

Files

get_content(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

None

get_content_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

None

get_metadata(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • fields (str) –
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

file

get_parameter(property_name, **kwargs)
Parameters:
  • async_req – bool
  • property_name (str) – (required)
Returns:

str

get_pinned(**kwargs)
Parameters:async_req – bool
Returns:str
get_problems(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

ProblemOccurrences

get_root(**kwargs)
Parameters:
  • async_req – bool
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

Files

get_source_file(file_name, **kwargs)
Parameters:
  • async_req – bool
  • file_name (str) – (required)
Returns:

None

get_tags(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Tags

get_tests(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

TestOccurrences

get_zipped(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • name (str) –
  • resolve_parameters (bool) –
  • log_build_usage (bool) –
Returns:

None

pin_build(**kwargs)
Parameters:
  • async_req – bool
  • body (str) –
Returns:

None

replace_comment(**kwargs)
Parameters:
  • async_req – bool
  • body (str) –
Returns:

None

replace_tags(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • body (Tags) –
  • fields (str) –
Returns:

Tags

serve_aggregated_build_status(**kwargs)
Parameters:async_req – bool
Returns:str
serve_aggregated_build_status_icon(suffix, **kwargs)
Parameters:
  • async_req – bool
  • suffix (str) – (required)
Returns:

None

serve_build(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Build

serve_build_actual_parameters(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

serve_build_field_by_build_only(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

Parameters:
  • async_req – bool
  • fields (str) –
Returns:

IssuesUsages

Parameters:
  • async_req – bool
  • fields (str) –
Returns:

IssuesUsages

serve_build_statistic_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

serve_build_statistic_values(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

serve_build_status_icon(suffix, **kwargs)
Parameters:
  • async_req – bool
  • suffix (str) – (required)
Returns:

None

serve_source_file(file_name, **kwargs)
Parameters:
  • async_req – bool
  • file_name (str) – (required)
Returns:

None

serve_tags(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Tags

unpin_build(**kwargs)
Parameters:
  • async_req – bool
  • body (str) –
Returns:

None

class dohq_teamcity.custom.models.BuildType(id=None, internal_id=None, name=None, template_flag=False, type=None, paused=False, uuid=None, description=None, project_name=None, project_id=None, project_internal_id=None, href=None, web_url=None, inherited=False, links=None, project=None, templates=None, template=None, vcs_root_entries=None, settings=None, parameters=None, steps=None, features=None, triggers=None, snapshot_dependencies=None, artifact_dependencies=None, agent_requirements=None, branches=None, builds=None, investigations=None, compatible_agents=None, vcs_root_instances=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.build_type.BuildType, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add_agent_requirement(**kwargs)
Parameters:
Returns:

AgentRequirement

add_artifact_dep(**kwargs)
Parameters:
Returns:

ArtifactDependency

add_feature(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Feature) –
Returns:

Feature

add_feature_parameter(feature_id, parameter_name, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • parameter_name (str) – (required)
  • body (str) –
Returns:

str

add_snapshot_dep(**kwargs)
Parameters:
Returns:

SnapshotDependency

add_step(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Step) –
Returns:

Step

add_step_parameter(step_id, parameter_name, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • parameter_name (str) – (required)
  • body (str) –
Returns:

str

add_template(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

add_trigger(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Trigger) –
Returns:

Trigger

add_vcs_root_entry(**kwargs)
Parameters:
Returns:

VcsRootEntry

api
change_artifact_dep_setting(artifact_dep_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • artifact_dep_locator (str) – (required)
  • field_name (str) – (required)
  • body (str) –
Returns:

str

change_feature_setting(feature_id, name, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • name (str) – (required)
  • body (str) –
Returns:

str

change_requirement_setting(agent_requirement_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • agent_requirement_locator (str) – (required)
  • field_name (str) – (required)
  • body (str) –
Returns:

str

change_step_setting(step_id, field_name, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • field_name (str) – (required)
  • body (str) –
Returns:

str

change_trigger_setting(trigger_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • trigger_locator (str) – (required)
  • field_name (str) – (required)
  • body (str) –
Returns:

str

delete_agent_requirement(agent_requirement_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_requirement_locator (str) – (required)
Returns:

None

delete_all_parameters(**kwargs)
Parameters:async_req – bool
Returns:None
delete_all_parameters_0(**kwargs)
Parameters:async_req – bool
Returns:None
delete_artifact_dep(artifact_dep_locator, **kwargs)
Parameters:
  • async_req – bool
  • artifact_dep_locator (str) – (required)
Returns:

None

delete_build_type(**kwargs)
Parameters:async_req – bool
Returns:None
delete_feature(feature_id, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
Returns:

None

delete_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

delete_parameter_0(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

delete_snapshot_dep(snapshot_dep_locator, **kwargs)
Parameters:
  • async_req – bool
  • snapshot_dep_locator (str) – (required)
Returns:

None

delete_step(step_id, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
Returns:

None

delete_template_association(**kwargs)
Parameters:async_req – bool
Returns:None
delete_trigger(trigger_locator, **kwargs)
Parameters:
  • async_req – bool
  • trigger_locator (str) – (required)
Returns:

None

delete_vcs_root_entry(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
Returns:

None

get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

get_agent_requirement(agent_requirement_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_requirement_locator (str) – (required)
  • fields (str) –
Returns:

AgentRequirement

get_agent_requirements(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AgentRequirements

get_aliases(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

Items

get_artifact_dep(artifact_dep_locator, **kwargs)
Parameters:
  • async_req – bool
  • artifact_dep_locator (str) – (required)
  • fields (str) –
Returns:

ArtifactDependency

get_artifact_dep_setting(artifact_dep_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • artifact_dep_locator (str) – (required)
  • field_name (str) – (required)
Returns:

str

get_artifact_deps(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

ArtifactDependencies

get_branches(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Branches

get_build_field(build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type_builds_tags(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

Tags

get_build_type_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_build_type_template(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

get_build_type_xml(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

get_build_with_project(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_builds(**kwargs)
Parameters:
  • async_req – bool
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

get_children(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
Returns:

Files

get_children_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
Returns:

Files

get_content(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • resolve_parameters (bool) –
Returns:

None

get_content_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • resolve_parameters (bool) –
Returns:

None

get_current_vcs_instances(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstances

get_example_new_project_description(**kwargs)
Parameters:async_req – bool
Returns:NewBuildTypeDescription
get_example_new_project_description_compatibility_version1(**kwargs)
Parameters:async_req – bool
Returns:NewBuildTypeDescription
get_feature(feature_id, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • fields (str) –
Returns:

Feature

get_feature_parameter(feature_id, parameter_name, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • parameter_name (str) – (required)
Returns:

str

get_feature_parameters(feature_id, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • fields (str) –
Returns:

Properties

get_feature_setting(feature_id, name, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • name (str) – (required)
Returns:

str

get_features(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Features

get_investigations(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Investigations

get_metadata(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • fields (str) –
  • resolve_parameters (bool) –
Returns:

file

get_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • fields (str) –
Returns:

ModelProperty

get_parameter_0(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • fields (str) –
Returns:

ModelProperty

get_parameter_type(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

Type

get_parameter_type_raw_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_parameter_value_long(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_parameter_value_long_0(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_parameters(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Properties

get_parameters_0(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Properties

get_requirement_setting(agent_requirement_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • agent_requirement_locator (str) – (required)
  • field_name (str) – (required)
Returns:

str

get_root(**kwargs)
Parameters:
  • async_req – bool
  • base_path (str) –
  • locator (str) –
  • fields (str) –
  • resolve_parameters (bool) –
Returns:

Files

get_settings_file(**kwargs)
Parameters:async_req – bool
Returns:str
get_snapshot_dep(snapshot_dep_locator, **kwargs)
Parameters:
  • async_req – bool
  • snapshot_dep_locator (str) – (required)
  • fields (str) –
Returns:

SnapshotDependency

get_snapshot_deps(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

SnapshotDependencies

get_step(step_id, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • fields (str) –
Returns:

Step

get_step_parameter(step_id, parameter_name, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • parameter_name (str) – (required)
Returns:

str

get_step_parameters(step_id, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • fields (str) –
Returns:

Properties

get_step_setting(step_id, field_name, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • field_name (str) – (required)
Returns:

str

get_steps(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Steps

get_templates(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

get_trigger(trigger_locator, **kwargs)
Parameters:
  • async_req – bool
  • trigger_locator (str) – (required)
  • fields (str) –
Returns:

Trigger

get_trigger_setting(trigger_locator, field_name, **kwargs)
Parameters:
  • async_req – bool
  • trigger_locator (str) – (required)
  • field_name (str) – (required)
Returns:

str

get_triggers(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Triggers

get_vcs_labeling_options(**kwargs)
Parameters:async_req – bool
Returns:VcsLabeling
get_vcs_root_entries(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootEntries

get_vcs_root_entry(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootEntry

get_vcs_root_entry_checkout_rules(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
Returns:

str

get_zipped(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • name (str) –
  • resolve_parameters (bool) –
Returns:

None

remove_all_templates(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

remove_template(template_locator, **kwargs)
Parameters:
  • async_req – bool
  • template_locator – str
  • fields (str) –
Returns:

BuildType

replace_agent_requirement(agent_requirement_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_requirement_locator (str) – (required)
  • fields (str) –
  • body (AgentRequirement) –
Returns:

AgentRequirement

replace_agent_requirements(**kwargs)
Parameters:
Returns:

AgentRequirements

replace_artifact_dep(artifact_dep_locator, **kwargs)
Parameters:
Returns:

ArtifactDependency

replace_artifact_deps(**kwargs)
Parameters:
Returns:

ArtifactDependencies

replace_feature(feature_id, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • fields (str) –
  • body (Feature) –
Returns:

Feature

replace_feature_parameters(feature_id, **kwargs)
Parameters:
  • async_req – bool
  • feature_id (str) – (required)
  • body (Properties) –
  • fields (str) –
Returns:

Properties

replace_features(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Features) –
Returns:

Features

replace_snapshot_dep(snapshot_dep_locator, **kwargs)
Parameters:
Returns:

SnapshotDependency

replace_snapshot_deps(**kwargs)
Parameters:
Returns:

SnapshotDependencies

replace_step(step_id, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • fields (str) –
  • body (Step) –
Returns:

Step

replace_step_parameters(step_id, **kwargs)
Parameters:
  • async_req – bool
  • step_id (str) – (required)
  • body (Properties) –
  • fields (str) –
Returns:

Properties

replace_steps(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Steps) –
Returns:

Steps

replace_trigger(trigger_locator, **kwargs)
Parameters:
  • async_req – bool
  • trigger_locator (str) – (required)
  • fields (str) –
  • body (Trigger) –
Returns:

Trigger

replace_triggers(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
  • body (Triggers) –
Returns:

Triggers

replace_vcs_root_entries(**kwargs)
Parameters:
Returns:

VcsRootEntries

serve_branches(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Branches

serve_build_field(build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

serve_build_type_builds_tags(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

Tags

serve_build_type_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

serve_build_type_template(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

serve_build_type_xml(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildType

serve_build_with_project(build_locator, **kwargs)
Parameters:
  • async_req – bool
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

serve_builds(**kwargs)
Parameters:
  • async_req – bool
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

set_build_type_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

set_parameter(**kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_0(name, **kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_1(**kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_2(name, **kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_type(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (Type) –
Returns:

Type

set_parameter_type_raw_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

set_parameter_value_long(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

set_parameter_value_long_0(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

set_parameters(**kwargs)
Parameters:
Returns:

Properties

set_parameters_0(**kwargs)
Parameters:
Returns:

Properties

set_templates(**kwargs)
Parameters:
  • async_req – bool
  • body (BuildTypes) –
  • optimize_settings (bool) –
  • fields (str) –
Returns:

BuildTypes

set_vcs_labeling_options(**kwargs)
Parameters:
Returns:

VcsLabeling

update_vcs_root_entry(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • body (VcsRootEntry) –
  • fields (str) –
Returns:

VcsRootEntry

update_vcs_root_entry_checkout_rules(vcs_root_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_locator (str) – (required)
  • body (str) –
Returns:

str

class dohq_teamcity.custom.models.BuildTypes(count=None, href=None, next_href=None, prev_href=None, build_type=None, teamcity=None)

Bases: dohq_teamcity.models.build_types.BuildTypes, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Builds(count=None, href=None, next_href=None, prev_href=None, build=None, teamcity=None)

Bases: dohq_teamcity.models.builds.Builds, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Changes(href=None, next_href=None, prev_href=None, change=None, count=None, teamcity=None)

Bases: dohq_teamcity.models.changes.Changes, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Compatibilities(count=None, compatibility=None, teamcity=None)

Bases: dohq_teamcity.models.compatibilities.Compatibilities, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Entries(count=None, entry=None, teamcity=None)

Bases: dohq_teamcity.models.entries.Entries, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Features(count=None, feature=None, teamcity=None)

Bases: dohq_teamcity.models.features.Features, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.FileChanges(count=None, file=None, teamcity=None)

Bases: dohq_teamcity.models.file_changes.FileChanges, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Group(key=None, name=None, href=None, description=None, parent_groups=None, child_groups=None, users=None, roles=None, properties=None, teamcity=None)

Bases: dohq_teamcity.models.group.Group, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add_role(**kwargs)
Parameters:
  • async_req – bool
  • body (Role) –
Returns:

Role

add_role_put(**kwargs)
Parameters:
  • async_req – bool
  • body (Roles) –
Returns:

Roles

add_role_simple(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

Role

api
delete_group(**kwargs)
Parameters:async_req – bool
Returns:None
delete_role(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

None

get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Group

get_group(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Group

get_permissions(**kwargs)
Parameters:async_req – bool
Returns:str
get_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_user_properties(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

list_role(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

Role

list_roles(**kwargs)
Parameters:async_req – bool
Returns:Roles
put_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

remove_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

serve_group(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Group

serve_user_properties(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

class dohq_teamcity.custom.models.Groups(count=None, group=None, teamcity=None)

Bases: dohq_teamcity.models.groups.Groups, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Investigations(count=None, next_href=None, prev_href=None, href=None, investigation=None, teamcity=None)

Bases: dohq_teamcity.models.investigations.Investigations, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Issues(issues=None, teamcity=None)

Bases: dohq_teamcity.models.issues.Issues, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.LicenseKeys(count=None, href=None, license_key=None, teamcity=None)

Bases: dohq_teamcity.models.license_keys.LicenseKeys, dohq_teamcity.custom.base_model.ContainerMixin

Bases: dohq_teamcity.models.links.Links, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Mutes(count=None, next_href=None, prev_href=None, default=False, href=None, mute=None, teamcity=None)

Bases: dohq_teamcity.models.mutes.Mutes, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Plugins(count=None, plugin=None, teamcity=None)

Bases: dohq_teamcity.models.plugins.Plugins, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.ProblemOccurrences(count=None, href=None, next_href=None, prev_href=None, problem_occurrence=None, default=False, passed=None, failed=None, new_failed=None, ignored=None, muted=None, teamcity=None)

Bases: dohq_teamcity.models.problem_occurrences.ProblemOccurrences, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Problems(count=None, next_href=None, prev_href=None, default=False, problem=None, teamcity=None)

Bases: dohq_teamcity.models.problems.Problems, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Project(id=None, internal_id=None, uuid=None, name=None, parent_project_id=None, parent_project_internal_id=None, parent_project_name=None, archived=False, description=None, href=None, web_url=None, links=None, parent_project=None, read_only_ui=None, default_template=None, build_types=None, templates=None, parameters=None, vcs_roots=None, project_features=None, projects=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.project.Project, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add(**kwargs)
Parameters:
Returns:

object

api
create_build_type(**kwargs)
Parameters:
Returns:

BuildType

create_build_type_template(**kwargs)
Parameters:
Returns:

BuildType

delete(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
Returns:

None

delete_all_parameters(**kwargs)
Parameters:async_req – bool
Returns:None
delete_all_parameters_0(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • fields (str) –
Returns:

None

delete_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

delete_parameter_0(name, feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • feature_locator (str) – (required)
  • fields (str) –
Returns:

None

delete_project(**kwargs)
Parameters:async_req – bool
Returns:None
delete_project_agent_pools(agent_pool_locator, **kwargs)
Parameters:
  • async_req – bool
  • agent_pool_locator (str) – (required)
Returns:

None

get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Project

get_build_field_with_project(bt_locator, build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_type_field_with_project(bt_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_build_type_templates(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

get_build_types_in_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

get_build_types_order(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

BuildTypes

get_build_with_project(bt_locator, build_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

get_builds(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

get_example_new_project_description(**kwargs)
Parameters:
  • async_req – bool
  • id (str) –
Returns:

NewProjectDescription

get_example_new_project_description_compatibility_version1(**kwargs)
Parameters:
  • async_req – bool
  • id (str) –
Returns:

NewProjectDescription

get_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • fields (str) –
Returns:

ModelProperty

get_parameter_0(name, feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • feature_locator (str) – (required)
  • fields (str) –
  • fields2 (str) –
Returns:

ModelProperty

get_parameter_type(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

Type

get_parameter_type_raw_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_parameter_value_long(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_parameter_value_long_0(name, feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • feature_locator (str) – (required)
  • fields (str) –
Returns:

str

get_parameters(**kwargs)
Parameters:
  • async_req – bool
  • locator (str) –
  • fields (str) –
Returns:

Properties

get_parameters_0(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • locator (str) –
  • fields (str) –
  • fields2 (str) –
Returns:

Properties

get_parent_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Project

get_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Project

get_project_agent_pools(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

AgentPools

get_project_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_projects_order(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

Projects

get_settings_file(**kwargs)
Parameters:async_req – bool
Returns:str
get_single(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • fields (str) –
Returns:

object

get_templates_in_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

reload_settings_file(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Project

replace(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • body (ProjectFeature) –
  • fields (str) –
Returns:

object

replace_all(**kwargs)
Parameters:
Returns:

object

serve_build_field_with_project(bt_locator, build_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • field (str) – (required)
Returns:

str

serve_build_type(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

serve_build_type_field_with_project(bt_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • field (str) – (required)
Returns:

str

serve_build_type_templates(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • fields (str) –
Returns:

BuildType

serve_build_types_in_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

serve_build_with_project(bt_locator, build_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • build_locator (str) – (required)
  • fields (str) –
Returns:

Build

serve_builds(bt_locator, **kwargs)
Parameters:
  • async_req – bool
  • bt_locator (str) – (required)
  • status (str) –
  • triggered_by_user (str) –
  • include_personal (bool) –
  • include_canceled (bool) –
  • only_pinned (bool) –
  • tag (list[str]) –
  • agent_name (str) –
  • since_build (str) –
  • since_date (str) –
  • start (int) –
  • count (int) –
  • locator (str) –
  • fields (str) –
Returns:

Builds

serve_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Project

serve_project_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

serve_templates_in_project(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

BuildTypes

set_build_types_order(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (BuildTypes) –
Returns:

BuildTypes

set_parameter(**kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_0(name, **kwargs)
Parameters:
Returns:

ModelProperty

set_parameter_1(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • body (ModelProperty) –
  • fields (str) –
  • fields2 (str) –
Returns:

ModelProperty

set_parameter_2(name, feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • feature_locator (str) – (required)
  • body (ModelProperty) –
  • fields (str) –
  • fields2 (str) –
Returns:

ModelProperty

set_parameter_type(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (Type) –
Returns:

Type

set_parameter_type_raw_value(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

set_parameter_value_long(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

set_parameter_value_long_0(name, feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • feature_locator (str) – (required)
  • body (str) –
  • fields (str) –
Returns:

str

set_parameters(**kwargs)
Parameters:
Returns:

Properties

set_parameters_0(feature_locator, **kwargs)
Parameters:
  • async_req – bool
  • feature_locator (str) – (required)
  • body (Properties) –
  • fields (str) –
  • fields2 (str) –
Returns:

Properties

set_parent_project(**kwargs)
Parameters:
  • async_req – bool
  • body (Project) –
Returns:

Project

set_project_agent_pools(**kwargs)
Parameters:
Returns:

AgentPools

set_project_agent_pools_0(**kwargs)
Parameters:
Returns:

AgentPool

set_project_filed(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

set_projects_order(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (Projects) –
Returns:

Projects

class dohq_teamcity.custom.models.ProjectFeatures(count=None, href=None, project_feature=None, teamcity=None)

Bases: dohq_teamcity.models.project_features.ProjectFeatures, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Projects(count=None, href=None, next_href=None, prev_href=None, project=None, teamcity=None)

Bases: dohq_teamcity.models.projects.Projects, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Properties(count=None, href=None, _property=None, teamcity=None)

Bases: dohq_teamcity.models.properties.Properties, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Revisions(count=None, revision=None, teamcity=None)

Bases: dohq_teamcity.models.revisions.Revisions, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Roles(role=None, teamcity=None)

Bases: dohq_teamcity.models.roles.Roles, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Sessions(count=None, max_active=None, session_counter=None, session_create_rate=None, session_expire_rate=None, session_max_alive_time=None, session=None, teamcity=None)

Bases: dohq_teamcity.models.sessions.Sessions, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.SnapshotDependencies(count=None, snapshot_dependency=None, teamcity=None)

Bases: dohq_teamcity.models.snapshot_dependencies.SnapshotDependencies, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Steps(count=None, step=None, teamcity=None)

Bases: dohq_teamcity.models.steps.Steps, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Tags(count=None, tag=None, teamcity=None)

Bases: dohq_teamcity.models.tags.Tags, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.TestOccurrences(count=None, href=None, next_href=None, prev_href=None, test_occurrence=None, default=False, passed=None, failed=None, new_failed=None, ignored=None, muted=None, teamcity=None)

Bases: dohq_teamcity.models.test_occurrences.TestOccurrences, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Tests(count=None, next_href=None, prev_href=None, default=False, test=None, teamcity=None)

Bases: dohq_teamcity.models.tests.Tests, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.Triggers(count=None, trigger=None, teamcity=None)

Bases: dohq_teamcity.models.triggers.Triggers, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.User(username=None, name=None, id=None, email=None, last_login=None, password=None, has_password=False, realm=None, href=None, properties=None, roles=None, groups=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.user.User, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

add_group(**kwargs)
Parameters:
  • async_req – bool
  • body (Group) –
  • fields (str) –
Returns:

Group

add_role(**kwargs)
Parameters:
  • async_req – bool
  • body (Role) –
Returns:

Role

add_role_simple(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

Role

add_role_simple_post(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

None

api
delete_remember_me(**kwargs)
Parameters:async_req – bool
Returns:None
delete_role(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

None

delete_user(**kwargs)
Parameters:async_req – bool
Returns:None
delete_user_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

None

get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

User

get_groups(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Groups

get_permissions(**kwargs)
Parameters:async_req – bool
Returns:str
get_user(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

User

get_user_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_user_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

list_role(role_id, scope, **kwargs)
Parameters:
  • async_req – bool
  • role_id (str) – (required)
  • scope (str) – (required)
Returns:

Role

list_roles(**kwargs)
Parameters:async_req – bool
Returns:Roles
put_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

remove_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

replace_groups(**kwargs)
Parameters:
  • async_req – bool
  • body (Groups) –
  • fields (str) –
Returns:

Groups

replace_roles(**kwargs)
Parameters:
  • async_req – bool
  • body (Roles) –
Returns:

Roles

serve_user(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

User

serve_user_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

serve_user_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

serve_user_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

set_user_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

update_user(**kwargs)
Parameters:
  • async_req – bool
  • body (User) –
  • fields (str) –
Returns:

User

class dohq_teamcity.custom.models.Users(count=None, user=None, teamcity=None)

Bases: dohq_teamcity.models.users.Users, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.VcsRoot(id=None, internal_id=None, uuid=None, name=None, vcs_name=None, modification_check_interval=None, href=None, project=None, properties=None, vcs_root_instances=None, repository_id_strings=None, project_locator=None, locator=None, teamcity=None)

Bases: dohq_teamcity.models.vcs_root.VcsRoot, dohq_teamcity.custom.base_model.ReadMixin, dohq_teamcity.custom.base_model.DeleteMixin

api
change_properties(**kwargs)
Parameters:
Returns:

Properties

delete_all_properties(**kwargs)
Parameters:async_req – bool
Returns:None
delete_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

None

delete_root(**kwargs)
Parameters:async_req – bool
Returns:None
get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRoot

get_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_instance_field(vcs_root_instance_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • field (str) – (required)
Returns:

str

get_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

get_root(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRoot

get_root_instance(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstance

get_root_instance_properties(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

Properties

get_root_instances(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstances

get_settings_file(**kwargs)
Parameters:async_req – bool
Returns:str
put_parameter(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
  • body (str) –
Returns:

str

serve_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

serve_instance_field(vcs_root_instance_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • field (str) – (required)
Returns:

str

serve_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

serve_property(name, **kwargs)
Parameters:
  • async_req – bool
  • name (str) – (required)
Returns:

str

serve_root(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRoot

serve_root_instance(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

VcsRootInstance

serve_root_instance_properties(vcs_root_instance_locator, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • fields (str) –
Returns:

Properties

serve_root_instances(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstances

set_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

set_instance_field(vcs_root_instance_locator, field, **kwargs)
Parameters:
  • async_req – bool
  • vcs_root_instance_locator (str) – (required)
  • field (str) – (required)
  • body (str) –
Returns:

str

class dohq_teamcity.custom.models.VcsRootEntries(count=None, vcs_root_entry=None, teamcity=None)

Bases: dohq_teamcity.models.vcs_root_entries.VcsRootEntries, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.VcsRootInstance(id=None, vcs_root_id=None, vcs_root_internal_id=None, name=None, vcs_name=None, modification_check_interval=None, commit_hook_mode=False, last_version=None, last_version_internal=None, href=None, vcs_root=None, status=None, repository_state=None, properties=None, repository_id_strings=None, project_locator=None, teamcity=None)

Bases: dohq_teamcity.models.vcs_root_instance.VcsRootInstance, dohq_teamcity.custom.base_model.ReadMixin

api
delete_instance_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

None

delete_repository_state(**kwargs)
Parameters:async_req – bool
Returns:None
get(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstance

get_children(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
Returns:

Files

get_children_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • fields (str) –
Returns:

Files

get_content(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
Returns:

None

get_content_alias(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
Returns:

None

get_instance(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstance

get_instance_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

get_metadata(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • fields (str) –
Returns:

file

get_repository_state(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Entries

get_repository_state_creation_date(**kwargs)
Parameters:async_req – bool
Returns:str
get_root(**kwargs)
Parameters:
  • async_req – bool
  • base_path (str) –
  • locator (str) –
  • fields (str) –
Returns:

Files

get_root_instance_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

get_zipped(path, **kwargs)
Parameters:
  • async_req – bool
  • path (str) – (required)
  • base_path (str) –
  • locator (str) –
  • name (str) –
Returns:

None

serve_instance(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

VcsRootInstance

serve_instance_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
Returns:

str

serve_root_instance_properties(**kwargs)
Parameters:
  • async_req – bool
  • fields (str) –
Returns:

Properties

set_instance_field(field, **kwargs)
Parameters:
  • async_req – bool
  • field (str) – (required)
  • body (str) –
Returns:

str

set_repository_state(**kwargs)
Parameters:
  • async_req – bool
  • body (Entries) –
  • fields (str) –
Returns:

Entries

class dohq_teamcity.custom.models.VcsRootInstances(count=None, href=None, next_href=None, prev_href=None, vcs_root_instance=None, teamcity=None)

Bases: dohq_teamcity.models.vcs_root_instances.VcsRootInstances, dohq_teamcity.custom.base_model.ContainerMixin

class dohq_teamcity.custom.models.VcsRoots(count=None, href=None, next_href=None, prev_href=None, vcs_root=None, teamcity=None)

Bases: dohq_teamcity.models.vcs_roots.VcsRoots, dohq_teamcity.custom.base_model.ContainerMixin

Module contents