205 lines
6.3 KiB
C#
205 lines
6.3 KiB
C#
//----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
|
|
//
|
|
// File: AMT_GeneralSystemDefenseCapabilities.cs
|
|
//
|
|
// Contents: Describes the system capabilities of the System Defense feature. These capabilities are independent of all network interfaces.
|
|
// This file was automatically generated from AMT_GeneralSystemDefenseCapabilities.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>
|
|
///Describes the system capabilities of the System Defense feature. These capabilities are independent of all network interfaces.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSystemDefenseCapabilities")]
|
|
[System.Xml.Serialization.XmlRootAttribute("AMT_GeneralSystemDefenseCapabilities", Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSystemDefenseCapabilities", IsNullable=false)]
|
|
public class AMT_GeneralSystemDefenseCapabilities : CIM_Capabilities
|
|
{
|
|
/// <summary>
|
|
/// Default constructor.
|
|
/// </summary>
|
|
public AMT_GeneralSystemDefenseCapabilities() :base()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Constructor that recieves an xml string for deserialization.
|
|
/// </summary>
|
|
/// <param name="xml">xml string to deserialize</param>
|
|
public AMT_GeneralSystemDefenseCapabilities(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 AMT_GeneralSystemDefenseCapabilities(IWSManClient client): base(client)
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Remove GlobalMaxSupportedFilters field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemoveGlobalMaxSupportedFilters()
|
|
{
|
|
RemoveField("GlobalMaxSupportedFilters");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field GlobalMaxSupportedFilters exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool GlobalMaxSupportedFiltersExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("GlobalMaxSupportedFilters");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, Specifies the maximum number of supported filters allocated by the Intel(R) AMT device.
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual uint GlobalMaxSupportedFilters
|
|
{
|
|
get
|
|
{
|
|
return uint.Parse(this["GlobalMaxSupportedFilters"][0], CultureInfo.InvariantCulture);
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("GlobalMaxSupportedFilters",value.ToString(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Remove GlobalMaxSupportedPolicies field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemoveGlobalMaxSupportedPolicies()
|
|
{
|
|
RemoveField("GlobalMaxSupportedPolicies");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field GlobalMaxSupportedPolicies exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool GlobalMaxSupportedPoliciesExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("GlobalMaxSupportedPolicies");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, Specifies the maximum number of supported policies allocated by the Intel(R) AMT device.
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual uint GlobalMaxSupportedPolicies
|
|
{
|
|
get
|
|
{
|
|
return uint.Parse(this["GlobalMaxSupportedPolicies"][0], CultureInfo.InvariantCulture);
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("GlobalMaxSupportedPolicies",value.ToString(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Key, Required, Opaquely and uniquely identifies an instance of this class.
|
|
/// </summary>
|
|
[CimField(true, true)]
|
|
public override string InstanceID
|
|
{
|
|
get
|
|
{
|
|
return this.GetField("InstanceID")[0];
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("InstanceID",value);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of AMT_GeneralSystemDefenseCapabilities class at an endpoint.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
/// <param name="cimKeys">Keys for selecting the instances</param>
|
|
/// <returns>Collection of AMT_GeneralSystemDefenseCapabilities objects</returns>
|
|
public static new Collection<AMT_GeneralSystemDefenseCapabilities> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
|
|
{
|
|
List<AMT_GeneralSystemDefenseCapabilities> ret = CimBase.Enumerate<AMT_GeneralSystemDefenseCapabilities>(client, cimKeys);
|
|
return new Collection<AMT_GeneralSystemDefenseCapabilities>(ret);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of AMT_GeneralSystemDefenseCapabilities class at an endpoint.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
/// <returns>Collection of AMT_GeneralSystemDefenseCapabilities objects</returns>
|
|
public static new Collection<AMT_GeneralSystemDefenseCapabilities> Enumerate(IWSManClient client)
|
|
{
|
|
List<AMT_GeneralSystemDefenseCapabilities> ret = CimBase.Enumerate<AMT_GeneralSystemDefenseCapabilities>(client);
|
|
return new Collection<AMT_GeneralSystemDefenseCapabilities>(ret);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Delete the instance of AMT_GeneralSystemDefenseCapabilities 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<AMT_GeneralSystemDefenseCapabilities>(client);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Represents the keys of the AMT_GeneralSystemDefenseCapabilities class.
|
|
/// </summary>
|
|
|
|
public new class CimKeys : CIM_Capabilities.CimKeys
|
|
{
|
|
/// <summary>
|
|
/// Key, Required, Opaquely and uniquely identifies an instance of this class.
|
|
/// </summary>
|
|
|
|
public virtual string InstanceID
|
|
{
|
|
get
|
|
{
|
|
return GetKey("InstanceID");
|
|
}
|
|
set
|
|
{
|
|
SetOrAddKey("InstanceID", value);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|