UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

89 lines (83 loc) 2.31 kB
/* * 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. */ 'use strict'; const models = require('./index'); /** * Apple certificate secrets * * @extends models['AppleConnectionSecretRequest'] */ class AppleCertificateSecretRequest extends models['AppleConnectionSecretRequest'] { /** * Create a AppleCertificateSecretRequest. * @property {object} data apple secret details * @property {string} [data.base64Certificate] The certificate contents in * base 64 encoded string * @property {string} [data.password] The password for the certificate */ constructor() { super(); } /** * Defines the metadata of AppleCertificateSecretRequest * * @returns {object} metadata of AppleCertificateSecretRequest * */ mapper() { return { required: false, serializedName: 'AppleCertificateSecretRequest', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'serviceType', clientName: 'serviceType' }, uberParent: 'SharedConnectionRequest', className: 'AppleCertificateSecretRequest', modelProperties: { displayName: { required: false, serializedName: 'displayName', type: { name: 'String' } }, credentialType: { required: false, serializedName: 'credentialType', defaultValue: 'credentials', type: { name: 'String' } }, serviceType: { required: true, serializedName: 'serviceType', isPolymorphicDiscriminator: true, type: { name: 'String' } }, data: { required: true, serializedName: 'data', type: { name: 'Composite', className: 'AppleCertificateDetails' } } } } }; } } module.exports = AppleCertificateSecretRequest;