UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

86 lines (80 loc) 2.17 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'); /** * Google Play connection secrets this should be the JSON file data which is * provided by google play * * @extends models['SharedConnectionRequest'] */ class GooglePlayConnectionSecretRequest extends models['SharedConnectionRequest'] { /** * Create a GooglePlayConnectionSecretRequest. * @property {object} data google secret details */ constructor() { super(); } /** * Defines the metadata of GooglePlayConnectionSecretRequest * * @returns {object} metadata of GooglePlayConnectionSecretRequest * */ mapper() { return { required: false, serializedName: 'GooglePlayConnectionSecretRequest', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'serviceType', clientName: 'serviceType' }, uberParent: 'SharedConnectionRequest', className: 'GooglePlayConnectionSecretRequest', 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: 'Object' } } } } }; } } module.exports = GooglePlayConnectionSecretRequest;