101 lines
3.1 KiB
C#
101 lines
3.1 KiB
C#
//----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
|
|
//
|
|
// File: IPS_LANEndpoint.cs
|
|
//
|
|
// Contents: Represents the LAN end point of Intel(r) AMT.
|
|
// This file was automatically generated from IPS_LANEndpoint.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 LAN end point of Intel(r) AMT.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_LANEndpoint")]
|
|
[System.Xml.Serialization.XmlRootAttribute("IPS_LANEndpoint", Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_LANEndpoint", IsNullable=false)]
|
|
public class IPS_LANEndpoint : CIM_LANEndpoint
|
|
{
|
|
/// <summary>
|
|
/// Default constructor.
|
|
/// </summary>
|
|
public IPS_LANEndpoint() :base()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Constructor that recieves an xml string for deserialization.
|
|
/// </summary>
|
|
/// <param name="xml">xml string to deserialize</param>
|
|
public IPS_LANEndpoint(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_LANEndpoint(IWSManClient client): base(client)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of IPS_LANEndpoint 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_LANEndpoint objects</returns>
|
|
public static new Collection<IPS_LANEndpoint> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
|
|
{
|
|
List<IPS_LANEndpoint> ret = CimBase.Enumerate<IPS_LANEndpoint>(client, cimKeys);
|
|
return new Collection<IPS_LANEndpoint>(ret);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of IPS_LANEndpoint class at an endpoint.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
/// <returns>Collection of IPS_LANEndpoint objects</returns>
|
|
public static new Collection<IPS_LANEndpoint> Enumerate(IWSManClient client)
|
|
{
|
|
List<IPS_LANEndpoint> ret = CimBase.Enumerate<IPS_LANEndpoint>(client);
|
|
return new Collection<IPS_LANEndpoint>(ret);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Delete the instance of IPS_LANEndpoint 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_LANEndpoint>(client);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Represents the keys of the IPS_LANEndpoint class.
|
|
/// </summary>
|
|
|
|
public new class CimKeys : CIM_LANEndpoint.CimKeys
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|
|
|