microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/account/models/appPatchRequest.js
72lines · 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 AppPatchRequest. |
| 11 | */ |
| 12 | class AppPatchRequest { |
| 13 | /** |
| 14 | * Create a AppPatchRequest. |
| 15 | * @member {string} [description] A short text describing the app |
| 16 | * @member {string} [displayName] The display name of the app |
| 17 | * @member {string} [name] The name of the app used in URLs |
| 18 | * @member {string} [iconUrl] The string representation of the URL pointing |
| 19 | * to the app's icon |
| 20 | */ |
| 21 | constructor() { |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Defines the metadata of AppPatchRequest |
| 26 | * |
| 27 | * @returns {object} metadata of AppPatchRequest |
| 28 | * |
| 29 | */ |
| 30 | mapper() { |
| 31 | return { |
| 32 | required: false, |
| 33 | serializedName: 'AppPatchRequest', |
| 34 | type: { |
| 35 | name: 'Composite', |
| 36 | className: 'AppPatchRequest', |
| 37 | modelProperties: { |
| 38 | description: { |
| 39 | required: false, |
| 40 | serializedName: 'description', |
| 41 | type: { |
| 42 | name: 'String' |
| 43 | } |
| 44 | }, |
| 45 | displayName: { |
| 46 | required: false, |
| 47 | serializedName: 'display_name', |
| 48 | type: { |
| 49 | name: 'String' |
| 50 | } |
| 51 | }, |
| 52 | name: { |
| 53 | required: false, |
| 54 | serializedName: 'name', |
| 55 | type: { |
| 56 | name: 'String' |
| 57 | } |
| 58 | }, |
| 59 | iconUrl: { |
| 60 | required: false, |
| 61 | serializedName: 'icon_url', |
| 62 | type: { |
| 63 | name: 'String' |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | }; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | module.exports = AppPatchRequest; |
| 73 | |