UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

68 lines (63 loc) 1.52 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 HandledErrors. */ class HandledErrors { /** * Create a HandledErrors. * @property {string} [nextLink] * @property {array} [errors] Errors list. */ constructor() { } /** * Defines the metadata of HandledErrors * * @returns {object} metadata of HandledErrors * */ mapper() { return { required: false, serializedName: 'HandledErrors', type: { name: 'Composite', className: 'HandledErrors', modelProperties: { nextLink: { required: false, serializedName: 'nextLink', type: { name: 'String' } }, errors: { required: false, serializedName: 'errors', type: { name: 'Sequence', element: { required: false, serializedName: 'HandledErrorElementType', type: { name: 'Composite', className: 'HandledError' } } } } } } }; } } module.exports = HandledErrors;