//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_Chip.cs // // Contents: The Chip class represents any type of integrated circuit hardware, including ASICs, processors, memory chips, etc. // This file was automatically generated from CIM_Chip.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 { /// ///The Chip class represents any type of integrated circuit hardware, including ASICs, processors, memory chips, etc. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_Chip")] [System.Xml.Serialization.XmlRootAttribute("CIM_Chip", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_Chip", IsNullable=false)] public class CIM_Chip : CIM_PhysicalComponent { /// /// Default constructor. /// public CIM_Chip() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_Chip(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_Chip(IWSManClient client): base(client) { } /// /// Remove FormFactor field. /// Note: This method will succeed only if this field is optional in the concrete object. /// public virtual void RemoveFormFactor() { RemoveField("FormFactor"); } /// /// Is true if the field FormFactor exists in the current object, /// otherwise is false. /// public virtual bool FormFactorExist { get { return ContainsField("FormFactor"); } } /// /// Optional, The implementation form factor for the Chip. For example, values such as SIMM (7), TSOP (9) or PGA (10) can be specified. /// [CimField(false, false)] public virtual ushort FormFactor { get { return ushort.Parse(this["FormFactor"][0], CultureInfo.InvariantCulture); } set { this.SetOrAddField("FormFactor",value.ToString(CultureInfo.InvariantCulture)); } } /// /// Enumerate instances of CIM_Chip class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_Chip 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_Chip class at an endpoint. /// /// WS-Management client /// Collection of CIM_Chip objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_Chip 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_Chip class. /// public new class CimKeys : CIM_PhysicalComponent.CimKeys { } } }