//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_ServiceAccessPoint.cs // // Contents: CIM_ServiceAccessPoint represents the ability to utilize or invoke a Service. Access points represent that a Service is made available for other entities to use. // This file was automatically generated from CIM_ServiceAccessPoint.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 { /// ///CIM_ServiceAccessPoint represents the ability to utilize or invoke a Service. Access points represent that a Service is made available for other entities to use. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ServiceAccessPoint")] [System.Xml.Serialization.XmlRootAttribute("CIM_ServiceAccessPoint", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ServiceAccessPoint", IsNullable=false)] public class CIM_ServiceAccessPoint : CIM_EnabledLogicalElement { /// /// Default constructor. /// public CIM_ServiceAccessPoint() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_ServiceAccessPoint(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_ServiceAccessPoint(IWSManClient client): base(client) { } /// /// Key, Required, CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified. /// [CimField(true, true)] public virtual string CreationClassName { get { return this.GetField("CreationClassName")[0]; } set { this.SetOrAddField("CreationClassName",value); } } /// /// Key, Required, The Name property uniquely identifies the ServiceAccessPoint and provides an indication of the functionality that is managed. This functionality is described in more detail in the Description property of the object. /// [CimField(true, true)] public override string Name { get { return this.GetField("Name")[0]; } set { this.SetOrAddField("Name",value); } } /// /// Key, Required, The CreationClassName of the scoping System. /// [CimField(true, true)] public virtual string SystemCreationClassName { get { return this.GetField("SystemCreationClassName")[0]; } set { this.SetOrAddField("SystemCreationClassName",value); } } /// /// Key, Required, The Name of the scoping System. /// [CimField(true, true)] public virtual string SystemName { get { return this.GetField("SystemName")[0]; } set { this.SetOrAddField("SystemName",value); } } /// /// Enumerate instances of CIM_ServiceAccessPoint class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_ServiceAccessPoint objects public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys) { List ret = CimBase.Enumerate(client, cimKeys); return new Collection(ret); } /// /// Enumerate instances of CIM_ServiceAccessPoint class at an endpoint. /// /// WS-Management client /// Collection of CIM_ServiceAccessPoint objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_ServiceAccessPoint 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 CIM_ServiceAccessPoint class. /// public new class CimKeys : CIM_EnabledLogicalElement.CimKeys { /// /// Key, Required, CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified. /// public virtual string CreationClassName { get { return GetKey("CreationClassName"); } set { SetOrAddKey("CreationClassName", value); } } /// /// Key, Required, The Name property uniquely identifies the ServiceAccessPoint and provides an indication of the functionality that is managed. This functionality is described in more detail in the Description property of the object. /// public virtual string Name { get { return GetKey("Name"); } set { SetOrAddKey("Name", value); } } /// /// Key, Required, The CreationClassName of the scoping System. /// public virtual string SystemCreationClassName { get { return GetKey("SystemCreationClassName"); } set { SetOrAddKey("SystemCreationClassName", value); } } /// /// Key, Required, The Name of the scoping System. /// public virtual string SystemName { get { return GetKey("SystemName"); } set { SetOrAddKey("SystemName", value); } } } } }