appcenter-cli
Version:
Command line tool for Visual Studio App Center
71 lines (66 loc) • 1.58 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
;
/**
* The lite version of GitHub branch
*
*/
class GitHubBranchLite {
/**
* Create a GitHubBranchLite.
* @property {string} [ref] The repository name
* @property {string} [sha] The discription of repository
* @property {object} [repo]
* @property {number} [repo.id] The repository id
*/
constructor() {
}
/**
* Defines the metadata of GitHubBranchLite
*
* @returns {object} metadata of GitHubBranchLite
*
*/
mapper() {
return {
required: false,
serializedName: 'GitHubBranchLite',
type: {
name: 'Composite',
className: 'GitHubBranchLite',
modelProperties: {
ref: {
required: false,
serializedName: 'ref',
type: {
name: 'String'
}
},
sha: {
required: false,
serializedName: 'sha',
type: {
name: 'String'
}
},
repo: {
required: false,
serializedName: 'repo',
type: {
name: 'Composite',
className: 'GitHubRepositoryLite'
}
}
}
}
};
}
}
module.exports = GitHubBranchLite;