UNPKG

azure-arm-datalake-store

Version:

Microsoft Azure Data Lake Store Management Client Library for node

76 lines (70 loc) 1.67 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'); /** * The resource model definition for a nested resource. * * @extends models['BaseResource'] */ class SubResource extends models['BaseResource'] { /** * Create a SubResource. * @property {string} [id] The resource identifier. * @property {string} [name] The resource name. * @property {string} [type] The resource type. */ constructor() { super(); } /** * Defines the metadata of SubResource * * @returns {object} metadata of SubResource * */ mapper() { return { required: false, serializedName: 'SubResource', type: { name: 'Composite', className: 'SubResource', modelProperties: { id: { required: false, readOnly: true, serializedName: 'id', type: { name: 'String' } }, name: { required: false, readOnly: true, serializedName: 'name', type: { name: 'String' } }, type: { required: false, readOnly: true, serializedName: 'type', type: { name: 'String' } } } } }; } } module.exports = SubResource;