microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/codepush/models/deploymentModification.js
51lines · 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 DeploymentModification. |
| 11 | */ |
| 12 | class DeploymentModification { |
| 13 | /** |
| 14 | * Create a DeploymentModification. |
| 15 | * @member {string} name |
| 16 | */ |
| 17 | constructor() { |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Defines the metadata of DeploymentModification |
| 22 | * |
| 23 | * @returns {object} metadata of DeploymentModification |
| 24 | * |
| 25 | */ |
| 26 | mapper() { |
| 27 | return { |
| 28 | required: false, |
| 29 | serializedName: 'DeploymentModification', |
| 30 | type: { |
| 31 | name: 'Composite', |
| 32 | className: 'DeploymentModification', |
| 33 | modelProperties: { |
| 34 | name: { |
| 35 | required: true, |
| 36 | serializedName: 'name', |
| 37 | constraints: { |
| 38 | MaxLength: 1000, |
| 39 | MinLength: 1 |
| 40 | }, |
| 41 | type: { |
| 42 | name: 'String' |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | }; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | module.exports = DeploymentModification; |
| 52 | |