UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

88 lines (83 loc) 2.06 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'; /** * Class representing a CodePushReleaseInfo. */ class CodePushReleaseInfo { /** * Create a CodePushReleaseInfo. * @property {string} [targetBinaryRange] * @property {string} [description] * @property {boolean} [isDisabled] * @property {boolean} [isMandatory] * @property {number} [rollout] */ constructor() { } /** * Defines the metadata of CodePushReleaseInfo * * @returns {object} metadata of CodePushReleaseInfo * */ mapper() { return { required: false, serializedName: 'CodePushReleaseInfo', type: { name: 'Composite', className: 'CodePushReleaseInfo', modelProperties: { targetBinaryRange: { required: false, serializedName: 'target_binary_range', type: { name: 'String' } }, description: { required: false, serializedName: 'description', type: { name: 'String' } }, isDisabled: { required: false, serializedName: 'is_disabled', type: { name: 'Boolean' } }, isMandatory: { required: false, serializedName: 'is_mandatory', type: { name: 'Boolean' } }, rollout: { required: false, serializedName: 'rollout', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } }; } } module.exports = CodePushReleaseInfo;