UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

63 lines (57 loc) 1.48 kB
/* * 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. */ 'use strict'; const models = require('./index'); /** * Class representing a ReleaseWithDistributionGroup. * @extends models['Release'] */ class ReleaseWithDistributionGroup extends models['Release'] { /** * Create a ReleaseWithDistributionGroup. * @property {string} [distributionGroup] Distribution group Id. */ constructor() { super(); } /** * Defines the metadata of ReleaseWithDistributionGroup * * @returns {object} metadata of ReleaseWithDistributionGroup * */ mapper() { return { required: false, serializedName: 'ReleaseWithDistributionGroup', type: { name: 'Composite', className: 'ReleaseWithDistributionGroup', modelProperties: { release: { required: true, serializedName: 'release', type: { name: 'String' } }, distributionGroup: { required: false, serializedName: 'distribution_group', type: { name: 'String' } } } } }; } } module.exports = ReleaseWithDistributionGroup;