//----------------------------------------------------------------------------
//
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
//
// File: AMT_TLSProtocolEndpointCollection.cs
//
// Contents: Collection of AMT_TLSProtocolEndpoint Instances. The instances are connected with CIM_MemberOfCollection.
// This file was automatically generated from AMT_TLSProtocolEndpointCollection.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
{
///
///Collection of AMT_TLSProtocolEndpoint Instances. The instances are connected with CIM_MemberOfCollection.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_TLSProtocolEndpointCollection")]
[System.Xml.Serialization.XmlRootAttribute("AMT_TLSProtocolEndpointCollection", Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_TLSProtocolEndpointCollection", IsNullable=false)]
public class AMT_TLSProtocolEndpointCollection : CIM_Collection
{
///
/// Default constructor.
///
public AMT_TLSProtocolEndpointCollection() :base()
{
}
///
/// Constructor that recieves an xml string for deserialization.
///
/// xml string to deserialize
public AMT_TLSProtocolEndpointCollection(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
///
/// Constructor which recieves a Ws-Management client object.
///
/// Ws-Management client
public AMT_TLSProtocolEndpointCollection(IWSManClient client): base(client)
{
}
///
/// Key, Required, A user-friendly name for the object.
///
[CimField(true, true)]
public override string ElementName
{
get
{
return this.GetField("ElementName")[0];
}
set
{
this.SetOrAddField("ElementName",value);
}
}
///
/// Enumerate instances of AMT_TLSProtocolEndpointCollection class at an endpoint.
///
/// WS-Management client
/// Keys for selecting the instances
/// Collection of AMT_TLSProtocolEndpointCollection 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_TLSProtocolEndpointCollection class at an endpoint.
///
/// WS-Management client
/// Collection of AMT_TLSProtocolEndpointCollection objects
public static new Collection Enumerate(IWSManClient client)
{
List ret = CimBase.Enumerate(client);
return new Collection(ret);
}
///
/// Delete the instance of AMT_TLSProtocolEndpointCollection 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_TLSProtocolEndpointCollection class.
///
public new class CimKeys : CIM_Collection.CimKeys
{
///
/// Key, Required, A user-friendly name for the object.
///
public virtual string ElementName
{
get
{
return GetKey("ElementName");
}
set
{
SetOrAddKey("ElementName", value);
}
}
}
}
}