UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

73 lines (68 loc) 1.88 kB
/* * 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. */ 'use strict'; /** * Class representing a StepReportDeviceScreenshotsItemScreenshot. */ class StepReportDeviceScreenshotsItemScreenshot { /** * Create a StepReportDeviceScreenshotsItemScreenshot. * @property {object} urls * @property {string} [urls.original] * @property {string} [urls.small] * @property {string} [urls.medium] * @property {string} [urls.large] * @property {number} rotation * @property {boolean} landscape */ constructor() { } /** * Defines the metadata of StepReportDeviceScreenshotsItemScreenshot * * @returns {object} metadata of StepReportDeviceScreenshotsItemScreenshot * */ mapper() { return { required: false, serializedName: 'StepReport_deviceScreenshotsItem_screenshot', type: { name: 'Composite', className: 'StepReportDeviceScreenshotsItemScreenshot', modelProperties: { urls: { required: true, serializedName: 'urls', type: { name: 'Composite', className: 'StepReportDeviceScreenshotsItemScreenshotUrls' } }, rotation: { required: true, serializedName: 'rotation', type: { name: 'Number' } }, landscape: { required: true, serializedName: 'landscape', type: { name: 'Boolean' } } } } }; } } module.exports = StepReportDeviceScreenshotsItemScreenshot;