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: Returns: Agent
-
get_agent
(agent_locator, **kwargs)¶ Parameters: Returns: Agent
-
get_agent_field
(agent_locator, field, **kwargs)¶ Parameters: Returns: str
-
-
class
dohq_teamcity.custom.api.
AgentPoolApi
(api_client=None)¶
-
class
dohq_teamcity.custom.api.
BuildApi
(api_client=None)¶ Bases:
dohq_teamcity.api.build_api.BuildApi
-
get
(build_locator, **kwargs)¶ Parameters: 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: Returns: None
-
get_all_builds
(**kwargs)¶ Parameters: Returns: Builds
-
get_build
(build_locator, **kwargs)¶ Parameters: Returns: Build
-
get_build_actual_parameters
(build_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_build_field_by_build_only
(build_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_statistic_value
(build_locator, name, **kwargs)¶ Parameters: Returns: str
-
get_build_statistic_values
(build_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_build_status_icon
(build_locator, suffix, **kwargs)¶ Parameters: Returns: None
-
get_source_file
(build_locator, file_name, **kwargs)¶ Parameters: Returns: None
-
-
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: Returns: str
-
get_compatible_agents
(queued_build_locator, **kwargs)¶ Parameters: Returns: Agents
-
-
class
dohq_teamcity.custom.api.
BuildTypeApi
(api_client=None)¶ Bases:
dohq_teamcity.api.build_type_api.BuildTypeApi
-
get
(bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_branches
(bt_locator, **kwargs)¶ Parameters: Returns: Branches
-
get_build_field
(bt_locator, build_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type_field
(bt_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type_template
(bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_build_type_xml
(bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_build_with_project
(bt_locator, build_locator, **kwargs)¶ Parameters: Returns: Build
-
get_builds
(bt_locator, **kwargs)¶ Parameters: Returns: Builds
-
-
class
dohq_teamcity.custom.api.
ChangeApi
(api_client=None)¶ Bases:
dohq_teamcity.api.change_api.ChangeApi
-
get
(change_locator, **kwargs)¶ Parameters: Returns: Change
-
get_change
(change_locator, **kwargs)¶ Parameters: Returns: Change
-
-
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: Returns: str
-
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: Returns: Group
-
get_group
(group_locator, **kwargs)¶ Parameters: Returns: Group
-
-
class
dohq_teamcity.custom.api.
InvestigationApi
(api_client=None)¶ Bases:
dohq_teamcity.api.investigation_api.InvestigationApi
-
get
(investigation_locator, **kwargs)¶ Parameters: Returns: Investigation
-
-
class
dohq_teamcity.custom.api.
ProblemApi
(api_client=None)¶ Bases:
dohq_teamcity.api.problem_api.ProblemApi
-
get
(problem_locator, **kwargs)¶ Parameters: Returns: Problem
-
-
class
dohq_teamcity.custom.api.
ProblemOccurrenceApi
(api_client=None)¶ Bases:
dohq_teamcity.api.problem_occurrence_api.ProblemOccurrenceApi
-
get
(problem_locator, **kwargs)¶ Parameters: Returns: ProblemOccurrence
-
-
class
dohq_teamcity.custom.api.
ProjectApi
(api_client=None)¶ Bases:
dohq_teamcity.api.project_api.ProjectApi
-
get
(project_locator, **kwargs)¶ Parameters: Returns: Project
-
get_build_field_with_project
(project_locator, bt_locator, build_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type
(project_locator, bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_build_type_field_with_project
(project_locator, bt_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type_templates
(project_locator, bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_build_types_in_project
(project_locator, **kwargs)¶ Parameters: Returns: BuildTypes
-
get_build_with_project
(project_locator, bt_locator, build_locator, **kwargs)¶ Parameters: 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: Returns: Project
-
get_project_field
(project_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_projects
(**kwargs)¶ Parameters: Returns: Projects
-
-
class
dohq_teamcity.custom.api.
ServerApi
(api_client=None)¶
-
class
dohq_teamcity.custom.api.
TestApi
(api_client=None)¶ Bases:
dohq_teamcity.api.test_api.TestApi
-
get
(test_locator, **kwargs)¶ Parameters: Returns: Test
-
-
class
dohq_teamcity.custom.api.
TestOccurrenceApi
(api_client=None)¶ Bases:
dohq_teamcity.api.test_occurrence_api.TestOccurrenceApi
-
get
(test_locator, **kwargs)¶ Parameters: Returns: TestOccurrence
-
-
class
dohq_teamcity.custom.api.
UserApi
(api_client=None)¶ Bases:
dohq_teamcity.api.user_api.UserApi
-
get
(user_locator, **kwargs)¶ Parameters: Returns: User
-
get_user
(user_locator, **kwargs)¶ Parameters: Returns: User
-
get_user_field
(user_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_user_properties
(user_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_user_property
(user_locator, name, **kwargs)¶ Parameters: Returns: str
-
-
class
dohq_teamcity.custom.api.
VcsRootApi
(api_client=None)¶ Bases:
dohq_teamcity.api.vcs_root_api.VcsRootApi
-
get
(vcs_root_locator, **kwargs)¶ Parameters: Returns: VcsRoot
-
get_field
(vcs_root_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_instance_field
(vcs_root_locator, vcs_root_instance_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_properties
(vcs_root_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_property
(vcs_root_locator, name, **kwargs)¶ Parameters: Returns: str
-
get_root
(vcs_root_locator, **kwargs)¶ Parameters: Returns: VcsRoot
-
get_root_instance
(vcs_root_locator, vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: VcsRootInstance
-
get_root_instance_properties
(vcs_root_locator, vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_root_instances
(vcs_root_locator, **kwargs)¶ Parameters: Returns: VcsRootInstances
-
-
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: Returns: VcsRootInstance
-
get_instance
(vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: VcsRootInstance
-
get_instance_field
(vcs_root_instance_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_instances
(**kwargs)¶ Parameters: Returns: VcsRootInstances
-
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¶
-
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
Parameters: - async_req – bool
- fields (str) –
Returns: AuthorizedInfo
-
get_compatible_build_types
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: BuildTypes
-
get_incompatible_build_types
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: Compatibilities
-
serve_agent_field
(field, **kwargs)¶ Parameters: - async_req – bool
- field (str) – (required)
Returns: str
-
set_agent_field
(field, **kwargs)¶ Parameters: Returns: str
-
set_agent_pool
(**kwargs)¶ Parameters: Returns: AgentPool
Parameters: - async_req – bool
- body (AuthorizedInfo) –
- fields (str) –
Returns: AuthorizedInfo
-
set_enabled_info
(**kwargs)¶ Parameters: - async_req – bool
- body (EnabledInfo) –
- fields (str) –
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
-
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_pool_agents
(**kwargs)¶ Parameters: Returns: Agents
-
get_pool_project
(project_locator, **kwargs)¶ Parameters: Returns: Project
-
-
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
-
api
¶
-
cancel_build
(**kwargs)¶ Parameters: - async_req – bool
- body (BuildCancelRequest) –
- fields (str) –
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_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_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_children
(path, **kwargs)¶ Parameters: Returns: Files
-
get_children_alias
(path, **kwargs)¶ Parameters: Returns: Files
-
get_content
(path, **kwargs)¶ Parameters: Returns: None
-
get_content_alias
(path, **kwargs)¶ Parameters: Returns: None
-
get_metadata
(path, **kwargs)¶ Parameters: 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_root
(**kwargs)¶ Parameters: Returns: Files
-
get_source_file
(file_name, **kwargs)¶ Parameters: - async_req – bool
- file_name (str) – (required)
Returns: None
-
get_zipped
(path, **kwargs)¶ Parameters: Returns: None
-
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_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
-
-
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: - async_req – bool
- fields (str) –
- body (AgentRequirement) –
Returns: AgentRequirement
-
add_artifact_dep
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
- body (ArtifactDependency) –
Returns: ArtifactDependency
-
add_feature_parameter
(feature_id, parameter_name, **kwargs)¶ Parameters: Returns: str
-
add_snapshot_dep
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
- body (SnapshotDependency) –
Returns: SnapshotDependency
-
add_step_parameter
(step_id, parameter_name, **kwargs)¶ Parameters: Returns: str
-
add_vcs_root_entry
(**kwargs)¶ Parameters: - async_req – bool
- body (VcsRootEntry) –
- fields (str) –
Returns: VcsRootEntry
-
api
¶
-
change_artifact_dep_setting
(artifact_dep_locator, field_name, **kwargs)¶ Parameters: Returns: str
-
change_feature_setting
(feature_id, name, **kwargs)¶ Parameters: Returns: str
-
change_requirement_setting
(agent_requirement_locator, field_name, **kwargs)¶ Parameters: Returns: str
-
change_step_setting
(step_id, field_name, **kwargs)¶ Parameters: Returns: str
-
change_trigger_setting
(trigger_locator, field_name, **kwargs)¶ Parameters: 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_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_agent_requirement
(agent_requirement_locator, **kwargs)¶ Parameters: Returns: AgentRequirement
-
get_agent_requirements
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: AgentRequirements
-
get_artifact_dep
(artifact_dep_locator, **kwargs)¶ Parameters: Returns: ArtifactDependency
-
get_artifact_dep_setting
(artifact_dep_locator, field_name, **kwargs)¶ Parameters: Returns: str
-
get_artifact_deps
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: ArtifactDependencies
-
get_branches
(**kwargs)¶ Parameters: Returns: Branches
-
get_build_field
(build_locator, field, **kwargs)¶ Parameters: Returns: str
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_with_project
(build_locator, **kwargs)¶ Parameters: Returns: Build
-
get_builds
(**kwargs)¶ Parameters: Returns: Builds
-
get_children
(path, **kwargs)¶ Parameters: Returns: Files
-
get_children_alias
(path, **kwargs)¶ Parameters: Returns: Files
-
get_content
(path, **kwargs)¶ Parameters: Returns: None
-
get_content_alias
(path, **kwargs)¶ Parameters: 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: Returns: Feature
-
get_feature_parameter
(feature_id, parameter_name, **kwargs)¶ Parameters: Returns: str
-
get_feature_parameters
(feature_id, **kwargs)¶ Parameters: Returns: Properties
-
get_feature_setting
(feature_id, name, **kwargs)¶ Parameters: Returns: str
-
get_metadata
(path, **kwargs)¶ Parameters: Returns: file
-
get_parameter
(name, **kwargs)¶ Parameters: Returns: ModelProperty
-
get_parameter_0
(name, **kwargs)¶ Parameters: 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: Returns: Properties
-
get_parameters_0
(**kwargs)¶ Parameters: Returns: Properties
-
get_requirement_setting
(agent_requirement_locator, field_name, **kwargs)¶ Parameters: Returns: str
-
get_root
(**kwargs)¶ Parameters: Returns: Files
-
get_settings_file
(**kwargs)¶ Parameters: async_req – bool Returns: str
-
get_snapshot_dep
(snapshot_dep_locator, **kwargs)¶ Parameters: Returns: SnapshotDependency
-
get_snapshot_deps
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: SnapshotDependencies
-
get_step
(step_id, **kwargs)¶ Parameters: Returns: Step
-
get_step_parameter
(step_id, parameter_name, **kwargs)¶ Parameters: Returns: str
-
get_step_parameters
(step_id, **kwargs)¶ Parameters: Returns: Properties
-
get_step_setting
(step_id, field_name, **kwargs)¶ Parameters: Returns: str
-
get_trigger
(trigger_locator, **kwargs)¶ Parameters: Returns: Trigger
-
get_trigger_setting
(trigger_locator, field_name, **kwargs)¶ Parameters: Returns: str
-
get_vcs_labeling_options
(**kwargs)¶ Parameters: async_req – bool Returns: VcsLabeling
-
get_vcs_root_entry
(vcs_root_locator, **kwargs)¶ Parameters: 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: Returns: None
-
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: - async_req – bool
- fields (str) –
- body (AgentRequirements) –
Returns: AgentRequirements
-
replace_artifact_dep
(artifact_dep_locator, **kwargs)¶ Parameters: - async_req – bool
- artifact_dep_locator (str) – (required)
- fields (str) –
- body (ArtifactDependency) –
Returns: ArtifactDependency
-
replace_artifact_deps
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
- body (ArtifactDependencies) –
Returns: ArtifactDependencies
-
replace_feature
(feature_id, **kwargs)¶ Parameters: 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: Returns: Features
-
replace_snapshot_dep
(snapshot_dep_locator, **kwargs)¶ Parameters: - async_req – bool
- snapshot_dep_locator (str) – (required)
- fields (str) –
- body (SnapshotDependency) –
Returns: SnapshotDependency
-
replace_snapshot_deps
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
- body (SnapshotDependencies) –
Returns: SnapshotDependencies
-
replace_step
(step_id, **kwargs)¶ Parameters: Returns: Step
-
replace_step_parameters
(step_id, **kwargs)¶ Parameters: - async_req – bool
- step_id (str) – (required)
- body (Properties) –
- fields (str) –
Returns: Properties
-
replace_trigger
(trigger_locator, **kwargs)¶ Parameters: Returns: Trigger
-
replace_triggers
(**kwargs)¶ Parameters: Returns: Triggers
-
replace_vcs_root_entries
(**kwargs)¶ Parameters: - async_req – bool
- body (VcsRootEntries) –
- fields (str) –
Returns: VcsRootEntries
-
serve_branches
(**kwargs)¶ Parameters: Returns: Branches
-
serve_build_field
(build_locator, field, **kwargs)¶ Parameters: Returns: str
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_with_project
(build_locator, **kwargs)¶ Parameters: Returns: Build
-
serve_builds
(**kwargs)¶ Parameters: Returns: Builds
-
set_build_type_field
(field, **kwargs)¶ Parameters: Returns: str
-
set_parameter
(**kwargs)¶ Parameters: - async_req – bool
- body (ModelProperty) –
- fields (str) –
Returns: ModelProperty
-
set_parameter_0
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
- body (ModelProperty) –
- fields (str) –
Returns: ModelProperty
-
set_parameter_1
(**kwargs)¶ Parameters: - async_req – bool
- body (ModelProperty) –
- fields (str) –
Returns: ModelProperty
-
set_parameter_2
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
- body (ModelProperty) –
- fields (str) –
Returns: ModelProperty
-
set_parameter_type
(name, **kwargs)¶ Parameters: Returns: Type
-
set_parameter_type_raw_value
(name, **kwargs)¶ Parameters: Returns: str
-
set_parameter_value_long
(name, **kwargs)¶ Parameters: Returns: str
-
set_parameter_value_long_0
(name, **kwargs)¶ Parameters: Returns: str
-
set_parameters
(**kwargs)¶ Parameters: - async_req – bool
- body (Properties) –
- fields (str) –
Returns: Properties
-
set_parameters_0
(**kwargs)¶ Parameters: - async_req – bool
- body (Properties) –
- fields (str) –
Returns: Properties
-
set_templates
(**kwargs)¶ Parameters: - async_req – bool
- body (BuildTypes) –
- optimize_settings (bool) –
- fields (str) –
Returns: BuildTypes
-
set_vcs_labeling_options
(**kwargs)¶ Parameters: - async_req – bool
- body (VcsLabeling) –
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
-
-
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_simple
(role_id, scope, **kwargs)¶ Parameters: Returns: Role
-
api
¶
-
delete_group
(**kwargs)¶ Parameters: async_req – bool Returns: None
-
delete_role
(role_id, scope, **kwargs)¶ Parameters: Returns: None
-
get_permissions
(**kwargs)¶ Parameters: async_req – bool Returns: str
-
get_user_properties
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
Returns: str
-
list_role
(role_id, scope, **kwargs)¶ Parameters: Returns: Role
-
list_roles
(**kwargs)¶ Parameters: async_req – bool Returns: Roles
-
put_user_property
(name, **kwargs)¶ Parameters: 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
-
class
dohq_teamcity.custom.models.
Links
(count=None, link=None, teamcity=None)¶ 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: - async_req – bool
- body (ProjectFeature) –
- fields (str) –
Returns: object
-
api
¶
-
create_build_type
(**kwargs)¶ Parameters: - async_req – bool
- body (NewBuildTypeDescription) –
- fields (str) –
Returns: BuildType
-
create_build_type_template
(**kwargs)¶ Parameters: - async_req – bool
- body (NewBuildTypeDescription) –
- fields (str) –
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: Returns: None
-
delete_parameter_0
(name, feature_locator, **kwargs)¶ Parameters: 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_build_field_with_project
(bt_locator, build_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type
(bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
get_build_type_field_with_project
(bt_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_build_type_templates
(bt_locator, **kwargs)¶ Parameters: 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: Returns: Build
-
get_builds
(bt_locator, **kwargs)¶ Parameters: 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: Returns: ModelProperty
-
get_parameter_0
(name, feature_locator, **kwargs)¶ Parameters: 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: Returns: str
-
get_parameters
(**kwargs)¶ Parameters: Returns: Properties
-
get_parameters_0
(feature_locator, **kwargs)¶ Parameters: Returns: Properties
-
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: Returns: object
-
replace
(feature_locator, **kwargs)¶ Parameters: - async_req – bool
- feature_locator (str) – (required)
- body (ProjectFeature) –
- fields (str) –
Returns: object
-
replace_all
(**kwargs)¶ Parameters: - async_req – bool
- body (ProjectFeatures) –
- fields (str) –
Returns: object
-
serve_build_field_with_project
(bt_locator, build_locator, field, **kwargs)¶ Parameters: Returns: str
-
serve_build_type
(bt_locator, **kwargs)¶ Parameters: Returns: BuildType
-
serve_build_type_field_with_project
(bt_locator, field, **kwargs)¶ Parameters: Returns: str
-
serve_build_type_templates
(bt_locator, **kwargs)¶ Parameters: 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: Returns: Build
-
serve_builds
(bt_locator, **kwargs)¶ Parameters: Returns: Builds
-
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: - async_req – bool
- body (ModelProperty) –
- fields (str) –
Returns: ModelProperty
-
set_parameter_0
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
- body (ModelProperty) –
- fields (str) –
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: Returns: Type
-
set_parameter_type_raw_value
(name, **kwargs)¶ Parameters: Returns: str
-
set_parameter_value_long
(name, **kwargs)¶ Parameters: Returns: str
-
set_parameter_value_long_0
(name, feature_locator, **kwargs)¶ Parameters: Returns: str
-
set_parameters
(**kwargs)¶ Parameters: - async_req – bool
- body (Properties) –
- fields (str) –
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_project_agent_pools
(**kwargs)¶ Parameters: - async_req – bool
- body (AgentPools) –
- fields (str) –
Returns: AgentPools
-
set_project_agent_pools_0
(**kwargs)¶ Parameters: - async_req – bool
- body (AgentPool) –
Returns: AgentPool
-
set_project_filed
(field, **kwargs)¶ Parameters: Returns: str
-
-
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_role_simple
(role_id, scope, **kwargs)¶ Parameters: Returns: Role
-
add_role_simple_post
(role_id, scope, **kwargs)¶ Parameters: Returns: None
-
api
¶
-
delete_remember_me
(**kwargs)¶ Parameters: async_req – bool Returns: None
-
delete_role
(role_id, scope, **kwargs)¶ Parameters: 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_permissions
(**kwargs)¶ Parameters: async_req – bool Returns: str
-
list_role
(role_id, scope, **kwargs)¶ Parameters: Returns: Role
-
list_roles
(**kwargs)¶ Parameters: async_req – bool Returns: Roles
-
put_user_property
(name, **kwargs)¶ Parameters: Returns: str
-
remove_user_property
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
Returns: None
-
replace_groups
(**kwargs)¶ Parameters: Returns: Groups
-
serve_user_field
(field, **kwargs)¶ Parameters: - async_req – bool
- field (str) – (required)
Returns: str
-
serve_user_property
(name, **kwargs)¶ Parameters: - async_req – bool
- name (str) – (required)
Returns: str
-
set_user_field
(field, **kwargs)¶ Parameters: Returns: str
-
-
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: - async_req – bool
- body (Properties) –
- fields (str) –
Returns: Properties
-
delete_all_properties
(**kwargs)¶ Parameters: async_req – bool Returns: None
-
delete_root
(**kwargs)¶ Parameters: async_req – bool Returns: None
-
get_instance_field
(vcs_root_instance_locator, field, **kwargs)¶ Parameters: Returns: str
-
get_root_instance
(vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: VcsRootInstance
-
get_root_instance_properties
(vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: Properties
-
get_settings_file
(**kwargs)¶ Parameters: async_req – bool Returns: str
-
put_parameter
(name, **kwargs)¶ Parameters: Returns: str
-
serve_instance_field
(vcs_root_instance_locator, field, **kwargs)¶ Parameters: Returns: str
-
serve_root_instance
(vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: VcsRootInstance
-
serve_root_instance_properties
(vcs_root_instance_locator, **kwargs)¶ Parameters: Returns: Properties
-
serve_root_instances
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: VcsRootInstances
-
set_field
(field, **kwargs)¶ Parameters: 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_children
(path, **kwargs)¶ Parameters: Returns: Files
-
get_children_alias
(path, **kwargs)¶ Parameters: Returns: Files
-
get_content_alias
(path, **kwargs)¶ Parameters: - async_req – bool
- path (str) – (required)
Returns: None
-
get_instance_field
(field, **kwargs)¶ Parameters: - async_req – bool
- field (str) – (required)
Returns: str
-
get_metadata
(path, **kwargs)¶ Parameters: Returns: file
-
get_repository_state_creation_date
(**kwargs)¶ Parameters: async_req – bool Returns: str
-
get_root
(**kwargs)¶ Parameters: Returns: Files
-
get_root_instance_properties
(**kwargs)¶ Parameters: - async_req – bool
- fields (str) –
Returns: Properties
-
get_zipped
(path, **kwargs)¶ Parameters: Returns: None
-
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: Returns: str
-
-
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