appcenter-cli
Version:
Command line tool for Visual Studio App Center
78 lines (73 loc) • 1.96 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.
*/
;
/**
* Apple secret details
*
*/
class AppleMultifactorSecretDetails {
/**
* Create a AppleMultifactorSecretDetails.
* @property {string} username username to connect to apple store.
* @property {string} password password to connect to apple store.
* @property {string} authCode The 6 digit Apple OTP for Multifactor accounts
* @property {string} [appSpecificPassword] The app specific password
* required for app publishing for 2FA accounts
*/
constructor() {
}
/**
* Defines the metadata of AppleMultifactorSecretDetails
*
* @returns {object} metadata of AppleMultifactorSecretDetails
*
*/
mapper() {
return {
required: false,
serializedName: 'AppleMultifactorSecretDetails',
type: {
name: 'Composite',
className: 'AppleMultifactorSecretDetails',
modelProperties: {
username: {
required: true,
serializedName: 'username',
type: {
name: 'String'
}
},
password: {
required: true,
serializedName: 'password',
type: {
name: 'String'
}
},
authCode: {
required: true,
serializedName: 'authCode',
type: {
name: 'String'
}
},
appSpecificPassword: {
required: false,
serializedName: 'appSpecificPassword',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = AppleMultifactorSecretDetails;