//----------------------------------------------------------------------------
//
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
//
// File: AMT_AgentPresenceCapabilities.cs
//
// Contents: Represents the Agent Presence feature capabilities.
// This file was automatically generated from AMT_AgentPresenceCapabilities.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 Agent Presence feature capabilities.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_AgentPresenceCapabilities")]
[System.Xml.Serialization.XmlRootAttribute("AMT_AgentPresenceCapabilities", Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_AgentPresenceCapabilities", IsNullable=false)]
public class AMT_AgentPresenceCapabilities : CIM_Capabilities
{
///
/// Default constructor.
///
public AMT_AgentPresenceCapabilities() :base()
{
}
///
/// Constructor that recieves an xml string for deserialization.
///
/// xml string to deserialize
public AMT_AgentPresenceCapabilities(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
///
/// Constructor which recieves a Ws-Management client object.
///
/// Ws-Management client
public AMT_AgentPresenceCapabilities(IWSManClient client): base(client)
{
}
///
/// Remove MaxEacAgents field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxEacAgents()
{
RemoveField("MaxEacAgents");
}
///
/// Is true if the field MaxEacAgents exists in the current object,
/// otherwise is false.
///
public virtual bool MaxEacAgentsExist
{
get
{
return ContainsField("MaxEacAgents");
}
}
///
/// Optional, The maximum number of agents that registered on the Intel AMT device and configured with EAC action.
///
[CimField(false, false)]
public virtual uint MaxEacAgents
{
get
{
return uint.Parse(this["MaxEacAgents"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxEacAgents",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MaxTotalActions field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxTotalActions()
{
RemoveField("MaxTotalActions");
}
///
/// Is true if the field MaxTotalActions exists in the current object,
/// otherwise is false.
///
public virtual bool MaxTotalActionsExist
{
get
{
return ContainsField("MaxTotalActions");
}
}
///
/// Optional, The maximum number of actions that can be defined (altogether) on the Intel(R) AMT device.
///
[CimField(false, false)]
public virtual uint MaxTotalActions
{
get
{
return uint.Parse(this["MaxTotalActions"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalActions",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MaxTotalAgents field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMaxTotalAgents()
{
RemoveField("MaxTotalAgents");
}
///
/// Is true if the field MaxTotalAgents exists in the current object,
/// otherwise is false.
///
public virtual bool MaxTotalAgentsExist
{
get
{
return ContainsField("MaxTotalAgents");
}
}
///
/// Optional, The maximum number of agents that can be registered on the Intel(R) AMT device.
///
[CimField(false, false)]
public virtual uint MaxTotalAgents
{
get
{
return uint.Parse(this["MaxTotalAgents"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MaxTotalAgents",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove MinGuaranteedActionListSize field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveMinGuaranteedActionListSize()
{
RemoveField("MinGuaranteedActionListSize");
}
///
/// Is true if the field MinGuaranteedActionListSize exists in the current object,
/// otherwise is false.
///
public virtual bool MinGuaranteedActionListSizeExist
{
get
{
return ContainsField("MinGuaranteedActionListSize");
}
}
///
/// Optional, The minimum number of actions that is guaranteed for every Agent on the Intel(R) AMT device.
///
[CimField(false, false)]
public virtual uint MinGuaranteedActionListSize
{
get
{
return uint.Parse(this["MinGuaranteedActionListSize"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("MinGuaranteedActionListSize",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Enumerate instances of AMT_AgentPresenceCapabilities class at an endpoint.
///
/// WS-Management client
/// Keys for selecting the instances
/// Collection of AMT_AgentPresenceCapabilities objects
public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List ret = CimBase.Enumerate(client, cimKeys);
return new Collection(ret);
}
///
/// Enumerate instances of AMT_AgentPresenceCapabilities class at an endpoint.
///
/// WS-Management client
/// Collection of AMT_AgentPresenceCapabilities objects
public static new Collection Enumerate(IWSManClient client)
{
List ret = CimBase.Enumerate(client);
return new Collection(ret);
}
///
/// Delete the instance of AMT_AgentPresenceCapabilities 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 AMT_AgentPresenceCapabilities class.
///
public new class CimKeys : CIM_Capabilities.CimKeys
{
}
}
}