microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
86466695ed3443c9a6a1facdfd9bce89c668afbf

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

lib/app-center-node-client/src/build/models/branchStatus.js

70lines · modecode

1/*
2 * Code generated by Microsoft (R) AutoRest Code Generator.
3 * Changes may cause incorrect behavior and will be lost if the code is
4 * regenerated.
5 */
6
7'use strict';
8
9const models = require('./index');
10
11/**
12 * The branch build status
13 *
14 */
15class BranchStatus {
16 /**
17 * Create a BranchStatus.
18 * @member {boolean} configured
19 * @member {object} [lastBuild]
20 * @member {number} [lastBuild.id] The build ID
21 * @member {string} [lastBuild.buildNumber] The build number
22 * @member {string} [lastBuild.queueTime] The time the build was queued
23 * @member {string} [lastBuild.startTime] The time the build was started
24 * @member {string} [lastBuild.finishTime] The time the build was finished
25 * @member {string} [lastBuild.lastChangedDate] The time the build status was
26 * last changed
27 * @member {string} [lastBuild.status] The build status
28 * @member {string} [lastBuild.result] The build result
29 * @member {string} [lastBuild.sourceBranch] The source branch name
30 * @member {string} [lastBuild.sourceVersion] The source SHA
31 */
32 constructor() {
33 }
34
35 /**
36 * Defines the metadata of BranchStatus
37 *
38 * @returns {object} metadata of BranchStatus
39 *
40 */
41 mapper() {
42 return {
43 required: false,
44 serializedName: 'BranchStatus',
45 type: {
46 name: 'Composite',
47 className: 'BranchStatus',
48 modelProperties: {
49 configured: {
50 required: true,
51 serializedName: 'configured',
52 type: {
53 name: 'Boolean'
54 }
55 },
56 lastBuild: {
57 required: false,
58 serializedName: 'lastBuild',
59 type: {
60 name: 'Composite',
61 className: 'Build'
62 }
63 }
64 }
65 }
66 };
67 }
68}
69
70module.exports = BranchStatus;
71