azure-arm-datalake-analytics
Version:
Microsoft Azure Data Lake Analytics Management Client Library for node
79 lines (73 loc) • 1.75 kB
JavaScript
/*
* 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.
*/
;
const models = require('./index');
/**
* A Data Lake Analytics catalog U-SQL schema item.
*
* @extends models['CatalogItem']
*/
class USqlSchema extends models['CatalogItem'] {
/**
* Create a USqlSchema.
* @member {string} [databaseName] the name of the database.
* @member {string} [name] the name of the schema.
*/
constructor() {
super();
}
/**
* Defines the metadata of USqlSchema
*
* @returns {object} metadata of USqlSchema
*
*/
mapper() {
return {
required: false,
serializedName: 'USqlSchema',
type: {
name: 'Composite',
className: 'USqlSchema',
modelProperties: {
computeAccountName: {
required: false,
serializedName: 'computeAccountName',
type: {
name: 'String'
}
},
version: {
required: false,
serializedName: 'version',
type: {
name: 'String'
}
},
databaseName: {
required: false,
serializedName: 'databaseName',
type: {
name: 'String'
}
},
name: {
required: false,
serializedName: 'schemaName',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = USqlSchema;