microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/test/models/deviceResolution.js
64lines · modecode
| 1 | /* |
| 2 | * Code generated by Microsoft (R) AutoRest Code Generator. |
| 3 | * Changes may cause incorrect behavior and will be lost if the code is |
| 4 | * regenerated. |
| 5 | */ |
| 6 | |
| 7 | 'use strict'; |
| 8 | |
| 9 | /** |
| 10 | * Device screen resolution |
| 11 | * |
| 12 | */ |
| 13 | class DeviceResolution { |
| 14 | /** |
| 15 | * Create a DeviceResolution. |
| 16 | * @member {string} [height] |
| 17 | * @member {string} [width] |
| 18 | * @member {string} [ppi] |
| 19 | */ |
| 20 | constructor() { |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Defines the metadata of DeviceResolution |
| 25 | * |
| 26 | * @returns {object} metadata of DeviceResolution |
| 27 | * |
| 28 | */ |
| 29 | mapper() { |
| 30 | return { |
| 31 | required: false, |
| 32 | serializedName: 'DeviceResolution', |
| 33 | type: { |
| 34 | name: 'Composite', |
| 35 | className: 'DeviceResolution', |
| 36 | modelProperties: { |
| 37 | height: { |
| 38 | required: false, |
| 39 | serializedName: 'height', |
| 40 | type: { |
| 41 | name: 'String' |
| 42 | } |
| 43 | }, |
| 44 | width: { |
| 45 | required: false, |
| 46 | serializedName: 'width', |
| 47 | type: { |
| 48 | name: 'String' |
| 49 | } |
| 50 | }, |
| 51 | ppi: { |
| 52 | required: false, |
| 53 | serializedName: 'ppi', |
| 54 | type: { |
| 55 | name: 'String' |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | }; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | module.exports = DeviceResolution; |
| 65 | |