UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

61 lines (56 loc) 1.24 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'; /** * failure response object * */ class V2FailureResponse { /** * Create a V2FailureResponse. * @property {string} code * @property {string} message */ constructor() { } /** * Defines the metadata of V2FailureResponse * * @returns {object} metadata of V2FailureResponse * */ mapper() { return { required: false, serializedName: 'v2FailureResponse', type: { name: 'Composite', className: 'V2FailureResponse', modelProperties: { code: { required: true, serializedName: 'code', type: { name: 'String' } }, message: { required: true, serializedName: 'message', type: { name: 'String' } } } } }; } } module.exports = V2FailureResponse;