appcenter-cli
Version:
Command line tool for Visual Studio App Center
105 lines (99 loc) • 2.68 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');
/**
* Google Play credentials non-secret details
*
* @extends models['GooglePlayConnectionNonSecretResponse']
*/
class GooglePlayCredentialNonSecretDetailsResponse extends models['GooglePlayConnectionNonSecretResponse'] {
/**
* Create a GooglePlayCredentialNonSecretDetailsResponse.
* @property {object} data Google Play credentials non-secret details
*/
constructor() {
super();
}
/**
* Defines the metadata of GooglePlayCredentialNonSecretDetailsResponse
*
* @returns {object} metadata of GooglePlayCredentialNonSecretDetailsResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'GooglePlayCredentialNonSecretDetailsResponse',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'serviceType',
clientName: 'serviceType'
},
uberParent: 'SharedConnectionResponse',
className: 'GooglePlayCredentialNonSecretDetailsResponse',
modelProperties: {
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'displayName',
type: {
name: 'String'
}
},
credentialType: {
required: true,
serializedName: 'credentialType',
type: {
name: 'String'
}
},
isValid: {
required: false,
serializedName: 'isValid',
type: {
name: 'Boolean'
}
},
is2FA: {
required: false,
serializedName: 'is2FA',
type: {
name: 'Boolean'
}
},
serviceType: {
required: true,
serializedName: 'serviceType',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
data: {
required: true,
serializedName: 'data',
type: {
name: 'Object'
}
}
}
}
};
}
}
module.exports = GooglePlayCredentialNonSecretDetailsResponse;