//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_RemoteServiceAccessPoint.cs // // Contents: RemoteServiceAccessPoint describes access or addressing information or a combination of this information for a remote connection that is known to a local network element. This information is scoped or contained by the local network element, because this is the context in which the connection is remote. // The relevance of the remote access point and information on its use are described by subclassing RemoteServiceAccessPoint or by associating to it. // This file was automatically generated from CIM_RemoteServiceAccessPoint.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 { /// ///RemoteServiceAccessPoint describes access or addressing information or a combination of this information for a remote connection that is known to a local network element. This information is scoped or contained by the local network element, because this is the context in which the connection is remote. ///The relevance of the remote access point and information on its use are described by subclassing RemoteServiceAccessPoint or by associating to it. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_RemoteServiceAccessPoint")] [System.Xml.Serialization.XmlRootAttribute("CIM_RemoteServiceAccessPoint", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_RemoteServiceAccessPoint", IsNullable=false)] public class CIM_RemoteServiceAccessPoint : CIM_ServiceAccessPoint { /// /// Default constructor. /// public CIM_RemoteServiceAccessPoint() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_RemoteServiceAccessPoint(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_RemoteServiceAccessPoint(IWSManClient client): base(client) { } /// /// Remove AccessContext field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveAccessContext() { RemoveField("AccessContext"); } /// /// Is true if the field AccessContext exists in the current object, /// otherwise is false. /// public virtual bool AccessContextExist { get { return ContainsField("AccessContext"); } } /// /// Optional, The AccessContext property identifies the role this RemoteServiceAccessPoint is playing in the hosting system. /// [CimField(false, false)] public virtual ushort AccessContext { get { return ushort.Parse(this["AccessContext"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("AccessContext",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove AccessInfo field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveAccessInfo() { RemoveField("AccessInfo"); } /// /// Is true if the field AccessInfo exists in the current object, /// otherwise is false. /// public virtual bool AccessInfoExist { get { return ContainsField("AccessInfo"); } } /// /// Optional, Access or addressing information or a combination of this information for a remote connection. This information can be a host name, network address, or similar information. /// [CimField(false, false)] public virtual string AccessInfo { get { return this.GetField("AccessInfo")[0]; } set { this.SetOrAddField("AccessInfo",value); } } /// /// Remove InfoFormat field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveInfoFormat() { RemoveField("InfoFormat"); } /// /// Is true if the field InfoFormat exists in the current object, /// otherwise is false. /// public virtual bool InfoFormatExist { get { return ContainsField("InfoFormat"); } } /// /// Optional, An enumerated integer that describes the format and interpretation of the AccessInfo property. /// 206'Parameterized URL'- a URL containing ${parameterName} strings. Those strings are intended to be replaced in their entirety by the value of the named parameter. The interpretation of such parameters is not defined by this subclass. /// As an example use: If a parameter named 'CompanyURL' has a value of 'www.DMTF.org' and the value of AccessInfo was 'http:\${CompanyURL}', then the resultant URL is intended to be 'http:\www.dmtf.org'. /// [CimField(false, false)] public virtual ushort InfoFormat { get { return ushort.Parse(this["InfoFormat"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("InfoFormat",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Remove OtherAccessContext field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveOtherAccessContext() { RemoveField("OtherAccessContext"); } /// /// Is true if the field OtherAccessContext exists in the current object, /// otherwise is false. /// public virtual bool OtherAccessContextExist { get { return ContainsField("OtherAccessContext"); } } /// /// Optional, When the AccessContext property contains a value of 1, "Other" then this is a free form string providing more information about the role of RemoteServiceAccessPoint in the hosting system. /// [CimField(false, false)] public virtual string OtherAccessContext { get { return this.GetField("OtherAccessContext")[0]; } set { this.SetOrAddField("OtherAccessContext",value); } } /// /// Remove OtherInfoFormatDescription field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveOtherInfoFormatDescription() { RemoveField("OtherInfoFormatDescription"); } /// /// Is true if the field OtherInfoFormatDescription exists in the current object, /// otherwise is false. /// public virtual bool OtherInfoFormatDescriptionExist { get { return ContainsField("OtherInfoFormatDescription"); } } /// /// Optional, Describes the format when the property InfoFormat is set to 1 (Other). /// [CimField(false, false)] public virtual string OtherInfoFormatDescription { get { return this.GetField("OtherInfoFormatDescription")[0]; } set { this.SetOrAddField("OtherInfoFormatDescription",value); } } /// /// Enumerate instances of CIM_RemoteServiceAccessPoint class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_RemoteServiceAccessPoint 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_RemoteServiceAccessPoint class at an endpoint. /// /// WS-Management client /// Collection of CIM_RemoteServiceAccessPoint objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_RemoteServiceAccessPoint 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_RemoteServiceAccessPoint class. /// public new class CimKeys : CIM_ServiceAccessPoint.CimKeys { } } }