microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
86466695ed3443c9a6a1facdfd9bce89c668afbf

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

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 */
13class 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
64module.exports = DeviceResolution;
65