appcenter-cli
Version:
Command line tool for Visual Studio App Center
75 lines (70 loc) • 1.79 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 StepReport.
*/
class StepReport {
/**
* Create a StepReport.
* @property {array} finishedSnapshots
* @property {array} deviceScreenshots
*/
constructor() {
}
/**
* Defines the metadata of StepReport
*
* @returns {object} metadata of StepReport
*
*/
mapper() {
return {
required: false,
serializedName: 'StepReport',
type: {
name: 'Composite',
className: 'StepReport',
modelProperties: {
finishedSnapshots: {
required: true,
serializedName: 'finishedSnapshots',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
deviceScreenshots: {
required: true,
serializedName: 'deviceScreenshots',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StepReportDeviceScreenshotsItemElementType',
type: {
name: 'Composite',
className: 'StepReportDeviceScreenshotsItem'
}
}
}
}
}
}
};
}
}
module.exports = StepReport;