appcenter-cli
Version:
Command line tool for Visual Studio App Center
61 lines (56 loc) • 1.45 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 DistributionGroupRequest.
*/
class DistributionGroupRequest {
/**
* Create a DistributionGroupRequest.
* @property {string} name The name of the distribution group
* @property {string} [displayName] The display name of the distribution
* group. If not specified, the name will be used.
*/
constructor() {
}
/**
* Defines the metadata of DistributionGroupRequest
*
* @returns {object} metadata of DistributionGroupRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'DistributionGroupRequest',
type: {
name: 'Composite',
className: 'DistributionGroupRequest',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'display_name',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DistributionGroupRequest;