appcenter-cli
Version:
Command line tool for Visual Studio App Center
78 lines (73 loc) • 1.86 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.
*/
;
/**
* App Center account details from GitHub billing
*
*/
class GitHubBillingAccount {
/**
* Create a GitHubBillingAccount.
* @property {string} id The unique id (UUID) of the account
* @property {string} displayName The account's display name
* @property {string} name The unique name that used to identify the owner
* @property {string} type The owner type. Can either be 'org' or 'user'.
* Possible values include: 'org', 'user'
*/
constructor() {
}
/**
* Defines the metadata of GitHubBillingAccount
*
* @returns {object} metadata of GitHubBillingAccount
*
*/
mapper() {
return {
required: false,
serializedName: 'GitHubBillingAccount',
type: {
name: 'Composite',
className: 'GitHubBillingAccount',
modelProperties: {
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
displayName: {
required: true,
serializedName: 'display_name',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: true,
serializedName: 'type',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = GitHubBillingAccount;