appcenter-cli
Version:
Command line tool for Visual Studio App Center
78 lines (72 loc) • 1.71 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
;
const models = require('./index');
/**
* Class representing a DeploymentInternal.
* @extends models['Deployment']
*/
class DeploymentInternal extends models['Deployment'] {
/**
* Create a DeploymentInternal.
* @property {string} [id]
*/
constructor() {
super();
}
/**
* Defines the metadata of DeploymentInternal
*
* @returns {object} metadata of DeploymentInternal
*
*/
mapper() {
return {
required: false,
serializedName: 'DeploymentInternal',
type: {
name: 'Composite',
className: 'DeploymentInternal',
modelProperties: {
key: {
required: false,
serializedName: 'key',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
latestRelease: {
required: false,
serializedName: 'latest_release',
type: {
name: 'Composite',
className: 'CodePushRelease'
}
},
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DeploymentInternal;