appcenter-cli
Version:
Command line tool for Visual Studio App Center
82 lines (77 loc) • 2.06 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 credentials with username, password or service_connection_id of the
* stored credentials is needed.
*
*/
class ItunesTeamsRequest {
/**
* Create a ItunesTeamsRequest.
* @property {string} [username] The username for the Apple Developer
* account.
* @property {string} [password] The password for the Apple Developer
* account.
* @property {string} [serviceConnectionId] The service_connection_id of the
* stored Apple credentials instead of username, password.
* @property {string} [cookie] The 30-day session cookie for multi-factor
* authentication backed accounts.
*/
constructor() {
}
/**
* Defines the metadata of ItunesTeamsRequest
*
* @returns {object} metadata of ItunesTeamsRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'ItunesTeamsRequest',
type: {
name: 'Composite',
className: 'ItunesTeamsRequest',
modelProperties: {
username: {
required: false,
serializedName: 'username',
type: {
name: 'String'
}
},
password: {
required: false,
serializedName: 'password',
type: {
name: 'String'
}
},
serviceConnectionId: {
required: false,
serializedName: 'service_connection_id',
type: {
name: 'String'
}
},
cookie: {
required: false,
serializedName: 'cookie',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = ItunesTeamsRequest;