azure-arm-insights
Version:
Microsoft Azure Insights Management Client Library for node
61 lines (56 loc) • 1.37 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.
*/
;
/**
* @class
* Initializes a new instance of the IncidentListResult class.
* @constructor
* The List incidents operation response.
*
*/
class IncidentListResult extends Array {
constructor() {
super();
}
/**
* Defines the metadata of IncidentListResult
*
* @returns {object} metadata of IncidentListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'IncidentListResult',
type: {
name: 'Composite',
className: 'IncidentListResult',
modelProperties: {
value: {
required: false,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'IncidentElementType',
type: {
name: 'Composite',
className: 'Incident'
}
}
}
}
}
}
};
}
}
module.exports = IncidentListResult;