microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/distribute/models/appleMappingRequest.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 | * Apple Mapping Request Type |
| 11 | * |
| 12 | */ |
| 13 | class AppleMappingRequest { |
| 14 | /** |
| 15 | * Create a AppleMappingRequest. |
| 16 | * @member {string} serviceConnectionId Id for the shared service connection. |
| 17 | * In case of Apple AppStore, this connection will be used to create and |
| 18 | * connect to the Apple AppStore in Mobile Center. |
| 19 | * @member {string} [appleId] ID of the apple application in apple store, |
| 20 | * takes precedence over bundle_identifier when both are provided |
| 21 | * @member {string} [bundleIdentifier] Bundle Identifier of the apple package |
| 22 | * @member {string} teamIdentifier ID of the Team associated with the app in |
| 23 | * apple store |
| 24 | */ |
| 25 | constructor() { |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Defines the metadata of AppleMappingRequest |
| 30 | * |
| 31 | * @returns {object} metadata of AppleMappingRequest |
| 32 | * |
| 33 | */ |
| 34 | mapper() { |
| 35 | return { |
| 36 | required: false, |
| 37 | serializedName: 'AppleMappingRequest', |
| 38 | type: { |
| 39 | name: 'Composite', |
| 40 | className: 'AppleMappingRequest', |
| 41 | modelProperties: { |
| 42 | serviceConnectionId: { |
| 43 | required: true, |
| 44 | serializedName: 'service_connection_id', |
| 45 | type: { |
| 46 | name: 'String' |
| 47 | } |
| 48 | }, |
| 49 | appleId: { |
| 50 | required: false, |
| 51 | serializedName: 'apple_id', |
| 52 | type: { |
| 53 | name: 'String' |
| 54 | } |
| 55 | }, |
| 56 | bundleIdentifier: { |
| 57 | required: false, |
| 58 | serializedName: 'bundle_identifier', |
| 59 | type: { |
| 60 | name: 'String' |
| 61 | } |
| 62 | }, |
| 63 | teamIdentifier: { |
| 64 | required: true, |
| 65 | serializedName: 'team_identifier', |
| 66 | type: { |
| 67 | name: 'String' |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | }; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | module.exports = AppleMappingRequest; |
| 77 | |