appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.46 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.
*/
;
/**
* Class representing a AppIntegration.
*/
class AppIntegration {
/**
* Create a AppIntegration.
* @property {uuid} appId app id
* @property {string} state integration state
* @property {string} provider provider type
*/
constructor() {
}
/**
* Defines the metadata of AppIntegration
*
* @returns {object} metadata of AppIntegration
*
*/
mapper() {
return {
required: false,
serializedName: 'AppIntegration',
type: {
name: 'Composite',
className: 'AppIntegration',
modelProperties: {
appId: {
required: true,
serializedName: 'app_id',
type: {
name: 'String'
}
},
state: {
required: true,
serializedName: 'state',
type: {
name: 'String'
}
},
provider: {
required: true,
serializedName: 'provider',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = AppIntegration;