microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/distribute/models/destination.js
76lines · 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 | * Class representing a Destination. |
| 11 | */ |
| 12 | class Destination { |
| 13 | /** |
| 14 | * Create a Destination. |
| 15 | * @member {boolean} [isLatest] Is the containing release the latest one in |
| 16 | * this distribution group. |
| 17 | * @member {string} [type] type of the distribution store currently stores |
| 18 | * type can be intune, googleplay or windows. Possible values include: |
| 19 | * 'intune', 'googleplay', 'windows' |
| 20 | * @member {string} [publishingStatus] publishing status of the release in |
| 21 | * the store. |
| 22 | * @member {string} [destinationType] Destination can be either store or |
| 23 | * group. Possible values include: 'group', 'store' |
| 24 | */ |
| 25 | constructor() { |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Defines the metadata of Destination |
| 30 | * |
| 31 | * @returns {object} metadata of Destination |
| 32 | * |
| 33 | */ |
| 34 | mapper() { |
| 35 | return { |
| 36 | required: false, |
| 37 | serializedName: 'Destination', |
| 38 | type: { |
| 39 | name: 'Composite', |
| 40 | className: 'Destination', |
| 41 | modelProperties: { |
| 42 | isLatest: { |
| 43 | required: false, |
| 44 | serializedName: 'is_latest', |
| 45 | type: { |
| 46 | name: 'Boolean' |
| 47 | } |
| 48 | }, |
| 49 | type: { |
| 50 | required: false, |
| 51 | serializedName: 'type', |
| 52 | type: { |
| 53 | name: 'String' |
| 54 | } |
| 55 | }, |
| 56 | publishingStatus: { |
| 57 | required: false, |
| 58 | serializedName: 'publishing_status', |
| 59 | type: { |
| 60 | name: 'String' |
| 61 | } |
| 62 | }, |
| 63 | destinationType: { |
| 64 | required: false, |
| 65 | serializedName: 'destination_type', |
| 66 | type: { |
| 67 | name: 'String' |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | }; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | module.exports = Destination; |