vsteam.types.ps1xml
<?xml version="1.0" encoding="utf-8"?><Types><Type><Name>vsteam_lib.AccessLevel</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>accountLicenseType</Name><Name>assignmentSource</Name><Name>licenseDisplayName</Name><Name>licensingSource</Name><Name>msdnLicenseType</Name><Name>status</Name><Name>statusMessage</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.Approval</Name><Members><ScriptProperty><Name>approverName</Name><GetScriptBlock>$this.approver.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseName</Name><GetScriptBlock>$this.release.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseDefinitionId</Name><GetScriptBlock>$this.releaseDefinition.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseDefinitionName</Name><GetScriptBlock>$this.releaseDefinition.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseEnvironmentName</Name><GetScriptBlock>$this.releaseEnvironment.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>shortApprovalType</Name><GetScriptBlock>$this.approvalType.Replace('Deploy', '').Replace('p', 'P')</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>approverName</Name><Name>status</Name><Name>comments</Name><Name>releaseDefinitionName</Name><Name>releaseEnvironmentName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.AzureSubscription</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>displayName</Name><Name>subscriptionId</Name><Name>subscriptionTenantId</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.Build.Artifact</Name><Members><ScriptProperty><Name>type</Name><GetScriptBlock>$this.resource.type</GetScriptBlock></ScriptProperty><ScriptProperty><Name>data</Name><GetScriptBlock>$this.resource.data</GetScriptBlock></ScriptProperty><ScriptProperty><Name>url</Name><GetScriptBlock>$this.resource.url</GetScriptBlock></ScriptProperty><ScriptProperty><Name>downloadUrl</Name><GetScriptBlock>$this.resource.downloadUrl</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.BuildTimeline</Name><Members><ScriptProperty><Name>id</Name><GetScriptBlock>$this.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>changeId</Name><GetScriptBlock>$this.changeId</GetScriptBlock></ScriptProperty><ScriptProperty><Name>lastChangedOn</Name><GetScriptBlock>[datetime]::Parse($this.lastChangedOn)</GetScriptBlock></ScriptProperty><ScriptProperty><Name>lastChangedBy</Name><GetScriptBlock>$this.lastChangedBy</GetScriptBlock></ScriptProperty><ScriptProperty><Name>numberOfRecords</Name><GetScriptBlock>$this.records.Count</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>vsteam_lib.BuildTimelineRecord</Name><Members><ScriptProperty><Name>LastModified</Name><GetScriptBlock>[datetime]::Parse($this.lastModified)</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>Name</Name><Name>Id</Name><Name>Type</Name><Name>State</Name><Name>Result</Name><Name>ParentId</Name><Name>ErrorCount</Name><Name>WarningCount</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.Environment</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name><Name>status</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.Option</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>resourceName</Name><Name>minVersion</Name><Name>maxVersion</Name><Name>routeTemplate</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.Policy</Name><Members><ScriptProperty><Name>policyType</Name><GetScriptBlock>$this.type.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>policyType</Name><Name>createdByUser</Name><Name>isEnabled</Name><Name>id</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.PullRequest</Name><Members><ScriptProperty><Name>repositoryName</Name><GetScriptBlock>$this.repository.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>reviewedByUser</Name><GetScriptBlock>$this.reviewers.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>reviewStatus</Name><GetScriptBlock> $votes = $this.reviewers.vote if (!$this.reviewers -or $votes -contains 0) { "Pending" } elseif ($votes -contains -10) { "Rejected" } else { "Approved" } </GetScriptBlock></ScriptProperty><ScriptProperty><Name>browseUrl</Name><GetScriptBlock> $organization = [vsteam_lib.Versions]::Account $project = $this.repository.project.name $repositoryId = $this.repository.name $pullRequestId = $this.pullRequestId "$organization/$project/_git/$repositoryId/pullrequest/$pullRequestId" </GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>pullRequestId</Name><Name>repositoryName</Name><Name>reviewStatus</Name><Name>createdByUser</Name><Name>creationDate</Name><Name>title</Name><Name>description</Name><Name>sourceRefname</Name><Name>mergeStatus</Name><Name>reviewedByUser</Name><Name>status</Name><Name>url</Name><Name>artifactId</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.ServiceEndpoint</Name><Members><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>vsteam_lib.TeamMember</Name><Members><ScriptProperty><Name>Name</Name><GetScriptBlock>$this.identity.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Unique Name</Name><GetScriptBlock>$this.identity.uniqueName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Id</Name><GetScriptBlock>$this.identity.id</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>Name</Name><Name>Unique Name</Name><Name>Id</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.TfvcBranch</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>path</Name><Name>description</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.VariableGroup</Name><Members><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>modifiedByUser</Name><GetScriptBlock>$this.modifiedBy.displayName</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>vsteam_lib.Wiql</Name><Members><ScriptProperty><Name>QueryType</Name><GetScriptBlock>$this.PSObject.Properties['queryType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>QueryResultType</Name><GetScriptBlock>$this.PSObject.Properties['queryResultType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AsOf</Name><GetScriptBlock>$this.PSObject.Properties['asOf'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Columns</Name><GetScriptBlock>$this.PSObject.Properties['columns'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>SortColumns</Name><GetScriptBlock>$this.PSObject.Properties['sortColumns'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItemIDs</Name><GetScriptBlock>[int[]]$this.PSObject.Properties['workItems'].Value.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItems</Name><GetScriptBlock>$this.PSObject.Properties['workItems'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>queryType</Name><Name>WorkItemIDs</Name><Name>workItems</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.WorkItem</Name><Members><ScriptProperty><Name>Title</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Title'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Description</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Description'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>State</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.State'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AreaPath</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.AreaPath'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>IterationPath</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.IterationPath'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AssignedTo</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.AssignedTo'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>vsteam_lib.roject</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.TeamProject'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItemType</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.WorkItemType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Reason</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Reason'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>title</Name><Name>state</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.WorkItemDeleted</Name><Members><ScriptProperty><Name>Name</Name><GetScriptBlock>$this.fields.PSObject.Properties['name'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Project</Name><GetScriptBlock>$this.fields.PSObject.Properties['project'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Type</Name><GetScriptBlock>$this.fields.PSObject.Properties['type'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Id</Name><GetScriptBlock>$this.fields.PSObject.Properties['id'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Resource</Name><GetScriptBlock>$this.fields.PSObject.Properties['resource'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>DeletedBy</Name><GetScriptBlock>$this.fields.PSObject.Properties['deletedBy'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>DeletedDate</Name><GetScriptBlock>$this.fields.PSObject.Properties['deletedDate'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Code</Name><GetScriptBlock>$this.fields.PSObject.Properties['code'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Url</Name><GetScriptBlock>$this.fields.PSObject.Properties['url'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name><Name>deletedBy</Name><Name>deletedDate</Name><Name>code</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>vsteam_lib.YamlPipelineResult</Name><Members><ScriptProperty><Name>links</Name><GetScriptBlock>$this._links</GetScriptBlock></ScriptProperty><ScriptProperty><Name>pipeline</Name><GetScriptBlock>$this.pipeline</GetScriptBlock></ScriptProperty><ScriptProperty><Name>state</Name><GetScriptBlock>$this.state</GetScriptBlock></ScriptProperty><ScriptProperty><Name>url</Name><GetScriptBlock>$this.url</GetScriptBlock></ScriptProperty><ScriptProperty><Name>finalYaml</Name><GetScriptBlock>$this.finalYaml</GetScriptBlock></ScriptProperty><ScriptProperty><Name>id</Name><GetScriptBlock>$this.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>name</Name><GetScriptBlock>$this.name</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>name</Name><Name>id</Name><Name>url</Name><Name>state</Name><Name>finalYaml</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type></Types> |