appcenter-cli
Version:
Command line tool for Visual Studio App Center
52 lines (47 loc) • 1.13 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 ErrorRetentionSettings.
*/
class ErrorRetentionSettings {
/**
* Create a ErrorRetentionSettings.
* @property {number} retentionInDays
*/
constructor() {
}
/**
* Defines the metadata of ErrorRetentionSettings
*
* @returns {object} metadata of ErrorRetentionSettings
*
*/
mapper() {
return {
required: false,
serializedName: 'ErrorRetentionSettings',
type: {
name: 'Composite',
className: 'ErrorRetentionSettings',
modelProperties: {
retentionInDays: {
required: true,
serializedName: 'retention_in_days',
type: {
name: 'Number'
}
}
}
}
};
}
}
module.exports = ErrorRetentionSettings;