#region License // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. #endregion //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.832 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by xsd, Version=2.0.50727.42. // namespace NPanday.Model.Setting { using System.Xml.Serialization; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute()] [System.Xml.Serialization.XmlRootAttribute("settings", IsNullable = false)] public partial class Settings { private string localRepositoryField; private bool interactiveModeField; private bool usePluginRegistryField; private bool offlineField; private Proxy[] proxiesField; private Server[] serversField; private Mirror[] mirrorsField; private Profile[] profilesField; private string[] activeProfilesField; private string[] pluginGroupsField; public Settings() { this.interactiveModeField = true; this.usePluginRegistryField = false; this.offlineField = false; } /// public string localRepository { get { return this.localRepositoryField; } set { this.localRepositoryField = value; } } /// [System.ComponentModel.DefaultValueAttribute(true)] public bool interactiveMode { get { return this.interactiveModeField; } set { this.interactiveModeField = value; } } /// [System.ComponentModel.DefaultValueAttribute(false)] public bool usePluginRegistry { get { return this.usePluginRegistryField; } set { this.usePluginRegistryField = value; } } /// [System.ComponentModel.DefaultValueAttribute(false)] public bool offline { get { return this.offlineField; } set { this.offlineField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("proxy", IsNullable=false)] public Proxy[] proxies { get { return this.proxiesField; } set { this.proxiesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("server", IsNullable=false)] public Server[] servers { get { return this.serversField; } set { this.serversField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("mirror", IsNullable=false)] public Mirror[] mirrors { get { return this.mirrorsField; } set { this.mirrorsField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("profile", IsNullable=false)] public Profile[] profiles { get { return this.profilesField; } set { this.profilesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("activeProfile", IsNullable=false)] public string[] activeProfiles { get { return this.activeProfilesField; } set { this.activeProfilesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("pluginGroup", IsNullable=false)] public string[] pluginGroups { get { return this.pluginGroupsField; } set { this.pluginGroupsField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Proxy { private bool activeField; private string protocolField; private string usernameField; private string passwordField; private int portField; private string hostField; private string nonProxyHostsField; private string idField; public Proxy() { this.activeField = false; this.protocolField = "http"; this.portField = 9191; } /// [System.ComponentModel.DefaultValueAttribute(false)] public bool active { get { return this.activeField; } set { this.activeField = value; } } /// [System.ComponentModel.DefaultValueAttribute("http")] public string protocol { get { return this.protocolField; } set { this.protocolField = value; } } /// public string username { get { return this.usernameField; } set { this.usernameField = value; } } /// public string password { get { return this.passwordField; } set { this.passwordField = value; } } /// [System.ComponentModel.DefaultValueAttribute(9191)] public int port { get { return this.portField; } set { this.portField = value; } } /// public string host { get { return this.hostField; } set { this.hostField = value; } } /// public string nonProxyHosts { get { return this.nonProxyHostsField; } set { this.nonProxyHostsField = value; } } /// public string id { get { return this.idField; } set { this.idField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class RepositoryPolicy { private bool enabledField; private string updatePolicyField; private string checksumPolicyField; public RepositoryPolicy() { this.enabledField = true; } /// [System.ComponentModel.DefaultValueAttribute(true)] public bool enabled { get { return this.enabledField; } set { this.enabledField = value; } } /// public string updatePolicy { get { return this.updatePolicyField; } set { this.updatePolicyField = value; } } /// public string checksumPolicy { get { return this.checksumPolicyField; } set { this.checksumPolicyField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Repository { private RepositoryPolicy releasesField; private RepositoryPolicy snapshotsField; private string idField; private string nameField; private string urlField; private string layoutField; public Repository() { this.layoutField = "default"; } /// public RepositoryPolicy releases { get { return this.releasesField; } set { this.releasesField = value; } } /// public RepositoryPolicy snapshots { get { return this.snapshotsField; } set { this.snapshotsField = value; } } /// public string id { get { return this.idField; } set { this.idField = value; } } /// public string name { get { return this.nameField; } set { this.nameField = value; } } /// public string url { get { return this.urlField; } set { this.urlField = value; } } /// [System.ComponentModel.DefaultValueAttribute("default")] public string layout { get { return this.layoutField; } set { this.layoutField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class ActivationFile { private string missingField; private string existsField; /// public string missing { get { return this.missingField; } set { this.missingField = value; } } /// public string exists { get { return this.existsField; } set { this.existsField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class ActivationProperty { private string nameField; private string valueField; /// public string name { get { return this.nameField; } set { this.nameField = value; } } /// public string value { get { return this.valueField; } set { this.valueField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class ActivationOS { private string nameField; private string familyField; private string archField; private string versionField; /// public string name { get { return this.nameField; } set { this.nameField = value; } } /// public string family { get { return this.familyField; } set { this.familyField = value; } } /// public string arch { get { return this.archField; } set { this.archField = value; } } /// public string version { get { return this.versionField; } set { this.versionField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Activation { private bool activeByDefaultField; private string jdkField; private ActivationOS osField; private ActivationProperty propertyField; private ActivationFile fileField; public Activation() { this.activeByDefaultField = false; } /// [System.ComponentModel.DefaultValueAttribute(false)] public bool activeByDefault { get { return this.activeByDefaultField; } set { this.activeByDefaultField = value; } } /// public string jdk { get { return this.jdkField; } set { this.jdkField = value; } } /// public ActivationOS os { get { return this.osField; } set { this.osField = value; } } /// public ActivationProperty property { get { return this.propertyField; } set { this.propertyField = value; } } /// public ActivationFile file { get { return this.fileField; } set { this.fileField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Profile { private Activation activationField; private ProfileProperties propertiesField; private Repository[] repositoriesField; private Repository[] pluginRepositoriesField; private string idField; /// public Activation activation { get { return this.activationField; } set { this.activationField = value; } } /// public ProfileProperties properties { get { return this.propertiesField; } set { this.propertiesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("repository", IsNullable=false)] public Repository[] repositories { get { return this.repositoriesField; } set { this.repositoriesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("pluginRepository", IsNullable=false)] public Repository[] pluginRepositories { get { return this.pluginRepositoriesField; } set { this.pluginRepositoriesField = value; } } /// public string id { get { return this.idField; } set { this.idField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="")] public partial class ProfileProperties { private System.Xml.XmlElement[] anyField; /// [System.Xml.Serialization.XmlAnyElementAttribute()] public System.Xml.XmlElement[] Any { get { return this.anyField; } set { this.anyField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Mirror { private string mirrorOfField; private string nameField; private string urlField; private string idField; /// public string mirrorOf { get { return this.mirrorOfField; } set { this.mirrorOfField = value; } } /// public string name { get { return this.nameField; } set { this.nameField = value; } } /// public string url { get { return this.urlField; } set { this.urlField = value; } } /// public string id { get { return this.idField; } set { this.idField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="")] public partial class Server { private string usernameField; private string passwordField; private string privateKeyField; private string passphraseField; private string filePermissionsField; private string directoryPermissionsField; private ServerConfiguration configurationField; private string idField; /// public string username { get { return this.usernameField; } set { this.usernameField = value; } } /// public string password { get { return this.passwordField; } set { this.passwordField = value; } } /// public string privateKey { get { return this.privateKeyField; } set { this.privateKeyField = value; } } /// public string passphrase { get { return this.passphraseField; } set { this.passphraseField = value; } } /// public string filePermissions { get { return this.filePermissionsField; } set { this.filePermissionsField = value; } } /// public string directoryPermissions { get { return this.directoryPermissionsField; } set { this.directoryPermissionsField = value; } } /// public ServerConfiguration configuration { get { return this.configurationField; } set { this.configurationField = value; } } /// public string id { get { return this.idField; } set { this.idField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="")] public partial class ServerConfiguration { private System.Xml.XmlElement[] anyField; /// [System.Xml.Serialization.XmlAnyElementAttribute()] public System.Xml.XmlElement[] Any { get { return this.anyField; } set { this.anyField = value; } } } }