281 lines
7.2 KiB
C#

//----------------------------------------------------------------------------
//
// 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
{
/// <summary>
///Represents the Secured IO service
/// </summary>
[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
{
/// <summary>
/// Default constructor.
/// </summary>
public IPS_SecIOService() :base()
{
}
/// <summary>
/// Constructor that recieves an xml string for deserialization.
/// </summary>
/// <param name="xml">xml string to deserialize</param>
public IPS_SecIOService(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
/// <summary>
/// Constructor which recieves a Ws-Management client object.
/// </summary>
/// <param name="client">Ws-Management client</param>
public IPS_SecIOService(IWSManClient client): base(client)
{
}
/// <summary>
/// Remove DefaultScreen field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveDefaultScreen()
{
RemoveField("DefaultScreen");
}
/// <summary>
/// Is true if the field DefaultScreen exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool DefaultScreenExist
{
get
{
return ContainsField("DefaultScreen");
}
}
/// <summary>
/// Optional, Default screen to use when using SecIO
/// </summary>
[CimField(false, false)]
public virtual byte DefaultScreen
{
get
{
return byte.Parse(this["DefaultScreen"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("DefaultScreen",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove NumberOfScreens field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveNumberOfScreens()
{
RemoveField("NumberOfScreens");
}
/// <summary>
/// Is true if the field NumberOfScreens exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool NumberOfScreensExist
{
get
{
return ContainsField("NumberOfScreens");
}
}
/// <summary>
/// Optional, The number of screens available to be used for SecIO (can be used in the DefaultScreen property)
/// </summary>
[CimField(false, false)]
public virtual byte NumberOfScreens
{
get
{
return byte.Parse(this["NumberOfScreens"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("NumberOfScreens",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove RequestedLanguage field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void RemoveRequestedLanguage()
{
RemoveField("RequestedLanguage");
}
/// <summary>
/// Is true if the field RequestedLanguage exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool RequestedLanguageExist
{
get
{
return ContainsField("RequestedLanguage");
}
}
/// <summary>
/// Optional, The requested language to be used for Secured IO
/// </summary>
[CimField(false, false)]
public virtual ushort RequestedLanguage
{
get
{
return ushort.Parse(this["RequestedLanguage"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("RequestedLanguage",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove language field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void Removelanguage()
{
RemoveField("language");
}
/// <summary>
/// Is true if the field language exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool languageExist
{
get
{
return ContainsField("language");
}
}
/// <summary>
/// Optional, The current language to be used for Secured IO
/// </summary>
[CimField(false, false)]
public virtual ushort language
{
get
{
return ushort.Parse(this["language"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("language",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Remove zoom field.
/// Note: This method will succeed only if this field is optional in the concrete object.
/// </summary>
public virtual void Removezoom()
{
RemoveField("zoom");
}
/// <summary>
/// Is true if the field zoom exists in the current object,
/// otherwise is false.
/// </summary>
public virtual bool zoomExist
{
get
{
return ContainsField("zoom");
}
}
/// <summary>
/// Optional, The zoom level to apply
/// </summary>
[CimField(false, false)]
public virtual ushort zoom
{
get
{
return ushort.Parse(this["zoom"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("zoom",value.ToString(CultureInfo.InvariantCulture));
}
}
/// <summary>
/// Enumerate instances of IPS_SecIOService class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <param name="cimKeys">Keys for selecting the instances</param>
/// <returns>Collection of IPS_SecIOService objects</returns>
public static new Collection<IPS_SecIOService> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List<IPS_SecIOService> ret = CimBase.Enumerate<IPS_SecIOService>(client, cimKeys);
return new Collection<IPS_SecIOService>(ret);
}
/// <summary>
/// Enumerate instances of IPS_SecIOService class at an endpoint.
/// </summary>
/// <param name="client">WS-Management client</param>
/// <returns>Collection of IPS_SecIOService objects</returns>
public static new Collection<IPS_SecIOService> Enumerate(IWSManClient client)
{
List<IPS_SecIOService> ret = CimBase.Enumerate<IPS_SecIOService>(client);
return new Collection<IPS_SecIOService>(ret);
}
/// <summary>
/// Delete the instance of IPS_SecIOService if it is singular.
/// Note: This method will succeed only if a single instance of the class exists.
/// </summary>
/// <param name="client">WS-Management client</param>
public static new void Delete(IWSManClient client)
{
CimBase.Delete<IPS_SecIOService>(client);
}
/// <summary>
/// Represents the keys of the IPS_SecIOService class.
/// </summary>
public new class CimKeys : CIM_Service.CimKeys
{
}
}
}