//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: IPS_SecIOService.cs // // Contents: Represents the Secured IO service // This file was automatically generated from IPS_SecIOService.mof // //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Globalization; using System.Xml.Serialization; using System.IO; using Intel.Manageability.WSManagement; using Intel.Manageability.Cim.Untyped; namespace Intel.Manageability.Cim.Typed { /// ///Represents the Secured IO service /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_SecIOService")] [System.Xml.Serialization.XmlRootAttribute("IPS_SecIOService", Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_SecIOService", IsNullable=false)] public class IPS_SecIOService : CIM_Service { /// /// Default constructor. /// public IPS_SecIOService() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public IPS_SecIOService(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public IPS_SecIOService(IWSManClient client): base(client) { } /// /// Remove DefaultScreen field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveDefaultScreen() { RemoveField("DefaultScreen"); } /// /// Is true if the field DefaultScreen exists in the current object, /// otherwise is false. /// public virtual bool DefaultScreenExist { get { return ContainsField("DefaultScreen"); } } /// /// Optional, Default screen to use when using SecIO /// [CimField(false, false)] public virtual byte DefaultScreen { get { return byte.Parse(this["DefaultScreen"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("DefaultScreen",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove NumberOfScreens field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveNumberOfScreens() { RemoveField("NumberOfScreens"); } /// /// Is true if the field NumberOfScreens exists in the current object, /// otherwise is false. /// public virtual bool NumberOfScreensExist { get { return ContainsField("NumberOfScreens"); } } /// /// Optional, The number of screens available to be used for SecIO (can be used in the DefaultScreen property) /// [CimField(false, false)] public virtual byte NumberOfScreens { get { return byte.Parse(this["NumberOfScreens"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("NumberOfScreens",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove RequestedLanguage field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveRequestedLanguage() { RemoveField("RequestedLanguage"); } /// /// Is true if the field RequestedLanguage exists in the current object, /// otherwise is false. /// public virtual bool RequestedLanguageExist { get { return ContainsField("RequestedLanguage"); } } /// /// Optional, The requested language to be used for Secured IO /// [CimField(false, false)] public virtual ushort RequestedLanguage { get { return ushort.Parse(this["RequestedLanguage"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("RequestedLanguage",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove language field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void Removelanguage() { RemoveField("language"); } /// /// Is true if the field language exists in the current object, /// otherwise is false. /// public virtual bool languageExist { get { return ContainsField("language"); } } /// /// Optional, The current language to be used for Secured IO /// [CimField(false, false)] public virtual ushort language { get { return ushort.Parse(this["language"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("language",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove zoom field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void Removezoom() { RemoveField("zoom"); } /// /// Is true if the field zoom exists in the current object, /// otherwise is false. /// public virtual bool zoomExist { get { return ContainsField("zoom"); } } /// /// Optional, The zoom level to apply /// [CimField(false, false)] public virtual ushort zoom { get { return ushort.Parse(this["zoom"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("zoom",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Enumerate instances of IPS_SecIOService class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of IPS_SecIOService objects public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys) { List ret = CimBase.Enumerate(client, cimKeys); return new Collection(ret); } /// /// Enumerate instances of IPS_SecIOService class at an endpoint. /// /// WS-Management client /// Collection of IPS_SecIOService objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of IPS_SecIOService if it is singular. /// Note: This method will succeed only if a single instance of the class exists. /// /// WS-Management client public static new void Delete(IWSManClient client) { CimBase.Delete(client); } /// /// Represents the keys of the IPS_SecIOService class. /// public new class CimKeys : CIM_Service.CimKeys { } } }