appcenter-cli
Version:
Command line tool for Visual Studio App Center
63 lines (58 loc) • 1.49 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.
*/
;
/**
* Number of pipelines
*
*/
class BuildConcurrencyResponse {
/**
* Create a BuildConcurrencyResponse.
* @property {number} [quantity] The number of pipelines set by the billing
* plan
* @property {number} [committedQuantity] The number of pipelines committed,
* which can be equal or greater than the number from the billing plan
*/
constructor() {
}
/**
* Defines the metadata of BuildConcurrencyResponse
*
* @returns {object} metadata of BuildConcurrencyResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'BuildConcurrencyResponse',
type: {
name: 'Composite',
className: 'BuildConcurrencyResponse',
modelProperties: {
quantity: {
required: false,
serializedName: 'quantity',
type: {
name: 'Number'
}
},
committedQuantity: {
required: false,
serializedName: 'committed_quantity',
type: {
name: 'Number'
}
}
}
}
};
}
}
module.exports = BuildConcurrencyResponse;