UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

74 lines (68 loc) 1.87 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 ReleaseDestinationRequest. * @extends models['ReleaseStoreDestinationRequest'] */ class ReleaseDestinationRequest extends models['ReleaseStoreDestinationRequest'] { /** * Create a ReleaseDestinationRequest. * @property {boolean} [mandatoryUpdate] Flag to mark the release for the * provided destinations as mandatory * @property {boolean} [notifyTesters] Flag to enable or disable * notifications to testers. Default value: true . */ constructor() { super(); } /** * Defines the metadata of ReleaseDestinationRequest * * @returns {object} metadata of ReleaseDestinationRequest * */ mapper() { return { required: false, serializedName: 'ReleaseDestinationRequest', type: { name: 'Composite', className: 'ReleaseDestinationRequest', modelProperties: { id: { required: true, serializedName: 'id', type: { name: 'String' } }, mandatoryUpdate: { required: false, serializedName: 'mandatory_update', type: { name: 'Boolean' } }, notifyTesters: { required: false, serializedName: 'notify_testers', defaultValue: true, type: { name: 'Boolean' } } } } }; } } module.exports = ReleaseDestinationRequest;