appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.53 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 representing a CrashCounts.
*/
class CrashCounts {
/**
* Create a CrashCounts.
* @property {number} [count] total crash count
* @property {array} [crashes] the total crash count for day
*/
constructor() {
}
/**
* Defines the metadata of CrashCounts
*
* @returns {object} metadata of CrashCounts
*
*/
mapper() {
return {
required: false,
serializedName: 'CrashCounts',
type: {
name: 'Composite',
className: 'CrashCounts',
modelProperties: {
count: {
required: false,
serializedName: 'count',
type: {
name: 'Number'
}
},
crashes: {
required: false,
serializedName: 'crashes',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DateTimeCountsElementType',
type: {
name: 'Composite',
className: 'DateTimeCounts'
}
}
}
}
}
}
};
}
}
module.exports = CrashCounts;