UNPKG

azure-arm-timeseriesinsights

Version:
74 lines (69 loc) 1.9 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'; /** * A Time Series Insights REST API operation * */ class Operation { /** * Create a Operation. * @member {string} [name] The name of the operation being performed on this * particular object. * @member {object} [display] Contains the localized display information for * this particular operation / action. * @member {string} [display.provider] The localized friendly form of the * resource provider name. * @member {string} [display.resource] The localized friendly form of the * resource type related to this action/operation. * @member {string} [display.operation] The localized friendly name for the * operation. * @member {string} [display.description] The localized friendly description * for the operation. */ constructor() { } /** * Defines the metadata of Operation * * @returns {object} metadata of Operation * */ mapper() { return { required: false, serializedName: 'Operation', type: { name: 'Composite', className: 'Operation', modelProperties: { name: { required: false, readOnly: true, serializedName: 'name', type: { name: 'String' } }, display: { required: false, readOnly: true, serializedName: 'display', type: { name: 'Composite', className: 'OperationDisplay' } } } } }; } } module.exports = Operation;