appcenter-cli
Version:
Command line tool for Visual Studio App Center
84 lines (79 loc) • 2.1 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.
*/
;
/**
* Class representing a XcodeScheme.
*/
class XcodeScheme {
/**
* Create a XcodeScheme.
* @property {string} name Scheme name
* @property {boolean} hasTestAction Does scheme have a test action?
* @property {string} [archiveConfiguration] Build configuration set in
* Archive action
* @property {object} [archiveProject]
* @property {string} [archiveProject.archiveTargetId] The Id of the target
* to archive
* @property {string} [archiveProject.projectName] The project to archive
* container name
* @property {string} [archiveProject.projectPath] Full path of the target
* project
*/
constructor() {
}
/**
* Defines the metadata of XcodeScheme
*
* @returns {object} metadata of XcodeScheme
*
*/
mapper() {
return {
required: false,
serializedName: 'XcodeScheme',
type: {
name: 'Composite',
className: 'XcodeScheme',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
hasTestAction: {
required: true,
serializedName: 'hasTestAction',
type: {
name: 'Boolean'
}
},
archiveConfiguration: {
required: false,
serializedName: 'archiveConfiguration',
type: {
name: 'String'
}
},
archiveProject: {
required: false,
serializedName: 'archiveProject',
type: {
name: 'Composite',
className: 'XcodeArchiveProject'
}
}
}
}
};
}
}
module.exports = XcodeScheme;