appcenter-cli
Version:
Command line tool for Visual Studio App Center
100 lines (95 loc) • 2.9 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.
*/
;
/**
* A response from API containing information for a Auto Provisioning Config.
*
*/
class AutoProvisioningConfigResponse {
/**
* Create a AutoProvisioningConfigResponse.
* @property {number} [id] The identifier of the config.
* @property {string} [appId] The identifier of the App.
* @property {string} [destinationId] The identifier of the destination.
* @property {string} [appleDeveloperAccountKey] A key to a secret in
* customer-credential-store. apple_developer_account refers to the user's
* developer account that is used to log into https://developer.apple.com.
* Normally the user's email.
* @property {string} [appleDistributionCertificateKey] A key to a secret in
* customer-credential-store. distribution_certificate refers to the
* cusomer's certificate (that holds the private key) that will be used to
* sign the app.
* @property {boolean} [allowAutoProvisioning] When *true* enables auto
* provisioning
*/
constructor() {
}
/**
* Defines the metadata of AutoProvisioningConfigResponse
*
* @returns {object} metadata of AutoProvisioningConfigResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'AutoProvisioningConfigResponse',
type: {
name: 'Composite',
className: 'AutoProvisioningConfigResponse',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'Number'
}
},
appId: {
required: false,
serializedName: 'app_id',
type: {
name: 'String'
}
},
destinationId: {
required: false,
serializedName: 'destination_id',
type: {
name: 'String'
}
},
appleDeveloperAccountKey: {
required: false,
serializedName: 'apple_developer_account_key',
type: {
name: 'String'
}
},
appleDistributionCertificateKey: {
required: false,
serializedName: 'apple_distribution_certificate_key',
type: {
name: 'String'
}
},
allowAutoProvisioning: {
required: false,
serializedName: 'allow_auto_provisioning',
type: {
name: 'Boolean'
}
}
}
}
};
}
}
module.exports = AutoProvisioningConfigResponse;