azure-arm-datalake-store
Version:
Microsoft Azure Data Lake Store Management Client Library for node
80 lines (74 loc) • 1.93 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 WebHDFS exception thrown indicating that the request is being throttled.
* Reducing the number of requests or request size helps to mitigate this
* error.
*
* @extends models['AdlsRemoteException']
*/
class AdlsThrottledException extends models['AdlsRemoteException'] {
/**
* Create a AdlsThrottledException.
*/
constructor() {
super();
}
/**
* Defines the metadata of AdlsThrottledException
*
* @returns {object} metadata of AdlsThrottledException
*
*/
mapper() {
return {
required: false,
serializedName: 'ThrottledException',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'exception',
clientName: 'exception'
},
uberParent: 'AdlsRemoteException',
className: 'AdlsThrottledException',
modelProperties: {
javaClassName: {
required: false,
readOnly: true,
serializedName: 'javaClassName',
type: {
name: 'String'
}
},
message: {
required: false,
readOnly: true,
serializedName: 'message',
type: {
name: 'String'
}
},
exception: {
required: true,
serializedName: 'exception',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = AdlsThrottledException;