microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/distribute/models/deviceInfoResponse.js
125lines · 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 | * The information for a single iOS device |
| 11 | * |
| 12 | */ |
| 13 | class DeviceInfoResponse { |
| 14 | /** |
| 15 | * Create a DeviceInfoResponse. |
| 16 | * @member {string} udid The Unique Device IDentifier of the device |
| 17 | * @member {string} model The model identifier of the device, in the format |
| 18 | * iDeviceM,N |
| 19 | * @member {string} deviceName The device description, in the format "iPhone |
| 20 | * 7 Plus (A1784)" |
| 21 | * @member {string} [fullDeviceName] A combination of the device model name |
| 22 | * and the owner name. |
| 23 | * @member {string} osBuild The last known OS version running on the device |
| 24 | * @member {string} osVersion The last known OS version running on the device |
| 25 | * @member {string} [serial] The device's serial number. Always empty or |
| 26 | * undefined at present. |
| 27 | * @member {string} [imei] The device's International Mobile Equipment |
| 28 | * Identity number. Always empty or undefined at present. |
| 29 | * @member {string} [ownerId] The user ID of the device owner. |
| 30 | * @member {string} status The provisioning status of the device. |
| 31 | */ |
| 32 | constructor() { |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Defines the metadata of DeviceInfoResponse |
| 37 | * |
| 38 | * @returns {object} metadata of DeviceInfoResponse |
| 39 | * |
| 40 | */ |
| 41 | mapper() { |
| 42 | return { |
| 43 | required: false, |
| 44 | serializedName: 'DeviceInfoResponse', |
| 45 | type: { |
| 46 | name: 'Composite', |
| 47 | className: 'DeviceInfoResponse', |
| 48 | modelProperties: { |
| 49 | udid: { |
| 50 | required: true, |
| 51 | serializedName: 'udid', |
| 52 | type: { |
| 53 | name: 'String' |
| 54 | } |
| 55 | }, |
| 56 | model: { |
| 57 | required: true, |
| 58 | serializedName: 'model', |
| 59 | type: { |
| 60 | name: 'String' |
| 61 | } |
| 62 | }, |
| 63 | deviceName: { |
| 64 | required: true, |
| 65 | serializedName: 'device_name', |
| 66 | type: { |
| 67 | name: 'String' |
| 68 | } |
| 69 | }, |
| 70 | fullDeviceName: { |
| 71 | required: false, |
| 72 | serializedName: 'full_device_name', |
| 73 | type: { |
| 74 | name: 'String' |
| 75 | } |
| 76 | }, |
| 77 | osBuild: { |
| 78 | required: true, |
| 79 | serializedName: 'os_build', |
| 80 | type: { |
| 81 | name: 'String' |
| 82 | } |
| 83 | }, |
| 84 | osVersion: { |
| 85 | required: true, |
| 86 | serializedName: 'os_version', |
| 87 | type: { |
| 88 | name: 'String' |
| 89 | } |
| 90 | }, |
| 91 | serial: { |
| 92 | required: false, |
| 93 | serializedName: 'serial', |
| 94 | type: { |
| 95 | name: 'String' |
| 96 | } |
| 97 | }, |
| 98 | imei: { |
| 99 | required: false, |
| 100 | serializedName: 'imei', |
| 101 | type: { |
| 102 | name: 'String' |
| 103 | } |
| 104 | }, |
| 105 | ownerId: { |
| 106 | required: false, |
| 107 | serializedName: 'owner_id', |
| 108 | type: { |
| 109 | name: 'String' |
| 110 | } |
| 111 | }, |
| 112 | status: { |
| 113 | required: true, |
| 114 | serializedName: 'status', |
| 115 | type: { |
| 116 | name: 'String' |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | }; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | module.exports = DeviceInfoResponse; |
| 126 | |