swagger

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 2018.1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://teamcity.jetbrains.com

Class Method HTTP request Description
AgentApi DeleteAgent Delete /app/rest/agents/{agentLocator} Delete an inactive agent.
AgentApi GetAgent Get /app/rest/agents/{agentLocator} Get agent matching the locator.
AgentApi GetAgentField Get /app/rest/agents/{agentLocator}/{field} Get a field of the matching agent.
AgentApi GetAgentPool Get /app/rest/agents/{agentLocator}/pool Get the agent pool of the matching agent.
AgentApi GetAllAgents Get /app/rest/agents Get all known agents.
AgentApi GetAuthorizedInfo Get /app/rest/agents/{agentLocator}/authorizedInfo Get the authorization info of the matching agent.
AgentApi GetBuildConfigurationRunPolicy Get /app/rest/agents/{agentLocator}/compatibilityPolicy Get the build configuration run policy of the matching agent.
AgentApi GetCompatibleBuildTypes Get /app/rest/agents/{agentLocator}/compatibleBuildTypes Get build types compatible with the matching agent.
AgentApi GetEnabledInfo Get /app/rest/agents/{agentLocator}/enabledInfo Check if the matching agent is enabled.
AgentApi GetIncompatibleBuildTypes Get /app/rest/agents/{agentLocator}/incompatibleBuildTypes Get build types incompatible with the matching agent.
AgentApi SetAgentField Put /app/rest/agents/{agentLocator}/{field} Update a field of the matching agent.
AgentApi SetAgentPool Put /app/rest/agents/{agentLocator}/pool Assign the matching agent to the specified agent pool.
AgentApi SetAuthorizedInfo Put /app/rest/agents/{agentLocator}/authorizedInfo Update the authorization info of the matching agent.
AgentApi SetBuildConfigurationRunPolicy Put /app/rest/agents/{agentLocator}/compatibilityPolicy Update build configuration run policy of agent matching locator.
AgentApi SetEnabledInfo Put /app/rest/agents/{agentLocator}/enabledInfo Update the enablement status of the matching agent.
AgentPoolApi AddAgentToAgentPool Post /app/rest/agentPools/{agentPoolLocator}/agents Assign the agent to the matching agent pool.
AgentPoolApi AddProjectToAgentPool Post /app/rest/agentPools/{agentPoolLocator}/projects Assign the project to the matching agent pool.
AgentPoolApi CreateAgentPool Post /app/rest/agentPools Create a new agent pool.
AgentPoolApi DeleteAgentPool Delete /app/rest/agentPools/{agentPoolLocator} Delete the agent pool matching the locator.
AgentPoolApi DeleteAllProjectsFromAgentPool Delete /app/rest/agentPools/{agentPoolLocator}/projects Unassign all projects from the matching agent pool.
AgentPoolApi DeleteProjectFromAgentPool Delete /app/rest/agentPools/{agentPoolLocator}/projects/{projectLocator} Unassign the project from the matching agent pool.
AgentPoolApi GetAgentPoolOfAgentPool Get /app/rest/agentPools/{agentPoolLocator} Get the agent pool matching the locator.
AgentPoolApi GetAllAgentPools Get /app/rest/agentPools Get all agent pools.
AgentPoolApi GetAllAgentsFromAgentPool Get /app/rest/agentPools/{agentPoolLocator}/agents Get the agent of the matching agent pool.
AgentPoolApi GetAllProjectsFromAgentPool Get /app/rest/agentPools/{agentPoolLocator}/projects Get all projects of the matching agent pool.
AgentPoolApi GetFieldFromAgentPool Get /app/rest/agentPools/{agentPoolLocator}/{field} Get a field of the matching agent pool.
AgentPoolApi SetAgentPoolField Put /app/rest/agentPools/{agentPoolLocator}/{field} Update a field of the matching agent pool.
AgentPoolApi SetAgentPoolProjects Put /app/rest/agentPools/{agentPoolLocator}/projects Update projects of the matching agent pool.
AuditApi GetAllAuditEvents Get /app/rest/audit Get all audit events.
AuditApi GetAuditEvent Get /app/rest/audit/{auditEventLocator} Get audit event matching the locator.
AvatarApi DeleteAvatar Delete /app/rest/avatars/{userLocator} Delete a users avatar
AvatarApi GetAvatar Get /app/rest/avatars/{userLocator}/{size}/avatar.png Get a users avatar
AvatarApi GetAvatarWithHash Get /app/rest/avatars/{userLocator}/{size}/avatar.{hash}.png Get a users avatar
AvatarApi PutAvatar Put /app/rest/avatars/{userLocator} Update a users avatar
BuildApi AddBuildVcsLabel Post /app/rest/builds/{buildLocator}/vcsLabels Add a VCS label to the matching build.
BuildApi AddLogMessageToBuild Post /app/rest/builds/{buildLocator}/log Adds a message to the build log. Service messages are accepted.
BuildApi AddProblemToBuild Post /app/rest/builds/{buildLocator}/problemOccurrences Add a build problem to the matching build.
BuildApi AddTagsToBuild Post /app/rest/builds/{buildLocator}/tags Add tags to the matching build.
BuildApi AddTagsToMultipleBuilds Post /app/rest/builds/multiple/{buildLocator}/tags Add tags to multiple matching builds.
BuildApi CancelBuild Post /app/rest/builds/{buildLocator} cancelBuild
BuildApi CancelMultiple Post /app/rest/builds/multiple/{buildLocator} cancelMultipleBuilds
BuildApi DeleteBuild Delete /app/rest/builds/{buildLocator} Delete build matching the locator.
BuildApi DeleteBuildComment Delete /app/rest/builds/{buildLocator}/comment Remove the build comment matching the locator.
BuildApi DeleteMultipleBuildComments Delete /app/rest/builds/multiple/{buildLocator}/comment Delete comments of multiple matching builds.
BuildApi DeleteMultipleBuilds Delete /app/rest/builds/multiple/{buildLocator} Delete multiple builds matching the locator.
BuildApi DownloadFileOfBuild Get /app/rest/builds/{buildLocator}/artifacts/files{path} Download specific file.
BuildApi GetAggregatedBuildStatus Get /app/rest/builds/aggregated/{buildLocator}/status Get the build status of aggregated matching builds.
BuildApi GetAggregatedBuildStatusIcon Get /app/rest/builds/aggregated/{buildLocator}/statusIcon{suffix} Get the status icon (in specified format) of aggregated matching builds.
BuildApi GetAllBuilds Get /app/rest/builds Get all builds.
BuildApi GetArtifactDependencyChanges Get /app/rest/builds/{buildLocator}/artifactDependencyChanges Get artifact dependency changes of the matching build.
BuildApi GetArtifactsDirectory Get /app/rest/builds/{buildLocator}/artifactsDirectory Get the artifacts' directory of the matching build.
BuildApi GetBuild Get /app/rest/builds/{buildLocator} Get build matching the locator.
BuildApi GetBuildActualParameters Get /app/rest/builds/{buildLocator}/resulting-properties Get actual build parameters of the matching build.
BuildApi GetBuildField Get /app/rest/builds/{buildLocator}/{field} Get a field of the matching build.
BuildApi GetBuildFinishDate Get /app/rest/builds/{buildLocator}/finishDate Get the finish date of the matching build.
BuildApi GetBuildNumber Get /app/rest/builds/{buildLocator}/number Get the number of the matching build.
BuildApi GetBuildPinInfo Get /app/rest/builds/{buildLocator}/pinInfo Check if the matching build is pinned.
BuildApi GetBuildProblems Get /app/rest/builds/{buildLocator}/problemOccurrences Get build problems of the matching build.
BuildApi GetBuildRelatedIssues Get /app/rest/builds/{buildLocator}/relatedIssues Get related issues of the matching build.
BuildApi GetBuildResolved Get /app/rest/builds/{buildLocator}/resolved/{value} Get the resolvement status of the matching build.
BuildApi GetBuildResultingProperties Get /app/rest/builds/{buildLocator}/resulting-properties/{propertyName} Update a build parameter of the matching build.
BuildApi GetBuildSourceFile Get /app/rest/builds/{buildLocator}/sources/files/{fileName} Get a source file of the matching build.
BuildApi GetBuildStatisticValue Get /app/rest/builds/{buildLocator}/statistics/{name} Get a statistical value of the matching build.
BuildApi GetBuildStatisticValues Get /app/rest/builds/{buildLocator}/statistics Get all statistical values of the matching build.
BuildApi GetBuildStatus Get /app/rest/builds/{buildLocator}/status Get status of the matching build.
BuildApi GetBuildStatusIcon Get /app/rest/builds/{buildLocator}/statusIcon{suffix} Get the status icon (in specified format) of the matching build.
BuildApi GetBuildStatusText Get /app/rest/builds/{buildLocator}/statusText Get the build status text of the matching build.
BuildApi GetBuildTags Get /app/rest/builds/{buildLocator}/tags Get tags of the matching build.
BuildApi GetBuildTestOccurrences Get /app/rest/builds/{buildLocator}/testOccurrences Get test occurrences of the matching build.
BuildApi GetBuildVcsLabels Get /app/rest/builds/{buildLocator}/vcsLabels Get VCS labels of the matching build.
BuildApi GetCanceledInfo Get /app/rest/builds/{buildLocator}/canceledInfo Check if the matching build is canceled.
BuildApi GetFileMetadataOfBuild Get /app/rest/builds/{buildLocator}/artifacts/metadata{path} Get metadata of specific file.
BuildApi GetFilesListForSubpathOfBuild Get /app/rest/builds/{buildLocator}/artifacts/{path} List files under this path.
BuildApi GetFilesListOfBuild Get /app/rest/builds/{buildLocator}/artifacts List all files.
BuildApi GetMultipleBuilds Get /app/rest/builds/multiple/{buildLocator} Get multiple builds matching the locator.
BuildApi GetZippedFileOfBuild Get /app/rest/builds/{buildLocator}/artifacts/archived{path} Get specific file zipped.
BuildApi MarkBuildAsRunning Put /app/rest/builds/{buildLocator}/runningData Starts the queued build as an agent-less build and returns the corresponding running build.
BuildApi PinMultipleBuilds Put /app/rest/builds/multiple/{buildLocator}/pinInfo Pin multiple matching builds.
BuildApi RemoveMultipleBuildTags Delete /app/rest/builds/multiple/{buildLocator}/tags Remove tags from multiple matching builds.
BuildApi ResetBuildFinishProperties Delete /app/rest/builds/{buildLocator}/caches/finishProperties Remove build parameters from the matching build.
BuildApi SetBuildComment Put /app/rest/builds/{buildLocator}/comment Update the comment on the matching build.
BuildApi SetBuildFinishDate Put /app/rest/builds/{buildLocator}/finishDate Marks the running build as finished by passing agent the current time of the build to finish.
BuildApi SetBuildNumber Put /app/rest/builds/{buildLocator}/number Update the number of the matching build.
BuildApi SetBuildPinInfo Put /app/rest/builds/{buildLocator}/pinInfo Update the pin info of the matching build.
BuildApi SetBuildStatus Post /app/rest/builds/{buildLocator}/status Change status of the build.
BuildApi SetBuildStatusText Put /app/rest/builds/{buildLocator}/statusText Update the build status of the matching build.
BuildApi SetBuildTags Put /app/rest/builds/{buildLocator}/tags Update tags of the matching build.
BuildApi SetFinishedTime Put /app/rest/builds/{buildLocator}/finish Marks the running build as finished by passing agent the current time of the build to finish.
BuildApi SetMultipleBuildComments Put /app/rest/builds/multiple/{buildLocator}/comment Update comments in multiple matching builds.
BuildQueueApi AddBuildToQueue Post /app/rest/buildQueue Add a new build to the queue.
BuildQueueApi AddTagsToBuildOfBuildQueue Post /app/rest/buildQueue/{buildLocator}/tags Add tags to the matching build.
BuildQueueApi ApproveQueuedBuild Post /app/rest/buildQueue/{buildLocator}/approve Approve queued build with approval feature enabled.
BuildQueueApi CancelQueuedBuild Post /app/rest/buildQueue/{queuedBuildLocator} Cancel a queued matching build.
BuildQueueApi DeleteAllQueuedBuilds Delete /app/rest/buildQueue Delete all queued builds.
BuildQueueApi DeleteQueuedBuild Delete /app/rest/buildQueue/{queuedBuildLocator} Delete a queued matching build.
BuildQueueApi GetAllQueuedBuilds Get /app/rest/buildQueue Get all queued builds.
BuildQueueApi GetApprovalInfo Get /app/rest/buildQueue/{buildLocator}/approvalInfo Get approval info of a queued matching build.
BuildQueueApi GetCompatibleAgentsForBuild Get /app/rest/buildQueue/{queuedBuildLocator}/compatibleAgents Get compatible agents for a queued matching build.
BuildQueueApi GetQueuedBuild Get /app/rest/buildQueue/{queuedBuildLocator} Get a queued matching build.
BuildQueueApi GetQueuedBuildPosition Get /app/rest/buildQueue/order/{queuePosition} Get the queue position of a queued matching build.
BuildQueueApi GetQueuedBuildTags Get /app/rest/buildQueue/{buildLocator}/tags Get tags of the queued matching build.
BuildQueueApi SetQueuedBuildPosition Put /app/rest/buildQueue/order/{queuePosition} Update the queue position of a queued matching build.
BuildQueueApi SetQueuedBuildsOrder Put /app/rest/buildQueue/order Update the build queue order.
BuildTypeApi AddAgentRequirementToBuildType Post /app/rest/buildTypes/{btLocator}/agent-requirements Add an agent requirement to the matching build configuration.
BuildTypeApi AddArtifactDependencyToBuildType Post /app/rest/buildTypes/{btLocator}/artifact-dependencies Add an artifact dependency to the matching build configuration.
BuildTypeApi AddBuildFeatureToBuildType Post /app/rest/buildTypes/{btLocator}/features Add build feature to the matching build configuration.
BuildTypeApi AddBuildStepToBuildType Post /app/rest/buildTypes/{btLocator}/steps Add a build step to the matching build configuration.
BuildTypeApi AddBuildTemplate Post /app/rest/buildTypes/{btLocator}/templates Add a build template to the matching build configuration.
BuildTypeApi AddParameterToBuildFeature Put /app/rest/buildTypes/{btLocator}/features/{featureId}/parameters/{parameterName} Update build feature parameter for the matching build configuration.
BuildTypeApi AddParameterToBuildStep Put /app/rest/buildTypes/{btLocator}/steps/{stepId}/parameters/{parameterName} Add a parameter to a build step of the matching build configuration.
BuildTypeApi AddSnapshotDependencyToBuildType Post /app/rest/buildTypes/{btLocator}/snapshot-dependencies Add a snapshot dependency to the matching build configuration.
BuildTypeApi AddTriggerToBuildType Post /app/rest/buildTypes/{btLocator}/triggers Add a trigger to the matching build configuration.
BuildTypeApi AddVcsRootToBuildType Post /app/rest/buildTypes/{btLocator}/vcs-root-entries Add a VCS root to the matching build.
BuildTypeApi CreateBuildParameterOfBuildType Post /app/rest/buildTypes/{btLocator}/parameters Create a build parameter.
BuildTypeApi CreateBuildType Post /app/rest/buildTypes Create a new build configuration.
BuildTypeApi DeleteAgentRequirement Delete /app/rest/buildTypes/{btLocator}/agent-requirements/{agentRequirementLocator} Remove an agent requirement of the matching build configuration.
BuildTypeApi DeleteArtifactDependency Delete /app/rest/buildTypes/{btLocator}/artifact-dependencies/{artifactDepLocator} Remove an artifact dependency from the matching build configuration.
BuildTypeApi DeleteBuildParameterOfBuildType Delete /app/rest/buildTypes/{btLocator}/parameters/{name} Delete build parameter.
BuildTypeApi DeleteBuildParametersOfBuildType Delete /app/rest/buildTypes/{btLocator}/parameters Delete all build parameters.
BuildTypeApi DeleteBuildStep Delete /app/rest/buildTypes/{btLocator}/steps/{stepId} Delete a build step of the matching build configuration.
BuildTypeApi DeleteBuildStepParameters Put /app/rest/buildTypes/{btLocator}/steps/{stepId}/parameters Update a parameter of a build step of the matching build configuration.
BuildTypeApi DeleteBuildType Delete /app/rest/buildTypes/{btLocator} Delete build configuration matching the locator.
BuildTypeApi DeleteFeatureOfBuildType Delete /app/rest/buildTypes/{btLocator}/features/{featureId} Remove a build feature of the matching build configuration.
BuildTypeApi DeleteSnapshotDependency Delete /app/rest/buildTypes/{btLocator}/snapshot-dependencies/{snapshotDepLocator} Delete a snapshot dependency of the matching build configuration.
BuildTypeApi DeleteTrigger Delete /app/rest/buildTypes/{btLocator}/triggers/{triggerLocator} Delete a trigger of the matching build configuration.
BuildTypeApi DeleteVcsRootOfBuildType Delete /app/rest/buildTypes/{btLocator}/vcs-root-entries/{vcsRootLocator} Remove a VCS root of the matching build configuration.
BuildTypeApi DownloadFileOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs/files/latest/files{path} Download specific file.
BuildTypeApi GetAgentRequirement Get /app/rest/buildTypes/{btLocator}/agent-requirements/{agentRequirementLocator} Get an agent requirement of the matching build configuration.
BuildTypeApi GetAgentRequirementParameter Get /app/rest/buildTypes/{btLocator}/agent-requirements/{agentRequirementLocator}/{fieldName} Get a setting of an agent requirement of the matching build configuration.
BuildTypeApi GetAliases Get /app/rest/buildTypes/{btLocator}/aliases Get external IDs of the matching build configuration.
BuildTypeApi GetAllAgentRequirements Get /app/rest/buildTypes/{btLocator}/agent-requirements Get all agent requirements of the matching build configuration.
BuildTypeApi GetAllArtifactDependencies Get /app/rest/buildTypes/{btLocator}/artifact-dependencies Get all artifact dependencies of the matching build configuration.
BuildTypeApi GetAllBranchesOfBuildType Get /app/rest/buildTypes/{btLocator}/branches Get all branches of the matching build configuration.
BuildTypeApi GetAllBuildFeatureParameters Get /app/rest/buildTypes/{btLocator}/features/{featureId}/parameters Get all parameters of a build feature of the matching build configuration.
BuildTypeApi GetAllBuildFeatures Get /app/rest/buildTypes/{btLocator}/features Get all build features of the matching build configuration.
BuildTypeApi GetAllBuildStepParameters Get /app/rest/buildTypes/{btLocator}/steps/{stepId}/parameters Get all parameters of a build step of the matching build configuration.
BuildTypeApi GetAllBuildSteps Get /app/rest/buildTypes/{btLocator}/steps Get all build steps of the matching build configuration.
BuildTypeApi GetAllBuildTemplates Get /app/rest/buildTypes/{btLocator}/templates Get all build templates of the matching build configuration.
BuildTypeApi GetAllBuildTypes Get /app/rest/buildTypes Get all build configurations.
BuildTypeApi GetAllInvestigationsOfBuildType Get /app/rest/buildTypes/{btLocator}/investigations Get all investigations of the matching build configuration.
BuildTypeApi GetAllSnapshotDependencies Get /app/rest/buildTypes/{btLocator}/snapshot-dependencies Get all snapshot dependencies of the matching build configuration.
BuildTypeApi GetAllTriggers Get /app/rest/buildTypes/{btLocator}/triggers Get all triggers of the matching build configuration.
BuildTypeApi GetAllVcsRootsOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs-root-entries Get all VCS roots of the matching build configuration.
BuildTypeApi GetArtifactDependency Get /app/rest/buildTypes/{btLocator}/artifact-dependencies/{artifactDepLocator} Get an artifact dependency of the matching build configuration.
BuildTypeApi GetArtifactDependencyParameter Get /app/rest/buildTypes/{btLocator}/artifact-dependencies/{artifactDepLocator}/{fieldName} Get a parameter of an artifact dependency of the matching build configuration.
BuildTypeApi GetBuildFeature Get /app/rest/buildTypes/{btLocator}/features/{featureId} Get a build feature of the matching build configuration.
BuildTypeApi GetBuildFeatureParameter Get /app/rest/buildTypes/{btLocator}/features/{featureId}/parameters/{parameterName} Get a parameter of a build feature of the matching build configuration.
BuildTypeApi GetBuildFeatureSetting Get /app/rest/buildTypes/{btLocator}/features/{featureId}/{name} Get the setting of a build feature of the matching build configuration.
BuildTypeApi GetBuildParameterOfBuildType Get /app/rest/buildTypes/{btLocator}/parameters/{name} Get build parameter.
BuildTypeApi GetBuildParameterSpecificationOfBuildType Get /app/rest/buildTypes/{btLocator}/parameters/{name}/type/rawValue Get build parameter specification.
BuildTypeApi GetBuildParameterTypeOfBuildType Get /app/rest/buildTypes/{btLocator}/parameters/{name}/type Get type of build parameter.
BuildTypeApi GetBuildParameterValueOfBuildType Get /app/rest/buildTypes/{btLocator}/parameters/{name}/value Get value of build parameter.
BuildTypeApi GetBuildParametersOfBuildType Get /app/rest/buildTypes/{btLocator}/parameters Get build parameters.
BuildTypeApi GetBuildStep Get /app/rest/buildTypes/{btLocator}/steps/{stepId} Get a build step of the matching build configuration.
BuildTypeApi GetBuildStepParameter Get /app/rest/buildTypes/{btLocator}/steps/{stepId}/parameters/{parameterName} Get a parameter of a build step of the matching build configuration.
BuildTypeApi GetBuildStepSetting Get /app/rest/buildTypes/{btLocator}/steps/{stepId}/{fieldName} Get the setting of a build step of the matching build configuration.
BuildTypeApi GetBuildTemplate Get /app/rest/buildTypes/{btLocator}/templates/{templateLocator} Get a template of the matching build configuration.
BuildTypeApi GetBuildType Get /app/rest/buildTypes/{btLocator} Get build configuration matching the locator.
BuildTypeApi GetBuildTypeBuildTags Get /app/rest/buildTypes/{btLocator}/buildTags Get tags of builds of the matching build configuration.
BuildTypeApi GetBuildTypeBuilds Get /app/rest/buildTypes/{btLocator}/builds Get builds of the matching build configuration.
BuildTypeApi GetBuildTypeField Get /app/rest/buildTypes/{btLocator}/{field} Get a field of the matching build configuration.
BuildTypeApi GetBuildTypeSettingsFile Get /app/rest/buildTypes/{btLocator}/settingsFile Get the settings file of the matching build configuration.
BuildTypeApi GetFileMetadataOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs/files/latest/metadata{path} Get metadata of specific file.
BuildTypeApi GetFilesListForSubpathOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs/files/latest/{path} List files under this path.
BuildTypeApi GetFilesListOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs/files/latest List all files.
BuildTypeApi GetSnapshotDependency Get /app/rest/buildTypes/{btLocator}/snapshot-dependencies/{snapshotDepLocator} Get a snapshot dependency of the matching build configuration.
BuildTypeApi GetTrigger Get /app/rest/buildTypes/{btLocator}/triggers/{triggerLocator} Get a trigger of the matching build configuration.
BuildTypeApi GetTriggerParameter Get /app/rest/buildTypes/{btLocator}/triggers/{triggerLocator}/{fieldName} Get a parameter of a trigger of the matching build configuration.
BuildTypeApi GetVcsRoot Get /app/rest/buildTypes/{btLocator}/vcs-root-entries/{vcsRootLocator} Get a VCS root of the matching build configuration.
BuildTypeApi GetVcsRootCheckoutRules Get /app/rest/buildTypes/{btLocator}/vcs-root-entries/{vcsRootLocator}/checkout-rules Get checkout rules of a VCS root of the matching build configuration.
BuildTypeApi GetVcsRootInstancesOfBuildType Get /app/rest/buildTypes/{btLocator}/vcsRootInstances Get all VCS root instances of the matching build configuration.
BuildTypeApi GetZippedFileOfBuildType Get /app/rest/buildTypes/{btLocator}/vcs/files/latest/archived{path} Get specific file zipped.
BuildTypeApi RemoveAllTemplates Delete /app/rest/buildTypes/{btLocator}/templates Detach all templates from the matching build configuration.
BuildTypeApi RemoveTemplate Delete /app/rest/buildTypes/{btLocator}/templates/{templateLocator} Detach a template from the matching build configuration.
BuildTypeApi ReplaceAgentRequirement Put /app/rest/buildTypes/{btLocator}/agent-requirements/{agentRequirementLocator} Update an agent requirement of the matching build configuration.
BuildTypeApi ReplaceAllAgentRequirements Put /app/rest/buildTypes/{btLocator}/agent-requirements Update all agent requirements of the matching build configuration.
BuildTypeApi ReplaceAllArtifactDependencies Put /app/rest/buildTypes/{btLocator}/artifact-dependencies Update all artifact dependencies of the matching build configuration.
BuildTypeApi ReplaceAllBuildFeatures Put /app/rest/buildTypes/{btLocator}/features Update all build features of the matching build configuration.
BuildTypeApi ReplaceAllBuildSteps Put /app/rest/buildTypes/{btLocator}/steps Update all build steps of the matching build configuration.
BuildTypeApi ReplaceAllSnapshotDependencies Put /app/rest/buildTypes/{btLocator}/snapshot-dependencies Update all snapshot dependencies of the matching build configuration.
BuildTypeApi ReplaceAllTriggers Put /app/rest/buildTypes/{btLocator}/triggers Update all triggers of the matching build configuration.
BuildTypeApi ReplaceAllVcsRoots Put /app/rest/buildTypes/{btLocator}/vcs-root-entries Update all VCS roots of the matching build configuration.
BuildTypeApi ReplaceArtifactDependency Put /app/rest/buildTypes/{btLocator}/artifact-dependencies/{artifactDepLocator} Update an artifact dependency of the matching build configuration.
BuildTypeApi ReplaceBuildFeature Put /app/rest/buildTypes/{btLocator}/features/{featureId} Update a build feature of the matching build configuration.
BuildTypeApi ReplaceBuildFeatureParameters Put /app/rest/buildTypes/{btLocator}/features/{featureId}/parameters Update a parameter of a build feature of the matching build configuration.
BuildTypeApi ReplaceBuildStep Put /app/rest/buildTypes/{btLocator}/steps/{stepId} Replace a build step of the matching build configuration.
BuildTypeApi ReplaceSnapshotDependency Put /app/rest/buildTypes/{btLocator}/snapshot-dependencies/{snapshotDepLocator} Update a snapshot dependency of the matching build configuration.
BuildTypeApi ReplaceTrigger Put /app/rest/buildTypes/{btLocator}/triggers/{triggerLocator} Update a trigger of the matching build configuration.
BuildTypeApi SetAgentRequirementParameter Put /app/rest/buildTypes/{btLocator}/agent-requirements/{agentRequirementLocator}/{fieldName} Update a parameter of an agent requirement of the matching build configuration.
BuildTypeApi SetArtifactDependencyParameter Put /app/rest/buildTypes/{btLocator}/artifact-dependencies/{artifactDepLocator}/{fieldName} Update a parameter of an artifact dependency of the matching build configuration.
BuildTypeApi SetBuildFeatureParameter Put /app/rest/buildTypes/{btLocator}/features/{featureId}/{name} Update a parameter of a build feature of the matching build configuration.
BuildTypeApi SetBuildStepParameter Put /app/rest/buildTypes/{btLocator}/steps/{stepId}/{fieldName} Update a parameter of a build step of the matching build configuration.
BuildTypeApi SetBuildTypeField Put /app/rest/buildTypes/{btLocator}/{field} Update a field of the matching build configuration.
BuildTypeApi SetBuildTypeTemplates Put /app/rest/buildTypes/{btLocator}/templates Update all templates of the matching build configuration.
BuildTypeApi SetTriggerParameter Put /app/rest/buildTypes/{btLocator}/triggers/{triggerLocator}/{fieldName} Update a parameter of a trigger of the matching build configuration.
BuildTypeApi UpdateBuildParameterOfBuildType Put /app/rest/buildTypes/{btLocator}/parameters/{name} Update build parameter.
BuildTypeApi UpdateBuildParameterSpecificationOfBuildType Put /app/rest/buildTypes/{btLocator}/parameters/{name}/type/rawValue Update build parameter specification.
BuildTypeApi UpdateBuildParameterTypeOfBuildType Put /app/rest/buildTypes/{btLocator}/parameters/{name}/type Update type of build parameter.
BuildTypeApi UpdateBuildParameterValueOfBuildType Put /app/rest/buildTypes/{btLocator}/parameters/{name}/value Update value of build parameter.
BuildTypeApi UpdateBuildParametersOfBuildType Put /app/rest/buildTypes/{btLocator}/parameters Update build parameters.
BuildTypeApi UpdateBuildTypeVcsRoot Put /app/rest/buildTypes/{btLocator}/vcs-root-entries/{vcsRootLocator} Update a VCS root of the matching build configuration.
BuildTypeApi UpdateBuildTypeVcsRootCheckoutRules Put /app/rest/buildTypes/{btLocator}/vcs-root-entries/{vcsRootLocator}/checkout-rules Update checkout rules of a VCS root of the matching build configuration.
ChangeApi GetAllChanges Get /app/rest/changes Get all changes.
ChangeApi GetChange Get /app/rest/changes/{changeLocator} Get change matching the locator.
ChangeApi GetChangeAttributes Get /app/rest/changes/{changeLocator}/attributes Get attributes of the matching change.
ChangeApi GetChangeDuplicates Get /app/rest/changes/{changeLocator}/duplicates Get duplicates of the matching change.
ChangeApi GetChangeField Get /app/rest/changes/{changeLocator}/{field} Get a field of the matching change.
ChangeApi GetChangeIssue Get /app/rest/changes/{changeLocator}/issues Get issues of the matching change.
ChangeApi GetChangeParentChanges Get /app/rest/changes/{changeLocator}/parentChanges Get parent changes of the matching change.
ChangeApi GetChangeParentRevisions Get /app/rest/changes/{changeLocator}/parentRevisions Get parent revisions of the matching change.
ChangeApi GetChangeVcsRoot Get /app/rest/changes/{changeLocator}/vcsRootInstance Get a VCS root instance of the matching change.
CloudInstanceApi GetAllCloudImages Get /app/rest/cloud/images Get all cloud images.
CloudInstanceApi GetAllCloudInstances Get /app/rest/cloud/instances Get all cloud instances.
CloudInstanceApi GetAllCloudProfiles Get /app/rest/cloud/profiles Get all cloud profiles.
CloudInstanceApi GetCloudImage Get /app/rest/cloud/images/{imageLocator} Get cloud image matching the locator.
CloudInstanceApi GetCloudInstance Get /app/rest/cloud/instances/{instanceLocator} Get cloud instance matching the locator.
CloudInstanceApi GetCloudProfile Get /app/rest/cloud/profiles/{profileLocator} Get cloud profile matching the locator.
CloudInstanceApi StartInstance Post /app/rest/cloud/instances Start a new cloud instance.
CloudInstanceApi StopInstance Delete /app/rest/cloud/instances/{instanceLocator} Stop cloud instance matching the locator.
GroupApi AddGroup Post /app/rest/userGroups Add a new user group.
GroupApi AddRoleAtScopeToGroup Post /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} Add a role with the specific scope to the matching user group.
GroupApi AddRoleToGroup Post /app/rest/userGroups/{groupLocator}/roles Add a role to the matching user group.
GroupApi DeleteGroup Delete /app/rest/userGroups/{groupLocator} Delete user group matching the locator.
GroupApi GetAllGroups Get /app/rest/userGroups Get all user groups.
GroupApi GetGroupParentGroups Get /app/rest/userGroups/{groupLocator}/parent-groups Get parent groups of the matching user group.
GroupApi GetGroupProperties Get /app/rest/userGroups/{groupLocator}/properties Get properties of the matching user group.
GroupApi GetGroupProperty Get /app/rest/userGroups/{groupLocator}/properties/{name} Get a property of the matching user group.
GroupApi GetGroupRoleAtScope Get /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} Get a role with the specific scope of the matching user group.
GroupApi GetGroupRoles Get /app/rest/userGroups/{groupLocator}/roles Get all roles of the matching user group.
GroupApi GetUserGroupOfGroup Get /app/rest/userGroups/{groupLocator} Get user group matching the locator.
GroupApi RemoveGroupProperty Delete /app/rest/userGroups/{groupLocator}/properties/{name} Remove a property of the matching user group.
GroupApi RemoveRoleAtScopeFromGroup Delete /app/rest/userGroups/{groupLocator}/roles/{roleId}/{scope} Remove a role with the specific scope from the matching user group.
GroupApi SetGroupParentGroups Put /app/rest/userGroups/{groupLocator}/parent-groups Update parent groups of the matching user group.
GroupApi SetGroupProperty Put /app/rest/userGroups/{groupLocator}/properties/{name} Update a property of the matching user group.
GroupApi SetGroupRoles Put /app/rest/userGroups/{groupLocator}/roles Update roles of the matching user group.
HealthApi GetCategories Get /app/rest/health/category
HealthApi GetHealthItems Get /app/rest/health
HealthApi GetSingleCategory Get /app/rest/health/category/{locator}
HealthApi GetSingleHealthItem Get /app/rest/health/{locator}
InvestigationApi AddInvestigation Post /app/rest/investigations Create a new investigation.
InvestigationApi AddMultipleInvestigations Post /app/rest/investigations/multiple Create multiple new investigations.
InvestigationApi DeleteInvestigation Delete /app/rest/investigations/{investigationLocator} Delete investigation matching the locator.
InvestigationApi GetAllInvestigations Get /app/rest/investigations Get all investigations.
InvestigationApi GetInvestigation Get /app/rest/investigations/{investigationLocator} Get investigation matching the locator.
InvestigationApi ReplaceInvestigation Put /app/rest/investigations/{investigationLocator} Update investigation matching the locator.
MuteApi GetAllMutedTests Get /app/rest/mutes Get all muted tests.
MuteApi GetMutedTest Get /app/rest/mutes/{muteLocator} Get a muted test.
MuteApi MuteMultipleTests Post /app/rest/mutes/multiple Mute multiple tests.
MuteApi MuteTest Post /app/rest/mutes Mute a test.
MuteApi UnmuteTest Delete /app/rest/mutes/{muteLocator} Unmute the matching test.
NodeApi ChangeNodeResponsibility Put /app/rest/server/nodes/{nodeLocator}/enabledResponsibilities/{name} Enables or disables responsibility for a node.
NodeApi GetAllNodes Get /app/rest/server/nodes Get all TeamCity nodes.
NodeApi GetDisabledResponsibilities Get /app/rest/server/nodes/{nodeLocator}/disabledResponsibilities Get all effective responsibilities for a node matching the locator.
NodeApi GetEffectiveResponsibilities Get /app/rest/server/nodes/{nodeLocator}/effectiveResponsibilities Get all effective responsibilities for a node matching the locator.
NodeApi GetEnabledResponsibilities Get /app/rest/server/nodes/{nodeLocator}/enabledResponsibilities Get all enabled responsibilities for a node matching the locator.
NodeApi GetNode Get /app/rest/server/nodes/{nodeLocator} Get a node matching the locator.
ProblemApi GetAllBuildProblems Get /app/rest/problems Get all build problems.
ProblemApi GetBuildProblem Get /app/rest/problems/{problemLocator} Get a matching build problem.
ProblemOccurrenceApi GetAllBuildProblemOccurrences Get /app/rest/problemOccurrences Get all build problem occurrences.
ProblemOccurrenceApi GetBuildProblemOccurrence Get /app/rest/problemOccurrences/{problemLocator} Get a matching build problem occurrence.
ProjectApi AddAgentPoolsProject Post /app/rest/projects/{projectLocator}/agentPools Assign the matching project to the agent pool.
ProjectApi AddBuildType Post /app/rest/projects/{projectLocator}/buildTypes Add a build configuration to the matching project.
ProjectApi AddFeature Post /app/rest/projects/{projectLocator}/projectFeatures Add a feature.
ProjectApi AddProject Post /app/rest/projects Create a new project.
ProjectApi AddSecureToken Post /app/rest/projects/{projectLocator}/secure/tokens Create a new secure token for the matching project.
ProjectApi AddTemplate Post /app/rest/projects/{projectLocator}/templates Add a build configuration template to the matching project.
ProjectApi CreateBuildParameter Post /app/rest/projects/{projectLocator}/parameters Create a build parameter.
ProjectApi DeleteBuildParameter Delete /app/rest/projects/{projectLocator}/parameters/{name} Delete build parameter.
ProjectApi DeleteBuildParameters Delete /app/rest/projects/{projectLocator}/parameters Delete all build parameters.
ProjectApi DeleteFeature Delete /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} Delete a matching feature.
ProjectApi DeleteProject Delete /app/rest/projects/{projectLocator} Delete project matching the locator.
ProjectApi GetAgentPoolsProject Get /app/rest/projects/{projectLocator}/agentPools Get agent pools appointed to the matching project.
ProjectApi GetAllBranches Get /app/rest/projects/{projectLocator}/branches Get all branches of the matching project.
ProjectApi GetAllBuildTypesOrdered Get /app/rest/projects/{projectLocator}/order/buildTypes Get all build configurations from the matching project, with custom ordering applied.
ProjectApi GetAllProjects Get /app/rest/projects Get all projects.
ProjectApi GetAllSubprojectsOrdered Get /app/rest/projects/{projectLocator}/order/projects Get all subprojects of the matching project, with custom ordering applied.
ProjectApi GetBuildParameter Get /app/rest/projects/{projectLocator}/parameters/{name} Get build parameter.
ProjectApi GetBuildParameterSpecification Get /app/rest/projects/{projectLocator}/parameters/{name}/type/rawValue Get build parameter specification.
ProjectApi GetBuildParameterType Get /app/rest/projects/{projectLocator}/parameters/{name}/type Get type of build parameter.
ProjectApi GetBuildParameterValue Get /app/rest/projects/{projectLocator}/parameters/{name}/value Get value of build parameter.
ProjectApi GetBuildParameters Get /app/rest/projects/{projectLocator}/parameters Get build parameters.
ProjectApi GetDefaultTemplate Get /app/rest/projects/{projectLocator}/defaultTemplate Get the default template of the matching project.
ProjectApi GetFeature Get /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} Get a matching feature.
ProjectApi GetFeatures Get /app/rest/projects/{projectLocator}/projectFeatures Get all features.
ProjectApi GetProject Get /app/rest/projects/{projectLocator} Get project matching the locator.
ProjectApi GetProjectField Get /app/rest/projects/{projectLocator}/{field} Get a field of the matching project.
ProjectApi GetProjectParentProject Get /app/rest/projects/{projectLocator}/parentProject Get the parent project of the matching project.
ProjectApi GetProjectSettingsFile Get /app/rest/projects/{projectLocator}/settingsFile Get the settings file of the matching build configuration.
ProjectApi GetProjectTemplates Get /app/rest/projects/{projectLocator}/templates Get all templates of the matching project.
ProjectApi GetSecureValue Get /app/rest/projects/{projectLocator}/secure/values/{token} Get a secure token of the matching project.
ProjectApi RemoveDefaultTemplate Delete /app/rest/projects/{projectLocator}/defaultTemplate Remove the default template from the matching project.
ProjectApi RemoveProjectFromAgentPool Delete /app/rest/projects/{projectLocator}/agentPools/{agentPoolLocator} Unassign a project from the matching agent pool.
ProjectApi SetAgentPoolsProject Put /app/rest/projects/{projectLocator}/agentPools Update agent pools apppointed to the matching project.
ProjectApi SetBuildTypesOrder Put /app/rest/projects/{projectLocator}/order/buildTypes Update custom ordering of build configurations of the matching project.
ProjectApi SetDefaultTemplate Put /app/rest/projects/{projectLocator}/defaultTemplate Update the default template of the matching project.
ProjectApi SetParentProject Put /app/rest/projects/{projectLocator}/parentProject Update the parent project of the matching project.
ProjectApi SetProjectField Put /app/rest/projects/{projectLocator}/{field} Update a field of the matching project.
ProjectApi SetSubprojectsOrder Put /app/rest/projects/{projectLocator}/order/projects Update custom ordering of subprojects of the matching project.
ProjectApi UpdateBuildParameter Put /app/rest/projects/{projectLocator}/parameters/{name} Update build parameter.
ProjectApi UpdateBuildParameterSpecification Put /app/rest/projects/{projectLocator}/parameters/{name}/type/rawValue Update build parameter specification.
ProjectApi UpdateBuildParameterType Put /app/rest/projects/{projectLocator}/parameters/{name}/type Update type of build parameter.
ProjectApi UpdateBuildParameterValue Put /app/rest/projects/{projectLocator}/parameters/{name}/value Update value of build parameter.
ProjectApi UpdateBuildParameters Put /app/rest/projects/{projectLocator}/parameters Update build parameters.
ProjectApi UpdateFeature Put /app/rest/projects/{projectLocator}/projectFeatures/{featureLocator} Update a matching feature.
ProjectApi UpdateFeatures Put /app/rest/projects/{projectLocator}/projectFeatures Update all features.
RootApi GetApiVersion Get /app/rest/apiVersion Get the API version.
RootApi GetPluginInfo Get /app/rest/info Get the plugin info.
RootApi GetRootEndpointsOfRoot Get /app/rest Get root endpoints.
RootApi GetVersion Get /app/rest/version Get the TeamCity server version.
ServerApi AddLicenseKeys Post /app/rest/server/licensingData/licenseKeys Add license keys.
ServerApi DeleteLicenseKey Delete /app/rest/server/licensingData/licenseKeys/{licenseKey} Delete a license key.
ServerApi DownloadFileOfServer Get /app/rest/server/files/{areaId}/files{path} Download specific file.
ServerApi GetAllMetrics Get /app/rest/server/metrics Get metrics.
ServerApi GetAllPlugins Get /app/rest/server/plugins Get all plugins.
ServerApi GetBackupStatus Get /app/rest/server/backup Get the latest backup status.
ServerApi GetFileMetadataOfServer Get /app/rest/server/files/{areaId}/metadata{path} Get metadata of specific file.
ServerApi GetFilesListForSubpathOfServer Get /app/rest/server/files/{areaId}/{path} List files under this path.
ServerApi GetFilesListOfServer Get /app/rest/server/files/{areaId} List all files.
ServerApi GetLicenseKey Get /app/rest/server/licensingData/licenseKeys/{licenseKey} Get a license key.
ServerApi GetLicenseKeys Get /app/rest/server/licensingData/licenseKeys Get all license keys.
ServerApi GetLicensingData Get /app/rest/server/licensingData Get the licensing data.
ServerApi GetServerField Get /app/rest/server/{field} Get a field of the server info.
ServerApi GetServerInfo Get /app/rest/server Get the server info.
ServerApi GetZippedFileOfServer Get /app/rest/server/files/{areaId}/archived{path} Get specific file zipped.
ServerApi StartBackup Post /app/rest/server/backup Start a new backup.
TestApi GetTest Get /app/rest/tests/{testLocator} Get a matching test.
TestApi GetTests Get /app/rest/tests Get all tests.
TestOccurrenceApi GetAllTestOccurrences Get /app/rest/testOccurrences Get all test occurrences.
TestOccurrenceApi GetTestOccurrence Get /app/rest/testOccurrences/{testLocator} Get a matching test occurrence.
UserApi AddRoleToUser Post /app/rest/users/{userLocator}/roles Add a role to the matching user.
UserApi AddRoleToUserAtScope Put /app/rest/users/{userLocator}/roles/{roleId}/{scope} Add a role with the specific scope to the matching user.
UserApi AddUser Post /app/rest/users Create a new user.
UserApi AddUserToken Post /app/rest/users/{userLocator}/tokens Create a new authentication token for the matching user.
UserApi DeleteUser Delete /app/rest/users/{userLocator} Delete user matching the locator.
UserApi DeleteUserField Delete /app/rest/users/{userLocator}/{field} Remove a property of the matching user.
UserApi DeleteUserToken Delete /app/rest/users/{userLocator}/tokens/{name} Remove an authentication token from the matching user.
UserApi GetAllUserGroups Get /app/rest/users/{userLocator}/groups Get all groups of the matching user.
UserApi GetAllUserRoles Get /app/rest/users/{userLocator}/roles Get all user roles of the matching user.
UserApi GetAllUsers Get /app/rest/users Get all users.
UserApi GetUser Get /app/rest/users/{userLocator} Get user matching the locator.
UserApi GetUserField Get /app/rest/users/{userLocator}/{field} Get a field of the matching user.
UserApi GetUserGroup Get /app/rest/users/{userLocator}/groups/{groupLocator} Get a user group of the matching user.
UserApi GetUserPermissions Get /app/rest/users/{userLocator}/permissions Get all permissions effective for the matching user.
UserApi GetUserProperties Get /app/rest/users/{userLocator}/properties Get all properties of the matching user.
UserApi GetUserProperty Get /app/rest/users/{userLocator}/properties/{name} Get a property of the matching user.
UserApi GetUserRolesAtScope Get /app/rest/users/{userLocator}/roles/{roleId}/{scope} Get a user role with the specific scope from the matching user.
UserApi GetUserTokens Get /app/rest/users/{userLocator}/tokens Get all authentication tokens of the matching user.
UserApi RemoveUserFromGroup Delete /app/rest/users/{userLocator}/groups/{groupLocator} Remove the matching user from the specific group.
UserApi RemoveUserProperty Delete /app/rest/users/{userLocator}/properties/{name} Remove a property of the matching user.
UserApi RemoveUserRememberMe Delete /app/rest/users/{userLocator}/debug/rememberMe Remove the RememberMe data of the matching user.
UserApi RemoveUserRoleAtScope Delete /app/rest/users/{userLocator}/roles/{roleId}/{scope} Remove a role with the specific scope from the matching user.
UserApi ReplaceUser Put /app/rest/users/{userLocator} Update user matching the locator.
UserApi SetUserField Put /app/rest/users/{userLocator}/{field} Update a field of the matching user.
UserApi SetUserGroups Put /app/rest/users/{userLocator}/groups Update groups of the matching user.
UserApi SetUserProperty Put /app/rest/users/{userLocator}/properties/{name} Update a property of the matching user.
UserApi SetUserRoles Put /app/rest/users/{userLocator}/roles Update user roles of the matching user.
VcsRootApi AddVcsRoot Post /app/rest/vcs-roots Add a new VCS root.
VcsRootApi DeleteAllVcsRootProperties Delete /app/rest/vcs-roots/{vcsRootLocator}/properties Delete all properties of the matching VCS root.
VcsRootApi DeleteVcsRoot Delete /app/rest/vcs-roots/{vcsRootLocator} Remove VCS root matching the locator.
VcsRootApi DeleteVcsRootProperty Delete /app/rest/vcs-roots/{vcsRootLocator}/properties/{name} Delete a property of the matching VCS root.
VcsRootApi GetAllVcsRootProperties Get /app/rest/vcs-roots/{vcsRootLocator}/properties Get all properties of the matching VCS root.
VcsRootApi GetAllVcsRoots Get /app/rest/vcs-roots Get all VCS roots.
VcsRootApi GetRootEndpoints Get /app/rest/vcs-roots/{vcsRootLocator} Get root endpoints.
VcsRootApi GetVcsRootField Get /app/rest/vcs-roots/{vcsRootLocator}/{field} Get a field of the matching VCS root.
VcsRootApi GetVcsRootInstances Get /app/rest/vcs-roots/{vcsRootLocator}/instances Get all VCS root instances of the matching VCS root.
VcsRootApi GetVcsRootProperty Get /app/rest/vcs-roots/{vcsRootLocator}/properties/{name} Get a property on the matching VCS root.
VcsRootApi GetVcsRootSettingsFile Get /app/rest/vcs-roots/{vcsRootLocator}/settingsFile Get the settings file of the matching VCS root.
VcsRootApi SetVcsRootField Put /app/rest/vcs-roots/{vcsRootLocator}/{field} Update a field of the matching VCS root.
VcsRootApi SetVcsRootProperties Put /app/rest/vcs-roots/{vcsRootLocator}/properties Update all properties of the matching VCS root.
VcsRootApi SetVcsRootProperty Put /app/rest/vcs-roots/{vcsRootLocator}/properties/{name} Update a property of the matching VCS root.
VcsRootInstanceApi DeleteVcsRootInstanceField Delete /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field} Remove a field of the matching VCS root instance.
VcsRootInstanceApi DeleteVcsRootInstanceRepositoryState Delete /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState Delete the last repository state of the matching VCS root instance.
VcsRootInstanceApi DownloadFile Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/files{path} Download specific file.
VcsRootInstanceApi GetAllVcsRootInstances Get /app/rest/vcs-root-instances Get all VCS root instances.
VcsRootInstanceApi GetFileMetadata Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/metadata{path} Get metadata of specific file.
VcsRootInstanceApi GetFilesList Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest List all files.
VcsRootInstanceApi GetFilesListForSubpath Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/{path} List files under this path.
VcsRootInstanceApi GetVcsRootInstance Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator} Get VCS root instance matching the locator.
VcsRootInstanceApi GetVcsRootInstanceCreationDate Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState/creationDate Get the creation date of the matching VCS root instance.
VcsRootInstanceApi GetVcsRootInstanceField Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field} Get a field of the matching VCS root instance.
VcsRootInstanceApi GetVcsRootInstanceProperties Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/properties Get all properties of the matching VCS root instance.
VcsRootInstanceApi GetVcsRootInstanceRepositoryState Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState Get the repository state of the matching VCS root instance.
VcsRootInstanceApi GetZippedFile Get /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/archived{path} Get specific file zipped.
VcsRootInstanceApi RequestPendingChangesCheck Post /app/rest/vcs-root-instances/checkingForChangesQueue Check for the pending changes for all VCS root instances.
VcsRootInstanceApi SetVcsRootInstanceField Put /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field} Get a field of the matching VCS root instance.
VcsRootInstanceApi SetVcsRootInstanceRepositoryState Put /app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState Update the repository state of the matching VCS root instance.
VcsRootInstanceApi TriggerCommitHookNotification Post /app/rest/vcs-root-instances/commitHookNotification Send the commit hook notification.

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	AgentApi *AgentApiService

	AgentPoolApi *AgentPoolApiService

	AuditApi *AuditApiService

	AvatarApi *AvatarApiService

	BuildApi *BuildApiService

	BuildQueueApi *BuildQueueApiService

	BuildTypeApi *BuildTypeApiService

	ChangeApi *ChangeApiService

	CloudInstanceApi *CloudInstanceApiService

	GroupApi *GroupApiService

	HealthApi *HealthApiService

	InvestigationApi *InvestigationApiService

	MuteApi *MuteApiService

	NodeApi *NodeApiService

	ProblemApi *ProblemApiService

	ProblemOccurrenceApi *ProblemOccurrenceApiService

	ProjectApi *ProjectApiService

	RootApi *RootApiService

	ServerApi *ServerApiService

	TestOccurrenceApi *TestOccurrenceApiService

	UserApi *UserApiService

	VcsRootApi *VcsRootApiService

	VcsRootInstanceApi *VcsRootInstanceApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the TeamCity REST API API v2018.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AddAgentPoolsProjectOpts

type AddAgentPoolsProjectOpts struct {
	Body optional.Interface
}

type AddAgentRequirementToBuildTypeOpts

type AddAgentRequirementToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddAgentToAgentPoolOpts

type AddAgentToAgentPoolOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddArtifactDependencyToBuildTypeOpts

type AddArtifactDependencyToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddBuildFeatureToBuildTypeOpts

type AddBuildFeatureToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddBuildStepToBuildTypeOpts

type AddBuildStepToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddBuildTemplateOpts

type AddBuildTemplateOpts struct {
	Body             optional.Interface
	OptimizeSettings optional.Bool
	Fields           optional.String
}

type AddBuildToQueueOpts

type AddBuildToQueueOpts struct {
	Body      optional.Interface
	MoveToTop optional.Bool
}

type AddBuildTypeOpts

type AddBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddBuildVcsLabelOpts

type AddBuildVcsLabelOpts struct {
	Locator optional.String
	Fields  optional.String
	Body    optional.String
}

type AddFeatureOpts

type AddFeatureOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddGroupOpts

type AddGroupOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddInvestigationOpts

type AddInvestigationOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddLicenseKeysOpts

type AddLicenseKeysOpts struct {
	Body   optional.String
	Fields optional.String
}

type AddLogMessageToBuildOpts

type AddLogMessageToBuildOpts struct {
	Body   optional.String
	Fields optional.String
}

type AddMultipleInvestigationsOpts

type AddMultipleInvestigationsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddParameterToBuildFeatureOpts

type AddParameterToBuildFeatureOpts struct {
	Body optional.String
}

type AddParameterToBuildStepOpts

type AddParameterToBuildStepOpts struct {
	Body optional.String
}

type AddProblemToBuildOpts

type AddProblemToBuildOpts struct {
	Body   optional.String
	Fields optional.String
}

type AddProjectOpts

type AddProjectOpts struct {
	Body optional.Interface
}

type AddProjectToAgentPoolOpts

type AddProjectToAgentPoolOpts struct {
	Body optional.Interface
}

type AddRoleToGroupOpts

type AddRoleToGroupOpts struct {
	Body optional.Interface
}

type AddRoleToUserOpts

type AddRoleToUserOpts struct {
	Body optional.Interface
}

type AddSecureTokenOpts

type AddSecureTokenOpts struct {
	Body optional.String
}

type AddSnapshotDependencyToBuildTypeOpts

type AddSnapshotDependencyToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddTagsToBuildOfBuildQueueOpts

type AddTagsToBuildOfBuildQueueOpts struct {
	Body optional.Interface
}

type AddTagsToBuildOpts

type AddTagsToBuildOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddTagsToMultipleBuildsOpts

type AddTagsToMultipleBuildsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddTemplateOpts

type AddTemplateOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddTriggerToBuildTypeOpts

type AddTriggerToBuildTypeOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type AddUserOpts

type AddUserOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddUserTokenOpts

type AddUserTokenOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddVcsRootOpts

type AddVcsRootOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type AddVcsRootToBuildTypeOpts

type AddVcsRootToBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type Agent

type Agent struct {
	Id                     int32                `json:"id,omitempty"`
	Name                   string               `json:"name,omitempty"`
	TypeId                 int32                `json:"typeId,omitempty"`
	Connected              bool                 `json:"connected,omitempty"`
	Enabled                bool                 `json:"enabled,omitempty"`
	Authorized             bool                 `json:"authorized,omitempty"`
	Uptodate               bool                 `json:"uptodate,omitempty"`
	Outdated               bool                 `json:"outdated,omitempty"`
	PluginsOutdated        bool                 `json:"pluginsOutdated,omitempty"`
	JavaOutdated           bool                 `json:"javaOutdated,omitempty"`
	Ip                     string               `json:"ip,omitempty"`
	Protocol               string               `json:"protocol,omitempty"`
	Version                string               `json:"version,omitempty"`
	CurrentAgentVersion    string               `json:"currentAgentVersion,omitempty"`
	LastActivityTime       string               `json:"lastActivityTime,omitempty"`
	IdleSinceTime          string               `json:"idleSinceTime,omitempty"`
	DisconnectionComment   string               `json:"disconnectionComment,omitempty"`
	RegistrationTimestamp  string               `json:"registrationTimestamp,omitempty"`
	Host                   string               `json:"host,omitempty"`
	CpuRank                int32                `json:"cpuRank,omitempty"`
	Port                   int32                `json:"port,omitempty"`
	Href                   string               `json:"href,omitempty"`
	WebUrl                 string               `json:"webUrl,omitempty"`
	Build                  *Build               `json:"build,omitempty"`
	Links                  *Links               `json:"links,omitempty"`
	EnabledInfo            *EnabledInfo         `json:"enabledInfo,omitempty"`
	AuthorizedInfo         *AuthorizedInfo      `json:"authorizedInfo,omitempty"`
	Properties             *Properties          `json:"properties,omitempty"`
	CloudInstance          *CloudInstance       `json:"cloudInstance,omitempty"`
	CloudImage             *CloudImage          `json:"cloudImage,omitempty"`
	Environment            *Environment         `json:"environment,omitempty"`
	Pool                   *AgentPool           `json:"pool,omitempty"`
	CompatibilityPolicy    *CompatibilityPolicy `json:"compatibilityPolicy,omitempty"`
	CompatibleBuildTypes   *BuildTypes          `json:"compatibleBuildTypes,omitempty"`
	IncompatibleBuildTypes *Compatibilities     `json:"incompatibleBuildTypes,omitempty"`
	Builds                 *Builds              `json:"builds,omitempty"`
	Locator                string               `json:"locator,omitempty"`
}

Represents a known agent instance.

type AgentApiService

type AgentApiService service

func (*AgentApiService) DeleteAgent

func (a *AgentApiService) DeleteAgent(ctx context.Context, agentLocator string) (*http.Response, error)

AgentApiService Delete an inactive agent.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentLocator

func (*AgentApiService) GetAgent

func (a *AgentApiService) GetAgent(ctx context.Context, agentLocator string, localVarOptionals *GetAgentOpts) (Agent, *http.Response, error)

func (*AgentApiService) GetAgentField

func (a *AgentApiService) GetAgentField(ctx context.Context, agentLocator string, field string) (string, *http.Response, error)

AgentApiService Get a field of the matching agent.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentLocator
  • @param field

@return string

func (*AgentApiService) GetAgentPool

func (a *AgentApiService) GetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *GetAgentPoolOpts) (AgentPool, *http.Response, error)

func (*AgentApiService) GetAllAgents

func (a *AgentApiService) GetAllAgents(ctx context.Context, localVarOptionals *GetAllAgentsOpts) (Agents, *http.Response, error)

func (*AgentApiService) GetAuthorizedInfo

func (a *AgentApiService) GetAuthorizedInfo(ctx context.Context, agentLocator string, localVarOptionals *GetAuthorizedInfoOpts) (AuthorizedInfo, *http.Response, error)

func (*AgentApiService) GetBuildConfigurationRunPolicy

func (a *AgentApiService) GetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, localVarOptionals *GetBuildConfigurationRunPolicyOpts) (CompatibilityPolicy, *http.Response, error)

func (*AgentApiService) GetCompatibleBuildTypes

func (a *AgentApiService) GetCompatibleBuildTypes(ctx context.Context, agentLocator string, localVarOptionals *GetCompatibleBuildTypesOpts) (BuildTypes, *http.Response, error)

func (*AgentApiService) GetEnabledInfo

func (a *AgentApiService) GetEnabledInfo(ctx context.Context, agentLocator string, localVarOptionals *GetEnabledInfoOpts) (EnabledInfo, *http.Response, error)

func (*AgentApiService) GetIncompatibleBuildTypes

func (a *AgentApiService) GetIncompatibleBuildTypes(ctx context.Context, agentLocator string, localVarOptionals *GetIncompatibleBuildTypesOpts) (Compatibilities, *http.Response, error)

func (*AgentApiService) SetAgentField

func (a *AgentApiService) SetAgentField(ctx context.Context, agentLocator string, field string, localVarOptionals *SetAgentFieldOpts) (string, *http.Response, error)

func (*AgentApiService) SetAgentPool

func (a *AgentApiService) SetAgentPool(ctx context.Context, agentLocator string, localVarOptionals *SetAgentPoolOpts) (AgentPool, *http.Response, error)

func (*AgentApiService) SetAuthorizedInfo

func (a *AgentApiService) SetAuthorizedInfo(ctx context.Context, agentLocator string, localVarOptionals *SetAuthorizedInfoOpts) (AuthorizedInfo, *http.Response, error)

func (*AgentApiService) SetBuildConfigurationRunPolicy

func (a *AgentApiService) SetBuildConfigurationRunPolicy(ctx context.Context, agentLocator string, localVarOptionals *SetBuildConfigurationRunPolicyOpts) (CompatibilityPolicy, *http.Response, error)

func (*AgentApiService) SetEnabledInfo

func (a *AgentApiService) SetEnabledInfo(ctx context.Context, agentLocator string, localVarOptionals *SetEnabledInfoOpts) (EnabledInfo, *http.Response, error)

type AgentLocator

type AgentLocator struct {
	// Is the agent authorized.
	Authorized bool `json:"authorized,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Compatible build types locator.
	Compatible string `json:"compatible,omitempty"`
	// Is the agent connected.
	Connected bool `json:"connected,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Is the agent enabled.
	Enabled bool `json:"enabled,omitempty"`
	// Entity ID.
	Id int32  `json:"id,omitempty"`
	Ip string `json:"ip,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item      string `json:"item,omitempty"`
	Name      string `json:"name,omitempty"`
	Parameter string `json:"parameter,omitempty"`
	// Agent pool locator.
	Pool string `json:"pool,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
}

Represents a locator string for filtering Agent entities.

type AgentPool

type AgentPool struct {
	Id           int32     `json:"id,omitempty"`
	Name         string    `json:"name,omitempty"`
	Href         string    `json:"href,omitempty"`
	MaxAgents    int32     `json:"maxAgents,omitempty"`
	OwnerProject *Project  `json:"ownerProject,omitempty"`
	Projects     *Projects `json:"projects,omitempty"`
	Agents       *Agents   `json:"agents,omitempty"`
	Locator      string    `json:"locator,omitempty"`
}

Represents an agent pool instance.

type AgentPoolApiService

type AgentPoolApiService service

func (*AgentPoolApiService) AddAgentToAgentPool

func (a *AgentPoolApiService) AddAgentToAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *AddAgentToAgentPoolOpts) (Agent, *http.Response, error)

func (*AgentPoolApiService) AddProjectToAgentPool

func (a *AgentPoolApiService) AddProjectToAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *AddProjectToAgentPoolOpts) (Project, *http.Response, error)

func (*AgentPoolApiService) CreateAgentPool

func (a *AgentPoolApiService) CreateAgentPool(ctx context.Context, localVarOptionals *CreateAgentPoolOpts) (AgentPool, *http.Response, error)

func (*AgentPoolApiService) DeleteAgentPool

func (a *AgentPoolApiService) DeleteAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)

AgentPoolApiService Delete the agent pool matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentPoolLocator

func (*AgentPoolApiService) DeleteAllProjectsFromAgentPool

func (a *AgentPoolApiService) DeleteAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string) (*http.Response, error)

AgentPoolApiService Unassign all projects from the matching agent pool.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentPoolLocator

func (*AgentPoolApiService) DeleteProjectFromAgentPool

func (a *AgentPoolApiService) DeleteProjectFromAgentPool(ctx context.Context, agentPoolLocator string, projectLocator string) (*http.Response, error)

AgentPoolApiService Unassign the project from the matching agent pool.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentPoolLocator
  • @param projectLocator

func (*AgentPoolApiService) GetAgentPoolOfAgentPool

func (a *AgentPoolApiService) GetAgentPoolOfAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAgentPoolOfAgentPoolOpts) (AgentPool, *http.Response, error)

func (*AgentPoolApiService) GetAllAgentPools

func (a *AgentPoolApiService) GetAllAgentPools(ctx context.Context, localVarOptionals *GetAllAgentPoolsOpts) (AgentPools, *http.Response, error)

func (*AgentPoolApiService) GetAllAgentsFromAgentPool

func (a *AgentPoolApiService) GetAllAgentsFromAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAllAgentsFromAgentPoolOpts) (Agents, *http.Response, error)

func (*AgentPoolApiService) GetAllProjectsFromAgentPool

func (a *AgentPoolApiService) GetAllProjectsFromAgentPool(ctx context.Context, agentPoolLocator string, localVarOptionals *GetAllProjectsFromAgentPoolOpts) (Projects, *http.Response, error)

func (*AgentPoolApiService) GetFieldFromAgentPool

func (a *AgentPoolApiService) GetFieldFromAgentPool(ctx context.Context, agentPoolLocator string, field string) (string, *http.Response, error)

AgentPoolApiService Get a field of the matching agent pool.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param agentPoolLocator
  • @param field

@return string

func (*AgentPoolApiService) SetAgentPoolField

func (a *AgentPoolApiService) SetAgentPoolField(ctx context.Context, agentPoolLocator string, field string, localVarOptionals *SetAgentPoolFieldOpts) (string, *http.Response, error)

func (*AgentPoolApiService) SetAgentPoolProjects

func (a *AgentPoolApiService) SetAgentPoolProjects(ctx context.Context, agentPoolLocator string, localVarOptionals *SetAgentPoolProjectsOpts) (Projects, *http.Response, error)

type AgentPoolLocator

type AgentPoolLocator struct {
	// Pool's agents locator.
	Agent string `json:"agent,omitempty"`
	Id    string `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Name string `json:"name,omitempty"`
	// Pool's associated projects locator.
	Project string `json:"project,omitempty"`
}

Represents a locator string for filtering AgentPool entities.

type AgentPools

type AgentPools struct {
	Count     int32       `json:"count,omitempty"`
	Href      string      `json:"href,omitempty"`
	NextHref  string      `json:"nextHref,omitempty"`
	PrevHref  string      `json:"prevHref,omitempty"`
	AgentPool []AgentPool `json:"agentPool,omitempty"`
}

Represents a paginated list of AgentPool entities.

type AgentRequirement

type AgentRequirement struct {
	Id         string      `json:"id,omitempty"`
	Name       string      `json:"name,omitempty"`
	Type_      string      `json:"type,omitempty"`
	Disabled   bool        `json:"disabled,omitempty"`
	Inherited  bool        `json:"inherited,omitempty"`
	Href       string      `json:"href,omitempty"`
	Properties *Properties `json:"properties,omitempty"`
}

Represents a requirement to agent parameters.

type AgentRequirements

type AgentRequirements struct {
	Count            int32              `json:"count,omitempty"`
	AgentRequirement []AgentRequirement `json:"agent-requirement,omitempty"`
}

Represents a list of AgentRequirement entities.

type Agents

type Agents struct {
	Count    int32   `json:"count,omitempty"`
	NextHref string  `json:"nextHref,omitempty"`
	PrevHref string  `json:"prevHref,omitempty"`
	Href     string  `json:"href,omitempty"`
	Agent    []Agent `json:"agent,omitempty"`
}

Represents a paginated list of Agent entities.

type ApprovalInfo

type ApprovalInfo struct {
	TimeoutTimestamp           string          `json:"timeoutTimestamp,omitempty"`
	ConfigurationValid         bool            `json:"configurationValid,omitempty"`
	CanBeApprovedByCurrentUser bool            `json:"canBeApprovedByCurrentUser,omitempty"`
	UserApprovals              *UserApprovals  `json:"userApprovals,omitempty"`
	GroupApprovals             *GroupApprovals `json:"groupApprovals,omitempty"`
	Status                     string          `json:"status,omitempty"`
}

Represents approval status for this build, if applicable.

type ApproveQueuedBuildOpts

type ApproveQueuedBuildOpts struct {
	Body   optional.String
	Fields optional.String
}

type ArtifactDependencies

type ArtifactDependencies struct {
	Count              int32                `json:"count,omitempty"`
	ArtifactDependency []ArtifactDependency `json:"artifact-dependency,omitempty"`
	Replace            string               `json:"replace,omitempty"`
}

Represents a list of ArtifactDependency entities.

type ArtifactDependency

type ArtifactDependency struct {
	Id              string      `json:"id,omitempty"`
	Name            string      `json:"name,omitempty"`
	Type_           string      `json:"type,omitempty"`
	Disabled        bool        `json:"disabled,omitempty"`
	Inherited       bool        `json:"inherited,omitempty"`
	Href            string      `json:"href,omitempty"`
	Properties      *Properties `json:"properties,omitempty"`
	SourceBuildType *BuildType  `json:"source-buildType,omitempty"`
}

Represents an artifact dependency relation.

type ArtifactDownloadInfo

type ArtifactDownloadInfo struct {
	Path              string `json:"path,omitempty"`
	DownloadTimestamp string `json:"downloadTimestamp,omitempty"`
}

type AuditAction

type AuditAction struct {
	Name    string `json:"name,omitempty"`
	Id      string `json:"id,omitempty"`
	Pattern string `json:"pattern,omitempty"`
}

Represents an audit action.

type AuditApiService

type AuditApiService service

func (*AuditApiService) GetAllAuditEvents

func (a *AuditApiService) GetAllAuditEvents(ctx context.Context, localVarOptionals *GetAllAuditEventsOpts) (AuditEvents, *http.Response, error)

func (*AuditApiService) GetAuditEvent

func (a *AuditApiService) GetAuditEvent(ctx context.Context, auditEventLocator string, localVarOptionals *GetAuditEventOpts) (AuditEvent, *http.Response, error)

type AuditEvent

type AuditEvent struct {
	Id              string           `json:"id,omitempty"`
	Timestamp       string           `json:"timestamp,omitempty"`
	Comment         string           `json:"comment,omitempty"`
	Action          *AuditAction     `json:"action,omitempty"`
	RelatedEntities *RelatedEntities `json:"relatedEntities,omitempty"`
	User            *User            `json:"user,omitempty"`
}

Represents an audit event including a user and affected entities.

type AuditEvents

type AuditEvents struct {
	Count      int32        `json:"count,omitempty"`
	NextHref   string       `json:"nextHref,omitempty"`
	PrevHref   string       `json:"prevHref,omitempty"`
	Href       string       `json:"href,omitempty"`
	AuditEvent []AuditEvent `json:"auditEvent,omitempty"`
}

Represents a paginated list of AuditEvent entities.

type AuditLocator

type AuditLocator struct {
	// Use `$help` to get the full list of supported actions.
	Action string `json:"action,omitempty"`
	// Related project locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Related build type or template locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32  `json:"count,omitempty"`
	Id    string `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start        int32  `json:"start,omitempty"`
	SystemAction string `json:"systemAction,omitempty"`
	// Locator of user who caused the audit event.
	User string `json:"user,omitempty"`
}

Represents a locator string for filtering AuditEvent entities.

type AuthorizedInfo

type AuthorizedInfo struct {
	Status  bool     `json:"status,omitempty"`
	Comment *Comment `json:"comment,omitempty"`
}

Represents agent authorization data.

type AvatarApiService

type AvatarApiService service

func (*AvatarApiService) DeleteAvatar

func (a *AvatarApiService) DeleteAvatar(ctx context.Context, userLocator string) (*http.Response, error)

AvatarApiService Delete a users avatar

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator

func (*AvatarApiService) GetAvatar

func (a *AvatarApiService) GetAvatar(ctx context.Context, userLocator string, size int32) (*http.Response, error)

AvatarApiService Get a users avatar

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param size avatar&#39;s size

func (*AvatarApiService) GetAvatarWithHash

func (a *AvatarApiService) GetAvatarWithHash(ctx context.Context, userLocator string, size int32, hash string) (*http.Response, error)

AvatarApiService Get a users avatar

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param size avatar&#39;s size
  • @param hash

func (*AvatarApiService) PutAvatar

func (a *AvatarApiService) PutAvatar(ctx context.Context, userLocator string, localVarOptionals *PutAvatarOpts) (*http.Response, error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Branch

type Branch struct {
	Name         string  `json:"name,omitempty"`
	InternalName string  `json:"internalName,omitempty"`
	Default_     bool    `json:"default,omitempty"`
	Unspecified  bool    `json:"unspecified,omitempty"`
	Active       bool    `json:"active,omitempty"`
	LastActivity string  `json:"lastActivity,omitempty"`
	GroupFlag    bool    `json:"groupFlag,omitempty"`
	Builds       *Builds `json:"builds,omitempty"`
}

Represents a branch on which this build has been started.

type BranchLocator

type BranchLocator struct {
	// Is feature branch.
	Branched string `json:"branched,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// Is default branch.
	Default_ string `json:"default,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item   string `json:"item,omitempty"`
	Name   string `json:"name,omitempty"`
	Policy string `json:"policy,omitempty"`
}

Represents a locator string for filtering Branch entities.

type BranchVersion

type BranchVersion struct {
	Version      string  `json:"version,omitempty"`
	GroupFlag    bool    `json:"groupFlag,omitempty"`
	Builds       *Builds `json:"builds,omitempty"`
	LastActivity string  `json:"lastActivity,omitempty"`
	Unspecified  bool    `json:"unspecified,omitempty"`
	Name         string  `json:"name,omitempty"`
	Default_     bool    `json:"default,omitempty"`
	Active       bool    `json:"active,omitempty"`
	InternalName string  `json:"internalName,omitempty"`
}

Represents a branch version.

type Branches

type Branches struct {
	Count  int32    `json:"count,omitempty"`
	Href   string   `json:"href,omitempty"`
	Branch []Branch `json:"branch,omitempty"`
}

Represents a list of Branch entities.

type Build

type Build struct {
	Id                          int64                   `json:"id,omitempty"`
	TaskId                      int64                   `json:"taskId,omitempty"`
	BuildTypeId                 string                  `json:"buildTypeId,omitempty"`
	BuildTypeInternalId         string                  `json:"buildTypeInternalId,omitempty"`
	Number                      string                  `json:"number,omitempty"`
	Status                      string                  `json:"status,omitempty"`
	State                       string                  `json:"state,omitempty"`
	Running                     bool                    `json:"running,omitempty"`
	Composite                   bool                    `json:"composite,omitempty"`
	FailedToStart               bool                    `json:"failedToStart,omitempty"`
	Personal                    bool                    `json:"personal,omitempty"`
	PercentageComplete          int32                   `json:"percentageComplete,omitempty"`
	BranchName                  string                  `json:"branchName,omitempty"`
	DefaultBranch               bool                    `json:"defaultBranch,omitempty"`
	UnspecifiedBranch           bool                    `json:"unspecifiedBranch,omitempty"`
	History                     bool                    `json:"history,omitempty"`
	Pinned                      bool                    `json:"pinned,omitempty"`
	Href                        string                  `json:"href,omitempty"`
	WebUrl                      string                  `json:"webUrl,omitempty"`
	QueuePosition               int32                   `json:"queuePosition,omitempty"`
	LimitedChangesCount         int32                   `json:"limitedChangesCount,omitempty"`
	ArtifactsDirectory          string                  `json:"artifactsDirectory,omitempty"`
	Links                       *Links                  `json:"links,omitempty"`
	StatusText                  string                  `json:"statusText,omitempty"`
	BuildType                   *BuildType              `json:"buildType,omitempty"`
	Comment                     *Comment                `json:"comment,omitempty"`
	Tags                        *Tags                   `json:"tags,omitempty"`
	PinInfo                     *Comment                `json:"pinInfo,omitempty"`
	User                        *User                   `json:"user,omitempty"`
	StartEstimate               string                  `json:"startEstimate,omitempty"`
	WaitReason                  string                  `json:"waitReason,omitempty"`
	FinishEstimate              string                  `json:"finishEstimate,omitempty"`
	DelayedByBuild              *Build                  `json:"delayedByBuild,omitempty"`
	PlannedAgent                *Agent                  `json:"plannedAgent,omitempty"`
	ApprovalInfo                *ApprovalInfo           `json:"approvalInfo,omitempty"`
	RunningInfo                 *ProgressInfo           `json:"running-info,omitempty"`
	CanceledInfo                *Comment                `json:"canceledInfo,omitempty"`
	QueuedDate                  string                  `json:"queuedDate,omitempty"`
	StartDate                   string                  `json:"startDate,omitempty"`
	FinishDate                  string                  `json:"finishDate,omitempty"`
	Triggered                   *TriggeredBy            `json:"triggered,omitempty"`
	LastChanges                 *Changes                `json:"lastChanges,omitempty"`
	Changes                     *Changes                `json:"changes,omitempty"`
	Revisions                   *Revisions              `json:"revisions,omitempty"`
	VersionedSettingsRevision   *Revision               `json:"versionedSettingsRevision,omitempty"`
	ArtifactDependencyChanges   *BuildChanges           `json:"artifactDependencyChanges,omitempty"`
	Agent                       *Agent                  `json:"agent,omitempty"`
	CompatibleAgents            *Agents                 `json:"compatibleAgents,omitempty"`
	TestOccurrences             *TestOccurrences        `json:"testOccurrences,omitempty"`
	ProblemOccurrences          *ProblemOccurrences     `json:"problemOccurrences,omitempty"`
	Artifacts                   *Files                  `json:"artifacts,omitempty"`
	RelatedIssues               *IssuesUsages           `json:"relatedIssues,omitempty"`
	Properties                  *Properties             `json:"properties,omitempty"`
	ResultingProperties         *Properties             `json:"resultingProperties,omitempty"`
	Attributes                  *Entries                `json:"attributes,omitempty"`
	Statistics                  *Properties             `json:"statistics,omitempty"`
	Metadata                    *Datas                  `json:"metadata,omitempty"`
	SnapshotDependencies        *Builds                 `json:"snapshot-dependencies,omitempty"`
	ArtifactDependencies        *Builds                 `json:"artifact-dependencies,omitempty"`
	CustomArtifactDependencies  *ArtifactDependencies   `json:"custom-artifact-dependencies,omitempty"`
	SettingsHash                string                  `json:"settingsHash,omitempty"`
	CurrentSettingsHash         string                  `json:"currentSettingsHash,omitempty"`
	ModificationId              string                  `json:"modificationId,omitempty"`
	ChainModificationId         string                  `json:"chainModificationId,omitempty"`
	ReplacementIds              *Items                  `json:"replacementIds,omitempty"`
	Related                     *Related                `json:"related,omitempty"`
	TriggeringOptions           *BuildTriggeringOptions `json:"triggeringOptions,omitempty"`
	UsedByOtherBuilds           bool                    `json:"usedByOtherBuilds,omitempty"`
	StatusChangeComment         *Comment                `json:"statusChangeComment,omitempty"`
	VcsLabels                   []VcsLabel              `json:"vcsLabels,omitempty"`
	DetachedFromAgent           bool                    `json:"detachedFromAgent,omitempty"`
	FinishOnAgentDate           string                  `json:"finishOnAgentDate,omitempty"`
	Customized                  bool                    `json:"customized,omitempty"`
	Customization               *Customizations         `json:"customization,omitempty"`
	ChangesCollectingInProgress bool                    `json:"changesCollectingInProgress,omitempty"`
	QueuedWaitReasons           *Properties             `json:"queuedWaitReasons,omitempty"`
	DownloadedArtifacts         *DownloadedArtifacts    `json:"downloadedArtifacts,omitempty"`
	FirstBuildWithSameChanges   *Build                  `json:"firstBuildWithSameChanges,omitempty"`
	Locator                     string                  `json:"locator,omitempty"`
}

Represents a build instance.

type BuildApiService

type BuildApiService service

func (*BuildApiService) AddBuildVcsLabel

func (a *BuildApiService) AddBuildVcsLabel(ctx context.Context, buildLocator string, localVarOptionals *AddBuildVcsLabelOpts) (VcsLabels, *http.Response, error)

func (*BuildApiService) AddLogMessageToBuild

func (a *BuildApiService) AddLogMessageToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddLogMessageToBuildOpts) (*http.Response, error)

func (*BuildApiService) AddProblemToBuild

func (a *BuildApiService) AddProblemToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddProblemToBuildOpts) (ProblemOccurrence, *http.Response, error)

func (*BuildApiService) AddTagsToBuild

func (a *BuildApiService) AddTagsToBuild(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToBuildOpts) (Tags, *http.Response, error)

func (*BuildApiService) AddTagsToMultipleBuilds

func (a *BuildApiService) AddTagsToMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) CancelBuild

func (a *BuildApiService) CancelBuild(ctx context.Context, buildLocator string, localVarOptionals *CancelBuildOpts) (Build, *http.Response, error)

func (*BuildApiService) CancelMultiple

func (a *BuildApiService) CancelMultiple(ctx context.Context, buildLocator string, localVarOptionals *CancelMultipleOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) DeleteBuild

func (a *BuildApiService) DeleteBuild(ctx context.Context, buildLocator string) (*http.Response, error)

BuildApiService Delete build matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

func (*BuildApiService) DeleteBuildComment

func (a *BuildApiService) DeleteBuildComment(ctx context.Context, buildLocator string) (*http.Response, error)

BuildApiService Remove the build comment matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

func (*BuildApiService) DeleteMultipleBuildComments

func (a *BuildApiService) DeleteMultipleBuildComments(ctx context.Context, buildLocator string, localVarOptionals *DeleteMultipleBuildCommentsOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) DeleteMultipleBuilds

func (a *BuildApiService) DeleteMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *DeleteMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) DownloadFileOfBuild

func (a *BuildApiService) DownloadFileOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *DownloadFileOfBuildOpts) (*http.Response, error)

func (*BuildApiService) GetAggregatedBuildStatus

func (a *BuildApiService) GetAggregatedBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get the build status of aggregated matching builds.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetAggregatedBuildStatusIcon

func (a *BuildApiService) GetAggregatedBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)

BuildApiService Get the status icon (in specified format) of aggregated matching builds.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param suffix

func (*BuildApiService) GetAllBuilds

func (a *BuildApiService) GetAllBuilds(ctx context.Context, localVarOptionals *GetAllBuildsOpts) (Builds, *http.Response, error)

func (*BuildApiService) GetArtifactDependencyChanges

func (a *BuildApiService) GetArtifactDependencyChanges(ctx context.Context, buildLocator string, localVarOptionals *GetArtifactDependencyChangesOpts) (BuildChanges, *http.Response, error)

func (*BuildApiService) GetArtifactsDirectory

func (a *BuildApiService) GetArtifactsDirectory(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get the artifacts&#39; directory of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetBuild

func (a *BuildApiService) GetBuild(ctx context.Context, buildLocator string, localVarOptionals *GetBuildOpts) (Build, *http.Response, error)

func (*BuildApiService) GetBuildActualParameters

func (a *BuildApiService) GetBuildActualParameters(ctx context.Context, buildLocator string, localVarOptionals *GetBuildActualParametersOpts) (Properties, *http.Response, error)

func (*BuildApiService) GetBuildField

func (a *BuildApiService) GetBuildField(ctx context.Context, buildLocator string, field string) (string, *http.Response, error)

BuildApiService Get a field of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param field

@return string

func (*BuildApiService) GetBuildFinishDate

func (a *BuildApiService) GetBuildFinishDate(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get the finish date of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetBuildNumber

func (a *BuildApiService) GetBuildNumber(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get the number of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetBuildPinInfo

func (a *BuildApiService) GetBuildPinInfo(ctx context.Context, buildLocator string, localVarOptionals *GetBuildPinInfoOpts) (PinInfo, *http.Response, error)

func (*BuildApiService) GetBuildProblems

func (a *BuildApiService) GetBuildProblems(ctx context.Context, buildLocator string, localVarOptionals *GetBuildProblemsOpts) (ProblemOccurrences, *http.Response, error)

func (*BuildApiService) GetBuildRelatedIssues

func (a *BuildApiService) GetBuildRelatedIssues(ctx context.Context, buildLocator string, localVarOptionals *GetBuildRelatedIssuesOpts) (IssuesUsages, *http.Response, error)

func (*BuildApiService) GetBuildResolved

func (a *BuildApiService) GetBuildResolved(ctx context.Context, buildLocator string, value string) (string, *http.Response, error)

BuildApiService Get the resolvement status of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param value

@return string

func (*BuildApiService) GetBuildResultingProperties

func (a *BuildApiService) GetBuildResultingProperties(ctx context.Context, buildLocator string, propertyName string) (string, *http.Response, error)

BuildApiService Update a build parameter of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param propertyName

@return string

func (*BuildApiService) GetBuildSourceFile

func (a *BuildApiService) GetBuildSourceFile(ctx context.Context, buildLocator string, fileName string) (*http.Response, error)

BuildApiService Get a source file of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param fileName

func (*BuildApiService) GetBuildStatisticValue

func (a *BuildApiService) GetBuildStatisticValue(ctx context.Context, buildLocator string, name string) (string, *http.Response, error)

BuildApiService Get a statistical value of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param name

@return string

func (*BuildApiService) GetBuildStatisticValues

func (a *BuildApiService) GetBuildStatisticValues(ctx context.Context, buildLocator string, localVarOptionals *GetBuildStatisticValuesOpts) (Properties, *http.Response, error)

func (*BuildApiService) GetBuildStatus

func (a *BuildApiService) GetBuildStatus(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get status of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetBuildStatusIcon

func (a *BuildApiService) GetBuildStatusIcon(ctx context.Context, buildLocator string, suffix string) (*http.Response, error)

BuildApiService Get the status icon (in specified format) of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator
  • @param suffix

func (*BuildApiService) GetBuildStatusText

func (a *BuildApiService) GetBuildStatusText(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Get the build status text of the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) GetBuildTags

func (a *BuildApiService) GetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *GetBuildTagsOpts) (Tags, *http.Response, error)

func (*BuildApiService) GetBuildTestOccurrences

func (a *BuildApiService) GetBuildTestOccurrences(ctx context.Context, buildLocator string, localVarOptionals *GetBuildTestOccurrencesOpts) (TestOccurrences, *http.Response, error)

func (*BuildApiService) GetBuildVcsLabels

func (a *BuildApiService) GetBuildVcsLabels(ctx context.Context, buildLocator string, localVarOptionals *GetBuildVcsLabelsOpts) (VcsLabels, *http.Response, error)

func (*BuildApiService) GetCanceledInfo

func (a *BuildApiService) GetCanceledInfo(ctx context.Context, buildLocator string, localVarOptionals *GetCanceledInfoOpts) (Comment, *http.Response, error)

func (*BuildApiService) GetFileMetadataOfBuild

func (a *BuildApiService) GetFileMetadataOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *GetFileMetadataOfBuildOpts) (*os.File, *http.Response, error)

func (*BuildApiService) GetFilesListForSubpathOfBuild

func (a *BuildApiService) GetFilesListForSubpathOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *GetFilesListForSubpathOfBuildOpts) (Files, *http.Response, error)

func (*BuildApiService) GetFilesListOfBuild

func (a *BuildApiService) GetFilesListOfBuild(ctx context.Context, buildLocator string, localVarOptionals *GetFilesListOfBuildOpts) (Files, *http.Response, error)

func (*BuildApiService) GetMultipleBuilds

func (a *BuildApiService) GetMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *GetMultipleBuildsOpts) (Builds, *http.Response, error)

func (*BuildApiService) GetZippedFileOfBuild

func (a *BuildApiService) GetZippedFileOfBuild(ctx context.Context, path string, buildLocator string, localVarOptionals *GetZippedFileOfBuildOpts) (*http.Response, error)

func (*BuildApiService) MarkBuildAsRunning

func (a *BuildApiService) MarkBuildAsRunning(ctx context.Context, buildLocator string, localVarOptionals *MarkBuildAsRunningOpts) (Build, *http.Response, error)

func (*BuildApiService) PinMultipleBuilds

func (a *BuildApiService) PinMultipleBuilds(ctx context.Context, buildLocator string, localVarOptionals *PinMultipleBuildsOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) RemoveMultipleBuildTags

func (a *BuildApiService) RemoveMultipleBuildTags(ctx context.Context, buildLocator string, localVarOptionals *RemoveMultipleBuildTagsOpts) (MultipleOperationResult, *http.Response, error)

func (*BuildApiService) ResetBuildFinishProperties

func (a *BuildApiService) ResetBuildFinishProperties(ctx context.Context, buildLocator string) (*http.Response, error)

BuildApiService Remove build parameters from the matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

func (*BuildApiService) SetBuildComment

func (a *BuildApiService) SetBuildComment(ctx context.Context, buildLocator string, localVarOptionals *SetBuildCommentOpts) (*http.Response, error)

func (*BuildApiService) SetBuildFinishDate

func (a *BuildApiService) SetBuildFinishDate(ctx context.Context, buildLocator string, localVarOptionals *SetBuildFinishDateOpts) (string, *http.Response, error)

func (*BuildApiService) SetBuildNumber

func (a *BuildApiService) SetBuildNumber(ctx context.Context, buildLocator string, localVarOptionals *SetBuildNumberOpts) (string, *http.Response, error)

func (*BuildApiService) SetBuildPinInfo

func (a *BuildApiService) SetBuildPinInfo(ctx context.Context, buildLocator string, localVarOptionals *SetBuildPinInfoOpts) (PinInfo, *http.Response, error)

func (*BuildApiService) SetBuildStatus

func (a *BuildApiService) SetBuildStatus(ctx context.Context, buildLocator string, localVarOptionals *SetBuildStatusOpts) (*http.Response, error)

func (*BuildApiService) SetBuildStatusText

func (a *BuildApiService) SetBuildStatusText(ctx context.Context, buildLocator string, localVarOptionals *SetBuildStatusTextOpts) (string, *http.Response, error)

func (*BuildApiService) SetBuildTags

func (a *BuildApiService) SetBuildTags(ctx context.Context, buildLocator string, localVarOptionals *SetBuildTagsOpts) (Tags, *http.Response, error)

func (*BuildApiService) SetFinishedTime

func (a *BuildApiService) SetFinishedTime(ctx context.Context, buildLocator string) (string, *http.Response, error)

BuildApiService Marks the running build as finished by passing agent the current time of the build to finish.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param buildLocator

@return string

func (*BuildApiService) SetMultipleBuildComments

func (a *BuildApiService) SetMultipleBuildComments(ctx context.Context, buildLocator string, localVarOptionals *SetMultipleBuildCommentsOpts) (MultipleOperationResult, *http.Response, error)

type BuildCancelRequest

type BuildCancelRequest struct {
	Comment        string `json:"comment,omitempty"`
	ReaddIntoQueue bool   `json:"readdIntoQueue,omitempty"`
}

Represents a cancel request for the specific build.

type BuildChange

type BuildChange struct {
	NextBuild *Build `json:"nextBuild,omitempty"`
	PrevBuild *Build `json:"prevBuild,omitempty"`
}

Represents links to the next or previous build.

type BuildChanges

type BuildChanges struct {
	Count       int32         `json:"count,omitempty"`
	BuildChange []BuildChange `json:"buildChange,omitempty"`
}

Represents a list of BuildChange entities.

type BuildLocator

type BuildLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Agent locator.
	Agent string `json:"agent,omitempty"`
	// typeId of agent used to execute build.
	AgentTypeId int32 `json:"agentTypeId,omitempty"`
	// State can be any.
	Any                bool   `json:"any,omitempty"`
	ArtifactDependency string `json:"artifactDependency,omitempty"`
	// Branch locator.
	Branch string `json:"branch,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// Is canceled.
	Canceled bool `json:"canceled,omitempty"`
	// Agent locator.
	CompatibleAgent string `json:"compatibleAgent,omitempty"`
	// Is composite.
	Composite bool `json:"composite,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// If true, applies default filter which returns only \"normal\" builds (finished builds which are not canceled, not failed-to-start, not personal, and on default branch (in branched build configurations)).
	DefaultFilter bool `json:"defaultFilter,omitempty"`
	// Is failed to start.
	FailedToStart bool `json:"failedToStart,omitempty"`
	// Requires either date or build dimension.
	FinishDate string `json:"finishDate,omitempty"`
	// Is finished.
	Finished bool `json:"finished,omitempty"`
	// Is hanging.
	Hanging bool `json:"hanging,omitempty"`
	// Is history build.
	History bool `json:"history,omitempty"`
	// Entity ID.
	Id int32 `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32  `json:"lookupLimit,omitempty"`
	Number      string `json:"number,omitempty"`
	// Is a personal build.
	Personal bool `json:"personal,omitempty"`
	// Is pinned.
	Pinned bool `json:"pinned,omitempty"`
	// Project (direct parent) locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
	// Is queued.
	Queued bool `json:"queued,omitempty"`
	// Requires either date or build dimension.
	QueuedDate string `json:"queuedDate,omitempty"`
	// Build revision.
	Revision string `json:"revision,omitempty"`
	// Is running.
	Running            bool   `json:"running,omitempty"`
	SnapshotDependency string `json:"snapshotDependency,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
	// Requires either date or build dimension.
	StartDate string `json:"startDate,omitempty"`
	State     string `json:"state,omitempty"`
	Status    string `json:"status,omitempty"`
	// Tag locator.
	Tag string `json:"tag,omitempty"`
	// ID of a build or build promotion.
	TaskId int32 `json:"taskId,omitempty"`
	// For personal builds checks the owner of the build, triggerring user in other cases.
	User string `json:"user,omitempty"`
}

Represents a locator string for filtering Build entities.

type BuildQueueApiService

type BuildQueueApiService service

func (*BuildQueueApiService) AddBuildToQueue

func (a *BuildQueueApiService) AddBuildToQueue(ctx context.Context, localVarOptionals *AddBuildToQueueOpts) (Build, *http.Response, error)

func (*BuildQueueApiService) AddTagsToBuildOfBuildQueue

func (a *BuildQueueApiService) AddTagsToBuildOfBuildQueue(ctx context.Context, buildLocator string, localVarOptionals *AddTagsToBuildOfBuildQueueOpts) (*http.Response, error)

func (*BuildQueueApiService) ApproveQueuedBuild

func (a *BuildQueueApiService) ApproveQueuedBuild(ctx context.Context, buildLocator string, localVarOptionals *ApproveQueuedBuildOpts) (ApprovalInfo, *http.Response, error)

func (*BuildQueueApiService) CancelQueuedBuild

func (a *BuildQueueApiService) CancelQueuedBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *CancelQueuedBuildOpts) (Build, *http.Response, error)

func (*BuildQueueApiService) DeleteAllQueuedBuilds

func (a *BuildQueueApiService) DeleteAllQueuedBuilds(ctx context.Context, localVarOptionals *DeleteAllQueuedBuildsOpts) (*http.Response, error)

func (*BuildQueueApiService) DeleteQueuedBuild

func (a *BuildQueueApiService) DeleteQueuedBuild(ctx context.Context, queuedBuildLocator string) (*http.Response, error)

BuildQueueApiService Delete a queued matching build.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param queuedBuildLocator

func (*BuildQueueApiService) GetAllQueuedBuilds

func (a *BuildQueueApiService) GetAllQueuedBuilds(ctx context.Context, localVarOptionals *GetAllQueuedBuildsOpts) (Builds, *http.Response, error)

func (*BuildQueueApiService) GetApprovalInfo

func (a *BuildQueueApiService) GetApprovalInfo(ctx context.Context, buildLocator string, localVarOptionals *GetApprovalInfoOpts) (ApprovalInfo, *http.Response, error)

func (*BuildQueueApiService) GetCompatibleAgentsForBuild

func (a *BuildQueueApiService) GetCompatibleAgentsForBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *GetCompatibleAgentsForBuildOpts) (Agents, *http.Response, error)

func (*BuildQueueApiService) GetQueuedBuild

func (a *BuildQueueApiService) GetQueuedBuild(ctx context.Context, queuedBuildLocator string, localVarOptionals *GetQueuedBuildOpts) (Build, *http.Response, error)

func (*BuildQueueApiService) GetQueuedBuildPosition

func (a *BuildQueueApiService) GetQueuedBuildPosition(ctx context.Context, queuePosition string, localVarOptionals *GetQueuedBuildPositionOpts) (Build, *http.Response, error)

func (*BuildQueueApiService) GetQueuedBuildTags

func (a *BuildQueueApiService) GetQueuedBuildTags(ctx context.Context, buildLocator string, localVarOptionals *GetQueuedBuildTagsOpts) (Tags, *http.Response, error)

func (*BuildQueueApiService) SetQueuedBuildPosition

func (a *BuildQueueApiService) SetQueuedBuildPosition(ctx context.Context, queuePosition string, localVarOptionals *SetQueuedBuildPositionOpts) (Build, *http.Response, error)

func (*BuildQueueApiService) SetQueuedBuildsOrder

func (a *BuildQueueApiService) SetQueuedBuildsOrder(ctx context.Context, localVarOptionals *SetQueuedBuildsOrderOpts) (Builds, *http.Response, error)

type BuildQueueLocator

type BuildQueueLocator struct {
	// Agent locator.
	Agent string `json:"agent,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Entity ID.
	Id int32 `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Is personal.
	Personal bool `json:"personal,omitempty"`
	// Agent pool locator.
	Pool string `json:"pool,omitempty"`
	// Project locator.
	Project string `json:"project,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start  int32  `json:"start,omitempty"`
	TaskId string `json:"taskId,omitempty"`
	// User locator.
	User string `json:"user,omitempty"`
}

Represents a locator string for filtering Build entities.

type BuildStatusUpdate

type BuildStatusUpdate struct {
	Status  string `json:"status,omitempty"`
	Comment string `json:"comment,omitempty"`
}

type BuildTriggerCustomization

type BuildTriggerCustomization struct {
	EnforceCleanCheckout                bool        `json:"enforceCleanCheckout,omitempty"`
	EnforceCleanCheckoutForDependencies bool        `json:"enforceCleanCheckoutForDependencies,omitempty"`
	Parameters                          *Properties `json:"parameters,omitempty"`
}

Represents build customization settings of a trigger

type BuildTriggeringOptions

type BuildTriggeringOptions struct {
	CleanSources                          bool        `json:"cleanSources,omitempty"`
	CleanSourcesInAllDependencies         bool        `json:"cleanSourcesInAllDependencies,omitempty"`
	RebuildAllDependencies                bool        `json:"rebuildAllDependencies,omitempty"`
	RebuildFailedOrIncompleteDependencies bool        `json:"rebuildFailedOrIncompleteDependencies,omitempty"`
	QueueAtTop                            bool        `json:"queueAtTop,omitempty"`
	FreezeSettings                        bool        `json:"freezeSettings,omitempty"`
	TagDependencies                       bool        `json:"tagDependencies,omitempty"`
	RebuildDependencies                   *BuildTypes `json:"rebuildDependencies,omitempty"`
}

Represents the dependency/queue settings with which this build has been started.

type BuildType

type BuildType struct {
	Id                    string                `json:"id,omitempty"`
	InternalId            string                `json:"internalId,omitempty"`
	Name                  string                `json:"name,omitempty"`
	TemplateFlag          bool                  `json:"templateFlag,omitempty"`
	Type_                 string                `json:"type,omitempty"`
	Paused                bool                  `json:"paused,omitempty"`
	Uuid                  string                `json:"uuid,omitempty"`
	Description           string                `json:"description,omitempty"`
	ProjectName           string                `json:"projectName,omitempty"`
	ProjectId             string                `json:"projectId,omitempty"`
	ProjectInternalId     string                `json:"projectInternalId,omitempty"`
	Href                  string                `json:"href,omitempty"`
	WebUrl                string                `json:"webUrl,omitempty"`
	Inherited             bool                  `json:"inherited,omitempty"`
	Links                 *Links                `json:"links,omitempty"`
	Project               *Project              `json:"project,omitempty"`
	Templates             *BuildTypes           `json:"templates,omitempty"`
	Template              *BuildType            `json:"template,omitempty"`
	VcsRootEntries        *VcsRootEntries       `json:"vcs-root-entries,omitempty"`
	Settings              *Properties           `json:"settings,omitempty"`
	Parameters            *Properties           `json:"parameters,omitempty"`
	Steps                 *Steps                `json:"steps,omitempty"`
	Features              *Features             `json:"features,omitempty"`
	Triggers              *Triggers             `json:"triggers,omitempty"`
	SnapshotDependencies  *SnapshotDependencies `json:"snapshot-dependencies,omitempty"`
	ArtifactDependencies  *ArtifactDependencies `json:"artifact-dependencies,omitempty"`
	AgentRequirements     *AgentRequirements    `json:"agent-requirements,omitempty"`
	Branches              *Branches             `json:"branches,omitempty"`
	Builds                *Builds               `json:"builds,omitempty"`
	Investigations        *Investigations       `json:"investigations,omitempty"`
	CompatibleAgents      *Agents               `json:"compatibleAgents,omitempty"`
	VcsRootInstances      *VcsRootInstances     `json:"vcsRootInstances,omitempty"`
	ExternalStatusAllowed bool                  `json:"externalStatusAllowed,omitempty"`
	PauseComment          *Comment              `json:"pauseComment,omitempty"`
	Locator               string                `json:"locator,omitempty"`
}

Represents a build configuration.

type BuildTypeApiService

type BuildTypeApiService service

func (*BuildTypeApiService) AddAgentRequirementToBuildType

func (a *BuildTypeApiService) AddAgentRequirementToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddAgentRequirementToBuildTypeOpts) (AgentRequirement, *http.Response, error)

func (*BuildTypeApiService) AddArtifactDependencyToBuildType

func (a *BuildTypeApiService) AddArtifactDependencyToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddArtifactDependencyToBuildTypeOpts) (ArtifactDependency, *http.Response, error)

func (*BuildTypeApiService) AddBuildFeatureToBuildType

func (a *BuildTypeApiService) AddBuildFeatureToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddBuildFeatureToBuildTypeOpts) (Feature, *http.Response, error)

func (*BuildTypeApiService) AddBuildStepToBuildType

func (a *BuildTypeApiService) AddBuildStepToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddBuildStepToBuildTypeOpts) (Step, *http.Response, error)

func (*BuildTypeApiService) AddBuildTemplate

func (a *BuildTypeApiService) AddBuildTemplate(ctx context.Context, btLocator string, localVarOptionals *AddBuildTemplateOpts) (BuildType, *http.Response, error)

func (*BuildTypeApiService) AddParameterToBuildFeature

func (a *BuildTypeApiService) AddParameterToBuildFeature(ctx context.Context, btLocator string, featureId string, parameterName string, localVarOptionals *AddParameterToBuildFeatureOpts) (string, *http.Response, error)

func (*BuildTypeApiService) AddParameterToBuildStep

func (a *BuildTypeApiService) AddParameterToBuildStep(ctx context.Context, btLocator string, stepId string, parameterName string, localVarOptionals *AddParameterToBuildStepOpts) (string, *http.Response, error)

func (*BuildTypeApiService) AddSnapshotDependencyToBuildType

func (a *BuildTypeApiService) AddSnapshotDependencyToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddSnapshotDependencyToBuildTypeOpts) (SnapshotDependency, *http.Response, error)

func (*BuildTypeApiService) AddTriggerToBuildType

func (a *BuildTypeApiService) AddTriggerToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddTriggerToBuildTypeOpts) (Trigger, *http.Response, error)

func (*BuildTypeApiService) AddVcsRootToBuildType

func (a *BuildTypeApiService) AddVcsRootToBuildType(ctx context.Context, btLocator string, localVarOptionals *AddVcsRootToBuildTypeOpts) (VcsRootEntry, *http.Response, error)

func (*BuildTypeApiService) CreateBuildParameterOfBuildType

func (a *BuildTypeApiService) CreateBuildParameterOfBuildType(ctx context.Context, btLocator string, localVarOptionals *CreateBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)

func (*BuildTypeApiService) CreateBuildType

func (a *BuildTypeApiService) CreateBuildType(ctx context.Context, localVarOptionals *CreateBuildTypeOpts) (BuildType, *http.Response, error)

func (*BuildTypeApiService) DeleteAgentRequirement

func (a *BuildTypeApiService) DeleteAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string) (*http.Response, error)

BuildTypeApiService Remove an agent requirement of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param agentRequirementLocator

func (*BuildTypeApiService) DeleteArtifactDependency

func (a *BuildTypeApiService) DeleteArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string) (*http.Response, error)

BuildTypeApiService Remove an artifact dependency from the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param artifactDepLocator

func (*BuildTypeApiService) DeleteBuildParameterOfBuildType

func (a *BuildTypeApiService) DeleteBuildParameterOfBuildType(ctx context.Context, name string, btLocator string) (*http.Response, error)

BuildTypeApiService Delete build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param btLocator

func (*BuildTypeApiService) DeleteBuildParametersOfBuildType

func (a *BuildTypeApiService) DeleteBuildParametersOfBuildType(ctx context.Context, btLocator string) (*http.Response, error)

BuildTypeApiService Delete all build parameters.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator

func (*BuildTypeApiService) DeleteBuildStep

func (a *BuildTypeApiService) DeleteBuildStep(ctx context.Context, btLocator string, stepId string) (*http.Response, error)

BuildTypeApiService Delete a build step of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param stepId

func (*BuildTypeApiService) DeleteBuildStepParameters

func (a *BuildTypeApiService) DeleteBuildStepParameters(ctx context.Context, btLocator string, stepId string, localVarOptionals *DeleteBuildStepParametersOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) DeleteBuildType

func (a *BuildTypeApiService) DeleteBuildType(ctx context.Context, btLocator string) (*http.Response, error)

BuildTypeApiService Delete build configuration matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator

func (*BuildTypeApiService) DeleteFeatureOfBuildType

func (a *BuildTypeApiService) DeleteFeatureOfBuildType(ctx context.Context, btLocator string, featureId string) (*http.Response, error)

BuildTypeApiService Remove a build feature of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param featureId

func (*BuildTypeApiService) DeleteSnapshotDependency

func (a *BuildTypeApiService) DeleteSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string) (*http.Response, error)

BuildTypeApiService Delete a snapshot dependency of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param snapshotDepLocator

func (*BuildTypeApiService) DeleteTrigger

func (a *BuildTypeApiService) DeleteTrigger(ctx context.Context, btLocator string, triggerLocator string) (*http.Response, error)

BuildTypeApiService Delete a trigger of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param triggerLocator

func (*BuildTypeApiService) DeleteVcsRootOfBuildType

func (a *BuildTypeApiService) DeleteVcsRootOfBuildType(ctx context.Context, btLocator string, vcsRootLocator string) (*http.Response, error)

BuildTypeApiService Remove a VCS root of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param vcsRootLocator

func (*BuildTypeApiService) DownloadFileOfBuildType

func (a *BuildTypeApiService) DownloadFileOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *DownloadFileOfBuildTypeOpts) (*http.Response, error)

func (*BuildTypeApiService) GetAgentRequirement

func (a *BuildTypeApiService) GetAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, localVarOptionals *GetAgentRequirementOpts) (AgentRequirement, *http.Response, error)

func (*BuildTypeApiService) GetAgentRequirementParameter

func (a *BuildTypeApiService) GetAgentRequirementParameter(ctx context.Context, btLocator string, agentRequirementLocator string, fieldName string) (string, *http.Response, error)

BuildTypeApiService Get a setting of an agent requirement of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param agentRequirementLocator
  • @param fieldName

@return string

func (*BuildTypeApiService) GetAliases

func (a *BuildTypeApiService) GetAliases(ctx context.Context, btLocator string, localVarOptionals *GetAliasesOpts) (Items, *http.Response, error)

func (*BuildTypeApiService) GetAllAgentRequirements

func (a *BuildTypeApiService) GetAllAgentRequirements(ctx context.Context, btLocator string, localVarOptionals *GetAllAgentRequirementsOpts) (AgentRequirements, *http.Response, error)

func (*BuildTypeApiService) GetAllArtifactDependencies

func (a *BuildTypeApiService) GetAllArtifactDependencies(ctx context.Context, btLocator string, localVarOptionals *GetAllArtifactDependenciesOpts) (ArtifactDependencies, *http.Response, error)

func (*BuildTypeApiService) GetAllBranchesOfBuildType

func (a *BuildTypeApiService) GetAllBranchesOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllBranchesOfBuildTypeOpts) (Branches, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildFeatureParameters

func (a *BuildTypeApiService) GetAllBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, localVarOptionals *GetAllBuildFeatureParametersOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildFeatures

func (a *BuildTypeApiService) GetAllBuildFeatures(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildFeaturesOpts) (Features, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildStepParameters

func (a *BuildTypeApiService) GetAllBuildStepParameters(ctx context.Context, btLocator string, stepId string, localVarOptionals *GetAllBuildStepParametersOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildSteps

func (a *BuildTypeApiService) GetAllBuildSteps(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildStepsOpts) (Steps, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildTemplates

func (a *BuildTypeApiService) GetAllBuildTemplates(ctx context.Context, btLocator string, localVarOptionals *GetAllBuildTemplatesOpts) (BuildTypes, *http.Response, error)

func (*BuildTypeApiService) GetAllBuildTypes

func (a *BuildTypeApiService) GetAllBuildTypes(ctx context.Context, localVarOptionals *GetAllBuildTypesOpts) (BuildTypes, *http.Response, error)

func (*BuildTypeApiService) GetAllInvestigationsOfBuildType

func (a *BuildTypeApiService) GetAllInvestigationsOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllInvestigationsOfBuildTypeOpts) (Investigations, *http.Response, error)

func (*BuildTypeApiService) GetAllSnapshotDependencies

func (a *BuildTypeApiService) GetAllSnapshotDependencies(ctx context.Context, btLocator string, localVarOptionals *GetAllSnapshotDependenciesOpts) (SnapshotDependencies, *http.Response, error)

func (*BuildTypeApiService) GetAllTriggers

func (a *BuildTypeApiService) GetAllTriggers(ctx context.Context, btLocator string, localVarOptionals *GetAllTriggersOpts) (Triggers, *http.Response, error)

func (*BuildTypeApiService) GetAllVcsRootsOfBuildType

func (a *BuildTypeApiService) GetAllVcsRootsOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetAllVcsRootsOfBuildTypeOpts) (VcsRootEntries, *http.Response, error)

func (*BuildTypeApiService) GetArtifactDependency

func (a *BuildTypeApiService) GetArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, localVarOptionals *GetArtifactDependencyOpts) (ArtifactDependency, *http.Response, error)

func (*BuildTypeApiService) GetArtifactDependencyParameter

func (a *BuildTypeApiService) GetArtifactDependencyParameter(ctx context.Context, btLocator string, artifactDepLocator string, fieldName string) (string, *http.Response, error)

BuildTypeApiService Get a parameter of an artifact dependency of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param artifactDepLocator
  • @param fieldName

@return string

func (*BuildTypeApiService) GetBuildFeature

func (a *BuildTypeApiService) GetBuildFeature(ctx context.Context, btLocator string, featureId string, localVarOptionals *GetBuildFeatureOpts) (Feature, *http.Response, error)

func (*BuildTypeApiService) GetBuildFeatureParameter

func (a *BuildTypeApiService) GetBuildFeatureParameter(ctx context.Context, btLocator string, featureId string, parameterName string) (string, *http.Response, error)

BuildTypeApiService Get a parameter of a build feature of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param featureId
  • @param parameterName

@return string

func (*BuildTypeApiService) GetBuildFeatureSetting

func (a *BuildTypeApiService) GetBuildFeatureSetting(ctx context.Context, btLocator string, featureId string, name string) (string, *http.Response, error)

BuildTypeApiService Get the setting of a build feature of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param featureId
  • @param name

@return string

func (*BuildTypeApiService) GetBuildParameterOfBuildType

func (a *BuildTypeApiService) GetBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *GetBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)

func (*BuildTypeApiService) GetBuildParameterSpecificationOfBuildType

func (a *BuildTypeApiService) GetBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)

BuildTypeApiService Get build parameter specification.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param btLocator

@return string

func (*BuildTypeApiService) GetBuildParameterTypeOfBuildType

func (a *BuildTypeApiService) GetBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string) (ModelType, *http.Response, error)

BuildTypeApiService Get type of build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param btLocator

@return ModelType

func (*BuildTypeApiService) GetBuildParameterValueOfBuildType

func (a *BuildTypeApiService) GetBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string) (string, *http.Response, error)

BuildTypeApiService Get value of build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param btLocator

@return string

func (*BuildTypeApiService) GetBuildParametersOfBuildType

func (a *BuildTypeApiService) GetBuildParametersOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetBuildParametersOfBuildTypeOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) GetBuildStep

func (a *BuildTypeApiService) GetBuildStep(ctx context.Context, btLocator string, stepId string, localVarOptionals *GetBuildStepOpts) (Step, *http.Response, error)

func (*BuildTypeApiService) GetBuildStepParameter

func (a *BuildTypeApiService) GetBuildStepParameter(ctx context.Context, btLocator string, stepId string, parameterName string) (string, *http.Response, error)

BuildTypeApiService Get a parameter of a build step of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param stepId
  • @param parameterName

@return string

func (*BuildTypeApiService) GetBuildStepSetting

func (a *BuildTypeApiService) GetBuildStepSetting(ctx context.Context, btLocator string, stepId string, fieldName string) (string, *http.Response, error)

BuildTypeApiService Get the setting of a build step of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param stepId
  • @param fieldName

@return string

func (*BuildTypeApiService) GetBuildTemplate

func (a *BuildTypeApiService) GetBuildTemplate(ctx context.Context, btLocator string, templateLocator string, localVarOptionals *GetBuildTemplateOpts) (BuildType, *http.Response, error)

func (*BuildTypeApiService) GetBuildType

func (a *BuildTypeApiService) GetBuildType(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeOpts) (BuildType, *http.Response, error)

func (*BuildTypeApiService) GetBuildTypeBuildTags

func (a *BuildTypeApiService) GetBuildTypeBuildTags(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeBuildTagsOpts) (Tags, *http.Response, error)

func (*BuildTypeApiService) GetBuildTypeBuilds

func (a *BuildTypeApiService) GetBuildTypeBuilds(ctx context.Context, btLocator string, localVarOptionals *GetBuildTypeBuildsOpts) (Builds, *http.Response, error)

func (*BuildTypeApiService) GetBuildTypeField

func (a *BuildTypeApiService) GetBuildTypeField(ctx context.Context, btLocator string, field string) (string, *http.Response, error)

BuildTypeApiService Get a field of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param field

@return string

func (*BuildTypeApiService) GetBuildTypeSettingsFile

func (a *BuildTypeApiService) GetBuildTypeSettingsFile(ctx context.Context, btLocator string) (string, *http.Response, error)

BuildTypeApiService Get the settings file of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator

@return string

func (*BuildTypeApiService) GetFileMetadataOfBuildType

func (a *BuildTypeApiService) GetFileMetadataOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *GetFileMetadataOfBuildTypeOpts) (*os.File, *http.Response, error)

func (*BuildTypeApiService) GetFilesListForSubpathOfBuildType

func (a *BuildTypeApiService) GetFilesListForSubpathOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *GetFilesListForSubpathOfBuildTypeOpts) (Files, *http.Response, error)

func (*BuildTypeApiService) GetFilesListOfBuildType

func (a *BuildTypeApiService) GetFilesListOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetFilesListOfBuildTypeOpts) (Files, *http.Response, error)

func (*BuildTypeApiService) GetSnapshotDependency

func (a *BuildTypeApiService) GetSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, localVarOptionals *GetSnapshotDependencyOpts) (SnapshotDependency, *http.Response, error)

func (*BuildTypeApiService) GetTrigger

func (a *BuildTypeApiService) GetTrigger(ctx context.Context, btLocator string, triggerLocator string, localVarOptionals *GetTriggerOpts) (Trigger, *http.Response, error)

func (*BuildTypeApiService) GetTriggerParameter

func (a *BuildTypeApiService) GetTriggerParameter(ctx context.Context, btLocator string, triggerLocator string, fieldName string) (string, *http.Response, error)

BuildTypeApiService Get a parameter of a trigger of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param triggerLocator
  • @param fieldName

@return string

func (*BuildTypeApiService) GetVcsRoot

func (a *BuildTypeApiService) GetVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *GetVcsRootOpts) (VcsRootEntry, *http.Response, error)

func (*BuildTypeApiService) GetVcsRootCheckoutRules

func (a *BuildTypeApiService) GetVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string) (string, *http.Response, error)

BuildTypeApiService Get checkout rules of a VCS root of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param btLocator
  • @param vcsRootLocator

@return string

func (*BuildTypeApiService) GetVcsRootInstancesOfBuildType

func (a *BuildTypeApiService) GetVcsRootInstancesOfBuildType(ctx context.Context, btLocator string, localVarOptionals *GetVcsRootInstancesOfBuildTypeOpts) (VcsRootInstances, *http.Response, error)

func (*BuildTypeApiService) GetZippedFileOfBuildType

func (a *BuildTypeApiService) GetZippedFileOfBuildType(ctx context.Context, path string, btLocator string, localVarOptionals *GetZippedFileOfBuildTypeOpts) (*http.Response, error)

func (*BuildTypeApiService) RemoveAllTemplates

func (a *BuildTypeApiService) RemoveAllTemplates(ctx context.Context, btLocator string, localVarOptionals *RemoveAllTemplatesOpts) (*http.Response, error)

func (*BuildTypeApiService) RemoveTemplate

func (a *BuildTypeApiService) RemoveTemplate(ctx context.Context, btLocator string, templateLocator string, localVarOptionals *RemoveTemplateOpts) (*http.Response, error)

func (*BuildTypeApiService) ReplaceAgentRequirement

func (a *BuildTypeApiService) ReplaceAgentRequirement(ctx context.Context, btLocator string, agentRequirementLocator string, localVarOptionals *ReplaceAgentRequirementOpts) (AgentRequirement, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllAgentRequirements

func (a *BuildTypeApiService) ReplaceAllAgentRequirements(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllAgentRequirementsOpts) (AgentRequirements, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllArtifactDependencies

func (a *BuildTypeApiService) ReplaceAllArtifactDependencies(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllArtifactDependenciesOpts) (ArtifactDependencies, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllBuildFeatures

func (a *BuildTypeApiService) ReplaceAllBuildFeatures(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllBuildFeaturesOpts) (Features, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllBuildSteps

func (a *BuildTypeApiService) ReplaceAllBuildSteps(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllBuildStepsOpts) (Steps, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllSnapshotDependencies

func (a *BuildTypeApiService) ReplaceAllSnapshotDependencies(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllSnapshotDependenciesOpts) (SnapshotDependencies, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllTriggers

func (a *BuildTypeApiService) ReplaceAllTriggers(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllTriggersOpts) (Triggers, *http.Response, error)

func (*BuildTypeApiService) ReplaceAllVcsRoots

func (a *BuildTypeApiService) ReplaceAllVcsRoots(ctx context.Context, btLocator string, localVarOptionals *ReplaceAllVcsRootsOpts) (VcsRootEntries, *http.Response, error)

func (*BuildTypeApiService) ReplaceArtifactDependency

func (a *BuildTypeApiService) ReplaceArtifactDependency(ctx context.Context, btLocator string, artifactDepLocator string, localVarOptionals *ReplaceArtifactDependencyOpts) (ArtifactDependency, *http.Response, error)

func (*BuildTypeApiService) ReplaceBuildFeature

func (a *BuildTypeApiService) ReplaceBuildFeature(ctx context.Context, btLocator string, featureId string, localVarOptionals *ReplaceBuildFeatureOpts) (Feature, *http.Response, error)

func (*BuildTypeApiService) ReplaceBuildFeatureParameters

func (a *BuildTypeApiService) ReplaceBuildFeatureParameters(ctx context.Context, btLocator string, featureId string, localVarOptionals *ReplaceBuildFeatureParametersOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) ReplaceBuildStep

func (a *BuildTypeApiService) ReplaceBuildStep(ctx context.Context, btLocator string, stepId string, localVarOptionals *ReplaceBuildStepOpts) (Step, *http.Response, error)

func (*BuildTypeApiService) ReplaceSnapshotDependency

func (a *BuildTypeApiService) ReplaceSnapshotDependency(ctx context.Context, btLocator string, snapshotDepLocator string, localVarOptionals *ReplaceSnapshotDependencyOpts) (SnapshotDependency, *http.Response, error)

func (*BuildTypeApiService) ReplaceTrigger

func (a *BuildTypeApiService) ReplaceTrigger(ctx context.Context, btLocator string, triggerLocator string, localVarOptionals *ReplaceTriggerOpts) (Trigger, *http.Response, error)

func (*BuildTypeApiService) SetAgentRequirementParameter

func (a *BuildTypeApiService) SetAgentRequirementParameter(ctx context.Context, btLocator string, agentRequirementLocator string, fieldName string, localVarOptionals *SetAgentRequirementParameterOpts) (string, *http.Response, error)

func (*BuildTypeApiService) SetArtifactDependencyParameter

func (a *BuildTypeApiService) SetArtifactDependencyParameter(ctx context.Context, btLocator string, artifactDepLocator string, fieldName string, localVarOptionals *SetArtifactDependencyParameterOpts) (string, *http.Response, error)

func (*BuildTypeApiService) SetBuildFeatureParameter

func (a *BuildTypeApiService) SetBuildFeatureParameter(ctx context.Context, btLocator string, featureId string, name string, localVarOptionals *SetBuildFeatureParameterOpts) (string, *http.Response, error)

func (*BuildTypeApiService) SetBuildStepParameter

func (a *BuildTypeApiService) SetBuildStepParameter(ctx context.Context, btLocator string, stepId string, fieldName string, localVarOptionals *SetBuildStepParameterOpts) (string, *http.Response, error)

func (*BuildTypeApiService) SetBuildTypeField

func (a *BuildTypeApiService) SetBuildTypeField(ctx context.Context, btLocator string, field string, localVarOptionals *SetBuildTypeFieldOpts) (string, *http.Response, error)

func (*BuildTypeApiService) SetBuildTypeTemplates

func (a *BuildTypeApiService) SetBuildTypeTemplates(ctx context.Context, btLocator string, localVarOptionals *SetBuildTypeTemplatesOpts) (BuildTypes, *http.Response, error)

func (*BuildTypeApiService) SetTriggerParameter

func (a *BuildTypeApiService) SetTriggerParameter(ctx context.Context, btLocator string, triggerLocator string, fieldName string, localVarOptionals *SetTriggerParameterOpts) (string, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildParameterOfBuildType

func (a *BuildTypeApiService) UpdateBuildParameterOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterOfBuildTypeOpts) (Property, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildParameterSpecificationOfBuildType

func (a *BuildTypeApiService) UpdateBuildParameterSpecificationOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterSpecificationOfBuildTypeOpts) (string, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildParameterTypeOfBuildType

func (a *BuildTypeApiService) UpdateBuildParameterTypeOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterTypeOfBuildTypeOpts) (ModelType, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildParameterValueOfBuildType

func (a *BuildTypeApiService) UpdateBuildParameterValueOfBuildType(ctx context.Context, name string, btLocator string, localVarOptionals *UpdateBuildParameterValueOfBuildTypeOpts) (string, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildParametersOfBuildType

func (a *BuildTypeApiService) UpdateBuildParametersOfBuildType(ctx context.Context, btLocator string, localVarOptionals *UpdateBuildParametersOfBuildTypeOpts) (Properties, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildTypeVcsRoot

func (a *BuildTypeApiService) UpdateBuildTypeVcsRoot(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *UpdateBuildTypeVcsRootOpts) (VcsRootEntry, *http.Response, error)

func (*BuildTypeApiService) UpdateBuildTypeVcsRootCheckoutRules

func (a *BuildTypeApiService) UpdateBuildTypeVcsRootCheckoutRules(ctx context.Context, btLocator string, vcsRootLocator string, localVarOptionals *UpdateBuildTypeVcsRootCheckoutRulesOpts) (string, *http.Response, error)

type BuildTypeLocator

type BuildTypeLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count      int32  `json:"count,omitempty"`
	Id         string `json:"id,omitempty"`
	InternalId string `json:"internalId,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Name string `json:"name,omitempty"`
	// Is paused.
	Paused bool `json:"paused,omitempty"`
	// Project (direct parent) locator.
	Project string `json:"project,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
	// Base template locator.
	Template string `json:"template,omitempty"`
	// Is a template.
	TemplateFlag bool   `json:"templateFlag,omitempty"`
	Uuid         string `json:"uuid,omitempty"`
	// VCS root locator.
	VcsRoot string `json:"vcsRoot,omitempty"`
	// VCS root instance locator.
	VcsRootInstance string `json:"vcsRootInstance,omitempty"`
}

Represents a locator string for filtering BuildType entities.

type BuildTypes

type BuildTypes struct {
	Count     int32       `json:"count,omitempty"`
	Href      string      `json:"href,omitempty"`
	NextHref  string      `json:"nextHref,omitempty"`
	PrevHref  string      `json:"prevHref,omitempty"`
	BuildType []BuildType `json:"buildType,omitempty"`
}

Represents a paginated list of BuildType entities.

type Builds

type Builds struct {
	Href     string  `json:"href,omitempty"`
	Build    []Build `json:"build,omitempty"`
	NextHref string  `json:"nextHref,omitempty"`
	PrevHref string  `json:"prevHref,omitempty"`
	Count    int32   `json:"count,omitempty"`
}

Represents a paginated list of Build entities.

type CancelBuildOpts

type CancelBuildOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type CancelMultipleOpts

type CancelMultipleOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type CancelQueuedBuildOpts

type CancelQueuedBuildOpts struct {
	Body optional.Interface
}

type Change

type Change struct {
	Id                     int64                   `json:"id,omitempty"`
	Version                string                  `json:"version,omitempty"`
	InternalVersion        string                  `json:"internalVersion,omitempty"`
	Username               string                  `json:"username,omitempty"`
	Date                   string                  `json:"date,omitempty"`
	RegistrationDate       string                  `json:"registrationDate,omitempty"`
	Personal               bool                    `json:"personal,omitempty"`
	Href                   string                  `json:"href,omitempty"`
	WebUrl                 string                  `json:"webUrl,omitempty"`
	Comment                string                  `json:"comment,omitempty"`
	User                   *User                   `json:"user,omitempty"`
	Type_                  string                  `json:"type,omitempty"`
	SnapshotDependencyLink *SnapshotDependencyLink `json:"snapshotDependencyLink,omitempty"`
	Files                  *FileChanges            `json:"files,omitempty"`
	VcsRootInstance        *VcsRootInstance        `json:"vcsRootInstance,omitempty"`
	ParentChanges          *Changes                `json:"parentChanges,omitempty"`
	ParentRevisions        *Items                  `json:"parentRevisions,omitempty"`
	Attributes             *Properties             `json:"attributes,omitempty"`
	StoresProjectSettings  bool                    `json:"storesProjectSettings,omitempty"`
	Status                 *ChangeStatus           `json:"status,omitempty"`
	Commiter               *Commiter               `json:"commiter,omitempty"`
	CanEditComment         bool                    `json:"canEditComment,omitempty"`
	Locator                string                  `json:"locator,omitempty"`
}

Represents a VCS change (commit).

type ChangeApiService

type ChangeApiService service

func (*ChangeApiService) GetAllChanges

func (a *ChangeApiService) GetAllChanges(ctx context.Context, localVarOptionals *GetAllChangesOpts) (Changes, *http.Response, error)

func (*ChangeApiService) GetChange

func (a *ChangeApiService) GetChange(ctx context.Context, changeLocator string, localVarOptionals *GetChangeOpts) (Change, *http.Response, error)

func (*ChangeApiService) GetChangeAttributes

func (a *ChangeApiService) GetChangeAttributes(ctx context.Context, changeLocator string, localVarOptionals *GetChangeAttributesOpts) (Entries, *http.Response, error)

func (*ChangeApiService) GetChangeDuplicates

func (a *ChangeApiService) GetChangeDuplicates(ctx context.Context, changeLocator string, localVarOptionals *GetChangeDuplicatesOpts) (Changes, *http.Response, error)

func (*ChangeApiService) GetChangeField

func (a *ChangeApiService) GetChangeField(ctx context.Context, changeLocator string, field string) (string, *http.Response, error)

ChangeApiService Get a field of the matching change.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param changeLocator
  • @param field

@return string

func (*ChangeApiService) GetChangeIssue

func (a *ChangeApiService) GetChangeIssue(ctx context.Context, changeLocator string) (Issues, *http.Response, error)

ChangeApiService Get issues of the matching change.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param changeLocator

@return Issues

func (*ChangeApiService) GetChangeParentChanges

func (a *ChangeApiService) GetChangeParentChanges(ctx context.Context, changeLocator string, localVarOptionals *GetChangeParentChangesOpts) (Changes, *http.Response, error)

func (*ChangeApiService) GetChangeParentRevisions

func (a *ChangeApiService) GetChangeParentRevisions(ctx context.Context, changeLocator string) (Items, *http.Response, error)

ChangeApiService Get parent revisions of the matching change.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param changeLocator

@return Items

func (*ChangeApiService) GetChangeVcsRoot

func (a *ChangeApiService) GetChangeVcsRoot(ctx context.Context, changeLocator string, localVarOptionals *GetChangeVcsRootOpts) (VcsRootInstance, *http.Response, error)

type ChangeLocator

type ChangeLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	Comment   string `json:"comment,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32  `json:"count,omitempty"`
	File  string `json:"file,omitempty"`
	// Entity ID.
	Id              int32  `json:"id,omitempty"`
	InternalVersion string `json:"internalVersion,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Is pending.
	Pending bool `json:"pending,omitempty"`
	// Project locator.
	Project string `json:"project,omitempty"`
	// Commit SHA since which the changes should be returned.
	SinceChange string `json:"sinceChange,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
	// User locator.
	User string `json:"user,omitempty"`
	// VCS side username.
	Username string `json:"username,omitempty"`
	// VCS root locator.
	VcsRoot string `json:"vcsRoot,omitempty"`
	// VCS instance locator.
	VcsRootInstance string `json:"vcsRootInstance,omitempty"`
	Version         string `json:"version,omitempty"`
}

Represents a locator string for filtering Change entities.

type ChangeNodeResponsibilityOpts

type ChangeNodeResponsibilityOpts struct {
	Body optional.String
}

type ChangeStatus

type ChangeStatus struct {
	RunningSuccessfullyBuilds int32   `json:"runningSuccessfullyBuilds,omitempty"`
	PendingBuildTypes         int32   `json:"pendingBuildTypes,omitempty"`
	TotalProblems             int32   `json:"totalProblems,omitempty"`
	NewFailedTests            int32   `json:"newFailedTests,omitempty"`
	OtherFailedTests          int32   `json:"otherFailedTests,omitempty"`
	QueuedBuildsCount         int32   `json:"queuedBuildsCount,omitempty"`
	CriticalBuilds            *Builds `json:"criticalBuilds,omitempty"`
	NotCriticalBuilds         *Builds `json:"notCriticalBuilds,omitempty"`
	NewTestsFailedBuilds      *Builds `json:"newTestsFailedBuilds,omitempty"`
	CompilationErrorBuilds    *Builds `json:"compilationErrorBuilds,omitempty"`
	SuccessfulBuilds          int32   `json:"successfulBuilds,omitempty"`
	FinishedBuilds            int32   `json:"finishedBuilds,omitempty"`
	RunningBuilds             int32   `json:"runningBuilds,omitempty"`
	FailedBuilds              int32   `json:"failedBuilds,omitempty"`
	CancelledBuilds           int32   `json:"cancelledBuilds,omitempty"`
}

Aggregated statuses of the first builds with this change. Fairly expensive to compute.

type Changes

type Changes struct {
	Href     string   `json:"href,omitempty"`
	Change   []Change `json:"change,omitempty"`
	NextHref string   `json:"nextHref,omitempty"`
	PrevHref string   `json:"prevHref,omitempty"`
	Count    int32    `json:"count,omitempty"`
}

Represents a paginated list of Change entities.

type CloudImage

type CloudImage struct {
	Id                  string          `json:"id,omitempty"`
	Name                string          `json:"name,omitempty"`
	Href                string          `json:"href,omitempty"`
	Profile             *CloudProfile   `json:"profile,omitempty"`
	Instances           *CloudInstances `json:"instances,omitempty"`
	ErrorMessage        string          `json:"errorMessage,omitempty"`
	AgentTypeId         int32           `json:"agentTypeId,omitempty"`
	AgentPoolId         int32           `json:"agentPoolId,omitempty"`
	OperatingSystemName string          `json:"operatingSystemName,omitempty"`
	Locator             string          `json:"locator,omitempty"`
}

Represents a cloud instance image saved with a profile.

type CloudImageLocator

type CloudImageLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Agent locator.
	Agent string `json:"agent,omitempty"`
	// Agent pool locator.
	AgentPool string `json:"agentPool,omitempty"`
	Id        string `json:"id,omitempty"`
	// Cloud instance locator.
	Instance string `json:"instance,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Name string `json:"name,omitempty"`
	// Cloud profile locator.
	Profile string `json:"profile,omitempty"`
	// Project locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
}

Represents a locator string for filtering CloudImage entities.

type CloudImages

type CloudImages struct {
	Count      int32        `json:"count,omitempty"`
	NextHref   string       `json:"nextHref,omitempty"`
	PrevHref   string       `json:"prevHref,omitempty"`
	Href       string       `json:"href,omitempty"`
	CloudImage []CloudImage `json:"cloudImage,omitempty"`
}

Represents a paginated list of CloudImage entities.

type CloudInstance

type CloudInstance struct {
	Id             string      `json:"id,omitempty"`
	Name           string      `json:"name,omitempty"`
	State          string      `json:"state,omitempty"`
	StartDate      string      `json:"startDate,omitempty"`
	NetworkAddress string      `json:"networkAddress,omitempty"`
	Href           string      `json:"href,omitempty"`
	Image          *CloudImage `json:"image,omitempty"`
	Agent          *Agent      `json:"agent,omitempty"`
	ErrorMessage   string      `json:"errorMessage,omitempty"`
}

Represents a running cloud instance.

type CloudInstanceApiService

type CloudInstanceApiService service

func (*CloudInstanceApiService) GetAllCloudImages

func (a *CloudInstanceApiService) GetAllCloudImages(ctx context.Context, localVarOptionals *GetAllCloudImagesOpts) (CloudImages, *http.Response, error)

func (*CloudInstanceApiService) GetAllCloudInstances

func (a *CloudInstanceApiService) GetAllCloudInstances(ctx context.Context, localVarOptionals *GetAllCloudInstancesOpts) (CloudInstances, *http.Response, error)

func (*CloudInstanceApiService) GetAllCloudProfiles

func (a *CloudInstanceApiService) GetAllCloudProfiles(ctx context.Context, localVarOptionals *GetAllCloudProfilesOpts) (CloudProfiles, *http.Response, error)

func (*CloudInstanceApiService) GetCloudImage

func (a *CloudInstanceApiService) GetCloudImage(ctx context.Context, imageLocator string, localVarOptionals *GetCloudImageOpts) (CloudImage, *http.Response, error)

func (*CloudInstanceApiService) GetCloudInstance

func (a *CloudInstanceApiService) GetCloudInstance(ctx context.Context, instanceLocator string, localVarOptionals *GetCloudInstanceOpts) (CloudInstance, *http.Response, error)

func (*CloudInstanceApiService) GetCloudProfile

func (a *CloudInstanceApiService) GetCloudProfile(ctx context.Context, profileLocator string, localVarOptionals *GetCloudProfileOpts) (CloudProfile, *http.Response, error)

func (*CloudInstanceApiService) StartInstance

func (a *CloudInstanceApiService) StartInstance(ctx context.Context, localVarOptionals *StartInstanceOpts) (*http.Response, error)

func (*CloudInstanceApiService) StopInstance

func (a *CloudInstanceApiService) StopInstance(ctx context.Context, instanceLocator string) (*http.Response, error)

CloudInstanceApiService Stop cloud instance matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param instanceLocator

type CloudInstanceLocator

type CloudInstanceLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Agent locator.
	Agent string `json:"agent,omitempty"`
	Id    string `json:"id,omitempty"`
	// Cloud image locator.
	Instance string `json:"instance,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item           string `json:"item,omitempty"`
	NetworkAddress string `json:"networkAddress,omitempty"`
	// Cloud profile locator.
	Profile string `json:"profile,omitempty"`
	// Project locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
}

Represents a locator string for filtering CloudInstance entities.

type CloudInstances

type CloudInstances struct {
	Count         int32           `json:"count,omitempty"`
	NextHref      string          `json:"nextHref,omitempty"`
	PrevHref      string          `json:"prevHref,omitempty"`
	Href          string          `json:"href,omitempty"`
	CloudInstance []CloudInstance `json:"cloudInstance,omitempty"`
}

Represents a paginated list of CloudInstance entities.

type CloudProfile

type CloudProfile struct {
	Id              string       `json:"id,omitempty"`
	Name            string       `json:"name,omitempty"`
	CloudProviderId string       `json:"cloudProviderId,omitempty"`
	Href            string       `json:"href,omitempty"`
	Project         *Project     `json:"project,omitempty"`
	Images          *CloudImages `json:"images,omitempty"`
}

Represents a cloud agent profile.

type CloudProfileLocator

type CloudProfileLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	CloudProviderId string `json:"cloudProviderId,omitempty"`
	Id              string `json:"id,omitempty"`
	// Cloud image locator.
	Instance string `json:"instance,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Name string `json:"name,omitempty"`
	// Project locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
}

Represents a locator string for filtering CloudProfile entities.

type CloudProfiles

type CloudProfiles struct {
	Count        int32          `json:"count,omitempty"`
	NextHref     string         `json:"nextHref,omitempty"`
	PrevHref     string         `json:"prevHref,omitempty"`
	Href         string         `json:"href,omitempty"`
	CloudProfile []CloudProfile `json:"cloudProfile,omitempty"`
}

Represents a paginated list of CloudProfile entities.

type Comment

type Comment struct {
	Timestamp string `json:"timestamp,omitempty"`
	Text      string `json:"text,omitempty"`
	User      *User  `json:"user,omitempty"`
}

Represents a dated comment of the specific user.

type Commiter

type Commiter struct {
	VcsUsername string `json:"vcsUsername,omitempty"`
	Users       *Users `json:"users,omitempty"`
}

Represents a commiter to a VCS.

type Compatibilities

type Compatibilities struct {
	Count         int32           `json:"count,omitempty"`
	Compatibility []Compatibility `json:"compatibility,omitempty"`
}

Represents a list of Compatibility entities.

type Compatibility

type Compatibility struct {
	Compatible        bool          `json:"compatible,omitempty"`
	Agent             *Agent        `json:"agent,omitempty"`
	BuildType         *BuildType    `json:"buildType,omitempty"`
	UnmetRequirements *Requirements `json:"unmetRequirements,omitempty"`
}

Represents a compatibility relation between the agent and build configuration.

type CompatibilityPolicy

type CompatibilityPolicy struct {
	Policy     string      `json:"policy,omitempty"`
	BuildTypes *BuildTypes `json:"buildTypes,omitempty"`
}

Represents a build configuration run policy and included build configurations.

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type CreateAgentPoolOpts

type CreateAgentPoolOpts struct {
	Body optional.Interface
}

type CreateBuildParameterOfBuildTypeOpts

type CreateBuildParameterOfBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type CreateBuildParameterOpts

type CreateBuildParameterOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type CreateBuildTypeOpts

type CreateBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type Customizations

type Customizations struct {
	Parameters           map[string]string `json:"parameters,omitempty"`
	Changes              map[string]string `json:"changes,omitempty"`
	ArtifactDependencies map[string]string `json:"artifactDependencies,omitempty"`
}

Represents build customizations (artifact dependency overrides, custom parameters or changesets).

type Datas

type Datas struct {
	Count int32      `json:"count,omitempty"`
	Data  []MetaData `json:"data,omitempty"`
}

Represents a list of MetaData entities.

type DeleteAllQueuedBuildsOpts

type DeleteAllQueuedBuildsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type DeleteBuildStepParametersOpts

type DeleteBuildStepParametersOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type DeleteMultipleBuildCommentsOpts

type DeleteMultipleBuildCommentsOpts struct {
	Fields optional.String
}

type DeleteMultipleBuildsOpts

type DeleteMultipleBuildsOpts struct {
	Fields optional.String
}

type DisabledResponsibilities

type DisabledResponsibilities struct {
	Count          int32            `json:"count,omitempty"`
	Responsibility []Responsibility `json:"responsibility,omitempty"`
}

Represents a set of responsibilities that are currently disabled but can be enabled on a TeamCity node.

type DownloadFileOfBuildOpts

type DownloadFileOfBuildOpts struct {
	ResolveParameters optional.Bool
	LogBuildUsage     optional.Bool
}

type DownloadFileOfBuildTypeOpts

type DownloadFileOfBuildTypeOpts struct {
	ResolveParameters optional.Bool
}

type DownloadInfo

type DownloadInfo struct {
	Build        *Build                 `json:"build,omitempty"`
	ArtifactInfo []ArtifactDownloadInfo `json:"artifactInfo,omitempty"`
	Count        int32                  `json:"count,omitempty"`
}

List of metadata on artifacts downloaded from [or provided by] a build.

type DownloadedArtifacts

type DownloadedArtifacts struct {
	UnfilteredCount int32          `json:"unfilteredCount,omitempty"`
	DownloadInfo    []DownloadInfo `json:"downloadInfo,omitempty"`
	Count           int32          `json:"count,omitempty"`
}

Collection of artifacts metadata which were downloaded from dependencies of this build or delivered to ones depending on this build.

type EffectiveResponsibilities

type EffectiveResponsibilities struct {
	Count          int32            `json:"count,omitempty"`
	Responsibility []Responsibility `json:"responsibility,omitempty"`
}

Represents a set of effective responsibilities of a TeamCity node. A responsibility becomes effective once it is enabled in the server configuration and a responsible node detects this change and updates its state.

type EnabledInfo

type EnabledInfo struct {
	Status           bool     `json:"status,omitempty"`
	Comment          *Comment `json:"comment,omitempty"`
	StatusSwitchTime string   `json:"statusSwitchTime,omitempty"`
}

Represents the current enablement status of the agent.

type EnabledResponsibilities

type EnabledResponsibilities struct {
	Count          int32            `json:"count,omitempty"`
	Responsibility []Responsibility `json:"responsibility,omitempty"`
}

Represents a set of enabled responsibilities of a TeamCity node.

type Entries

type Entries struct {
	Count int32   `json:"count,omitempty"`
	Entry []Entry `json:"entry,omitempty"`
}

Represents a list of Entry entities.

type Entry

type Entry struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

Represents a single name-value relation.

type Environment

type Environment struct {
	OsType string `json:"osType,omitempty"`
	OsName string `json:"osName,omitempty"`
}

Represents the details of the agent's OS.

type Feature

type Feature struct {
	Id         string      `json:"id,omitempty"`
	Name       string      `json:"name,omitempty"`
	Type_      string      `json:"type,omitempty"`
	Disabled   bool        `json:"disabled,omitempty"`
	Inherited  bool        `json:"inherited,omitempty"`
	Href       string      `json:"href,omitempty"`
	Properties *Properties `json:"properties,omitempty"`
}

Represents a build feature.

type Features

type Features struct {
	Count   int32     `json:"count,omitempty"`
	Feature []Feature `json:"feature,omitempty"`
}

Represents a list of Feature entities.

type File

type File struct {
	Name             string    `json:"name,omitempty"`
	FullName         string    `json:"fullName,omitempty"`
	Size             int64     `json:"size,omitempty"`
	ModificationTime string    `json:"modificationTime,omitempty"`
	Href             string    `json:"href,omitempty"`
	Parent           **os.File `json:"parent,omitempty"`
	Content          *Href     `json:"content,omitempty"`
	Children         *Files    `json:"children,omitempty"`
}

Represents a file.

type FileChange

type FileChange struct {
	BeforeRevision    string `json:"before-revision,omitempty"`
	AfterRevision     string `json:"after-revision,omitempty"`
	ChangeType        string `json:"changeType,omitempty"`
	ChangeTypeComment string `json:"changeTypeComment,omitempty"`
	File              string `json:"file,omitempty"`
	RelativeFile      string `json:"relative-file,omitempty"`
	Directory         bool   `json:"directory,omitempty"`
}

Represents the specific file change (in the scope of the commit).

type FileChanges

type FileChanges struct {
	Count int32        `json:"count,omitempty"`
	File  []FileChange `json:"file,omitempty"`
}

Represents a list of FileChange entities.

type Files

type Files struct {
	Count int32      `json:"count,omitempty"`
	Href  string     `json:"href,omitempty"`
	File  []*os.File `json:"file,omitempty"`
}

Represents a list of File entities.

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type GetAgentOpts

type GetAgentOpts struct {
	Fields optional.String
}

type GetAgentPoolOfAgentPoolOpts

type GetAgentPoolOfAgentPoolOpts struct {
	Fields optional.String
}

type GetAgentPoolOpts

type GetAgentPoolOpts struct {
	Fields optional.String
}

type GetAgentPoolsProjectOpts

type GetAgentPoolsProjectOpts struct {
	Fields optional.String
}

type GetAgentRequirementOpts

type GetAgentRequirementOpts struct {
	Fields optional.String
}

type GetAliasesOpts

type GetAliasesOpts struct {
	Field optional.String
}

type GetAllAgentPoolsOpts

type GetAllAgentPoolsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllAgentRequirementsOpts

type GetAllAgentRequirementsOpts struct {
	Fields optional.String
}

type GetAllAgentsFromAgentPoolOpts

type GetAllAgentsFromAgentPoolOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllAgentsOpts

type GetAllAgentsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllArtifactDependenciesOpts

type GetAllArtifactDependenciesOpts struct {
	Fields optional.String
}

type GetAllAuditEventsOpts

type GetAllAuditEventsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBranchesOfBuildTypeOpts

type GetAllBranchesOfBuildTypeOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBranchesOpts

type GetAllBranchesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBuildFeatureParametersOpts

type GetAllBuildFeatureParametersOpts struct {
	Fields optional.String
}

type GetAllBuildFeaturesOpts

type GetAllBuildFeaturesOpts struct {
	Fields optional.String
}

type GetAllBuildProblemOccurrencesOpts

type GetAllBuildProblemOccurrencesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBuildProblemsOpts

type GetAllBuildProblemsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBuildStepParametersOpts

type GetAllBuildStepParametersOpts struct {
	Fields optional.String
}

type GetAllBuildStepsOpts

type GetAllBuildStepsOpts struct {
	Fields optional.String
}

type GetAllBuildTemplatesOpts

type GetAllBuildTemplatesOpts struct {
	Fields optional.String
}

type GetAllBuildTypesOpts

type GetAllBuildTypesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllBuildTypesOrderedOpts

type GetAllBuildTypesOrderedOpts struct {
	Field optional.String
}

type GetAllBuildsOpts

type GetAllBuildsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllChangesOpts

type GetAllChangesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllCloudImagesOpts

type GetAllCloudImagesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllCloudInstancesOpts

type GetAllCloudInstancesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllCloudProfilesOpts

type GetAllCloudProfilesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllGroupsOpts

type GetAllGroupsOpts struct {
	Fields optional.String
}

type GetAllInvestigationsOfBuildTypeOpts

type GetAllInvestigationsOfBuildTypeOpts struct {
	Fields optional.String
}

type GetAllInvestigationsOpts

type GetAllInvestigationsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllMetricsOpts

type GetAllMetricsOpts struct {
	Fields optional.String
}

type GetAllMutedTestsOpts

type GetAllMutedTestsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllNodesOpts

type GetAllNodesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllPluginsOpts

type GetAllPluginsOpts struct {
	Fields optional.String
}

type GetAllProjectsFromAgentPoolOpts

type GetAllProjectsFromAgentPoolOpts struct {
	Fields optional.String
}

type GetAllProjectsOpts

type GetAllProjectsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllQueuedBuildsOpts

type GetAllQueuedBuildsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllSnapshotDependenciesOpts

type GetAllSnapshotDependenciesOpts struct {
	Fields optional.String
}

type GetAllSubprojectsOrderedOpts

type GetAllSubprojectsOrderedOpts struct {
	Field optional.String
}

type GetAllTestOccurrencesOpts

type GetAllTestOccurrencesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllTriggersOpts

type GetAllTriggersOpts struct {
	Fields optional.String
}

type GetAllUserGroupsOpts

type GetAllUserGroupsOpts struct {
	Fields optional.String
}

type GetAllUsersOpts

type GetAllUsersOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllVcsRootInstancesOpts

type GetAllVcsRootInstancesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetAllVcsRootPropertiesOpts

type GetAllVcsRootPropertiesOpts struct {
	Fields optional.String
}

type GetAllVcsRootsOfBuildTypeOpts

type GetAllVcsRootsOfBuildTypeOpts struct {
	Fields optional.String
}

type GetAllVcsRootsOpts

type GetAllVcsRootsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetApprovalInfoOpts

type GetApprovalInfoOpts struct {
	Fields optional.String
}

type GetArtifactDependencyChangesOpts

type GetArtifactDependencyChangesOpts struct {
	Fields optional.String
}

type GetArtifactDependencyOpts

type GetArtifactDependencyOpts struct {
	Fields optional.String
}

type GetAuditEventOpts

type GetAuditEventOpts struct {
	Fields optional.String
}

type GetAuthorizedInfoOpts

type GetAuthorizedInfoOpts struct {
	Fields optional.String
}

type GetBuildActualParametersOpts

type GetBuildActualParametersOpts struct {
	Fields optional.String
}

type GetBuildConfigurationRunPolicyOpts

type GetBuildConfigurationRunPolicyOpts struct {
	Fields optional.String
}

type GetBuildFeatureOpts

type GetBuildFeatureOpts struct {
	Fields optional.String
}

type GetBuildOpts

type GetBuildOpts struct {
	Fields optional.String
}

type GetBuildParameterOfBuildTypeOpts

type GetBuildParameterOfBuildTypeOpts struct {
	Fields optional.String
}

type GetBuildParameterOpts

type GetBuildParameterOpts struct {
	Fields optional.String
}

type GetBuildParametersOfBuildTypeOpts

type GetBuildParametersOfBuildTypeOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetBuildParametersOpts

type GetBuildParametersOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetBuildPinInfoOpts

type GetBuildPinInfoOpts struct {
	Fields optional.String
}

type GetBuildProblemOccurrenceOpts

type GetBuildProblemOccurrenceOpts struct {
	Fields optional.String
}

type GetBuildProblemOpts

type GetBuildProblemOpts struct {
	Fields optional.String
}

type GetBuildProblemsOpts

type GetBuildProblemsOpts struct {
	Fields optional.String
}

type GetBuildRelatedIssuesOpts

type GetBuildRelatedIssuesOpts struct {
	Fields optional.String
}

type GetBuildStatisticValuesOpts

type GetBuildStatisticValuesOpts struct {
	Fields optional.String
}

type GetBuildStepOpts

type GetBuildStepOpts struct {
	Fields optional.String
}

type GetBuildTagsOpts

type GetBuildTagsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetBuildTemplateOpts

type GetBuildTemplateOpts struct {
	Fields optional.String
}

type GetBuildTestOccurrencesOpts

type GetBuildTestOccurrencesOpts struct {
	Fields optional.String
}

type GetBuildTypeBuildTagsOpts

type GetBuildTypeBuildTagsOpts struct {
	Field optional.String
}

type GetBuildTypeBuildsOpts

type GetBuildTypeBuildsOpts struct {
	Fields optional.String
}

type GetBuildTypeOpts

type GetBuildTypeOpts struct {
	Fields optional.String
}

type GetBuildVcsLabelsOpts

type GetBuildVcsLabelsOpts struct {
	Fields optional.String
}

type GetCanceledInfoOpts

type GetCanceledInfoOpts struct {
	Fields optional.String
}

type GetCategoriesOpts

type GetCategoriesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetChangeAttributesOpts

type GetChangeAttributesOpts struct {
	Fields optional.String
}

type GetChangeDuplicatesOpts

type GetChangeDuplicatesOpts struct {
	Fields optional.String
}

type GetChangeOpts

type GetChangeOpts struct {
	Fields optional.String
}

type GetChangeParentChangesOpts

type GetChangeParentChangesOpts struct {
	Fields optional.String
}

type GetChangeVcsRootOpts

type GetChangeVcsRootOpts struct {
	Fields optional.String
}

type GetCloudImageOpts

type GetCloudImageOpts struct {
	Fields optional.String
}

type GetCloudInstanceOpts

type GetCloudInstanceOpts struct {
	Fields optional.String
}

type GetCloudProfileOpts

type GetCloudProfileOpts struct {
	Fields optional.String
}

type GetCompatibleAgentsForBuildOpts

type GetCompatibleAgentsForBuildOpts struct {
	Fields optional.String
}

type GetCompatibleBuildTypesOpts

type GetCompatibleBuildTypesOpts struct {
	Fields optional.String
}

type GetDefaultTemplateOpts

type GetDefaultTemplateOpts struct {
	Fields optional.String
}

type GetDisabledResponsibilitiesOpts

type GetDisabledResponsibilitiesOpts struct {
	Fields optional.String
}

type GetEffectiveResponsibilitiesOpts

type GetEffectiveResponsibilitiesOpts struct {
	Fields optional.String
}

type GetEnabledInfoOpts

type GetEnabledInfoOpts struct {
	Fields optional.String
}

type GetEnabledResponsibilitiesOpts

type GetEnabledResponsibilitiesOpts struct {
	Fields optional.String
}

type GetFeatureOpts

type GetFeatureOpts struct {
	Fields optional.String
}

type GetFeaturesOpts

type GetFeaturesOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetFileMetadataOfBuildOpts

type GetFileMetadataOfBuildOpts struct {
	Fields            optional.String
	ResolveParameters optional.Bool
	LogBuildUsage     optional.Bool
}

type GetFileMetadataOfBuildTypeOpts

type GetFileMetadataOfBuildTypeOpts struct {
	Fields            optional.String
	ResolveParameters optional.Bool
}

type GetFileMetadataOfServerOpts

type GetFileMetadataOfServerOpts struct {
	Fields optional.String
}

type GetFileMetadataOpts

type GetFileMetadataOpts struct {
	Fields optional.String
}

type GetFilesListForSubpathOfBuildOpts

type GetFilesListForSubpathOfBuildOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Fields            optional.String
	ResolveParameters optional.Bool
	LogBuildUsage     optional.Bool
}

type GetFilesListForSubpathOfBuildTypeOpts

type GetFilesListForSubpathOfBuildTypeOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Fields            optional.String
	ResolveParameters optional.Bool
}

type GetFilesListForSubpathOfServerOpts

type GetFilesListForSubpathOfServerOpts struct {
	BasePath optional.String
	Locator  optional.String
	Fields   optional.String
}

type GetFilesListForSubpathOpts

type GetFilesListForSubpathOpts struct {
	BasePath optional.String
	Locator  optional.String
	Fields   optional.String
}

type GetFilesListOfBuildOpts

type GetFilesListOfBuildOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Fields            optional.String
	ResolveParameters optional.Bool
	LogBuildUsage     optional.Bool
}

type GetFilesListOfBuildTypeOpts

type GetFilesListOfBuildTypeOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Fields            optional.String
	ResolveParameters optional.Bool
}

type GetFilesListOfServerOpts

type GetFilesListOfServerOpts struct {
	BasePath optional.String
	Locator  optional.String
	Fields   optional.String
}

type GetFilesListOpts

type GetFilesListOpts struct {
	BasePath optional.String
	Locator  optional.String
	Fields   optional.String
}

type GetGroupParentGroupsOpts

type GetGroupParentGroupsOpts struct {
	Fields optional.String
}

type GetGroupPropertiesOpts

type GetGroupPropertiesOpts struct {
	Fields optional.String
}

type GetHealthItemsOpts

type GetHealthItemsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetIncompatibleBuildTypesOpts

type GetIncompatibleBuildTypesOpts struct {
	Fields optional.String
}

type GetInvestigationOpts

type GetInvestigationOpts struct {
	Fields optional.String
}

type GetLicenseKeyOpts

type GetLicenseKeyOpts struct {
	Fields optional.String
}

type GetLicenseKeysOpts

type GetLicenseKeysOpts struct {
	Fields optional.String
}

type GetLicensingDataOpts

type GetLicensingDataOpts struct {
	Fields optional.String
}

type GetMultipleBuildsOpts

type GetMultipleBuildsOpts struct {
	Fields optional.String
}

type GetMutedTestOpts

type GetMutedTestOpts struct {
	Fields optional.String
}

type GetNodeOpts

type GetNodeOpts struct {
	Fields optional.String
}

type GetPluginInfoOpts

type GetPluginInfoOpts struct {
	Fields optional.String
}

type GetProjectOpts

type GetProjectOpts struct {
	Fields optional.String
}

type GetProjectParentProjectOpts

type GetProjectParentProjectOpts struct {
	Fields optional.String
}

type GetProjectTemplatesOpts

type GetProjectTemplatesOpts struct {
	Fields optional.String
}

type GetQueuedBuildOpts

type GetQueuedBuildOpts struct {
	Fields optional.String
}

type GetQueuedBuildPositionOpts

type GetQueuedBuildPositionOpts struct {
	Fields optional.String
}

type GetQueuedBuildTagsOpts

type GetQueuedBuildTagsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetRootEndpointsOpts

type GetRootEndpointsOpts struct {
	Fields optional.String
}

type GetServerInfoOpts

type GetServerInfoOpts struct {
	Fields optional.String
}

type GetSingleCategoryOpts

type GetSingleCategoryOpts struct {
	Fields optional.String
}

type GetSingleHealthItemOpts

type GetSingleHealthItemOpts struct {
	Fields optional.String
}

type GetSnapshotDependencyOpts

type GetSnapshotDependencyOpts struct {
	Fields optional.String
}

type GetTestOccurrenceOpts

type GetTestOccurrenceOpts struct {
	Fields optional.String
}

type GetTriggerOpts

type GetTriggerOpts struct {
	Fields optional.String
}

type GetUserGroupOfGroupOpts

type GetUserGroupOfGroupOpts struct {
	Fields optional.String
}

type GetUserGroupOpts

type GetUserGroupOpts struct {
	Fields optional.String
}

type GetUserOpts

type GetUserOpts struct {
	Fields optional.String
}

type GetUserPermissionsOpts

type GetUserPermissionsOpts struct {
	Locator optional.String
	Fields  optional.String
}

type GetUserPropertiesOpts

type GetUserPropertiesOpts struct {
	Fields optional.String
}

type GetUserTokensOpts

type GetUserTokensOpts struct {
	Fields optional.String
}

type GetVcsRootInstanceOpts

type GetVcsRootInstanceOpts struct {
	Fields optional.String
}

type GetVcsRootInstancePropertiesOpts

type GetVcsRootInstancePropertiesOpts struct {
	Fields optional.String
}

type GetVcsRootInstanceRepositoryStateOpts

type GetVcsRootInstanceRepositoryStateOpts struct {
	Fields optional.String
}

type GetVcsRootInstancesOfBuildTypeOpts

type GetVcsRootInstancesOfBuildTypeOpts struct {
	Fields optional.String
}

type GetVcsRootInstancesOpts

type GetVcsRootInstancesOpts struct {
	Fields optional.String
}

type GetVcsRootOpts

type GetVcsRootOpts struct {
	Fields optional.String
}

type GetZippedFileOfBuildOpts

type GetZippedFileOfBuildOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Name              optional.String
	ResolveParameters optional.Bool
	LogBuildUsage     optional.Bool
}

type GetZippedFileOfBuildTypeOpts

type GetZippedFileOfBuildTypeOpts struct {
	BasePath          optional.String
	Locator           optional.String
	Name              optional.String
	ResolveParameters optional.Bool
}

type GetZippedFileOfServerOpts

type GetZippedFileOfServerOpts struct {
	BasePath optional.String
	Locator  optional.String
	Name     optional.String
}

type GetZippedFileOpts

type GetZippedFileOpts struct {
	BasePath optional.String
	Locator  optional.String
	Name     optional.String
}

type Group

type Group struct {
	Key          string      `json:"key,omitempty"`
	Name         string      `json:"name,omitempty"`
	Href         string      `json:"href,omitempty"`
	Description  string      `json:"description,omitempty"`
	ParentGroups *Groups     `json:"parent-groups,omitempty"`
	ChildGroups  *Groups     `json:"child-groups,omitempty"`
	Users        *Users      `json:"users,omitempty"`
	Roles        *Roles      `json:"roles,omitempty"`
	Properties   *Properties `json:"properties,omitempty"`
}

Represents a user group.

type GroupApiService

type GroupApiService service

func (*GroupApiService) AddGroup

func (a *GroupApiService) AddGroup(ctx context.Context, localVarOptionals *AddGroupOpts) (Group, *http.Response, error)

func (*GroupApiService) AddRoleAtScopeToGroup

func (a *GroupApiService) AddRoleAtScopeToGroup(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)

GroupApiService Add a role with the specific scope to the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator
  • @param roleId
  • @param scope

@return Role

func (*GroupApiService) AddRoleToGroup

func (a *GroupApiService) AddRoleToGroup(ctx context.Context, groupLocator string, localVarOptionals *AddRoleToGroupOpts) (Role, *http.Response, error)

func (*GroupApiService) DeleteGroup

func (a *GroupApiService) DeleteGroup(ctx context.Context, groupLocator string) (*http.Response, error)

GroupApiService Delete user group matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator

func (*GroupApiService) GetAllGroups

func (a *GroupApiService) GetAllGroups(ctx context.Context, localVarOptionals *GetAllGroupsOpts) (Groups, *http.Response, error)

func (*GroupApiService) GetGroupParentGroups

func (a *GroupApiService) GetGroupParentGroups(ctx context.Context, groupLocator string, localVarOptionals *GetGroupParentGroupsOpts) (Groups, *http.Response, error)

func (*GroupApiService) GetGroupProperties

func (a *GroupApiService) GetGroupProperties(ctx context.Context, groupLocator string, localVarOptionals *GetGroupPropertiesOpts) (Properties, *http.Response, error)

func (*GroupApiService) GetGroupProperty

func (a *GroupApiService) GetGroupProperty(ctx context.Context, groupLocator string, name string) (string, *http.Response, error)

GroupApiService Get a property of the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator
  • @param name

@return string

func (*GroupApiService) GetGroupRoleAtScope

func (a *GroupApiService) GetGroupRoleAtScope(ctx context.Context, groupLocator string, roleId string, scope string) (Role, *http.Response, error)

GroupApiService Get a role with the specific scope of the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator
  • @param roleId
  • @param scope

@return Role

func (*GroupApiService) GetGroupRoles

func (a *GroupApiService) GetGroupRoles(ctx context.Context, groupLocator string) (Roles, *http.Response, error)

GroupApiService Get all roles of the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator

@return Roles

func (*GroupApiService) GetUserGroupOfGroup

func (a *GroupApiService) GetUserGroupOfGroup(ctx context.Context, groupLocator string, localVarOptionals *GetUserGroupOfGroupOpts) (Group, *http.Response, error)

func (*GroupApiService) RemoveGroupProperty

func (a *GroupApiService) RemoveGroupProperty(ctx context.Context, groupLocator string, name string) (*http.Response, error)

GroupApiService Remove a property of the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator
  • @param name

func (*GroupApiService) RemoveRoleAtScopeFromGroup

func (a *GroupApiService) RemoveRoleAtScopeFromGroup(ctx context.Context, groupLocator string, roleId string, scope string) (*http.Response, error)

GroupApiService Remove a role with the specific scope from the matching user group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param groupLocator
  • @param roleId
  • @param scope

func (*GroupApiService) SetGroupParentGroups

func (a *GroupApiService) SetGroupParentGroups(ctx context.Context, groupLocator string, localVarOptionals *SetGroupParentGroupsOpts) (Groups, *http.Response, error)

func (*GroupApiService) SetGroupProperty

func (a *GroupApiService) SetGroupProperty(ctx context.Context, groupLocator string, name string, localVarOptionals *SetGroupPropertyOpts) (string, *http.Response, error)

func (*GroupApiService) SetGroupRoles

func (a *GroupApiService) SetGroupRoles(ctx context.Context, groupLocator string, localVarOptionals *SetGroupRolesOpts) (Roles, *http.Response, error)

type GroupApprovalRule

type GroupApprovalRule struct {
	Group                  *Group `json:"group,omitempty"`
	RequiredApprovalsCount int32  `json:"requiredApprovalsCount,omitempty"`
	CurrentlyApprovedBy    *Users `json:"currentlyApprovedBy,omitempty"`
}

Represents group approval rule and its current status for the given build.

type GroupApprovals

type GroupApprovals struct {
	Count         int32               `json:"count,omitempty"`
	GroupApproval []GroupApprovalRule `json:"groupApproval,omitempty"`
}

Represents a list of GroupApprovalRule entities.

type Groups

type Groups struct {
	Count int32   `json:"count,omitempty"`
	Group []Group `json:"group,omitempty"`
}

Represents a list of Group entities.

type HealthApiService

type HealthApiService service

func (*HealthApiService) GetCategories

func (a *HealthApiService) GetCategories(ctx context.Context, localVarOptionals *GetCategoriesOpts) (HealthCategories, *http.Response, error)

func (*HealthApiService) GetHealthItems

func (a *HealthApiService) GetHealthItems(ctx context.Context, localVarOptionals *GetHealthItemsOpts) (HealthStatusItems, *http.Response, error)

func (*HealthApiService) GetSingleCategory

func (a *HealthApiService) GetSingleCategory(ctx context.Context, locator string, localVarOptionals *GetSingleCategoryOpts) (HealthCategory, *http.Response, error)

func (*HealthApiService) GetSingleHealthItem

func (a *HealthApiService) GetSingleHealthItem(ctx context.Context, locator string, localVarOptionals *GetSingleHealthItemOpts) (HealthItem, *http.Response, error)

type HealthCategories

type HealthCategories struct {
	Count          int32            `json:"count,omitempty"`
	HealthCategory []HealthCategory `json:"healthCategory,omitempty"`
	Href           string           `json:"href,omitempty"`
	NextHref       string           `json:"nextHref,omitempty"`
	PrevHref       string           `json:"prevHref,omitempty"`
}

Represents a paginated list of HealthCategory entities.

type HealthCategory

type HealthCategory struct {
	Id          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	HelpUrl     string `json:"helpUrl,omitempty"`
}

type HealthItem

type HealthItem struct {
	Identity       string          `json:"identity,omitempty"`
	Severity       string          `json:"severity,omitempty"`
	HealthCategory *HealthCategory `json:"healthCategory,omitempty"`
}

Represents a server health item.

type HealthStatusItems

type HealthStatusItems struct {
	Count      int32        `json:"count,omitempty"`
	HealthItem []HealthItem `json:"healthItem,omitempty"`
	Href       string       `json:"href,omitempty"`
	NextHref   string       `json:"nextHref,omitempty"`
	PrevHref   string       `json:"prevHref,omitempty"`
}

Represents a paginated list of HealthItem entities.

type Href

type Href struct {
	Href string `json:"href,omitempty"`
}

Represents a href link.

type Investigation

type Investigation struct {
	Id          string         `json:"id,omitempty"`
	State       string         `json:"state,omitempty"`
	Href        string         `json:"href,omitempty"`
	Assignee    *User          `json:"assignee,omitempty"`
	Assignment  *Comment       `json:"assignment,omitempty"`
	Scope       *ProblemScope  `json:"scope,omitempty"`
	Target      *ProblemTarget `json:"target,omitempty"`
	Resolution  *Resolution    `json:"resolution,omitempty"`
	Responsible *User          `json:"responsible,omitempty"`
}

Represents an investigation of a build problem.

type InvestigationApiService

type InvestigationApiService service

func (*InvestigationApiService) AddInvestigation

func (a *InvestigationApiService) AddInvestigation(ctx context.Context, localVarOptionals *AddInvestigationOpts) (Investigation, *http.Response, error)

func (*InvestigationApiService) AddMultipleInvestigations

func (a *InvestigationApiService) AddMultipleInvestigations(ctx context.Context, localVarOptionals *AddMultipleInvestigationsOpts) (Investigations, *http.Response, error)

func (*InvestigationApiService) DeleteInvestigation

func (a *InvestigationApiService) DeleteInvestigation(ctx context.Context, investigationLocator string) (*http.Response, error)

InvestigationApiService Delete investigation matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param investigationLocator

func (*InvestigationApiService) GetAllInvestigations

func (a *InvestigationApiService) GetAllInvestigations(ctx context.Context, localVarOptionals *GetAllInvestigationsOpts) (Investigations, *http.Response, error)

func (*InvestigationApiService) GetInvestigation

func (a *InvestigationApiService) GetInvestigation(ctx context.Context, investigationLocator string, localVarOptionals *GetInvestigationOpts) (Investigation, *http.Response, error)

func (*InvestigationApiService) ReplaceInvestigation

func (a *InvestigationApiService) ReplaceInvestigation(ctx context.Context, investigationLocator string, localVarOptionals *ReplaceInvestigationOpts) (Investigation, *http.Response, error)

type InvestigationLocator

type InvestigationLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	Assignee        string `json:"assignee,omitempty"`
	// Project (direct parent) locator.
	AssignmentProject string `json:"assignmentProject,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// Problem locator.
	Problem    string `json:"problem,omitempty"`
	Reporter   string `json:"reporter,omitempty"`
	Resolution string `json:"resolution,omitempty"`
	// yyyyMMddTHHmmss+ZZZZ
	SinceDate time.Time `json:"sinceDate,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32  `json:"start,omitempty"`
	State string `json:"state,omitempty"`
	// Test locator.
	Test  string `json:"test,omitempty"`
	Type_ string `json:"type,omitempty"`
}

Represents a locator string for filtering Investigation entities.

type Investigations

type Investigations struct {
	Count         int32           `json:"count,omitempty"`
	NextHref      string          `json:"nextHref,omitempty"`
	PrevHref      string          `json:"prevHref,omitempty"`
	Href          string          `json:"href,omitempty"`
	Investigation []Investigation `json:"investigation,omitempty"`
}

Represents a paginated list of Investigation entities.

type Issue

type Issue struct {
	Url string `json:"url,omitempty"`
	Id  string `json:"id,omitempty"`
}

Represents an issue related to the specific change.

type IssueUsage

type IssueUsage struct {
	Changes *Changes `json:"changes,omitempty"`
	Issue   *Issue   `json:"issue,omitempty"`
}

Represents a relation between the issue and the Changes entity.

type Issues

type Issues struct {
	Issues []Issue `json:"issues,omitempty"`
}

Represents a list of Issue entities.

type IssuesUsages

type IssuesUsages struct {
	IssueUsage []IssueUsage `json:"issueUsage,omitempty"`
	Href       string       `json:"href,omitempty"`
	Count      int32        `json:"count,omitempty"`
}

Represents a list of IssueUsage entities.

type Items

type Items struct {
	Item []string `json:"item,omitempty"`
}

Represents a list of items (strings).

type LicenseKey

type LicenseKey struct {
	Valid               bool   `json:"valid,omitempty"`
	Active              bool   `json:"active,omitempty"`
	Expired             bool   `json:"expired,omitempty"`
	Obsolete            bool   `json:"obsolete,omitempty"`
	ExpirationDate      string `json:"expirationDate,omitempty"`
	MaintenanceEndDate  string `json:"maintenanceEndDate,omitempty"`
	Type_               string `json:"type,omitempty"`
	Servers             int32  `json:"servers,omitempty"`
	Agents              int32  `json:"agents,omitempty"`
	UnlimitedAgents     bool   `json:"unlimitedAgents,omitempty"`
	BuildTypes          int32  `json:"buildTypes,omitempty"`
	UnlimitedBuildTypes bool   `json:"unlimitedBuildTypes,omitempty"`
	ErrorDetails        string `json:"errorDetails,omitempty"`
	Key                 string `json:"key,omitempty"`
	RawType             string `json:"rawType,omitempty"`
}

Represents a license key details.

type LicenseKeys

type LicenseKeys struct {
	Count      int32        `json:"count,omitempty"`
	Href       string       `json:"href,omitempty"`
	LicenseKey []LicenseKey `json:"licenseKey,omitempty"`
}

Represents a list of LicenseKey entities.

type LicensingData

type LicensingData struct {
	LicenseUseExceeded         bool         `json:"licenseUseExceeded,omitempty"`
	MaxAgents                  int32        `json:"maxAgents,omitempty"`
	UnlimitedAgents            bool         `json:"unlimitedAgents,omitempty"`
	MaxBuildTypes              int32        `json:"maxBuildTypes,omitempty"`
	UnlimitedBuildTypes        bool         `json:"unlimitedBuildTypes,omitempty"`
	BuildTypesLeft             int32        `json:"buildTypesLeft,omitempty"`
	ServerLicenseType          string       `json:"serverLicenseType,omitempty"`
	ServerEffectiveReleaseDate string       `json:"serverEffectiveReleaseDate,omitempty"`
	AgentsLeft                 int32        `json:"agentsLeft,omitempty"`
	LicenseKeys                *LicenseKeys `json:"licenseKeys,omitempty"`
}

Represents license state details (available build configurations, agents, etc.).

type Link struct {
	Type_       string `json:"type,omitempty"`
	Url         string `json:"url,omitempty"`
	RelativeUrl string `json:"relativeUrl,omitempty"`
}

Represents a list of URLs.

type Links struct {
	Count int32  `json:"count,omitempty"`
	Link  []Link `json:"link,omitempty"`
}

Represents a list of Link entities.

type MarkBuildAsRunningOpts

type MarkBuildAsRunningOpts struct {
	Body   optional.String
	Fields optional.String
}

type MetaData

type MetaData struct {
	Id      string   `json:"id,omitempty"`
	Entries *Entries `json:"entries,omitempty"`
}

Represents a named Entries entity.

type Metric

type Metric struct {
	Name           string        `json:"name,omitempty"`
	Description    string        `json:"description,omitempty"`
	PrometheusName string        `json:"prometheusName,omitempty"`
	MetricValues   *MetricValues `json:"metricValues,omitempty"`
	MetricTags     *MetricTags   `json:"metricTags,omitempty"`
}

Represents the specific server metric.

type MetricTag

type MetricTag struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

Represents a metric tag.

type MetricTags

type MetricTags struct {
	Count     int32       `json:"count,omitempty"`
	MetricTag []MetricTag `json:"metricTag,omitempty"`
}

Represents a list of MetricTag entities.

type MetricValue

type MetricValue struct {
	Name  string      `json:"name,omitempty"`
	Value float64     `json:"value,omitempty"`
	Tags  *MetricTags `json:"tags,omitempty"`
}

Represents a metric value.

type MetricValues

type MetricValues struct {
	Count       int32         `json:"count,omitempty"`
	MetricValue []MetricValue `json:"metricValue,omitempty"`
}

Represents a list of MetricValue entities.

type Metrics

type Metrics struct {
	Count  int32    `json:"count,omitempty"`
	Metric []Metric `json:"metric,omitempty"`
}

Represents a list of Metric entities.

type ModelType

type ModelType struct {
	RawValue string `json:"rawValue,omitempty"`
}

Represents a build parameter type string.

type MultipleOperationResult

type MultipleOperationResult struct {
	Count           int32             `json:"count,omitempty"`
	ErrorCount      int32             `json:"errorCount,omitempty"`
	OperationResult []OperationResult `json:"operationResult,omitempty"`
}

Represents a list of OperationResult entities.

type Mute

type Mute struct {
	Id         int32          `json:"id,omitempty"`
	Href       string         `json:"href,omitempty"`
	Assignment *Comment       `json:"assignment,omitempty"`
	Scope      *ProblemScope  `json:"scope,omitempty"`
	Target     *ProblemTarget `json:"target,omitempty"`
	Resolution *Resolution    `json:"resolution,omitempty"`
}

Represents a muted test.

type MuteApiService

type MuteApiService service

func (*MuteApiService) GetAllMutedTests

func (a *MuteApiService) GetAllMutedTests(ctx context.Context, localVarOptionals *GetAllMutedTestsOpts) (Mutes, *http.Response, error)

func (*MuteApiService) GetMutedTest

func (a *MuteApiService) GetMutedTest(ctx context.Context, muteLocator string, localVarOptionals *GetMutedTestOpts) (Mute, *http.Response, error)

func (*MuteApiService) MuteMultipleTests

func (a *MuteApiService) MuteMultipleTests(ctx context.Context, localVarOptionals *MuteMultipleTestsOpts) (Mutes, *http.Response, error)

func (*MuteApiService) MuteTest

func (a *MuteApiService) MuteTest(ctx context.Context, localVarOptionals *MuteTestOpts) (Mute, *http.Response, error)

func (*MuteApiService) UnmuteTest

func (a *MuteApiService) UnmuteTest(ctx context.Context, muteLocator string, localVarOptionals *UnmuteTestOpts) (*http.Response, error)

type MuteLocator

type MuteLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// yyyyMMddTHHmmss+ZZZZ
	CreationDate time.Time `json:"creationDate,omitempty"`
	Id           int32     `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Problem locator.
	Problem string `json:"problem,omitempty"`
	// Project (direct parent) locator.
	Project string `json:"project,omitempty"`
	// User who muted this test.
	Reporter   string `json:"reporter,omitempty"`
	Resolution string `json:"resolution,omitempty"`
	// Test locator.
	Test  string `json:"test,omitempty"`
	Type_ string `json:"type,omitempty"`
	// yyyyMMddTHHmmss+ZZZZ
	UnmuteDate time.Time `json:"unmuteDate,omitempty"`
}

Represents a locator string for filtering Mute entities.

type MuteMultipleTestsOpts

type MuteMultipleTestsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type MuteTestOpts

type MuteTestOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type Mutes

type Mutes struct {
	Count    int32  `json:"count,omitempty"`
	NextHref string `json:"nextHref,omitempty"`
	PrevHref string `json:"prevHref,omitempty"`
	Href     string `json:"href,omitempty"`
	Mute     []Mute `json:"mute,omitempty"`
}

Represents a paginated list of Mute entities.

type NewBuildTypeDescription

type NewBuildTypeDescription struct {
	CopyAllAssociatedSettings bool        `json:"copyAllAssociatedSettings,omitempty"`
	ProjectsIdsMap            *Properties `json:"projectsIdsMap,omitempty"`
	BuildTypesIdsMap          *Properties `json:"buildTypesIdsMap,omitempty"`
	VcsRootsIdsMap            *Properties `json:"vcsRootsIdsMap,omitempty"`
	Name                      string      `json:"name,omitempty"`
	Id                        string      `json:"id,omitempty"`
	SourceBuildTypeLocator    string      `json:"sourceBuildTypeLocator,omitempty"`
	SourceBuildType           *BuildType  `json:"sourceBuildType,omitempty"`
}

Represents a build configuration stub.

type NewProjectDescription

type NewProjectDescription struct {
	CopyAllAssociatedSettings bool        `json:"copyAllAssociatedSettings,omitempty"`
	ProjectsIdsMap            *Properties `json:"projectsIdsMap,omitempty"`
	BuildTypesIdsMap          *Properties `json:"buildTypesIdsMap,omitempty"`
	VcsRootsIdsMap            *Properties `json:"vcsRootsIdsMap,omitempty"`
	Name                      string      `json:"name,omitempty"`
	Id                        string      `json:"id,omitempty"`
	SourceProjectLocator      string      `json:"sourceProjectLocator,omitempty"`
	SourceProject             *Project    `json:"sourceProject,omitempty"`
	ParentProject             *Project    `json:"parentProject,omitempty"`
}

Represents a project stub.

type Node

type Node struct {
	Id                        string                     `json:"id,omitempty"`
	Url                       string                     `json:"url,omitempty"`
	State                     string                     `json:"state,omitempty"`
	Role                      string                     `json:"role,omitempty"`
	Current                   bool                       `json:"current,omitempty"`
	EnabledResponsibilities   *EnabledResponsibilities   `json:"enabledResponsibilities,omitempty"`
	DisabledResponsibilities  *DisabledResponsibilities  `json:"disabledResponsibilities,omitempty"`
	EffectiveResponsibilities *EffectiveResponsibilities `json:"effectiveResponsibilities,omitempty"`
}

Represents a TeamCity node.

type NodeApiService

type NodeApiService service

func (*NodeApiService) ChangeNodeResponsibility

func (a *NodeApiService) ChangeNodeResponsibility(ctx context.Context, nodeLocator string, name string, localVarOptionals *ChangeNodeResponsibilityOpts) (EnabledResponsibilities, *http.Response, error)

func (*NodeApiService) GetAllNodes

func (a *NodeApiService) GetAllNodes(ctx context.Context, localVarOptionals *GetAllNodesOpts) (Nodes, *http.Response, error)

func (*NodeApiService) GetDisabledResponsibilities

func (a *NodeApiService) GetDisabledResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetDisabledResponsibilitiesOpts) (DisabledResponsibilities, *http.Response, error)

func (*NodeApiService) GetEffectiveResponsibilities

func (a *NodeApiService) GetEffectiveResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetEffectiveResponsibilitiesOpts) (EffectiveResponsibilities, *http.Response, error)

func (*NodeApiService) GetEnabledResponsibilities

func (a *NodeApiService) GetEnabledResponsibilities(ctx context.Context, nodeLocator string, localVarOptionals *GetEnabledResponsibilitiesOpts) (EnabledResponsibilities, *http.Response, error)

func (*NodeApiService) GetNode

func (a *NodeApiService) GetNode(ctx context.Context, nodeLocator string, localVarOptionals *GetNodeOpts) (Node, *http.Response, error)

type Nodes

type Nodes struct {
	Count int32  `json:"count,omitempty"`
	Node  []Node `json:"node,omitempty"`
}

type OperationResult

type OperationResult struct {
	Message string         `json:"message,omitempty"`
	Related *RelatedEntity `json:"related,omitempty"`
}

Represents a relation between a message and a related entity.

type ParsedTestName

type ParsedTestName struct {
	TestPackage            string `json:"testPackage,omitempty"`
	TestSuite              string `json:"testSuite,omitempty"`
	TestClass              string `json:"testClass,omitempty"`
	TestShortName          string `json:"testShortName,omitempty"`
	TestNameWithoutPrefix  string `json:"testNameWithoutPrefix,omitempty"`
	TestMethodName         string `json:"testMethodName,omitempty"`
	TestNameWithParameters string `json:"testNameWithParameters,omitempty"`
}

Represents test metadata (package, method, class, and so on).

type Permission

type Permission struct {
	Id     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
	Global bool   `json:"global,omitempty"`
}

Represents a permission.

type PermissionAssignment

type PermissionAssignment struct {
	Permission *Permission `json:"permission,omitempty"`
	Project    *Project    `json:"project,omitempty"`
}

Represents a relation between the specific permission and a project.

type PermissionAssignments

type PermissionAssignments struct {
	Count                int32                  `json:"count,omitempty"`
	PermissionAssignment []PermissionAssignment `json:"permissionAssignment,omitempty"`
}

Represents a list of PermissionAssignment entities.

type PermissionRestriction

type PermissionRestriction struct {
	IsGlobalScope bool        `json:"isGlobalScope,omitempty"`
	Project       *Project    `json:"project,omitempty"`
	Permission    *Permission `json:"permission,omitempty"`
}

Represents permission restrictions of an authentication token.

type PermissionRestrictions

type PermissionRestrictions struct {
	Count                 int32                   `json:"count,omitempty"`
	PermissionRestriction []PermissionRestriction `json:"permissionRestriction,omitempty"`
}

Represents a list of PermissionRestriction entities.

type PinInfo

type PinInfo struct {
	Status  bool     `json:"status,omitempty"`
	Comment *Comment `json:"comment,omitempty"`
}

Represents the pinned status of this build.

type PinMultipleBuildsOpts

type PinMultipleBuildsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type Plugin

type Plugin struct {
	Name        string      `json:"name,omitempty"`
	DisplayName string      `json:"displayName,omitempty"`
	Version     string      `json:"version,omitempty"`
	LoadPath    string      `json:"loadPath,omitempty"`
	Parameters  *Properties `json:"parameters,omitempty"`
}

Represents a plugin.

type Plugins

type Plugins struct {
	Count  int32    `json:"count,omitempty"`
	Plugin []Plugin `json:"plugin,omitempty"`
}

Represents a list of Plugin entities.

type Problem

type Problem struct {
	Id                 string              `json:"id,omitempty"`
	Type_              string              `json:"type,omitempty"`
	Identity           string              `json:"identity,omitempty"`
	Href               string              `json:"href,omitempty"`
	Description        string              `json:"description,omitempty"`
	Mutes              *Mutes              `json:"mutes,omitempty"`
	Investigations     *Investigations     `json:"investigations,omitempty"`
	ProblemOccurrences *ProblemOccurrences `json:"problemOccurrences,omitempty"`
	Locator            string              `json:"locator,omitempty"`
}

Represents an issue with the test.

type ProblemApiService

type ProblemApiService service

func (*ProblemApiService) GetAllBuildProblems

func (a *ProblemApiService) GetAllBuildProblems(ctx context.Context, localVarOptionals *GetAllBuildProblemsOpts) (Problems, *http.Response, error)

func (*ProblemApiService) GetBuildProblem

func (a *ProblemApiService) GetBuildProblem(ctx context.Context, problemLocator string, localVarOptionals *GetBuildProblemOpts) (Problem, *http.Response, error)

type ProblemLocator

type ProblemLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Is currently failing.
	CurrentlyFailing bool `json:"currentlyFailing,omitempty"`
	// Is currently investigated.
	CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"`
	// Is currently muted.
	CurrentlyMuted bool `json:"currentlyMuted,omitempty"`
	// Entity ID.
	Id       int32  `json:"id,omitempty"`
	Identity string `json:"identity,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32  `json:"start,omitempty"`
	Type_ string `json:"type,omitempty"`
}

Represents a locator string for filtering Problem entities.

type ProblemOccurrence

type ProblemOccurrence struct {
	Id                    string   `json:"id,omitempty"`
	Type_                 string   `json:"type,omitempty"`
	Identity              string   `json:"identity,omitempty"`
	Href                  string   `json:"href,omitempty"`
	Muted                 bool     `json:"muted,omitempty"`
	CurrentlyInvestigated bool     `json:"currentlyInvestigated,omitempty"`
	CurrentlyMuted        bool     `json:"currentlyMuted,omitempty"`
	LogAnchor             string   `json:"logAnchor,omitempty"`
	NewFailure            bool     `json:"newFailure,omitempty"`
	Details               string   `json:"details,omitempty"`
	AdditionalData        string   `json:"additionalData,omitempty"`
	Problem               *Problem `json:"problem,omitempty"`
	Mute                  *Mute    `json:"mute,omitempty"`
	Build                 *Build   `json:"build,omitempty"`
}

Represents an instance of a failed test in the specific build.

type ProblemOccurrenceApiService

type ProblemOccurrenceApiService service

func (*ProblemOccurrenceApiService) GetAllBuildProblemOccurrences

func (a *ProblemOccurrenceApiService) GetAllBuildProblemOccurrences(ctx context.Context, localVarOptionals *GetAllBuildProblemOccurrencesOpts) (ProblemOccurrences, *http.Response, error)

func (*ProblemOccurrenceApiService) GetBuildProblemOccurrence

func (a *ProblemOccurrenceApiService) GetBuildProblemOccurrence(ctx context.Context, problemLocator string, localVarOptionals *GetBuildProblemOccurrenceOpts) (ProblemOccurrence, *http.Response, error)

type ProblemOccurrenceLocator

type ProblemOccurrenceLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Is currently failing.
	CurrentlyFailing bool `json:"currentlyFailing,omitempty"`
	// Is currently investigated.
	CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"`
	// Is currently muted.
	CurrentlyMuted bool   `json:"currentlyMuted,omitempty"`
	Identity       string `json:"identity,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// Has ever been muted.
	Muted   bool   `json:"muted,omitempty"`
	Problem string `json:"problem,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32  `json:"start,omitempty"`
	Type_ string `json:"type,omitempty"`
}

Represents a locator string for filtering ProblemOccurrence entities.

type ProblemOccurrences

type ProblemOccurrences struct {
	Count             int32               `json:"count,omitempty"`
	Href              string              `json:"href,omitempty"`
	NextHref          string              `json:"nextHref,omitempty"`
	PrevHref          string              `json:"prevHref,omitempty"`
	ProblemOccurrence []ProblemOccurrence `json:"problemOccurrence,omitempty"`
	Passed            int32               `json:"passed,omitempty"`
	Failed            int32               `json:"failed,omitempty"`
	NewFailed         int32               `json:"newFailed,omitempty"`
	Ignored           int32               `json:"ignored,omitempty"`
	Muted             int32               `json:"muted,omitempty"`
}

Represents a paginated list of ProblemOccurrence entities.

type ProblemScope

type ProblemScope struct {
	Project    *Project    `json:"project,omitempty"`
	BuildTypes *BuildTypes `json:"buildTypes,omitempty"`
	BuildType  *BuildType  `json:"buildType,omitempty"`
}

Represents an investigation scope.

type ProblemTarget

type ProblemTarget struct {
	AnyProblem bool      `json:"anyProblem,omitempty"`
	Tests      *Tests    `json:"tests,omitempty"`
	Problems   *Problems `json:"problems,omitempty"`
}

Represents an investigation target.

type Problems

type Problems struct {
	Count    int32     `json:"count,omitempty"`
	NextHref string    `json:"nextHref,omitempty"`
	PrevHref string    `json:"prevHref,omitempty"`
	Problem  []Problem `json:"problem,omitempty"`
}

Represents a paginated list of Problem entities.

type ProgressInfo

type ProgressInfo struct {
	PercentageComplete    int32  `json:"percentageComplete,omitempty"`
	ElapsedSeconds        int64  `json:"elapsedSeconds,omitempty"`
	EstimatedTotalSeconds int64  `json:"estimatedTotalSeconds,omitempty"`
	LeftSeconds           int64  `json:"leftSeconds,omitempty"`
	CurrentStageText      string `json:"currentStageText,omitempty"`
	Outdated              bool   `json:"outdated,omitempty"`
	ProbablyHanging       bool   `json:"probablyHanging,omitempty"`
	LastActivityTime      string `json:"lastActivityTime,omitempty"`
	OutdatedReasonBuild   *Build `json:"outdatedReasonBuild,omitempty"`
}

Represents a progress estimate of this build.

type Project

type Project struct {
	Id                      string           `json:"id,omitempty"`
	InternalId              string           `json:"internalId,omitempty"`
	Uuid                    string           `json:"uuid,omitempty"`
	Name                    string           `json:"name,omitempty"`
	ParentProjectId         string           `json:"parentProjectId,omitempty"`
	ParentProjectInternalId string           `json:"parentProjectInternalId,omitempty"`
	ParentProjectName       string           `json:"parentProjectName,omitempty"`
	Archived                bool             `json:"archived,omitempty"`
	Virtual                 bool             `json:"virtual,omitempty"`
	Description             string           `json:"description,omitempty"`
	Href                    string           `json:"href,omitempty"`
	WebUrl                  string           `json:"webUrl,omitempty"`
	Links                   *Links           `json:"links,omitempty"`
	ParentProject           *Project         `json:"parentProject,omitempty"`
	ReadOnlyUI              *StateField      `json:"readOnlyUI,omitempty"`
	DefaultTemplate         *BuildType       `json:"defaultTemplate,omitempty"`
	BuildTypes              *BuildTypes      `json:"buildTypes,omitempty"`
	Templates               *BuildTypes      `json:"templates,omitempty"`
	Parameters              *Properties      `json:"parameters,omitempty"`
	VcsRoots                *VcsRoots        `json:"vcsRoots,omitempty"`
	ProjectFeatures         *ProjectFeatures `json:"projectFeatures,omitempty"`
	Projects                *Projects        `json:"projects,omitempty"`
	CloudProfiles           *CloudProfiles   `json:"cloudProfiles,omitempty"`
	AncestorProjects        *Projects        `json:"ancestorProjects,omitempty"`
	Locator                 string           `json:"locator,omitempty"`
}

Represents a project.

type ProjectApiService

type ProjectApiService service

func (*ProjectApiService) AddAgentPoolsProject

func (a *ProjectApiService) AddAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *AddAgentPoolsProjectOpts) (AgentPool, *http.Response, error)

func (*ProjectApiService) AddBuildType

func (a *ProjectApiService) AddBuildType(ctx context.Context, projectLocator string, localVarOptionals *AddBuildTypeOpts) (BuildType, *http.Response, error)

func (*ProjectApiService) AddFeature

func (a *ProjectApiService) AddFeature(ctx context.Context, projectLocator string, localVarOptionals *AddFeatureOpts) (interface{}, *http.Response, error)

func (*ProjectApiService) AddProject

func (a *ProjectApiService) AddProject(ctx context.Context, localVarOptionals *AddProjectOpts) (Project, *http.Response, error)

func (*ProjectApiService) AddSecureToken

func (a *ProjectApiService) AddSecureToken(ctx context.Context, projectLocator string, localVarOptionals *AddSecureTokenOpts) (string, *http.Response, error)

func (*ProjectApiService) AddTemplate

func (a *ProjectApiService) AddTemplate(ctx context.Context, projectLocator string, localVarOptionals *AddTemplateOpts) (BuildType, *http.Response, error)

func (*ProjectApiService) CreateBuildParameter

func (a *ProjectApiService) CreateBuildParameter(ctx context.Context, projectLocator string, localVarOptionals *CreateBuildParameterOpts) (Property, *http.Response, error)

func (*ProjectApiService) DeleteBuildParameter

func (a *ProjectApiService) DeleteBuildParameter(ctx context.Context, name string, projectLocator string) (*http.Response, error)

ProjectApiService Delete build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param projectLocator

func (*ProjectApiService) DeleteBuildParameters

func (a *ProjectApiService) DeleteBuildParameters(ctx context.Context, projectLocator string) (*http.Response, error)

ProjectApiService Delete all build parameters.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator

func (*ProjectApiService) DeleteFeature

func (a *ProjectApiService) DeleteFeature(ctx context.Context, featureLocator string, projectLocator string) (*http.Response, error)

ProjectApiService Delete a matching feature.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param featureLocator
  • @param projectLocator

func (*ProjectApiService) DeleteProject

func (a *ProjectApiService) DeleteProject(ctx context.Context, projectLocator string) (*http.Response, error)

ProjectApiService Delete project matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator

func (*ProjectApiService) GetAgentPoolsProject

func (a *ProjectApiService) GetAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *GetAgentPoolsProjectOpts) (AgentPools, *http.Response, error)

func (*ProjectApiService) GetAllBranches

func (a *ProjectApiService) GetAllBranches(ctx context.Context, projectLocator string, localVarOptionals *GetAllBranchesOpts) (Branches, *http.Response, error)

func (*ProjectApiService) GetAllBuildTypesOrdered

func (a *ProjectApiService) GetAllBuildTypesOrdered(ctx context.Context, projectLocator string, localVarOptionals *GetAllBuildTypesOrderedOpts) (BuildTypes, *http.Response, error)

func (*ProjectApiService) GetAllProjects

func (a *ProjectApiService) GetAllProjects(ctx context.Context, localVarOptionals *GetAllProjectsOpts) (Projects, *http.Response, error)

func (*ProjectApiService) GetAllSubprojectsOrdered

func (a *ProjectApiService) GetAllSubprojectsOrdered(ctx context.Context, projectLocator string, localVarOptionals *GetAllSubprojectsOrderedOpts) (Projects, *http.Response, error)

func (*ProjectApiService) GetBuildParameter

func (a *ProjectApiService) GetBuildParameter(ctx context.Context, name string, projectLocator string, localVarOptionals *GetBuildParameterOpts) (Property, *http.Response, error)

func (*ProjectApiService) GetBuildParameterSpecification

func (a *ProjectApiService) GetBuildParameterSpecification(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)

ProjectApiService Get build parameter specification.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param projectLocator

@return string

func (*ProjectApiService) GetBuildParameterType

func (a *ProjectApiService) GetBuildParameterType(ctx context.Context, name string, projectLocator string) (ModelType, *http.Response, error)

ProjectApiService Get type of build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param projectLocator

@return ModelType

func (*ProjectApiService) GetBuildParameterValue

func (a *ProjectApiService) GetBuildParameterValue(ctx context.Context, name string, projectLocator string) (string, *http.Response, error)

ProjectApiService Get value of build parameter.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param projectLocator

@return string

func (*ProjectApiService) GetBuildParameters

func (a *ProjectApiService) GetBuildParameters(ctx context.Context, projectLocator string, localVarOptionals *GetBuildParametersOpts) (Properties, *http.Response, error)

func (*ProjectApiService) GetDefaultTemplate

func (a *ProjectApiService) GetDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *GetDefaultTemplateOpts) (BuildType, *http.Response, error)

func (*ProjectApiService) GetFeature

func (a *ProjectApiService) GetFeature(ctx context.Context, featureLocator string, projectLocator string, localVarOptionals *GetFeatureOpts) (interface{}, *http.Response, error)

func (*ProjectApiService) GetFeatures

func (a *ProjectApiService) GetFeatures(ctx context.Context, projectLocator string, localVarOptionals *GetFeaturesOpts) (interface{}, *http.Response, error)

func (*ProjectApiService) GetProject

func (a *ProjectApiService) GetProject(ctx context.Context, projectLocator string, localVarOptionals *GetProjectOpts) (Project, *http.Response, error)

func (*ProjectApiService) GetProjectField

func (a *ProjectApiService) GetProjectField(ctx context.Context, projectLocator string, field string) (string, *http.Response, error)

ProjectApiService Get a field of the matching project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator
  • @param field

@return string

func (*ProjectApiService) GetProjectParentProject

func (a *ProjectApiService) GetProjectParentProject(ctx context.Context, projectLocator string, localVarOptionals *GetProjectParentProjectOpts) (Project, *http.Response, error)

func (*ProjectApiService) GetProjectSettingsFile

func (a *ProjectApiService) GetProjectSettingsFile(ctx context.Context, projectLocator string) (string, *http.Response, error)

ProjectApiService Get the settings file of the matching build configuration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator

@return string

func (*ProjectApiService) GetProjectTemplates

func (a *ProjectApiService) GetProjectTemplates(ctx context.Context, projectLocator string, localVarOptionals *GetProjectTemplatesOpts) (BuildTypes, *http.Response, error)

func (*ProjectApiService) GetSecureValue

func (a *ProjectApiService) GetSecureValue(ctx context.Context, projectLocator string, token string) (string, *http.Response, error)

ProjectApiService Get a secure token of the matching project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator
  • @param token

@return string

func (*ProjectApiService) RemoveDefaultTemplate

func (a *ProjectApiService) RemoveDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *RemoveDefaultTemplateOpts) (*http.Response, error)

func (*ProjectApiService) RemoveProjectFromAgentPool

func (a *ProjectApiService) RemoveProjectFromAgentPool(ctx context.Context, projectLocator string, agentPoolLocator string) (*http.Response, error)

ProjectApiService Unassign a project from the matching agent pool.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectLocator
  • @param agentPoolLocator

func (*ProjectApiService) SetAgentPoolsProject

func (a *ProjectApiService) SetAgentPoolsProject(ctx context.Context, projectLocator string, localVarOptionals *SetAgentPoolsProjectOpts) (AgentPools, *http.Response, error)

func (*ProjectApiService) SetBuildTypesOrder

func (a *ProjectApiService) SetBuildTypesOrder(ctx context.Context, projectLocator string, localVarOptionals *SetBuildTypesOrderOpts) (BuildTypes, *http.Response, error)

func (*ProjectApiService) SetDefaultTemplate

func (a *ProjectApiService) SetDefaultTemplate(ctx context.Context, projectLocator string, localVarOptionals *SetDefaultTemplateOpts) (BuildType, *http.Response, error)

func (*ProjectApiService) SetParentProject

func (a *ProjectApiService) SetParentProject(ctx context.Context, projectLocator string, localVarOptionals *SetParentProjectOpts) (Project, *http.Response, error)

func (*ProjectApiService) SetProjectField

func (a *ProjectApiService) SetProjectField(ctx context.Context, projectLocator string, field string, localVarOptionals *SetProjectFieldOpts) (string, *http.Response, error)

func (*ProjectApiService) SetSubprojectsOrder

func (a *ProjectApiService) SetSubprojectsOrder(ctx context.Context, projectLocator string, localVarOptionals *SetSubprojectsOrderOpts) (Projects, *http.Response, error)

func (*ProjectApiService) UpdateBuildParameter

func (a *ProjectApiService) UpdateBuildParameter(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterOpts) (Property, *http.Response, error)

func (*ProjectApiService) UpdateBuildParameterSpecification

func (a *ProjectApiService) UpdateBuildParameterSpecification(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterSpecificationOpts) (string, *http.Response, error)

func (*ProjectApiService) UpdateBuildParameterType

func (a *ProjectApiService) UpdateBuildParameterType(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterTypeOpts) (ModelType, *http.Response, error)

func (*ProjectApiService) UpdateBuildParameterValue

func (a *ProjectApiService) UpdateBuildParameterValue(ctx context.Context, name string, projectLocator string, localVarOptionals *UpdateBuildParameterValueOpts) (string, *http.Response, error)

func (*ProjectApiService) UpdateBuildParameters

func (a *ProjectApiService) UpdateBuildParameters(ctx context.Context, projectLocator string, localVarOptionals *UpdateBuildParametersOpts) (Properties, *http.Response, error)

func (*ProjectApiService) UpdateFeature

func (a *ProjectApiService) UpdateFeature(ctx context.Context, featureLocator string, projectLocator string, localVarOptionals *UpdateFeatureOpts) (interface{}, *http.Response, error)

func (*ProjectApiService) UpdateFeatures

func (a *ProjectApiService) UpdateFeatures(ctx context.Context, projectLocator string, localVarOptionals *UpdateFeaturesOpts) (interface{}, *http.Response, error)

type ProjectFeature

type ProjectFeature struct {
	Id         string      `json:"id,omitempty"`
	Name       string      `json:"name,omitempty"`
	Type_      string      `json:"type,omitempty"`
	Disabled   bool        `json:"disabled,omitempty"`
	Inherited  bool        `json:"inherited,omitempty"`
	Href       string      `json:"href,omitempty"`
	Properties *Properties `json:"properties,omitempty"`
}

Represents a project feature.

type ProjectFeatures

type ProjectFeatures struct {
	Count          int32            `json:"count,omitempty"`
	Href           string           `json:"href,omitempty"`
	ProjectFeature []ProjectFeature `json:"projectFeature,omitempty"`
}

Represents a list of ProjectFeature entities.

type ProjectLocator

type ProjectLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Is archived.
	Archived bool `json:"archived,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Default template locator.
	DefaultTemplate string `json:"defaultTemplate,omitempty"`
	Id              string `json:"id,omitempty"`
	InternalId      string `json:"internalId,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Name string `json:"name,omitempty"`
	// Associated agent pool locator.
	Pool string `json:"pool,omitempty"`
	// Project (direct parent) locator.
	Project string `json:"project,omitempty"`
	// Project feature locator.
	ProjectFeature string `json:"projectFeature,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32  `json:"start,omitempty"`
	Uuid  string `json:"uuid,omitempty"`
	// VCS root locator.
	VcsRoot string `json:"vcsRoot,omitempty"`
	// Is virtual (default=false).
	Virtual bool `json:"virtual,omitempty"`
}

Represents a locator string for filtering Project entities.

type Projects

type Projects struct {
	Count    int32     `json:"count,omitempty"`
	Href     string    `json:"href,omitempty"`
	NextHref string    `json:"nextHref,omitempty"`
	PrevHref string    `json:"prevHref,omitempty"`
	Project  []Project `json:"project,omitempty"`
}

Represents a paginated list of Project entities.

type Properties

type Properties struct {
	Count    int32      `json:"count,omitempty"`
	Href     string     `json:"href,omitempty"`
	Property []Property `json:"property,omitempty"`
}

Represents a list of Property entities.

type Property

type Property struct {
	Name      string     `json:"name,omitempty"`
	Value     string     `json:"value,omitempty"`
	Inherited bool       `json:"inherited,omitempty"`
	Type_     *ModelType `json:"type,omitempty"`
}

Represents a name-value-type relation.

type PutAvatarOpts

type PutAvatarOpts struct {
	Avatar optional.Interface
}
type Related struct {
	Builds *Builds `json:"builds,omitempty"`
}

Represents a link to the Builds entity.

type RelatedEntities

type RelatedEntities struct {
	Count  int32           `json:"count,omitempty"`
	Entity []RelatedEntity `json:"entity,omitempty"`
}

Represents a list of RelatedEntity entities.

type RelatedEntity

type RelatedEntity struct {
	Type_      string     `json:"type,omitempty"`
	Unknown    bool       `json:"unknown,omitempty"`
	InternalId string     `json:"internalId,omitempty"`
	Text       string     `json:"text,omitempty"`
	Build      *Build     `json:"build,omitempty"`
	BuildType  *BuildType `json:"buildType,omitempty"`
	Project    *Project   `json:"project,omitempty"`
	User       *User      `json:"user,omitempty"`
	Group      *Group     `json:"group,omitempty"`
	Problem    *Problem   `json:"problem,omitempty"`
	Agent      *Agent     `json:"agent,omitempty"`
	VcsRoot    *VcsRoot   `json:"vcsRoot,omitempty"`
	Change     *Change    `json:"change,omitempty"`
	AgentPool  *AgentPool `json:"agentPool,omitempty"`
}

Represents a related entity.

type RemoveAllTemplatesOpts

type RemoveAllTemplatesOpts struct {
	InlineSettings optional.Bool
}

type RemoveDefaultTemplateOpts

type RemoveDefaultTemplateOpts struct {
	Fields optional.String
}

type RemoveMultipleBuildTagsOpts

type RemoveMultipleBuildTagsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type RemoveTemplateOpts

type RemoveTemplateOpts struct {
	InlineSettings optional.Bool
}

type RemoveUserFromGroupOpts

type RemoveUserFromGroupOpts struct {
	Fields optional.String
}

type ReplaceAgentRequirementOpts

type ReplaceAgentRequirementOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllAgentRequirementsOpts

type ReplaceAllAgentRequirementsOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllArtifactDependenciesOpts

type ReplaceAllArtifactDependenciesOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllBuildFeaturesOpts

type ReplaceAllBuildFeaturesOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllBuildStepsOpts

type ReplaceAllBuildStepsOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllSnapshotDependenciesOpts

type ReplaceAllSnapshotDependenciesOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllTriggersOpts

type ReplaceAllTriggersOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceAllVcsRootsOpts

type ReplaceAllVcsRootsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type ReplaceArtifactDependencyOpts

type ReplaceArtifactDependencyOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceBuildFeatureOpts

type ReplaceBuildFeatureOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceBuildFeatureParametersOpts

type ReplaceBuildFeatureParametersOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type ReplaceBuildStepOpts

type ReplaceBuildStepOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceInvestigationOpts

type ReplaceInvestigationOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type ReplaceSnapshotDependencyOpts

type ReplaceSnapshotDependencyOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceTriggerOpts

type ReplaceTriggerOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type ReplaceUserOpts

type ReplaceUserOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type RepositoryState

type RepositoryState struct {
	Timestamp string          `json:"timestamp,omitempty"`
	Count     int32           `json:"count,omitempty"`
	Branch    []BranchVersion `json:"branch,omitempty"`
}

Represents the list of the repository Branch entities with their recent revisions.

type RequestPendingChangesCheckOpts

type RequestPendingChangesCheckOpts struct {
	Locator   optional.String
	Requestor optional.String
	Fields    optional.String
}

type Requirements

type Requirements struct {
	Description string `json:"description,omitempty"`
}

Represents a list of unmet requirements of a build.

type Resolution

type Resolution struct {
	Type_ string `json:"type,omitempty"`
	Time  string `json:"time,omitempty"`
}

Represents an investigation resolution timestamp and details.

type Responsibility

type Responsibility struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

Represents a single responsibility of a TeamCity node.

type Revision

type Revision struct {
	Version         string           `json:"version,omitempty"`
	InternalVersion string           `json:"internalVersion,omitempty"`
	VcsBranchName   string           `json:"vcsBranchName,omitempty"`
	VcsRootInstance *VcsRootInstance `json:"vcs-root-instance,omitempty"`
	CheckoutRules   string           `json:"checkout-rules,omitempty"`
}

Represents a revision related to a VCS change.

type Revisions

type Revisions struct {
	Count                  int32      `json:"count,omitempty"`
	Revision               []Revision `json:"revision,omitempty"`
	FailOnMissingRevisions bool       `json:"failOnMissingRevisions,omitempty"`
}

Represents a list of Revision entities.

type Role

type Role struct {
	RoleId string `json:"roleId,omitempty"`
	Scope  string `json:"scope,omitempty"`
	Href   string `json:"href,omitempty"`
}

Represents a user/group role.

type Roles

type Roles struct {
	Role []Role `json:"role,omitempty"`
}

Represents a list of Role entities.

type RootApiService

type RootApiService service

func (*RootApiService) GetApiVersion

func (a *RootApiService) GetApiVersion(ctx context.Context) (string, *http.Response, error)

RootApiService Get the API version.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

func (*RootApiService) GetPluginInfo

func (a *RootApiService) GetPluginInfo(ctx context.Context, localVarOptionals *GetPluginInfoOpts) (Plugin, *http.Response, error)

func (*RootApiService) GetRootEndpointsOfRoot

func (a *RootApiService) GetRootEndpointsOfRoot(ctx context.Context) (string, *http.Response, error)

RootApiService Get root endpoints.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

func (*RootApiService) GetVersion

func (a *RootApiService) GetVersion(ctx context.Context) (string, *http.Response, error)

RootApiService Get the TeamCity server version.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

type Server

type Server struct {
	Version        string `json:"version,omitempty"`
	VersionMajor   int32  `json:"versionMajor,omitempty"`
	VersionMinor   int32  `json:"versionMinor,omitempty"`
	StartTime      string `json:"startTime,omitempty"`
	CurrentTime    string `json:"currentTime,omitempty"`
	BuildNumber    string `json:"buildNumber,omitempty"`
	BuildDate      string `json:"buildDate,omitempty"`
	InternalId     string `json:"internalId,omitempty"`
	Role           string `json:"role,omitempty"`
	WebUrl         string `json:"webUrl,omitempty"`
	Projects       *Href  `json:"projects,omitempty"`
	VcsRoots       *Href  `json:"vcsRoots,omitempty"`
	Builds         *Href  `json:"builds,omitempty"`
	Users          *Href  `json:"users,omitempty"`
	UserGroups     *Href  `json:"userGroups,omitempty"`
	Agents         *Href  `json:"agents,omitempty"`
	BuildQueue     *Href  `json:"buildQueue,omitempty"`
	AgentPools     *Href  `json:"agentPools,omitempty"`
	Investigations *Href  `json:"investigations,omitempty"`
	Mutes          *Href  `json:"mutes,omitempty"`
	ArtifactsUrl   string `json:"artifactsUrl,omitempty"`
	Nodes          *Href  `json:"nodes,omitempty"`
}

Represents various details of this server including the installation version.

type ServerApiService

type ServerApiService service

func (*ServerApiService) AddLicenseKeys

func (a *ServerApiService) AddLicenseKeys(ctx context.Context, localVarOptionals *AddLicenseKeysOpts) (LicenseKeys, *http.Response, error)

func (*ServerApiService) DeleteLicenseKey

func (a *ServerApiService) DeleteLicenseKey(ctx context.Context, licenseKey string) (*http.Response, error)

ServerApiService Delete a license key.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param licenseKey

func (*ServerApiService) DownloadFileOfServer

func (a *ServerApiService) DownloadFileOfServer(ctx context.Context, path string, areaId string) (*http.Response, error)

ServerApiService Download specific file.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param path
  • @param areaId

func (*ServerApiService) GetAllMetrics

func (a *ServerApiService) GetAllMetrics(ctx context.Context, localVarOptionals *GetAllMetricsOpts) (Metrics, *http.Response, error)

func (*ServerApiService) GetAllPlugins

func (a *ServerApiService) GetAllPlugins(ctx context.Context, localVarOptionals *GetAllPluginsOpts) (Plugins, *http.Response, error)

func (*ServerApiService) GetBackupStatus

func (a *ServerApiService) GetBackupStatus(ctx context.Context) (string, *http.Response, error)

ServerApiService Get the latest backup status.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

func (*ServerApiService) GetFileMetadataOfServer

func (a *ServerApiService) GetFileMetadataOfServer(ctx context.Context, path string, areaId string, localVarOptionals *GetFileMetadataOfServerOpts) (*os.File, *http.Response, error)

func (*ServerApiService) GetFilesListForSubpathOfServer

func (a *ServerApiService) GetFilesListForSubpathOfServer(ctx context.Context, path string, areaId string, localVarOptionals *GetFilesListForSubpathOfServerOpts) (Files, *http.Response, error)

func (*ServerApiService) GetFilesListOfServer

func (a *ServerApiService) GetFilesListOfServer(ctx context.Context, areaId string, localVarOptionals *GetFilesListOfServerOpts) (Files, *http.Response, error)

func (*ServerApiService) GetLicenseKey

func (a *ServerApiService) GetLicenseKey(ctx context.Context, licenseKey string, localVarOptionals *GetLicenseKeyOpts) (LicenseKey, *http.Response, error)

func (*ServerApiService) GetLicenseKeys

func (a *ServerApiService) GetLicenseKeys(ctx context.Context, localVarOptionals *GetLicenseKeysOpts) (LicenseKeys, *http.Response, error)

func (*ServerApiService) GetLicensingData

func (a *ServerApiService) GetLicensingData(ctx context.Context, localVarOptionals *GetLicensingDataOpts) (LicensingData, *http.Response, error)

func (*ServerApiService) GetServerField

func (a *ServerApiService) GetServerField(ctx context.Context, field string) (string, *http.Response, error)

ServerApiService Get a field of the server info.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param field

@return string

func (*ServerApiService) GetServerInfo

func (a *ServerApiService) GetServerInfo(ctx context.Context, localVarOptionals *GetServerInfoOpts) (Server, *http.Response, error)

func (*ServerApiService) GetZippedFileOfServer

func (a *ServerApiService) GetZippedFileOfServer(ctx context.Context, path string, areaId string, localVarOptionals *GetZippedFileOfServerOpts) (*http.Response, error)

func (*ServerApiService) StartBackup

func (a *ServerApiService) StartBackup(ctx context.Context, localVarOptionals *StartBackupOpts) (string, *http.Response, error)

type SetAgentFieldOpts

type SetAgentFieldOpts struct {
	Body optional.String
}

type SetAgentPoolFieldOpts

type SetAgentPoolFieldOpts struct {
	Body optional.String
}

type SetAgentPoolOpts

type SetAgentPoolOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetAgentPoolProjectsOpts

type SetAgentPoolProjectsOpts struct {
	Body optional.Interface
}

type SetAgentPoolsProjectOpts

type SetAgentPoolsProjectOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetAgentRequirementParameterOpts

type SetAgentRequirementParameterOpts struct {
	Body optional.String
}

type SetArtifactDependencyParameterOpts

type SetArtifactDependencyParameterOpts struct {
	Body optional.String
}

type SetAuthorizedInfoOpts

type SetAuthorizedInfoOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetBuildCommentOpts

type SetBuildCommentOpts struct {
	Body optional.String
}

type SetBuildConfigurationRunPolicyOpts

type SetBuildConfigurationRunPolicyOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetBuildFeatureParameterOpts

type SetBuildFeatureParameterOpts struct {
	Body optional.String
}

type SetBuildFinishDateOpts

type SetBuildFinishDateOpts struct {
	Body optional.String
}

type SetBuildNumberOpts

type SetBuildNumberOpts struct {
	Body optional.String
}

type SetBuildPinInfoOpts

type SetBuildPinInfoOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetBuildStatusOpts

type SetBuildStatusOpts struct {
	Fields optional.String
	Body   optional.Interface
}

type SetBuildStatusTextOpts

type SetBuildStatusTextOpts struct {
	Body optional.String
}

type SetBuildStepParameterOpts

type SetBuildStepParameterOpts struct {
	Body optional.String
}

type SetBuildTagsOpts

type SetBuildTagsOpts struct {
	Locator optional.String
	Body    optional.Interface
	Fields  optional.String
}

type SetBuildTypeFieldOpts

type SetBuildTypeFieldOpts struct {
	Body optional.String
}

type SetBuildTypeTemplatesOpts

type SetBuildTypeTemplatesOpts struct {
	Body             optional.Interface
	OptimizeSettings optional.Bool
	Fields           optional.String
}

type SetBuildTypesOrderOpts

type SetBuildTypesOrderOpts struct {
	Body  optional.Interface
	Field optional.String
}

type SetDefaultTemplateOpts

type SetDefaultTemplateOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetEnabledInfoOpts

type SetEnabledInfoOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetGroupParentGroupsOpts

type SetGroupParentGroupsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetGroupPropertyOpts

type SetGroupPropertyOpts struct {
	Body optional.String
}

type SetGroupRolesOpts

type SetGroupRolesOpts struct {
	Body optional.Interface
}

type SetMultipleBuildCommentsOpts

type SetMultipleBuildCommentsOpts struct {
	Body   optional.String
	Fields optional.String
}

type SetParentProjectOpts

type SetParentProjectOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetProjectFieldOpts

type SetProjectFieldOpts struct {
	Body optional.String
}

type SetQueuedBuildPositionOpts

type SetQueuedBuildPositionOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetQueuedBuildsOrderOpts

type SetQueuedBuildsOrderOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetSubprojectsOrderOpts

type SetSubprojectsOrderOpts struct {
	Body  optional.Interface
	Field optional.String
}

type SetTriggerParameterOpts

type SetTriggerParameterOpts struct {
	Body optional.String
}

type SetUserFieldOpts

type SetUserFieldOpts struct {
	Body optional.String
}

type SetUserGroupsOpts

type SetUserGroupsOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetUserPropertyOpts

type SetUserPropertyOpts struct {
	Body optional.String
}

type SetUserRolesOpts

type SetUserRolesOpts struct {
	Body optional.Interface
}

type SetVcsRootFieldOpts

type SetVcsRootFieldOpts struct {
	Body optional.String
}

type SetVcsRootInstanceFieldOpts

type SetVcsRootInstanceFieldOpts struct {
	Body optional.String
}

type SetVcsRootInstanceRepositoryStateOpts

type SetVcsRootInstanceRepositoryStateOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetVcsRootPropertiesOpts

type SetVcsRootPropertiesOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type SetVcsRootPropertyOpts

type SetVcsRootPropertyOpts struct {
	Body optional.String
}

type SnapshotDependencies

type SnapshotDependencies struct {
	Count              int32                `json:"count,omitempty"`
	SnapshotDependency []SnapshotDependency `json:"snapshot-dependency,omitempty"`
}

Represents a list of SnapshotDependency entities.

type SnapshotDependency

type SnapshotDependency struct {
	Id              string      `json:"id,omitempty"`
	Name            string      `json:"name,omitempty"`
	Type_           string      `json:"type,omitempty"`
	Disabled        bool        `json:"disabled,omitempty"`
	Inherited       bool        `json:"inherited,omitempty"`
	Href            string      `json:"href,omitempty"`
	Properties      *Properties `json:"properties,omitempty"`
	SourceBuildType *BuildType  `json:"source-buildType,omitempty"`
}

Represents a snapshot dependency relation.

type SnapshotDependencyLink struct {
	Build           *Build     `json:"build,omitempty"`
	BuildType       *BuildType `json:"buildType,omitempty"`
	BuildTypeBranch string     `json:"buildTypeBranch,omitempty"`
}

type StartBackupOpts

type StartBackupOpts struct {
	FileName                 optional.String
	AddTimestamp             optional.Bool
	IncludeConfigs           optional.Bool
	IncludeDatabase          optional.Bool
	IncludeBuildLogs         optional.Bool
	IncludePersonalChanges   optional.Bool
	IncludeRunningBuilds     optional.Bool
	IncludeSupplimentaryData optional.Bool
}

type StartInstanceOpts

type StartInstanceOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type StateField

type StateField struct {
	Value     bool `json:"value,omitempty"`
	Inherited bool `json:"inherited,omitempty"`
}

Represents a project state field (as of now, limited to the read-only state of project).

type Step

type Step struct {
	Id         string      `json:"id,omitempty"`
	Name       string      `json:"name,omitempty"`
	Type_      string      `json:"type,omitempty"`
	Disabled   bool        `json:"disabled,omitempty"`
	Inherited  bool        `json:"inherited,omitempty"`
	Href       string      `json:"href,omitempty"`
	Properties *Properties `json:"properties,omitempty"`
}

Represents a build step.

type Steps

type Steps struct {
	Count int32  `json:"count,omitempty"`
	Step  []Step `json:"step,omitempty"`
}

Represents a list of Step entities.

type Tag

type Tag struct {
	Name    string `json:"name,omitempty"`
	Owner   *User  `json:"owner,omitempty"`
	Private bool   `json:"private,omitempty"`
}

Represents a single build tag.

type TagLocator

type TagLocator struct {
	Name    string `json:"name,omitempty"`
	Owner   string `json:"owner,omitempty"`
	Private string `json:"private,omitempty"`
}

Represents a locator string for filtering Tag entities.

type Tags

type Tags struct {
	Count int32 `json:"count,omitempty"`
	Tag   []Tag `json:"tag,omitempty"`
}

Represents a list of Tag entities.

type TeamCityNodeLocator

type TeamCityNodeLocator struct {
	// Supply multiple locators and return a union of the results.
	Item  string `json:"item,omitempty"`
	Role  string `json:"role,omitempty"`
	State string `json:"state,omitempty"`
}

Represents a locator string for filtering Node entities.

type TestCounters

type TestCounters struct {
	Ignored   int32 `json:"ignored,omitempty"`
	Failed    int32 `json:"failed,omitempty"`
	Muted     int32 `json:"muted,omitempty"`
	Success   int32 `json:"success,omitempty"`
	All       int32 `json:"all,omitempty"`
	NewFailed int32 `json:"newFailed,omitempty"`
	Duration  int64 `json:"duration,omitempty"`
}

Represents a test results counter (how many times this test was successful/failed/muted/ignored).

type TestLocator

type TestLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Is currently failing.
	CurrentlyFailing bool `json:"currentlyFailing,omitempty"`
	// Is currently investigated.
	CurrentlyInvestigated bool `json:"currentlyInvestigated,omitempty"`
	// Is currently muted.
	CurrentlyMuted bool `json:"currentlyMuted,omitempty"`
	// Entity ID.
	Id int32 `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// Build type locator (for finding out if this test is affected by mutes in build type).
	MuteAffected string `json:"muteAffected,omitempty"`
	Name         string `json:"name,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
}

Represents a locator string for filtering Test entities.

type TestOccurrence

type TestOccurrence struct {
	Id                    string           `json:"id,omitempty"`
	Name                  string           `json:"name,omitempty"`
	Status                string           `json:"status,omitempty"`
	Ignored               bool             `json:"ignored,omitempty"`
	Duration              int32            `json:"duration,omitempty"`
	RunOrder              string           `json:"runOrder,omitempty"`
	NewFailure            bool             `json:"newFailure,omitempty"`
	Muted                 bool             `json:"muted,omitempty"`
	CurrentlyMuted        bool             `json:"currentlyMuted,omitempty"`
	CurrentlyInvestigated bool             `json:"currentlyInvestigated,omitempty"`
	Href                  string           `json:"href,omitempty"`
	IgnoreDetails         string           `json:"ignoreDetails,omitempty"`
	Details               string           `json:"details,omitempty"`
	Mute                  *Mute            `json:"mute,omitempty"`
	Build                 *Build           `json:"build,omitempty"`
	FirstFailed           *TestOccurrence  `json:"firstFailed,omitempty"`
	NextFixed             *TestOccurrence  `json:"nextFixed,omitempty"`
	Invocations           *TestOccurrences `json:"invocations,omitempty"`
	Metadata              *TestRunMetadata `json:"metadata,omitempty"`
	LogAnchor             string           `json:"logAnchor,omitempty"`
}

Represents a relation between a test and the specific build.

type TestOccurrenceApiService

type TestOccurrenceApiService service

func (*TestOccurrenceApiService) GetAllTestOccurrences

func (a *TestOccurrenceApiService) GetAllTestOccurrences(ctx context.Context, localVarOptionals *GetAllTestOccurrencesOpts) (TestOccurrences, *http.Response, error)

func (*TestOccurrenceApiService) GetTestOccurrence

func (a *TestOccurrenceApiService) GetTestOccurrence(ctx context.Context, testLocator string, localVarOptionals *GetTestOccurrenceOpts) (TestOccurrence, *http.Response, error)

type TestOccurrenceLocator

type TestOccurrenceLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	Branch          string `json:"branch,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Is currently failing.
	CurrentlyFailing bool `json:"currentlyFailing,omitempty"`
	// Is currently investigated.
	CurrentlyInvestigated bool   `json:"currentlyInvestigated,omitempty"`
	CurrentlyMuted        string `json:"currentlyMuted,omitempty"`
	// Entity ID.
	Id int32 `json:"id,omitempty"`
	// Is ignored.
	Ignored         bool `json:"ignored,omitempty"`
	IncludePersonal bool `json:"includePersonal,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// Is muted.
	Muted      bool   `json:"muted,omitempty"`
	Name       string `json:"name,omitempty"`
	NewFailure string `json:"newFailure,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start  int32  `json:"start,omitempty"`
	Status string `json:"status,omitempty"`
	// Test locator.
	Test string `json:"test,omitempty"`
}

Represents a locator string for filtering TestOccurrence entities.

type TestOccurrences

type TestOccurrences struct {
	Count          int32            `json:"count,omitempty"`
	Href           string           `json:"href,omitempty"`
	NextHref       string           `json:"nextHref,omitempty"`
	PrevHref       string           `json:"prevHref,omitempty"`
	TestOccurrence []TestOccurrence `json:"testOccurrence,omitempty"`
	TestCounters   *TestCounters    `json:"testCounters,omitempty"`
	Passed         int32            `json:"passed,omitempty"`
	Muted          int32            `json:"muted,omitempty"`
	Ignored        int32            `json:"ignored,omitempty"`
	Failed         int32            `json:"failed,omitempty"`
	NewFailed      int32            `json:"newFailed,omitempty"`
}

Represents a paginated list of TestOccurrence entities.

type TestRunMetadata

type TestRunMetadata struct {
	Count       int32        `json:"count,omitempty"`
	TypedValues []TypedValue `json:"typedValues,omitempty"`
}

Represents a list of TypedValue entities.

type Tests

type Tests struct {
	Count          int32         `json:"count,omitempty"`
	MyTestCounters *TestCounters `json:"myTestCounters,omitempty"`
	NextHref       string        `json:"nextHref,omitempty"`
	PrevHref       string        `json:"prevHref,omitempty"`
}

Represents a paginated list of Test entities.

type Token

type Token struct {
	Name                   string                  `json:"name,omitempty"`
	CreationTime           time.Time               `json:"creationTime,omitempty"`
	Value                  string                  `json:"value,omitempty"`
	ExpirationTime         time.Time               `json:"expirationTime,omitempty"`
	PermissionRestrictions *PermissionRestrictions `json:"permissionRestrictions,omitempty"`
}

Represents an authentication token.

type Tokens

type Tokens struct {
	Count int32   `json:"count,omitempty"`
	Token []Token `json:"token,omitempty"`
}

Represents a list of Token entities.

type Trigger

type Trigger struct {
	Id                 string                     `json:"id,omitempty"`
	Name               string                     `json:"name,omitempty"`
	Type_              string                     `json:"type,omitempty"`
	Disabled           bool                       `json:"disabled,omitempty"`
	Inherited          bool                       `json:"inherited,omitempty"`
	Href               string                     `json:"href,omitempty"`
	Properties         *Properties                `json:"properties,omitempty"`
	BuildCustomization *BuildTriggerCustomization `json:"buildCustomization,omitempty"`
}

Represents a build trigger.

type TriggerCommitHookNotificationOpts

type TriggerCommitHookNotificationOpts struct {
	Locator          optional.String
	OkOnNothingFound optional.Bool
}

type TriggeredBy

type TriggeredBy struct {
	Type_       string      `json:"type,omitempty"`
	Details     string      `json:"details,omitempty"`
	Date        string      `json:"date,omitempty"`
	DisplayText string      `json:"displayText,omitempty"`
	RawValue    string      `json:"rawValue,omitempty"`
	User        *User       `json:"user,omitempty"`
	Build       *Build      `json:"build,omitempty"`
	BuildType   *BuildType  `json:"buildType,omitempty"`
	Properties  *Properties `json:"properties,omitempty"`
}

Represents the user/trigger/dependency which caused this build to start.

type Triggers

type Triggers struct {
	Count   int32     `json:"count,omitempty"`
	Trigger []Trigger `json:"trigger,omitempty"`
}

Represents a list of Trigger entities.

type TypedValue

type TypedValue struct {
	Name  string `json:"name,omitempty"`
	Type_ string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

Represents a name-value-type relation.

type UnmuteTestOpts

type UnmuteTestOpts struct {
	Body optional.String
}

type UpdateBuildParameterOfBuildTypeOpts

type UpdateBuildParameterOfBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateBuildParameterOpts

type UpdateBuildParameterOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateBuildParameterSpecificationOfBuildTypeOpts

type UpdateBuildParameterSpecificationOfBuildTypeOpts struct {
	Body optional.String
}

type UpdateBuildParameterSpecificationOpts

type UpdateBuildParameterSpecificationOpts struct {
	Body optional.String
}

type UpdateBuildParameterTypeOfBuildTypeOpts

type UpdateBuildParameterTypeOfBuildTypeOpts struct {
	Body optional.Interface
}

type UpdateBuildParameterTypeOpts

type UpdateBuildParameterTypeOpts struct {
	Body optional.Interface
}

type UpdateBuildParameterValueOfBuildTypeOpts

type UpdateBuildParameterValueOfBuildTypeOpts struct {
	Body optional.String
}

type UpdateBuildParameterValueOpts

type UpdateBuildParameterValueOpts struct {
	Body optional.String
}

type UpdateBuildParametersOfBuildTypeOpts

type UpdateBuildParametersOfBuildTypeOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateBuildParametersOpts

type UpdateBuildParametersOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateBuildTypeVcsRootCheckoutRulesOpts

type UpdateBuildTypeVcsRootCheckoutRulesOpts struct {
	Body optional.String
}

type UpdateBuildTypeVcsRootOpts

type UpdateBuildTypeVcsRootOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateFeatureOpts

type UpdateFeatureOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type UpdateFeaturesOpts

type UpdateFeaturesOpts struct {
	Body   optional.Interface
	Fields optional.String
}

type User

type User struct {
	Username    string       `json:"username,omitempty"`
	Name        string       `json:"name,omitempty"`
	Id          int64        `json:"id,omitempty"`
	Email       string       `json:"email,omitempty"`
	LastLogin   string       `json:"lastLogin,omitempty"`
	Password    string       `json:"password,omitempty"`
	HasPassword bool         `json:"hasPassword,omitempty"`
	Realm       string       `json:"realm,omitempty"`
	Href        string       `json:"href,omitempty"`
	Properties  *Properties  `json:"properties,omitempty"`
	Roles       *Roles       `json:"roles,omitempty"`
	Groups      *Groups      `json:"groups,omitempty"`
	Locator     string       `json:"locator,omitempty"`
	Avatars     *UserAvatars `json:"avatars,omitempty"`
	Enabled2FA  bool         `json:"enabled2FA,omitempty"`
}

Represents a user.

type UserApiService

type UserApiService service

func (*UserApiService) AddRoleToUser

func (a *UserApiService) AddRoleToUser(ctx context.Context, userLocator string, localVarOptionals *AddRoleToUserOpts) (Role, *http.Response, error)

func (*UserApiService) AddRoleToUserAtScope

func (a *UserApiService) AddRoleToUserAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)

UserApiService Add a role with the specific scope to the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param roleId
  • @param scope

@return Role

func (*UserApiService) AddUser

func (a *UserApiService) AddUser(ctx context.Context, localVarOptionals *AddUserOpts) (User, *http.Response, error)

func (*UserApiService) AddUserToken

func (a *UserApiService) AddUserToken(ctx context.Context, userLocator string, localVarOptionals *AddUserTokenOpts) (Token, *http.Response, error)

func (*UserApiService) DeleteUser

func (a *UserApiService) DeleteUser(ctx context.Context, userLocator string) (*http.Response, error)

UserApiService Delete user matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator

func (*UserApiService) DeleteUserField

func (a *UserApiService) DeleteUserField(ctx context.Context, userLocator string, field string) (*http.Response, error)

UserApiService Remove a property of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param field

func (*UserApiService) DeleteUserToken

func (a *UserApiService) DeleteUserToken(ctx context.Context, userLocator string, name string) (*http.Response, error)

UserApiService Remove an authentication token from the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param name

func (*UserApiService) GetAllUserGroups

func (a *UserApiService) GetAllUserGroups(ctx context.Context, userLocator string, localVarOptionals *GetAllUserGroupsOpts) (Groups, *http.Response, error)

func (*UserApiService) GetAllUserRoles

func (a *UserApiService) GetAllUserRoles(ctx context.Context, userLocator string) (Roles, *http.Response, error)

UserApiService Get all user roles of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator

@return Roles

func (*UserApiService) GetAllUsers

func (a *UserApiService) GetAllUsers(ctx context.Context, localVarOptionals *GetAllUsersOpts) (Users, *http.Response, error)

func (*UserApiService) GetUser

func (a *UserApiService) GetUser(ctx context.Context, userLocator string, localVarOptionals *GetUserOpts) (User, *http.Response, error)

func (*UserApiService) GetUserField

func (a *UserApiService) GetUserField(ctx context.Context, userLocator string, field string) (string, *http.Response, error)

UserApiService Get a field of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param field

@return string

func (*UserApiService) GetUserGroup

func (a *UserApiService) GetUserGroup(ctx context.Context, userLocator string, groupLocator string, localVarOptionals *GetUserGroupOpts) (Group, *http.Response, error)

func (*UserApiService) GetUserPermissions

func (a *UserApiService) GetUserPermissions(ctx context.Context, userLocator string, localVarOptionals *GetUserPermissionsOpts) (PermissionAssignments, *http.Response, error)

func (*UserApiService) GetUserProperties

func (a *UserApiService) GetUserProperties(ctx context.Context, userLocator string, localVarOptionals *GetUserPropertiesOpts) (Properties, *http.Response, error)

func (*UserApiService) GetUserProperty

func (a *UserApiService) GetUserProperty(ctx context.Context, userLocator string, name string) (string, *http.Response, error)

UserApiService Get a property of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param name

@return string

func (*UserApiService) GetUserRolesAtScope

func (a *UserApiService) GetUserRolesAtScope(ctx context.Context, userLocator string, roleId string, scope string) (Role, *http.Response, error)

UserApiService Get a user role with the specific scope from the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param roleId
  • @param scope

@return Role

func (*UserApiService) GetUserTokens

func (a *UserApiService) GetUserTokens(ctx context.Context, userLocator string, localVarOptionals *GetUserTokensOpts) (Tokens, *http.Response, error)

func (*UserApiService) RemoveUserFromGroup

func (a *UserApiService) RemoveUserFromGroup(ctx context.Context, userLocator string, groupLocator string, localVarOptionals *RemoveUserFromGroupOpts) (*http.Response, error)

func (*UserApiService) RemoveUserProperty

func (a *UserApiService) RemoveUserProperty(ctx context.Context, userLocator string, name string) (*http.Response, error)

UserApiService Remove a property of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param name

func (*UserApiService) RemoveUserRememberMe

func (a *UserApiService) RemoveUserRememberMe(ctx context.Context, userLocator string) (*http.Response, error)

UserApiService Remove the RememberMe data of the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator

func (*UserApiService) RemoveUserRoleAtScope

func (a *UserApiService) RemoveUserRoleAtScope(ctx context.Context, userLocator string, roleId string, scope string) (*http.Response, error)

UserApiService Remove a role with the specific scope from the matching user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userLocator
  • @param roleId
  • @param scope

func (*UserApiService) ReplaceUser

func (a *UserApiService) ReplaceUser(ctx context.Context, userLocator string, localVarOptionals *ReplaceUserOpts) (User, *http.Response, error)

func (*UserApiService) SetUserField

func (a *UserApiService) SetUserField(ctx context.Context, userLocator string, field string, localVarOptionals *SetUserFieldOpts) (string, *http.Response, error)

func (*UserApiService) SetUserGroups

func (a *UserApiService) SetUserGroups(ctx context.Context, userLocator string, localVarOptionals *SetUserGroupsOpts) (Groups, *http.Response, error)

func (*UserApiService) SetUserProperty

func (a *UserApiService) SetUserProperty(ctx context.Context, userLocator string, name string, localVarOptionals *SetUserPropertyOpts) (string, *http.Response, error)

func (*UserApiService) SetUserRoles

func (a *UserApiService) SetUserRoles(ctx context.Context, userLocator string, localVarOptionals *SetUserRolesOpts) (Roles, *http.Response, error)

type UserApprovalRule

type UserApprovalRule struct {
	Approved bool  `json:"approved,omitempty"`
	User     *User `json:"user,omitempty"`
}

Represents user approval rule and its current status for the given build.

type UserApprovals

type UserApprovals struct {
	Count        int32              `json:"count,omitempty"`
	UserApproval []UserApprovalRule `json:"userApproval,omitempty"`
}

Represents a list of UserApprovalRule entities.

type UserAvatars

type UserAvatars struct {
	UrlToSize20 string `json:"urlToSize20,omitempty"`
	UrlToSize28 string `json:"urlToSize28,omitempty"`
	UrlToSize32 string `json:"urlToSize32,omitempty"`
	UrlToSize40 string `json:"urlToSize40,omitempty"`
	UrlToSize56 string `json:"urlToSize56,omitempty"`
	UrlToSize64 string `json:"urlToSize64,omitempty"`
	UrlToSize80 string `json:"urlToSize80,omitempty"`
}

Represents a group of links to the user's avatars

type UserGroupLocator

type UserGroupLocator struct {
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	Key  string `json:"key,omitempty"`
	Name string `json:"name,omitempty"`
}

Represents a locator string for filtering Group entities.

type UserLocator

type UserLocator struct {
	// User group (direct or indirect parent) locator.
	AffectedGroup string `json:"affectedGroup,omitempty"`
	// Return user that has issued this request.
	Current string `json:"current,omitempty"`
	Email   string `json:"email,omitempty"`
	// User group (direct parent) locator.
	Group string `json:"group,omitempty"`
	Id    string `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item      string    `json:"item,omitempty"`
	LastLogin time.Time `json:"lastLogin,omitempty"`
	Name      string    `json:"name,omitempty"`
	Property  string    `json:"property,omitempty"`
	// Role locator.
	Role     string `json:"role,omitempty"`
	Username string `json:"username,omitempty"`
}

Represents a locator string for filtering User entities.

type Users

type Users struct {
	Count int32  `json:"count,omitempty"`
	User  []User `json:"user,omitempty"`
}

Represents a list of User entities.

type VcsCheckStatus

type VcsCheckStatus struct {
	Status        string `json:"status,omitempty"`
	RequestorType string `json:"requestorType,omitempty"`
	Timestamp     string `json:"timestamp,omitempty"`
}

Represents the last known repository check status.

type VcsLabel

type VcsLabel struct {
	Text            string           `json:"text,omitempty"`
	FailureReason   string           `json:"failureReason,omitempty"`
	Status          string           `json:"status,omitempty"`
	BuildId         int64            `json:"buildId,omitempty"`
	VcsRootInstance *VcsRootInstance `json:"vcs-root-instance,omitempty"`
}

Represents a VCS-side label of this build's sources.

type VcsLabels

type VcsLabels struct {
	Count    int32      `json:"count,omitempty"`
	VcsLabel []VcsLabel `json:"vcsLabel,omitempty"`
}

Represents a list of VcsLabel entities.

type VcsRoot

type VcsRoot struct {
	Id                        string            `json:"id,omitempty"`
	InternalId                string            `json:"internalId,omitempty"`
	Uuid                      string            `json:"uuid,omitempty"`
	Name                      string            `json:"name,omitempty"`
	VcsName                   string            `json:"vcsName,omitempty"`
	ModificationCheckInterval int32             `json:"modificationCheckInterval,omitempty"`
	Href                      string            `json:"href,omitempty"`
	Project                   *Project          `json:"project,omitempty"`
	Properties                *Properties       `json:"properties,omitempty"`
	VcsRootInstances          *VcsRootInstances `json:"vcsRootInstances,omitempty"`
	RepositoryIdStrings       *Items            `json:"repositoryIdStrings,omitempty"`
	ProjectLocator            string            `json:"projectLocator,omitempty"`
	Locator                   string            `json:"locator,omitempty"`
}

Represents a VCS root.

type VcsRootApiService

type VcsRootApiService service

func (*VcsRootApiService) AddVcsRoot

func (a *VcsRootApiService) AddVcsRoot(ctx context.Context, localVarOptionals *AddVcsRootOpts) (VcsRoot, *http.Response, error)

func (*VcsRootApiService) DeleteAllVcsRootProperties

func (a *VcsRootApiService) DeleteAllVcsRootProperties(ctx context.Context, vcsRootLocator string) (*http.Response, error)

VcsRootApiService Delete all properties of the matching VCS root.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator

func (*VcsRootApiService) DeleteVcsRoot

func (a *VcsRootApiService) DeleteVcsRoot(ctx context.Context, vcsRootLocator string) (*http.Response, error)

VcsRootApiService Remove VCS root matching the locator.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator

func (*VcsRootApiService) DeleteVcsRootProperty

func (a *VcsRootApiService) DeleteVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (*http.Response, error)

VcsRootApiService Delete a property of the matching VCS root.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator
  • @param name

func (*VcsRootApiService) GetAllVcsRootProperties

func (a *VcsRootApiService) GetAllVcsRootProperties(ctx context.Context, vcsRootLocator string, localVarOptionals *GetAllVcsRootPropertiesOpts) (Properties, *http.Response, error)

func (*VcsRootApiService) GetAllVcsRoots

func (a *VcsRootApiService) GetAllVcsRoots(ctx context.Context, localVarOptionals *GetAllVcsRootsOpts) (VcsRoots, *http.Response, error)

func (*VcsRootApiService) GetRootEndpoints

func (a *VcsRootApiService) GetRootEndpoints(ctx context.Context, vcsRootLocator string, localVarOptionals *GetRootEndpointsOpts) (VcsRoot, *http.Response, error)

func (*VcsRootApiService) GetVcsRootField

func (a *VcsRootApiService) GetVcsRootField(ctx context.Context, vcsRootLocator string, field string) (string, *http.Response, error)

VcsRootApiService Get a field of the matching VCS root.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator
  • @param field

@return string

func (*VcsRootApiService) GetVcsRootInstances

func (a *VcsRootApiService) GetVcsRootInstances(ctx context.Context, vcsRootLocator string, localVarOptionals *GetVcsRootInstancesOpts) (VcsRootInstances, *http.Response, error)

func (*VcsRootApiService) GetVcsRootProperty

func (a *VcsRootApiService) GetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string) (string, *http.Response, error)

VcsRootApiService Get a property on the matching VCS root.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator
  • @param name

@return string

func (*VcsRootApiService) GetVcsRootSettingsFile

func (a *VcsRootApiService) GetVcsRootSettingsFile(ctx context.Context, vcsRootLocator string) (string, *http.Response, error)

VcsRootApiService Get the settings file of the matching VCS root.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootLocator

@return string

func (*VcsRootApiService) SetVcsRootField

func (a *VcsRootApiService) SetVcsRootField(ctx context.Context, vcsRootLocator string, field string, localVarOptionals *SetVcsRootFieldOpts) (string, *http.Response, error)

func (*VcsRootApiService) SetVcsRootProperties

func (a *VcsRootApiService) SetVcsRootProperties(ctx context.Context, vcsRootLocator string, localVarOptionals *SetVcsRootPropertiesOpts) (Properties, *http.Response, error)

func (*VcsRootApiService) SetVcsRootProperty

func (a *VcsRootApiService) SetVcsRootProperty(ctx context.Context, vcsRootLocator string, name string, localVarOptionals *SetVcsRootPropertyOpts) (string, *http.Response, error)

type VcsRootEntries

type VcsRootEntries struct {
	Count        int32          `json:"count,omitempty"`
	VcsRootEntry []VcsRootEntry `json:"vcs-root-entry,omitempty"`
}

Represents a list of VcsRootEntry entities.

type VcsRootEntry

type VcsRootEntry struct {
	Id            string   `json:"id,omitempty"`
	Inherited     bool     `json:"inherited,omitempty"`
	VcsRoot       *VcsRoot `json:"vcs-root,omitempty"`
	CheckoutRules string   `json:"checkout-rules,omitempty"`
}

Represents a VCS root assigned to this build configuration.

type VcsRootInstance

type VcsRootInstance struct {
	Id                        string           `json:"id,omitempty"`
	VcsRootId                 string           `json:"vcs-root-id,omitempty"`
	VcsRootInternalId         string           `json:"vcsRootInternalId,omitempty"`
	Name                      string           `json:"name,omitempty"`
	VcsName                   string           `json:"vcsName,omitempty"`
	ModificationCheckInterval int32            `json:"modificationCheckInterval,omitempty"`
	CommitHookMode            bool             `json:"commitHookMode,omitempty"`
	LastVersion               string           `json:"lastVersion,omitempty"`
	LastVersionInternal       string           `json:"lastVersionInternal,omitempty"`
	Href                      string           `json:"href,omitempty"`
	VcsRoot                   *VcsRoot         `json:"vcs-root,omitempty"`
	Status                    *VcsStatus       `json:"status,omitempty"`
	RepositoryState           *RepositoryState `json:"repositoryState,omitempty"`
	Properties                *Properties      `json:"properties,omitempty"`
	RepositoryIdStrings       *Items           `json:"repositoryIdStrings,omitempty"`
	ProjectLocator            string           `json:"projectLocator,omitempty"`
}

Represents a relation between a VCS root and unique settings set for this root.

type VcsRootInstanceApiService

type VcsRootInstanceApiService service

func (*VcsRootInstanceApiService) DeleteVcsRootInstanceField

func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (*http.Response, error)

VcsRootInstanceApiService Remove a field of the matching VCS root instance.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootInstanceLocator
  • @param field

func (*VcsRootInstanceApiService) DeleteVcsRootInstanceRepositoryState

func (a *VcsRootInstanceApiService) DeleteVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string) (*http.Response, error)

VcsRootInstanceApiService Delete the last repository state of the matching VCS root instance.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootInstanceLocator

func (*VcsRootInstanceApiService) DownloadFile

func (a *VcsRootInstanceApiService) DownloadFile(ctx context.Context, path string, vcsRootInstanceLocator string) (*http.Response, error)

VcsRootInstanceApiService Download specific file.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param path
  • @param vcsRootInstanceLocator

func (*VcsRootInstanceApiService) GetAllVcsRootInstances

func (a *VcsRootInstanceApiService) GetAllVcsRootInstances(ctx context.Context, localVarOptionals *GetAllVcsRootInstancesOpts) (VcsRootInstances, *http.Response, error)

func (*VcsRootInstanceApiService) GetFileMetadata

func (a *VcsRootInstanceApiService) GetFileMetadata(ctx context.Context, path string, vcsRootInstanceLocator string, localVarOptionals *GetFileMetadataOpts) (*os.File, *http.Response, error)

func (*VcsRootInstanceApiService) GetFilesList

func (a *VcsRootInstanceApiService) GetFilesList(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetFilesListOpts) (Files, *http.Response, error)

func (*VcsRootInstanceApiService) GetFilesListForSubpath

func (a *VcsRootInstanceApiService) GetFilesListForSubpath(ctx context.Context, path string, vcsRootInstanceLocator string, localVarOptionals *GetFilesListForSubpathOpts) (Files, *http.Response, error)

func (*VcsRootInstanceApiService) GetVcsRootInstance

func (a *VcsRootInstanceApiService) GetVcsRootInstance(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstanceOpts) (VcsRootInstance, *http.Response, error)

func (*VcsRootInstanceApiService) GetVcsRootInstanceCreationDate

func (a *VcsRootInstanceApiService) GetVcsRootInstanceCreationDate(ctx context.Context, vcsRootInstanceLocator string) (string, *http.Response, error)

VcsRootInstanceApiService Get the creation date of the matching VCS root instance.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootInstanceLocator

@return string

func (*VcsRootInstanceApiService) GetVcsRootInstanceField

func (a *VcsRootInstanceApiService) GetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string) (string, *http.Response, error)

VcsRootInstanceApiService Get a field of the matching VCS root instance.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param vcsRootInstanceLocator
  • @param field

@return string

func (*VcsRootInstanceApiService) GetVcsRootInstanceProperties

func (a *VcsRootInstanceApiService) GetVcsRootInstanceProperties(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstancePropertiesOpts) (Properties, *http.Response, error)

func (*VcsRootInstanceApiService) GetVcsRootInstanceRepositoryState

func (a *VcsRootInstanceApiService) GetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *GetVcsRootInstanceRepositoryStateOpts) (Entries, *http.Response, error)

func (*VcsRootInstanceApiService) GetZippedFile

func (a *VcsRootInstanceApiService) GetZippedFile(ctx context.Context, path string, vcsRootInstanceLocator string, localVarOptionals *GetZippedFileOpts) (*http.Response, error)

func (*VcsRootInstanceApiService) RequestPendingChangesCheck

func (a *VcsRootInstanceApiService) RequestPendingChangesCheck(ctx context.Context, localVarOptionals *RequestPendingChangesCheckOpts) (VcsRootInstances, *http.Response, error)

func (*VcsRootInstanceApiService) SetVcsRootInstanceField

func (a *VcsRootInstanceApiService) SetVcsRootInstanceField(ctx context.Context, vcsRootInstanceLocator string, field string, localVarOptionals *SetVcsRootInstanceFieldOpts) (string, *http.Response, error)

func (*VcsRootInstanceApiService) SetVcsRootInstanceRepositoryState

func (a *VcsRootInstanceApiService) SetVcsRootInstanceRepositoryState(ctx context.Context, vcsRootInstanceLocator string, localVarOptionals *SetVcsRootInstanceRepositoryStateOpts) (Entries, *http.Response, error)

func (*VcsRootInstanceApiService) TriggerCommitHookNotification

func (a *VcsRootInstanceApiService) TriggerCommitHookNotification(ctx context.Context, localVarOptionals *TriggerCommitHookNotificationOpts) (*http.Response, error)

type VcsRootInstanceLocator

type VcsRootInstanceLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// Build locator.
	Build string `json:"build,omitempty"`
	// Build type locator.
	BuildType string `json:"buildType,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Entity ID.
	Id int32 `json:"id,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32 `json:"lookupLimit,omitempty"`
	// Project (direct parent) locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
	// Type of VCS (e.g. jetbrains.git).
	Type_ string `json:"type,omitempty"`
	// VCS root locator.
	VcsRoot string `json:"vcsRoot,omitempty"`
	// Is used for versioned settings.
	VersionedSettings bool `json:"versionedSettings,omitempty"`
}

Represents a locator string for filtering VcsRootInstance entities.

type VcsRootInstances

type VcsRootInstances struct {
	Count           int32             `json:"count,omitempty"`
	Href            string            `json:"href,omitempty"`
	NextHref        string            `json:"nextHref,omitempty"`
	PrevHref        string            `json:"prevHref,omitempty"`
	VcsRootInstance []VcsRootInstance `json:"vcs-root-instance,omitempty"`
}

Represents a paginated list of VcsRootInstance entities.

type VcsRootLocator

type VcsRootLocator struct {
	// Project (direct or indirect parent) locator.
	AffectedProject string `json:"affectedProject,omitempty"`
	// For paginated calls, how many entities to return per page.
	Count int32 `json:"count,omitempty"`
	// Entity ID.
	Id         int32  `json:"id,omitempty"`
	InternalId string `json:"internalId,omitempty"`
	// Supply multiple locators and return a union of the results.
	Item string `json:"item,omitempty"`
	// Limit processing to the latest `<lookupLimit>` entities.
	LookupLimit int32  `json:"lookupLimit,omitempty"`
	Name        string `json:"name,omitempty"`
	// Project (direct parent) locator.
	Project  string `json:"project,omitempty"`
	Property string `json:"property,omitempty"`
	// For paginated calls, from which entity to start rendering the page.
	Start int32 `json:"start,omitempty"`
	// Type of VCS (e.g. jetbrains.git).
	Type_ string `json:"type,omitempty"`
	Uuid  string `json:"uuid,omitempty"`
}

Represents a locator string for filtering VcsRoot entities.

type VcsRoots

type VcsRoots struct {
	Count    int32     `json:"count,omitempty"`
	Href     string    `json:"href,omitempty"`
	NextHref string    `json:"nextHref,omitempty"`
	PrevHref string    `json:"prevHref,omitempty"`
	VcsRoot  []VcsRoot `json:"vcs-root,omitempty"`
}

Represents a paginated list of VcsRoot entities.

type VcsStatus

type VcsStatus struct {
	Current  *VcsCheckStatus `json:"current,omitempty"`
	Previous *VcsCheckStatus `json:"previous,omitempty"`
}

Represents links to the last or previous VCS root check.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL