microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/app-center-node-client/src/build/models/branchConfigurationArtifactVersioning.js
49lines · 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 versioning configuration for artifacts built for this branch |
| 11 | * |
| 12 | */ |
| 13 | class BranchConfigurationArtifactVersioning { |
| 14 | /** |
| 15 | * Create a BranchConfigurationArtifactVersioning. |
| 16 | * @member {string} [buildNumberFormat] Possible values include: 'buildId', |
| 17 | * 'timestamp' |
| 18 | */ |
| 19 | constructor() { |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Defines the metadata of BranchConfigurationArtifactVersioning |
| 24 | * |
| 25 | * @returns {object} metadata of BranchConfigurationArtifactVersioning |
| 26 | * |
| 27 | */ |
| 28 | mapper() { |
| 29 | return { |
| 30 | required: false, |
| 31 | serializedName: 'BranchConfigurationArtifactVersioning', |
| 32 | type: { |
| 33 | name: 'Composite', |
| 34 | className: 'BranchConfigurationArtifactVersioning', |
| 35 | modelProperties: { |
| 36 | buildNumberFormat: { |
| 37 | required: false, |
| 38 | serializedName: 'buildNumberFormat', |
| 39 | type: { |
| 40 | name: 'String' |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | }; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | module.exports = BranchConfigurationArtifactVersioning; |
| 50 | |