Versions in this module Expand all Collapse all v0 v0.13.2 Jun 9, 2025 v0.13.1 Jan 29, 2025 Changes in this version + const DefaultBaseURL + const DefaultVsaexBaseURL + const DefaultVsspsBaseURL + const DeliveryPlanWorkItemIDKey + const DeliveryPlanWorkItemIterationKey + const DeliveryPlanWorkItemNameKey + const DeliveryPlanWorkItemStatusKey + const DeliveryPlanWorkItemTagKey + const DeliveryPlanWorkItemTypeKey + const PolicyEvaluationApproved + const PolicyEvaluationBroken + const PolicyEvaluationNotApplicable + const PolicyEvaluationQueued + const PolicyEvaluationRejected + const PolicyEvaluationRunning + const VoteApproved + const VoteApprovedWithSuggestions + const VoteNone + const VoteRejected + const VoteWaitingForAuthor + func Bool(v bool) *bool + func GetActivityID(r *http.Request) string + func GetRequestID(r *http.Request) string + func GetSubscriptionID(r *http.Request) string + func Int(v int) *int + func Int64(v int64) *int64 + func String(v string) *string + func ValidatePayload(r *http.Request, user, pass []byte) (payload []byte, err error) + type AccessLevel struct + AccountLicenseType string + AssignmentSource string + LicenseDisplayName string + LicensingSource string + MSDNLicenseType string + Status string + StatusMessage string + type AgentPoolQueue struct + ID *int + Links *map[string]Link + Name *string + Pool *TaskAgentPoolReference + URL *string + func (a *AgentPoolQueue) GetID() int + func (a *AgentPoolQueue) GetLinks() map[string]Link + func (a *AgentPoolQueue) GetName() string + func (a *AgentPoolQueue) GetPool() *TaskAgentPoolReference + func (a *AgentPoolQueue) GetURL() string + type Avatar struct + Href string + type BasicAuthTransport struct + OTP string + Password string + Transport http.RoundTripper + Username string + func (t *BasicAuthTransport) Client() *http.Client + func (t *BasicAuthTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Board struct + AllowedMappings *string + CanEdit *bool + Columns []*BoardColumn + Fields *BoardFields + IsValid *bool + Links *map[string]Link + Revision *int + Rows []*BoardRow + func (b *Board) GetAllowedMappings() string + func (b *Board) GetCanEdit() bool + func (b *Board) GetFields() *BoardFields + func (b *Board) GetIsValid() bool + func (b *Board) GetLinks() map[string]Link + func (b *Board) GetRevision() int + type BoardColumn struct + ColumnType *string + Description *string + ID *string + IsSplit *bool + ItemLimit *int + Name *string + StateMappings map[string]string + func (b *BoardColumn) GetColumnType() string + func (b *BoardColumn) GetDescription() string + func (b *BoardColumn) GetID() string + func (b *BoardColumn) GetIsSplit() bool + func (b *BoardColumn) GetItemLimit() int + func (b *BoardColumn) GetName() string + type BoardColumnType int + const InProgress + const Incoming + const Outgoing + func (d BoardColumnType) String() string + type BoardFields struct + ColumnField *FieldReference + DoneField *FieldReference + RowField *FieldReference + func (b *BoardFields) GetColumnField() *FieldReference + func (b *BoardFields) GetDoneField() *FieldReference + func (b *BoardFields) GetRowField() *FieldReference + type BoardReference struct + ID *string + Name *string + URL *string + func (b *BoardReference) GetID() string + func (b *BoardReference) GetName() string + func (b *BoardReference) GetURL() string + type BoardRow struct + ID *string + Name *string + func (b *BoardRow) GetID() string + func (b *BoardRow) GetName() string + type BoardsService struct + func (s *BoardsService) Get(ctx context.Context, owner, project, team, id string) (*Board, *http.Response, error) + func (s *BoardsService) List(ctx context.Context, owner, project, team string) ([]*BoardReference, *http.Response, error) + type Build struct + BuildNumber *string + BuildNumberRevision *int + ChangedDate *string + Controller *BuildController + Definition *BuildDefinition + Deleted *bool + DeletedBy *IdentityRef + DeletedDate *string + DeletedReason *string + Demands []*BuildDemand + FinishTime *string + ID *int + KeepForever *bool + LastChangedBy *IdentityRef + Logs *BuildLogReference + OrchestrationPlan *TaskOrchestrationPlanReference + Params *string + Plans []*TaskOrchestrationPlanReference + Priority *string + Project *TeamProjectReference + Properties map[string]string + Quality *string + Queue *AgentPoolQueue + QueueOptions map[string]string + QueuePosition *int + QueueTime *string + Repository *BuildRepository + Result *string + RetainedByRelease *bool + SourceBranch *string + StartTime *string + Status *string + Tags []*string + TriggerBuild *Build + TriggerInfo *TriggerInfo + URI *string + URL *string + ValidationResults []*ValidationResult + Version *string + func (b *Build) GetBuildNumber() string + func (b *Build) GetBuildNumberRevision() int + func (b *Build) GetChangedDate() string + func (b *Build) GetController() *BuildController + func (b *Build) GetDefinition() *BuildDefinition + func (b *Build) GetDeleted() bool + func (b *Build) GetDeletedBy() *IdentityRef + func (b *Build) GetDeletedDate() string + func (b *Build) GetDeletedReason() string + func (b *Build) GetFinishTime() string + func (b *Build) GetID() int + func (b *Build) GetKeepForever() bool + func (b *Build) GetLastChangedBy() *IdentityRef + func (b *Build) GetLogs() *BuildLogReference + func (b *Build) GetOrchestrationPlan() *TaskOrchestrationPlanReference + func (b *Build) GetParams() string + func (b *Build) GetPriority() string + func (b *Build) GetProject() *TeamProjectReference + func (b *Build) GetQuality() string + func (b *Build) GetQueue() *AgentPoolQueue + func (b *Build) GetQueuePosition() int + func (b *Build) GetQueueTime() string + func (b *Build) GetRepository() *BuildRepository + func (b *Build) GetResult() string + func (b *Build) GetRetainedByRelease() bool + func (b *Build) GetSourceBranch() string + func (b *Build) GetStartTime() string + func (b *Build) GetStatus() string + func (b *Build) GetTriggerBuild() *Build + func (b *Build) GetTriggerInfo() *TriggerInfo + func (b *Build) GetURI() string + func (b *Build) GetURL() string + func (b *Build) GetVersion() string + type BuildController struct + CreatedDate *string + Description *string + Enabled *bool + ID *int + Name *string + Status *string + URI *string + URL *string + UpdateDate *string + func (b *BuildController) GetCreatedDate() string + func (b *BuildController) GetDescription() string + func (b *BuildController) GetEnabled() bool + func (b *BuildController) GetID() int + func (b *BuildController) GetName() string + func (b *BuildController) GetStatus() string + func (b *BuildController) GetURI() string + func (b *BuildController) GetURL() string + func (b *BuildController) GetUpdateDate() string + type BuildDefinition struct + ID *int + Name *string + Repository *BuildRepository + func (b *BuildDefinition) GetID() int + func (b *BuildDefinition) GetName() string + func (b *BuildDefinition) GetRepository() *BuildRepository + type BuildDefinitionsListOptions struct + IncludeAllProperties *bool + Path *string + func (b *BuildDefinitionsListOptions) GetIncludeAllProperties() bool + func (b *BuildDefinitionsListOptions) GetPath() string + type BuildDefinitionsListResponse struct + BuildDefinitions []*BuildDefinition + Count int + type BuildDefinitionsService struct + func (s *BuildDefinitionsService) List(ctx context.Context, owner string, project string, ...) ([]*BuildDefinition, *http.Response, error) + type BuildDemand struct + Name *string + Value *string + func (b *BuildDemand) GetName() string + func (b *BuildDemand) GetValue() string + type BuildListOrder string + const FinishTimeAscending + const FinishTimeDescending + const QueueTimeAscending + const QueueTimeDescending + const StartTimeAscending + const StartTimeDescending + type BuildLogReference struct + ID *int + Type *string + URL *string + func (b *BuildLogReference) GetID() int + func (b *BuildLogReference) GetType() string + func (b *BuildLogReference) GetURL() string + type BuildRepository struct + CheckoutSubmodules *bool + Clean *string + DefaultBranch *string + ID *string + Name *string + Properties map[string]interface{} + RootFolder *string + Type *string + URL *string + func (b *BuildRepository) GetCheckoutSubmodules() bool + func (b *BuildRepository) GetClean() string + func (b *BuildRepository) GetDefaultBranch() string + func (b *BuildRepository) GetID() string + func (b *BuildRepository) GetName() string + func (b *BuildRepository) GetRootFolder() string + func (b *BuildRepository) GetType() string + func (b *BuildRepository) GetURL() string + type BuildsListOptions struct + Branch *string + BuildIDs *string + BuildNumber *string + Count *int + Definitions *string + Deleted *string + MaxPerDefinition *string + MaxTime *string + MinTime *string + Order *string + Props *string + Queues *string + Reason *string + RepoType *string + Repository *string + Result *string + Status *string + Tags *string + Token *string + UserID *string + func (b *BuildsListOptions) GetBranch() string + func (b *BuildsListOptions) GetBuildIDs() string + func (b *BuildsListOptions) GetBuildNumber() string + func (b *BuildsListOptions) GetCount() int + func (b *BuildsListOptions) GetDefinitions() string + func (b *BuildsListOptions) GetDeleted() string + func (b *BuildsListOptions) GetMaxPerDefinition() string + func (b *BuildsListOptions) GetMaxTime() string + func (b *BuildsListOptions) GetMinTime() string + func (b *BuildsListOptions) GetOrder() string + func (b *BuildsListOptions) GetProps() string + func (b *BuildsListOptions) GetQueues() string + func (b *BuildsListOptions) GetReason() string + func (b *BuildsListOptions) GetRepoType() string + func (b *BuildsListOptions) GetRepository() string + func (b *BuildsListOptions) GetResult() string + func (b *BuildsListOptions) GetStatus() string + func (b *BuildsListOptions) GetTags() string + func (b *BuildsListOptions) GetToken() string + func (b *BuildsListOptions) GetUserID() string + type BuildsListResponse struct + Builds []*Build + Count int + type BuildsService struct + func (s *BuildsService) List(ctx context.Context, owner string, project string, opts *BuildsListOptions) ([]*Build, *http.Response, error) + func (s *BuildsService) Queue(ctx context.Context, owner string, project string, build *Build, ...) (*Build, *http.Response, error) + type Client struct + Account string + BaseURL url.URL + Boards *BoardsService + BuildDefinitions *BuildDefinitionsService + Builds *BuildsService + DeliveryPlans *DeliveryPlansService + Favourites *FavouritesService + Git *GitService + Iterations *IterationsService + PolicyEvaluations *PolicyEvaluationsService + PullRequests *PullRequestsService + Teams *TeamsService + Tests *TestsService + UserAgent string + UserEntitlements *UserEntitlementsService + Users *UsersService + VsaexBaseURL url.URL + VsspsBaseURL url.URL + WorkItems *WorkItemsService + func NewClient(httpClient *http.Client) (*Client, error) + func (c *Client) Execute(ctx context.Context, req *http.Request, r interface{}) (*http.Response, error) + func (c *Client) NewRequest(method, urlStr string, body interface{}) (*http.Request, error) + type Comment struct + Author *IdentityRef + CommentType *string + Content *string + ID *int + IsDeleted *bool + LastContentUpdatedDate *Time + LastUpdatedDate *Time + Links *map[string]Link + ParentCommentID *int + PublishedDate *Time + UsersLiked []*IdentityRef + func (c *Comment) GetAuthor() *IdentityRef + func (c *Comment) GetCommentType() string + func (c *Comment) GetContent() string + func (c *Comment) GetID() int + func (c *Comment) GetIsDeleted() bool + func (c *Comment) GetLastContentUpdatedDate() *Time + func (c *Comment) GetLastUpdatedDate() *Time + func (c *Comment) GetLinks() map[string]Link + func (c *Comment) GetParentCommentID() int + func (c *Comment) GetPublishedDate() *Time + type CommentPosition struct + Line *int + Offset *int + func (c *CommentPosition) GetLine() int + func (c *CommentPosition) GetOffset() int + type CommentThreadStatus int + const ByDesign + const Closed + const Fixed + const Pending + const StatusActive + const StatusUnknown + const WontFix + func (d CommentThreadStatus) String() string + type CommentType int + const CommentTypeCodeChange + const CommentTypeSystem + const CommentTypeText + const CommentTypeUnknown + func (d CommentType) String() string + type CommentVersionRef struct + CommentID *int + URL *string + Version *int + func (c *CommentVersionRef) GetCommentID() int + func (c *CommentVersionRef) GetURL() string + func (c *CommentVersionRef) GetVersion() int + type DeliveryPlan struct + Created *string + ID *string + Name *string + Type *string + URL *string + func (d *DeliveryPlan) GetCreated() string + func (d *DeliveryPlan) GetID() string + func (d *DeliveryPlan) GetName() string + func (d *DeliveryPlan) GetType() string + func (d *DeliveryPlan) GetURL() string + type DeliveryPlanTimeLine struct + EndDate *string + ID *string + Revision *int + StartDate *string + Teams []*DeliveryTeam + func (d *DeliveryPlanTimeLine) GetEndDate() string + func (d *DeliveryPlanTimeLine) GetID() string + func (d *DeliveryPlanTimeLine) GetRevision() int + func (d *DeliveryPlanTimeLine) GetStartDate() string + type DeliveryPlansListOptions struct + type DeliveryPlansListResponse struct + Count int + DeliveryPlans []*DeliveryPlan + type DeliveryPlansService struct + func (s *DeliveryPlansService) GetTimeLine(ctx context.Context, owner string, project string, ID string, ...) (*DeliveryPlanTimeLine, *http.Response, error) + func (s *DeliveryPlansService) List(ctx context.Context, owner string, project string, ...) ([]*DeliveryPlan, *http.Response, error) + type DeliveryTeam struct + ID *string + Iterations []*Iteration + Name *string + func (d *DeliveryTeam) GetID() string + func (d *DeliveryTeam) GetName() string + type Event struct + CreatedDate Time + DetailedMessage Message + EventType string + ID string + Message Message + NotificationID int + PayloadType PayloadType + RawPayload json.RawMessage + Resource interface{} + ResourceContainers ResourceContainers + ResourceVersion string + SubscriptionID string + func ParseWebHook(payload []byte) (*Event, error) + func (e *Event) ParsePayload() (payload interface{}, err error) + type Favourite struct + ArtifactID *string + ArtifactName *string + ArtifactType *string + ID *string + func (f *Favourite) GetArtifactID() string + func (f *Favourite) GetArtifactName() string + func (f *Favourite) GetArtifactType() string + func (f *Favourite) GetID() string + type FavouritesResponse struct + Count int + Favourites []*Favourite + type FavouritesService struct + func (s *FavouritesService) List(ctx context.Context, owner, project string) ([]*Favourite, *http.Response, error) + type FieldReference struct + ReferenceName *string + URL *string + func (f *FieldReference) GetReferenceName() string + func (f *FieldReference) GetURL() string + type FileContentMetadata struct + ContentType *string + Encoding *int + Extension *string + FileName *string + IsBinary *bool + IsImage *bool + VSLink *string + func (f *FileContentMetadata) GetContentType() string + func (f *FileContentMetadata) GetEncoding() int + func (f *FileContentMetadata) GetExtension() string + func (f *FileContentMetadata) GetFileName() string + func (f *FileContentMetadata) GetIsBinary() bool + func (f *FileContentMetadata) GetIsImage() bool + func (f *FileContentMetadata) GetVSLink() string + type GitChange struct + ChangeID *int + ChangeType *string + Item *GitItem + NewContent *ItemContent + NewContentTemplate *GitTemplate + OriginalPath *string + SourceServerItem *string + URL *string + func (g *GitChange) GetChangeID() int + func (g *GitChange) GetChangeType() string + func (g *GitChange) GetItem() *GitItem + func (g *GitChange) GetNewContent() *ItemContent + func (g *GitChange) GetNewContentTemplate() *GitTemplate + func (g *GitChange) GetOriginalPath() string + func (g *GitChange) GetSourceServerItem() string + func (g *GitChange) GetURL() string + type GitCommitChanges struct + ChangeCounts *map[string]int + Changes []*GitChange + func (g *GitCommitChanges) GetChangeCounts() map[string]int + type GitCommitDiffs struct + AheadCount *int + AllChangesIncluded *bool + BaseCommit *string + BehindCount *int + ChangeCounts *map[VersionControlChangeType]int + Changes []*GitChange + CommonCommit *string + TargetCommit *string + func (g *GitCommitDiffs) GetAheadCount() int + func (g *GitCommitDiffs) GetAllChangesIncluded() bool + func (g *GitCommitDiffs) GetBaseCommit() string + func (g *GitCommitDiffs) GetBehindCount() int + func (g *GitCommitDiffs) GetChangeCounts() map[VersionControlChangeType]int + func (g *GitCommitDiffs) GetCommonCommit() string + func (g *GitCommitDiffs) GetTargetCommit() string + type GitCommitRef struct + Author *GitUserDate + ChangeCounts *map[string]int + Changes *GitChange + Comment *string + CommentTruncated *bool + CommitID *string + Committer *GitUserDate + Links *map[string]Link + Parents []*string + Push *GitPushRef + RemoteURL *string + Statuses []*GitStatus + URL *string + WorkItems *ResourceRef + func (g *GitCommitRef) GetAuthor() *GitUserDate + func (g *GitCommitRef) GetChangeCounts() map[string]int + func (g *GitCommitRef) GetChanges() *GitChange + func (g *GitCommitRef) GetComment() string + func (g *GitCommitRef) GetCommentTruncated() bool + func (g *GitCommitRef) GetCommitID() string + func (g *GitCommitRef) GetCommitter() *GitUserDate + func (g *GitCommitRef) GetLinks() map[string]Link + func (g *GitCommitRef) GetPush() *GitPushRef + func (g *GitCommitRef) GetRemoteURL() string + func (g *GitCommitRef) GetURL() string + func (g *GitCommitRef) GetWorkItems() *ResourceRef + type GitDiffListOptions struct + Skip int + Top int + type GitItem struct + CommitID *string + Content *string + ContentMetadata *FileContentMetadata + GitObjectType *string + IsFolder *bool + IsSymLink *bool + LatestProcessedChange *GitCommitRef + Links *map[string]Link + ObjectID *string + OriginalObjectID *string + Path *string + URL *string + func (g *GitItem) GetCommitID() string + func (g *GitItem) GetContent() string + func (g *GitItem) GetContentMetadata() *FileContentMetadata + func (g *GitItem) GetGitObjectType() string + func (g *GitItem) GetIsFolder() bool + func (g *GitItem) GetIsSymLink() bool + func (g *GitItem) GetLatestProcessedChange() *GitCommitRef + func (g *GitItem) GetLinks() map[string]Link + func (g *GitItem) GetObjectID() string + func (g *GitItem) GetOriginalObjectID() string + func (g *GitItem) GetPath() string + func (g *GitItem) GetURL() string + type GitObjectType int + const Bad + const Blob + const Commit + const Ext2 + const OfsDelta + const RefDelta + const Tag + const Tree + func (d GitObjectType) String() string + type GitPullRequest struct + ArtifactID *string + AutoCompleteSetBy *IdentityRef + ClosedBy *IdentityRef + ClosedDate *Time + CodeReviewID *int + Commits []*GitCommitRef + CompletionOptions *GitPullRequestCompletionOptions + CompletionQueueTime *Time + CreatedBy *IdentityRef + CreationDate *Time + Description *string + ForkSource *GitRef + IsDraft *bool + Labels []*WebAPITagDefinition + LastMergeCommit *GitCommitRef + LastMergeSourceCommit *GitCommitRef + LastMergeTargetCommit *GitCommitRef + Links *map[string]Link + MergeFailureMessage *string + MergeFailureType *string + MergeID *string + MergeOptions *GitPullRequestMergeOptions + MergeStatus *string + PullRequestID *int + RemoteURL *string + Repository *GitRepository + Reviewers []*IdentityRefWithVote + SourceRefName *string + Status *string + SupportsIterations *bool + TargetRefName *string + Title *string + URL *string + WorkItemRefs []*ResourceRef + func (g *GitPullRequest) GetArtifactID() string + func (g *GitPullRequest) GetAutoCompleteSetBy() *IdentityRef + func (g *GitPullRequest) GetClosedBy() *IdentityRef + func (g *GitPullRequest) GetClosedDate() *Time + func (g *GitPullRequest) GetCodeReviewID() int + func (g *GitPullRequest) GetCompletionOptions() *GitPullRequestCompletionOptions + func (g *GitPullRequest) GetCompletionQueueTime() *Time + func (g *GitPullRequest) GetCreatedBy() *IdentityRef + func (g *GitPullRequest) GetCreationDate() *Time + func (g *GitPullRequest) GetDescription() string + func (g *GitPullRequest) GetForkSource() *GitRef + func (g *GitPullRequest) GetIsDraft() bool + func (g *GitPullRequest) GetLastMergeCommit() *GitCommitRef + func (g *GitPullRequest) GetLastMergeSourceCommit() *GitCommitRef + func (g *GitPullRequest) GetLastMergeTargetCommit() *GitCommitRef + func (g *GitPullRequest) GetLinks() map[string]Link + func (g *GitPullRequest) GetMergeFailureMessage() string + func (g *GitPullRequest) GetMergeFailureType() string + func (g *GitPullRequest) GetMergeID() string + func (g *GitPullRequest) GetMergeOptions() *GitPullRequestMergeOptions + func (g *GitPullRequest) GetMergeStatus() string + func (g *GitPullRequest) GetPullRequestID() int + func (g *GitPullRequest) GetRemoteURL() string + func (g *GitPullRequest) GetRepository() *GitRepository + func (g *GitPullRequest) GetSourceRefName() string + func (g *GitPullRequest) GetStatus() string + func (g *GitPullRequest) GetSupportsIterations() bool + func (g *GitPullRequest) GetTargetRefName() string + func (g *GitPullRequest) GetTitle() string + func (g *GitPullRequest) GetURL() string + type GitPullRequestChange struct + ChangeTrackingID *int + func (g *GitPullRequestChange) GetChangeTrackingID() int + type GitPullRequestCommentThread struct + Comments []*Comment + ID *int + Identities []*IdentityRef + IsDeleted *bool + LastUpdatedDate *Time + Links *map[string]Link + Properties []*int + PublishedDate *Time + PullRequestThreadContext *GitPullRequestCommentThreadContext + Status *string + func (g *GitPullRequestCommentThread) GetID() int + func (g *GitPullRequestCommentThread) GetIsDeleted() bool + func (g *GitPullRequestCommentThread) GetLastUpdatedDate() *Time + func (g *GitPullRequestCommentThread) GetLinks() map[string]Link + func (g *GitPullRequestCommentThread) GetPublishedDate() *Time + func (g *GitPullRequestCommentThread) GetPullRequestThreadContext() *GitPullRequestCommentThreadContext + func (g *GitPullRequestCommentThread) GetStatus() string + type GitPullRequestCommentThreadContext struct + FilePath *string + LeftFileEnd *CommentPosition + LeftFileStart *CommentPosition + RightFileEnd *CommentPosition + RightFileStart *CommentPosition + func (g *GitPullRequestCommentThreadContext) GetFilePath() string + func (g *GitPullRequestCommentThreadContext) GetLeftFileEnd() *CommentPosition + func (g *GitPullRequestCommentThreadContext) GetLeftFileStart() *CommentPosition + func (g *GitPullRequestCommentThreadContext) GetRightFileEnd() *CommentPosition + func (g *GitPullRequestCommentThreadContext) GetRightFileStart() *CommentPosition + type GitPullRequestCompletionOptions struct + BypassPolicy *bool + BypassReason *string + DeleteSourceBranch *bool + MergeCommitMessage *string + MergeStrategy *string + SquashMerge *bool + TransitionWorkItems *bool + TriggeredByAutoComplete *bool + func (g *GitPullRequestCompletionOptions) GetBypassPolicy() bool + func (g *GitPullRequestCompletionOptions) GetBypassReason() string + func (g *GitPullRequestCompletionOptions) GetDeleteSourceBranch() bool + func (g *GitPullRequestCompletionOptions) GetMergeCommitMessage() string + func (g *GitPullRequestCompletionOptions) GetMergeStrategy() string + func (g *GitPullRequestCompletionOptions) GetSquashMerge() bool + func (g *GitPullRequestCompletionOptions) GetTransitionWorkItems() bool + func (g *GitPullRequestCompletionOptions) GetTriggeredByAutoComplete() bool + type GitPullRequestIteration struct + Author *IdentityRef + ChangeList []*GitPullRequestChange + Commits []*GitCommitRef + CommonRefCommit *GitCommitRef + CreatedDate *Time + Description *string + HasMoreCommits *bool + ID *int + Links interface{} + NewTargetRefName *string + OldTargetRefName *string + Push *GitPushRef + Reason *string + SourceRefCommit *GitCommitRef + TargetRefCommit *GitCommitRef + UpdatedDate *Time + func (g *GitPullRequestIteration) GetAuthor() *IdentityRef + func (g *GitPullRequestIteration) GetCommonRefCommit() *GitCommitRef + func (g *GitPullRequestIteration) GetCreatedDate() *Time + func (g *GitPullRequestIteration) GetDescription() string + func (g *GitPullRequestIteration) GetHasMoreCommits() bool + func (g *GitPullRequestIteration) GetID() int + func (g *GitPullRequestIteration) GetNewTargetRefName() string + func (g *GitPullRequestIteration) GetOldTargetRefName() string + func (g *GitPullRequestIteration) GetPush() *GitPushRef + func (g *GitPullRequestIteration) GetReason() string + func (g *GitPullRequestIteration) GetSourceRefCommit() *GitCommitRef + func (g *GitPullRequestIteration) GetTargetRefCommit() *GitCommitRef + func (g *GitPullRequestIteration) GetUpdatedDate() *Time + type GitPullRequestIterationChanges struct + ChangeEntries []*GitPullRequestChange + NextSkip *int + NextTop *int + func (g *GitPullRequestIterationChanges) GetNextSkip() int + func (g *GitPullRequestIterationChanges) GetNextTop() int + type GitPullRequestMergeOptions struct + DetectRenameFalsePositives *bool + DisableRenames *bool + func (g *GitPullRequestMergeOptions) GetDetectRenameFalsePositives() bool + func (g *GitPullRequestMergeOptions) GetDisableRenames() bool + type GitPullRequestMergeStrategy int + const NoFastForward + const Rebase + const SebaseMerge + const Squash + func (d GitPullRequestMergeStrategy) String() string + type GitPullRequestStatus struct + IterationID *int + Properties map[string]interface{} + func (g *GitPullRequestStatus) GetIterationID() int + type GitPullRequestWithComment struct + Comment *Comment + PullRequest *GitPullRequest + func (g *GitPullRequestWithComment) GetComment() *Comment + func (g *GitPullRequestWithComment) GetPullRequest() *GitPullRequest + type GitPush struct + Commits []*GitCommitRef + Date *Time + Links *map[string]Link + PushID *int + PushedBy *IdentityRef + RefUpdates []*GitRefUpdate + Repository *GitRepository + URL *string + func (g *GitPush) GetDate() *Time + func (g *GitPush) GetLinks() map[string]Link + func (g *GitPush) GetPushID() int + func (g *GitPush) GetPushedBy() *IdentityRef + func (g *GitPush) GetRepository() *GitRepository + func (g *GitPush) GetURL() string + type GitPushRef struct + Commits []*GitCommitRef + RefUpdates []*GitRefUpdate + Repository *GitRepository + func (g *GitPushRef) GetRepository() *GitRepository + type GitRef struct + Creator *IdentityRef + IsLocked *bool + IsLockedBy *IdentityRef + Links *map[string]Link + Name *string + ObjectID *string + PeeledObjectID *string + Repository *GitRepository + Statuses []*GitStatus + URL *string + func (g *GitRef) GetCreator() *IdentityRef + func (g *GitRef) GetIsLocked() bool + func (g *GitRef) GetIsLockedBy() *IdentityRef + func (g *GitRef) GetLinks() map[string]Link + func (g *GitRef) GetName() string + func (g *GitRef) GetObjectID() string + func (g *GitRef) GetPeeledObjectID() string + func (g *GitRef) GetRepository() *GitRepository + func (g *GitRef) GetURL() string + type GitRefListOptions struct + Filter string + IncludeStatuses bool + LatestStatusesOnly bool + type GitRefUpdate struct + IsLocked *bool + Name *string + NewObjectID *string + OldObjectID *string + RepositoryID *string + func (g *GitRefUpdate) GetIsLocked() bool + func (g *GitRefUpdate) GetName() string + func (g *GitRefUpdate) GetNewObjectID() string + func (g *GitRefUpdate) GetOldObjectID() string + func (g *GitRefUpdate) GetRepositoryID() string + type GitRefsResponse struct + Count int + GitRefs []*GitRef + type GitRefsUpdateResponse struct + Count int + GitRefsUpdate []*GitRefUpdate + type GitRepository struct + DefaultBranch *string + ID *string + IsFork *bool + Links *map[string]Link + Name *string + ParentRepository *GitRepositoryRef + Project *TeamProjectReference + RemoteURL *string + SSHURL *string + Size *int + URL *string + ValidRemoteURLs []*string + WebURL *string + func (g *GitRepository) GetDefaultBranch() string + func (g *GitRepository) GetID() string + func (g *GitRepository) GetIsFork() bool + func (g *GitRepository) GetLinks() map[string]Link + func (g *GitRepository) GetName() string + func (g *GitRepository) GetParentRepository() *GitRepositoryRef + func (g *GitRepository) GetProject() *TeamProjectReference + func (g *GitRepository) GetRemoteURL() string + func (g *GitRepository) GetSSHURL() string + func (g *GitRepository) GetSize() int + func (g *GitRepository) GetURL() string + func (g *GitRepository) GetWebURL() string + type GitRepositoryRef struct + Collection *TeamProjectCollectionReference + ID *string + IsFork *bool + Name *string + Project *TeamProjectReference + RemoteURL *string + SSHURL *string + URL *string + func (g *GitRepositoryRef) GetCollection() *TeamProjectCollectionReference + func (g *GitRepositoryRef) GetID() string + func (g *GitRepositoryRef) GetIsFork() bool + func (g *GitRepositoryRef) GetName() string + func (g *GitRepositoryRef) GetProject() *TeamProjectReference + func (g *GitRepositoryRef) GetRemoteURL() string + func (g *GitRepositoryRef) GetSSHURL() string + func (g *GitRepositoryRef) GetURL() string + type GitService struct + func (s *GitService) CreateStatus(ctx context.Context, owner, project, repoName, ref string, status GitStatus) (*GitStatus, *http.Response, error) + func (s *GitService) GetChanges(ctx context.Context, owner, project, repoName, commitID string) (*GitCommitChanges, *http.Response, error) + func (s *GitService) GetDiffs(ctx context.Context, owner string, project string, repoName string, ...) (*GitCommitDiffs, *http.Response, error) + func (s *GitService) GetRepository(ctx context.Context, owner, project, repoName string) (*GitRepository, *http.Response, error) + func (s *GitService) ListRefs(ctx context.Context, owner, project, repo, refType string, ...) ([]*GitRef, *http.Response, error) + func (s *GitService) UpdateRefs(ctx context.Context, owner, project, repo, refType string, ...) ([]*GitRef, *http.Response, error) + type GitStatus struct + Context *GitStatusContext + CreatedBy *IdentityRef + CreationDate *Time + Description *string + ID *int + Links *map[string]Link + State *string + TargetURL *string + UpdatedDate *Time + func (g *GitStatus) GetContext() *GitStatusContext + func (g *GitStatus) GetCreatedBy() *IdentityRef + func (g *GitStatus) GetCreationDate() *Time + func (g *GitStatus) GetDescription() string + func (g *GitStatus) GetID() int + func (g *GitStatus) GetLinks() map[string]Link + func (g *GitStatus) GetState() string + func (g *GitStatus) GetTargetURL() string + func (g *GitStatus) GetUpdatedDate() *Time + type GitStatusContext struct + Genre *string + Name *string + func (g *GitStatusContext) GetGenre() string + func (g *GitStatusContext) GetName() string + type GitStatusState int + const GitError + const GitFailed + const GitNotApplicable + const GitNotSet + const GitPending + const GitSucceeded + func (d GitStatusState) String() string + type GitStatusesResponse struct + Count int + GitStatuses []*GitStatus + type GitTemplate struct + Name *string + Type *string + func (g *GitTemplate) GetName() string + func (g *GitTemplate) GetType() string + type GitUserDate struct + Date *Time + Email *string + Name *string + func (g *GitUserDate) GetDate() *Time + func (g *GitUserDate) GetEmail() string + func (g *GitUserDate) GetName() string + type GraphDescriptorResult struct + Links map[string]Link + Value *string + func (g *GraphDescriptorResult) GetValue() string + type GraphGroup struct + Description *string + IsCrossProject *bool + IsDeleted *bool + IsGlobalScope *bool + IsRestrictedVisible *bool + LocalScopeID *string + ScopeID *string + ScopeName *string + ScopeType *string + SecuringHostID *string + SpecialType *string + func (g *GraphGroup) GetDescription() string + func (g *GraphGroup) GetIsCrossProject() bool + func (g *GraphGroup) GetIsDeleted() bool + func (g *GraphGroup) GetIsGlobalScope() bool + func (g *GraphGroup) GetIsRestrictedVisible() bool + func (g *GraphGroup) GetLocalScopeID() string + func (g *GraphGroup) GetScopeID() string + func (g *GraphGroup) GetScopeName() string + func (g *GraphGroup) GetScopeType() string + func (g *GraphGroup) GetSecuringHostID() string + func (g *GraphGroup) GetSpecialType() string + type GraphMember struct + Domain *string + MailAddress *string + PrincipalName *string + func (g *GraphMember) GetDomain() string + func (g *GraphMember) GetMailAddress() string + func (g *GraphMember) GetPrincipalName() string + type GraphSubject struct + LegacyDescriptor *string + Origin *string + OriginID *string + SubjectKind *string + func (g *GraphSubject) GetLegacyDescriptor() string + func (g *GraphSubject) GetOrigin() string + func (g *GraphSubject) GetOriginID() string + func (g *GraphSubject) GetSubjectKind() string + type GraphSubjectBase struct + Descriptor *string + DisplayName *string + Links map[string]Link + URL *string + func (g *GraphSubjectBase) GetDescriptor() string + func (g *GraphSubjectBase) GetDisplayName() string + func (g *GraphSubjectBase) GetURL() string + type GraphUser struct + IsDeletedInOrigin *bool + MetaType *string + MetadataUpdateDate *Time + func (g *GraphUser) GetIsDeletedInOrigin() bool + func (g *GraphUser) GetMetaType() string + func (g *GraphUser) GetMetadataUpdateDate() *Time + type GraphUsersListResponse struct + Count int + GraphUsers []*GraphUser + type IdentityRef struct + Descriptor *string + DirectoryAlias *string + DisplayName *string + ID *string + ImageURL *string + Inactive *bool + IsAadIdentity *bool + IsContainer *bool + IsDeletedInOrigin *bool + Links *map[string]Link + ProfileURL *string + URL *string + UniqueName *string + func (i *IdentityRef) GetDescriptor() string + func (i *IdentityRef) GetDirectoryAlias() string + func (i *IdentityRef) GetDisplayName() string + func (i *IdentityRef) GetID() string + func (i *IdentityRef) GetImageURL() string + func (i *IdentityRef) GetInactive() bool + func (i *IdentityRef) GetIsAadIdentity() bool + func (i *IdentityRef) GetIsContainer() bool + func (i *IdentityRef) GetIsDeletedInOrigin() bool + func (i *IdentityRef) GetLinks() map[string]Link + func (i *IdentityRef) GetProfileURL() string + func (i *IdentityRef) GetURL() string + func (i *IdentityRef) GetUniqueName() string + type IdentityRefWithVote struct + IsRequired *bool + ReviewerURL *string + Vote *int + VotedFor []*IdentityRefWithVote + func (i *IdentityRefWithVote) GetIsRequired() bool + func (i *IdentityRefWithVote) GetReviewerURL() string + func (i *IdentityRefWithVote) GetVote() int + type Item struct + AccessLevel AccessLevel + DateCreated string + Extensions []interface{} + GroupAssignments []interface{} + ID string + LastAccessedDate string + ProjectEntitlements []interface{} + User User + type ItemContent struct + Content *string + ContentType *ItemContentType + func (i *ItemContent) GetContent() string + func (i *ItemContent) GetContentType() *ItemContentType + type ItemContentType struct + Base64Encoded *string + RawText *string + func (i *ItemContentType) GetBase64Encoded() string + func (i *ItemContentType) GetRawText() string + type Iteration struct + EndDate *string + ID *string + Name *string + Path *string + StartDate *string + URL *string + WorkItems [][]interface{} + func (i *Iteration) GetEndDate() string + func (i *Iteration) GetID() string + func (i *Iteration) GetName() string + func (i *Iteration) GetPath() string + func (i *Iteration) GetStartDate() string + func (i *Iteration) GetURL() string + type IterationReason int + const IterationCreate + const IterationForcePush + const IterationPush + const IterationRebase + const IterationRetarget + const IterationUnknown + func (d IterationReason) String() string + type IterationWorkItems struct + Links *map[string]Link + URL *string + WorkItemRelations []*WorkItemLink + func (i *IterationWorkItems) GetLinks() map[string]Link + func (i *IterationWorkItems) GetURL() string + type IterationsResponse struct + Count int + Iterations []*Iteration + type IterationsService struct + func (s *IterationsService) GetByName(ctx context.Context, owner, project, team string, name string) (*Iteration, *http.Response, error) + func (s *IterationsService) List(ctx context.Context, owner, project, team string) ([]*Iteration, *http.Response, error) + type Link struct + Href *string + func (l *Link) GetHref() string + type Links struct + Avatar Avatar + MembershipState Avatar + Memberships Avatar + Self Avatar + StorageKey Avatar + type ListBoardsResponse struct + BoardReferences []*BoardReference + Count *int + func (l *ListBoardsResponse) GetCount() int + type Message struct + HTML *string + Markdown *string + Text *string + func (m *Message) GetHTML() string + func (m *Message) GetMarkdown() string + func (m *Message) GetText() string + type PayloadType int + const PullRequestCommentedEvent + const PullRequestEvent + const PushEvent + const WorkItemCommentedEvent + const WorkItemUpdatedEvent + type PolicyConfiguration struct + CreatedBy *IdentityRef + CreatedDate *string + ID *int + IsBlocking *bool + IsDeleted *bool + IsEnabled *bool + Links interface{} + Revision *int + Settings interface{} + Type *PolicyTypeRef + Url *string + func (p *PolicyConfiguration) GetCreatedBy() *IdentityRef + func (p *PolicyConfiguration) GetCreatedDate() string + func (p *PolicyConfiguration) GetID() int + func (p *PolicyConfiguration) GetIsBlocking() bool + func (p *PolicyConfiguration) GetIsDeleted() bool + func (p *PolicyConfiguration) GetIsEnabled() bool + func (p *PolicyConfiguration) GetRevision() int + func (p *PolicyConfiguration) GetType() *PolicyTypeRef + func (p *PolicyConfiguration) GetUrl() string + type PolicyEvaluationRecord struct + ArtifactID *string + CompletedDate *string + Configuration *PolicyConfiguration + Context interface{} + EvaluationID *string + Links *map[string]Link + StartedDate *string + Status *string + func (p *PolicyEvaluationRecord) GetArtifactID() string + func (p *PolicyEvaluationRecord) GetCompletedDate() string + func (p *PolicyEvaluationRecord) GetConfiguration() *PolicyConfiguration + func (p *PolicyEvaluationRecord) GetEvaluationID() string + func (p *PolicyEvaluationRecord) GetLinks() map[string]Link + func (p *PolicyEvaluationRecord) GetStartedDate() string + func (p *PolicyEvaluationRecord) GetStatus() string + type PolicyEvaluationsListOptions struct + type PolicyEvaluationsListResponse struct + Count int + PolicyEvaluations []*PolicyEvaluationRecord + type PolicyEvaluationsService struct + func (s *PolicyEvaluationsService) GetPullRequestArtifactID(projectID string, pullRequestID int) string + func (s *PolicyEvaluationsService) List(ctx context.Context, owner, project, artifactID string, ...) ([]*PolicyEvaluationRecord, *http.Response, error) + type PolicyTypeRef struct + DisplayName *string + ID *string + Url *string + func (p *PolicyTypeRef) GetDisplayName() string + func (p *PolicyTypeRef) GetID() string + func (p *PolicyTypeRef) GetUrl() string + type Project struct + Description *string + ID *string + LastUpdateTime *Time + Name *string + Revision *int + State *string + URL *string + Visibility *string + func (p *Project) GetDescription() string + func (p *Project) GetID() string + func (p *Project) GetLastUpdateTime() *Time + func (p *Project) GetName() string + func (p *Project) GetRevision() int + func (p *Project) GetState() string + func (p *Project) GetURL() string + func (p *Project) GetVisibility() string + type PullRequestAsyncStatus int + const MergeConflicts + const MergeFailure + const MergeNotSet + const MergeQueued + const MergeRejectedByPolicy + const MergeSucceeded + func (d PullRequestAsyncStatus) String() string + type PullRequestGetOptions struct + IncludeCommits bool + IncludeWorkItemRefs bool + MaxCommentLength int + Organization string + Project string + PullRequestID int + RepositoryID string + Skip int + Top int + type PullRequestIterationsListOptions struct + IncludeCommits bool + type PullRequestListOptions struct + CreatorID string + IncludeLinks string + Project string + RepositoryID string + ReviewerID string + Skip string + SourceRefName string + SourceRepositoryID string + Status string + TargetRefName string + Top string + type PullRequestMergeFailureType int + const CaseSensitive + const NoFailure + const ObjectTooLarge + const UnknownFailure + func (d PullRequestMergeFailureType) String() string + type PullRequestStatus int + const PullAbandoned + const PullActive + const PullCompleted + const PullIncludeAll + const PullNotSet + func (d PullRequestStatus) String() string + type PullRequestsCommitsResponse struct + Count int + GitCommitRefs []*GitCommitRef + type PullRequestsIterationsListResponse struct + Count int + GitPullRequestIterations []*GitPullRequestIteration + type PullRequestsListCommitsResponse struct + Count int + GitCommitRefs []*GitCommitRef + type PullRequestsListResponse struct + Count int + GitPullRequests []*GitPullRequest + type PullRequestsService struct + func (s *PullRequestsService) Create(ctx context.Context, owner, project string, repoName string, ...) (*GitPullRequest, *http.Response, error) + func (s *PullRequestsService) CreateComment(ctx context.Context, owner, project, repo string, pullNum int, threadId int, ...) (*Comment, *http.Response, error) + func (s *PullRequestsService) CreateComments(ctx context.Context, owner, project, repo string, pullNum int, ...) (*GitPullRequestCommentThread, *http.Response, error) + func (s *PullRequestsService) CreateStatus(ctx context.Context, owner, project, repo string, pullNum int, ...) (*GitPullRequestStatus, *http.Response, error) + func (s *PullRequestsService) Get(ctx context.Context, owner, project string, pullNum int, ...) (*GitPullRequest, *http.Response, error) + func (s *PullRequestsService) GetIteration(ctx context.Context, owner, project, repo string, pullNum int, iterationID int) (*GitPullRequestIteration, *http.Response, error) + func (s *PullRequestsService) GetWithRepo(ctx context.Context, owner, project, repo string, pullNum int, ...) (*GitPullRequest, *http.Response, error) + func (s *PullRequestsService) List(ctx context.Context, owner, project string, opts *PullRequestListOptions) ([]*GitPullRequest, *http.Response, error) + func (s *PullRequestsService) ListCommits(ctx context.Context, owner, project, repo string, pullNum int) ([]*GitCommitRef, *http.Response, error) + func (s *PullRequestsService) ListIterations(ctx context.Context, owner, project, repo string, pullNum int, ...) ([]*GitPullRequestIteration, *http.Response, error) + func (s *PullRequestsService) Merge(ctx context.Context, owner, project string, repoName string, pullNum int, ...) (*GitPullRequest, *http.Response, error) + type QueueBuildOptions struct + CheckInTicket string + IgnoreWarnings bool + type ResourceContainers struct + Account *ResourceRef + Collection *ResourceRef + Project *ResourceRef + func (r *ResourceContainers) GetAccount() *ResourceRef + func (r *ResourceContainers) GetCollection() *ResourceRef + func (r *ResourceContainers) GetProject() *ResourceRef + type ResourceRef struct + BaseURL *string + ID *string + URL *string + func (r *ResourceRef) GetBaseURL() string + func (r *ResourceRef) GetID() string + func (r *ResourceRef) GetURL() string + type TaskAgentPoolReference struct + ID *int + IsHosted *bool + Name *string + func (t *TaskAgentPoolReference) GetID() int + func (t *TaskAgentPoolReference) GetIsHosted() bool + func (t *TaskAgentPoolReference) GetName() string + type TaskOrchestrationPlanReference struct + PlanID *string + Type *int + func (t *TaskOrchestrationPlanReference) GetPlanID() string + func (t *TaskOrchestrationPlanReference) GetType() int + type Team struct + Description *string + ID *string + Name *string + URL *string + func (t *Team) GetDescription() string + func (t *Team) GetID() string + func (t *Team) GetName() string + func (t *Team) GetURL() string + type TeamProjectCollectionReference struct + ID *string + Name *string + URL *string + func (t *TeamProjectCollectionReference) GetID() string + func (t *TeamProjectCollectionReference) GetName() string + func (t *TeamProjectCollectionReference) GetURL() string + type TeamProjectReference struct + Abbreviation *string + DefaultTeamImageURL *string + Description *string + ID *string + LastUpdateTime *Time + Name *string + Revision *int + State *string + URL *string + Visibility *string + func (t *TeamProjectReference) GetAbbreviation() string + func (t *TeamProjectReference) GetDefaultTeamImageURL() string + func (t *TeamProjectReference) GetDescription() string + func (t *TeamProjectReference) GetID() string + func (t *TeamProjectReference) GetLastUpdateTime() *Time + func (t *TeamProjectReference) GetName() string + func (t *TeamProjectReference) GetRevision() int + func (t *TeamProjectReference) GetState() string + func (t *TeamProjectReference) GetURL() string + func (t *TeamProjectReference) GetVisibility() string + type TeamsListOptions struct + Mine *bool + Skip *int + Top *int + func (t *TeamsListOptions) GetMine() bool + func (t *TeamsListOptions) GetSkip() int + func (t *TeamsListOptions) GetTop() int + type TeamsListResponse struct + Count int + Teams []*Team + type TeamsService struct + func (s *TeamsService) List(ctx context.Context, owner, project string, opts *TeamsListOptions) ([]*Team, *http.Response, error) + type Test struct + CompletedDate *string + ID *int + IsAutomated *bool + Iteration *string + Name *string + Owner ... + Plan ... + Revision *int + StartedDate *string + State *string + URL *string + func (t *Test) GetCompletedDate() string + func (t *Test) GetID() int + func (t *Test) GetIsAutomated() bool + func (t *Test) GetIteration() string + func (t *Test) GetName() string + func (t *Test) GetRevision() int + func (t *Test) GetStartedDate() string + func (t *Test) GetState() string + func (t *Test) GetURL() string + type TestListResponse struct + Count int + Tests []*Test + type TestResult struct + Area struct{ ... } + AutomatedTestID string + AutomatedTestName string + AutomatedTestStorage string + AutomatedTestType string + AutomatedTestTypeID string + Build struct{ ... } + CompletedDate Time + ComputerName string + CreatedDate Time + CustomFields []interface{} + DurationInMs float64 + FailureType string + ID int + LastUpdatedBy struct{ ... } + LastUpdatedDate Time + Outcome string + Priority int + Project struct{ ... } + Revision int + RunBy struct{ ... } + StackTrace string + StartedDate Time + State string + TestCase struct{ ... } + TestCaseTitle string + TestRun struct{ ... } + URL string + type TestResultsListOptions struct + Count int + RunID string + type TestResultsListResponse struct + Results []TestResult + type TestsListOptions struct + BuildURI *string + Count *int + func (t *TestsListOptions) GetBuildURI() string + func (t *TestsListOptions) GetCount() int + type TestsService struct + func (s *TestsService) List(ctx context.Context, owner, project string, opts *TestsListOptions) ([]*Test, *http.Response, error) + func (s *TestsService) ResultsList(ctx context.Context, owner, project string, opts *TestResultsListOptions) ([]TestResult, error) + type Time struct + Time time.Time + func (t *Time) MarshalJSON() ([]byte, error) + func (t *Time) UnmarshalJSON(b []byte) error + func (t Time) Equal(u Time) bool + func (t Time) String() string + type TriggerInfo struct + CiMessage *string + CiSourceBranch *string + CiSourceSha *string + func (t *TriggerInfo) GetCiMessage() string + func (t *TriggerInfo) GetCiSourceBranch() string + func (t *TriggerInfo) GetCiSourceSha() string + type UpdateRefsBody struct + IsLocked *bool + Name *string + NewObjectID *string + OldObjectID *string + RepositoryID *string + func (u *UpdateRefsBody) GetIsLocked() bool + func (u *UpdateRefsBody) GetName() string + func (u *UpdateRefsBody) GetNewObjectID() string + func (u *UpdateRefsBody) GetOldObjectID() string + func (u *UpdateRefsBody) GetRepositoryID() string + type User struct + Descriptor string + DisplayName string + Domain string + Links Links + MailAddress string + MetaType *string + Origin string + OriginID string + PrincipalName string + SubjectKind string + URL string + type UserEntitlements struct + ContinuationToken interface{} + Items []Item + Members []Item + TotalCount int64 + type UserEntitlementsService struct + func (s *UserEntitlementsService) Get(ctx context.Context, userName string, orgName string) (*UserEntitlements, *http.Response, error) + func (s *UserEntitlementsService) GetUserID(ctx context.Context, userName string, orgName string) (*string, error) + type UsersService struct + func (s *UsersService) Get(ctx context.Context, owner, descriptor string) (*GraphUser, *http.Response, error) + func (s *UsersService) GetDescriptors(ctx context.Context, owner, storageKey string) (*GraphDescriptorResult, *http.Response, error) + func (s *UsersService) List(ctx context.Context, owner string) ([]*GraphUser, *http.Response, error) + type ValidationResult struct + Message *string + Result *string + func (v *ValidationResult) GetMessage() string + func (v *ValidationResult) GetResult() string + type VersionControlChangeType int + const Add + const All + const Branch + const Delete + const Edit + const Encoding + const Lock + const Merge + const None + const Property + const Rename + const Rollback + const SourceRename + const TargetRename + const Undelete + func (d VersionControlChangeType) String() string + type WebAPITagDefinition struct + Active *bool + ID *string + Name *string + URL *string + func (w *WebAPITagDefinition) GetActive() bool + func (w *WebAPITagDefinition) GetID() string + func (w *WebAPITagDefinition) GetName() string + func (w *WebAPITagDefinition) GetURL() string + type WorkItem struct + CommentVersionRef *CommentVersionRef + Fields *map[string]interface{} + ID *int + Links *map[string]Link + Relations []*WorkItemRelation + Rev *int + URL *string + func (w *WorkItem) GetCommentVersionRef() *CommentVersionRef + func (w *WorkItem) GetID() int + func (w *WorkItem) GetLinks() map[string]Link + func (w *WorkItem) GetRev() int + func (w *WorkItem) GetURL() string + type WorkItemComment struct + CreatedBy *IdentityRef + CreatedDate *Time + ID *int + ModifiedBy *IdentityRef + ModifiedDate *Time + Text *string + URL *string + Version *int + WorkItemID *int + func (w *WorkItemComment) GetCreatedBy() *IdentityRef + func (w *WorkItemComment) GetCreatedDate() *Time + func (w *WorkItemComment) GetID() int + func (w *WorkItemComment) GetModifiedBy() *IdentityRef + func (w *WorkItemComment) GetModifiedDate() *Time + func (w *WorkItemComment) GetText() string + func (w *WorkItemComment) GetURL() string + func (w *WorkItemComment) GetVersion() int + func (w *WorkItemComment) GetWorkItemID() int + type WorkItemCommentList struct + Comments []*WorkItemComment + ContinuationToken *string + Count *int + Links *map[string]Link + NextPage *string + TotalCount *int + URL *string + func (w *WorkItemCommentList) GetContinuationToken() string + func (w *WorkItemCommentList) GetCount() int + func (w *WorkItemCommentList) GetLinks() map[string]Link + func (w *WorkItemCommentList) GetNextPage() string + func (w *WorkItemCommentList) GetTotalCount() int + func (w *WorkItemCommentList) GetURL() string + type WorkItemCommentListOptions struct + Expand string + IDs []int + IncludeDeleted bool + type WorkItemFieldUpdate struct + NewValue interface{} + OldValue interface{} + type WorkItemLink struct + Rel *string + Source *WorkItemReference + Target *WorkItemReference + func (w *WorkItemLink) GetRel() string + func (w *WorkItemLink) GetSource() *WorkItemReference + func (w *WorkItemLink) GetTarget() *WorkItemReference + type WorkItemListResponse struct + Count int + WorkItems []*WorkItem + type WorkItemReference struct + ID *int + URL *string + func (w *WorkItemReference) GetID() int + func (w *WorkItemReference) GetURL() string + type WorkItemRelation struct + Attributes *map[string]interface{} + Rel *string + URL *string + func (w *WorkItemRelation) GetRel() string + func (w *WorkItemRelation) GetURL() string + type WorkItemRelationUpdates struct + Added []*WorkItemRelation + Removed []*WorkItemRelation + Updated []*WorkItemRelation + type WorkItemUpdate struct + Fields *map[string]WorkItemFieldUpdate + ID *int + Links *map[string]interface{} + Relations *WorkItemRelationUpdates + Rev *int + RevisedBy *IdentityRef + RevisedDate *Time + URL *string + WorkItemID *int + func (w *WorkItemUpdate) GetFields() map[string]WorkItemFieldUpdate + func (w *WorkItemUpdate) GetID() int + func (w *WorkItemUpdate) GetRelations() *WorkItemRelationUpdates + func (w *WorkItemUpdate) GetRev() int + func (w *WorkItemUpdate) GetRevisedBy() *IdentityRef + func (w *WorkItemUpdate) GetRevisedDate() *Time + func (w *WorkItemUpdate) GetURL() string + func (w *WorkItemUpdate) GetWorkItemID() int + type WorkItemsService struct + func (s *WorkItemsService) CreateComment(ctx context.Context, owner, project string, workItemID int, ...) (*WorkItemComment, *http.Response, error) + func (s *WorkItemsService) GetComment(ctx context.Context, owner, project string, workItemID, commentID int, ...) (*WorkItemComment, *http.Response, error) + func (s *WorkItemsService) GetForIteration(ctx context.Context, owner, project, team string, iteration Iteration) ([]*WorkItem, *http.Response, error) + func (s *WorkItemsService) GetIdsForIteration(ctx context.Context, owner, project, team string, iteration Iteration) (*IterationWorkItems, *http.Response, error) + func (s *WorkItemsService) ListComments(ctx context.Context, owner, project string, workItemID int, ...) (*WorkItemCommentList, *http.Response, error)