appcenter-cli
Version:
Command line tool for Visual Studio App Center
69 lines (64 loc) • 1.63 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.
*/
;
/**
* Class representing a ListOKResponseItem.
*/
class ListOKResponseItem {
/**
* Create a ListOKResponseItem.
* @property {string} displayName The display name of the organization
* @property {string} name The slug name of the organization
* @property {string} origin The creation origin of this organization.
* Possible values include: 'appcenter', 'hockeyapp'
*/
constructor() {
}
/**
* Defines the metadata of ListOKResponseItem
*
* @returns {object} metadata of ListOKResponseItem
*
*/
mapper() {
return {
required: false,
serializedName: 'ListOKResponseItem',
type: {
name: 'Composite',
className: 'ListOKResponseItem',
modelProperties: {
displayName: {
required: true,
serializedName: 'display_name',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
origin: {
required: true,
serializedName: 'origin',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = ListOKResponseItem;