appcenter-cli
Version:
Command line tool for Visual Studio App Center
61 lines (56 loc) • 1.44 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.
*/
;
/**
* Notification failure outcome count
*
*/
class NotificationFailureOutcomeCount {
/**
* Create a NotificationFailureOutcomeCount.
* @property {string} [failureReason] The reason of the notification failure
* @property {number} [count] count of this type of failure
*/
constructor() {
}
/**
* Defines the metadata of NotificationFailureOutcomeCount
*
* @returns {object} metadata of NotificationFailureOutcomeCount
*
*/
mapper() {
return {
required: false,
serializedName: 'NotificationFailureOutcomeCount',
type: {
name: 'Composite',
className: 'NotificationFailureOutcomeCount',
modelProperties: {
failureReason: {
required: false,
serializedName: 'failure_reason',
type: {
name: 'String'
}
},
count: {
required: false,
serializedName: 'count',
type: {
name: 'Number'
}
}
}
}
};
}
}
module.exports = NotificationFailureOutcomeCount;