appcenter-cli
Version:
Command line tool for Visual Studio App Center
85 lines (80 loc) • 2.17 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 DistributionGroupResponse.
*/
class DistributionGroupResponse {
/**
* Create a DistributionGroupResponse.
* @property {uuid} id The unique ID of the distribution group
* @property {string} name The name of the distribution group used in URLs
* @property {string} [displayName] The name of the distribution group
* @property {string} origin The creation origin of this distribution group.
* Possible values include: 'appcenter', 'hockeyapp'
* @property {boolean} isPublic Whether the distribution group is public
*/
constructor() {
}
/**
* Defines the metadata of DistributionGroupResponse
*
* @returns {object} metadata of DistributionGroupResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'DistributionGroupResponse',
type: {
name: 'Composite',
className: 'DistributionGroupResponse',
modelProperties: {
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'display_name',
type: {
name: 'String'
}
},
origin: {
required: true,
serializedName: 'origin',
type: {
name: 'String'
}
},
isPublic: {
required: true,
serializedName: 'is_public',
type: {
name: 'Boolean'
}
}
}
}
};
}
}
module.exports = DistributionGroupResponse;