appcenter-cli
Version:
Command line tool for Visual Studio App Center
73 lines (68 loc) • 1.96 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.
*/
;
/**
* Selection of a billing plan
*
*/
class BillingPlanSelection {
/**
* Create a BillingPlanSelection.
* @property {number} [count] Number of instances of the billing plan.
* @property {object} [plan]
* @property {string} [plan.id] The Billing Plan ID
* @property {string} [plan.version] Version of the Billing Plan schema
* @property {number} [plan.price] Price of the Billing Plan
* @property {string} [plan.paymentSource] Service that receives payments for
* this billing plan. Possible values include: 'None', 'AppCenter', 'GitHub',
* 'Xtc'
* @property {string} [plan.service] Name of the service that the plan
* applies to. Possible values include: 'Build', 'Test'
* @property {object} [plan.limits]
* @property {object} [plan.attributes]
* @property {string} [plan.parentId]
*/
constructor() {
}
/**
* Defines the metadata of BillingPlanSelection
*
* @returns {object} metadata of BillingPlanSelection
*
*/
mapper() {
return {
required: false,
serializedName: 'BillingPlanSelection',
type: {
name: 'Composite',
className: 'BillingPlanSelection',
modelProperties: {
count: {
required: false,
serializedName: 'count',
type: {
name: 'Number'
}
},
plan: {
required: false,
serializedName: 'plan',
type: {
name: 'Composite',
className: 'BillingPlan'
}
}
}
}
};
}
}
module.exports = BillingPlanSelection;