appcenter-cli
Version:
Command line tool for Visual Studio App Center
61 lines (56 loc) • 1.29 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 source repository
*
*/
class SourceRepository {
/**
* Create a SourceRepository.
* @property {string} [name] The repository name
* @property {string} [cloneUrl] URL used to clone the repository
*/
constructor() {
}
/**
* Defines the metadata of SourceRepository
*
* @returns {object} metadata of SourceRepository
*
*/
mapper() {
return {
required: false,
serializedName: 'SourceRepository',
type: {
name: 'Composite',
className: 'SourceRepository',
modelProperties: {
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
cloneUrl: {
required: false,
serializedName: 'clone_url',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = SourceRepository;