appcenter-cli
Version:
Command line tool for Visual Studio App Center
77 lines (72 loc) • 2.25 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.
*/
;
/**
* Usage section in the Billing Information
*
*/
class BillingResourceUsage {
/**
* Create a BillingResourceUsage.
* @property {object} [buildService]
* @property {object} [buildService.currentUsagePeriod]
* @property {string} [buildService.currentUsagePeriod.startTime] Inclusive
* start time of the usage period
* @property {string} [buildService.currentUsagePeriod.endTime] Exclusive end
* time of the usage period.
* @property {object} [buildService.currentUsagePeriod.byAccount]
* @property {object} [buildService.currentUsagePeriod.byApp]
* @property {object} [testService]
* @property {object} [testService.currentUsagePeriod]
* @property {string} [testService.currentUsagePeriod.startTime] Inclusive
* start time of the usage period
* @property {string} [testService.currentUsagePeriod.endTime] Exclusive end
* time of the usage period.
* @property {object} [testService.currentUsagePeriod.byAccount]
* @property {object} [testService.currentUsagePeriod.byApp]
*/
constructor() {
}
/**
* Defines the metadata of BillingResourceUsage
*
* @returns {object} metadata of BillingResourceUsage
*
*/
mapper() {
return {
required: false,
serializedName: 'BillingResourceUsage',
type: {
name: 'Composite',
className: 'BillingResourceUsage',
modelProperties: {
buildService: {
required: false,
serializedName: 'buildService',
type: {
name: 'Composite',
className: 'ServiceResourceUsage'
}
},
testService: {
required: false,
serializedName: 'testService',
type: {
name: 'Composite',
className: 'ServiceResourceUsage'
}
}
}
}
};
}
}
module.exports = BillingResourceUsage;