appcenter-cli
Version:
Command line tool for Visual Studio App Center
60 lines (55 loc) • 1.44 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 DistributionGroupPatchRequest.
*/
class DistributionGroupPatchRequest {
/**
* Create a DistributionGroupPatchRequest.
* @property {string} [name] The name of the distribution group
* @property {boolean} [isPublic] Whether the distribution group is public
*/
constructor() {
}
/**
* Defines the metadata of DistributionGroupPatchRequest
*
* @returns {object} metadata of DistributionGroupPatchRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'DistributionGroupPatchRequest',
type: {
name: 'Composite',
className: 'DistributionGroupPatchRequest',
modelProperties: {
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
isPublic: {
required: false,
serializedName: 'is_public',
type: {
name: 'Boolean'
}
}
}
}
};
}
}
module.exports = DistributionGroupPatchRequest;