Click here to Skip to main content
15,897,334 members
Articles / Programming Languages / C#

How to Retrieve EMC Centera Cluster/Pool Capabilities

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
19 Oct 200714 min read 70.8K   1.3K   15  
This article shows you how to connect to a Centera Storage appliance and get the Centera Cluster Capabilities.
using System;
using System.Collections.Generic;
using System.Text;

namespace AdrdProjectCentera1
{
    public class AdrdCenteraRetentionInfoItem : System.Object, ICloneable
    {
        #region Class Private Variables
        ///<summary>
        ///This is a private class variable to hold the value of the field VariableRetentionMax
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Variableretentionmax is the private variable used in the Property
        ///Variableretentionmax to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Variableretentionmax_Dirty is used in the Property Variableretentionmax SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Variableretentionmax_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Variableretentionmax</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Variableretentionmax_Dirty</term>
        /// <description>True if the Set method Variableretentionmax is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Variableretentionmax_IsNull</term>
        /// <description>True if the value of m_Variableretentionmax is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Variableretentionmax= "";
        ///        private System.Boolean m_Variableretentionmax_Dirty = false;
        ///        private System.Boolean m_Variableretentionmax_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Variableretentionmax = "";
        private System.Boolean m_Variableretentionmax_Dirty = false;
        private System.Boolean m_Variableretentionmax_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field FixedRetentionMin
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Fixedretentionmin is the private variable used in the Property
        ///Fixedretentionmin to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Fixedretentionmin_Dirty is used in the Property Fixedretentionmin SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Fixedretentionmin_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Fixedretentionmin</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Fixedretentionmin_Dirty</term>
        /// <description>True if the Set method Fixedretentionmin is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Fixedretentionmin_IsNull</term>
        /// <description>True if the value of m_Fixedretentionmin is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Fixedretentionmin= "";
        ///        private System.Boolean m_Fixedretentionmin_Dirty = false;
        ///        private System.Boolean m_Fixedretentionmin_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Fixedretentionmin = "";
        private System.Boolean m_Fixedretentionmin_Dirty = false;
        private System.Boolean m_Fixedretentionmin_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field FixedRetentionMax
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Fixedretentionmax is the private variable used in the Property
        ///Fixedretentionmax to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Fixedretentionmax_Dirty is used in the Property Fixedretentionmax SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Fixedretentionmax_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Fixedretentionmax</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Fixedretentionmax_Dirty</term>
        /// <description>True if the Set method Fixedretentionmax is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Fixedretentionmax_IsNull</term>
        /// <description>True if the value of m_Fixedretentionmax is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Fixedretentionmax= "";
        ///        private System.Boolean m_Fixedretentionmax_Dirty = false;
        ///        private System.Boolean m_Fixedretentionmax_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Fixedretentionmax = "";
        private System.Boolean m_Fixedretentionmax_Dirty = false;
        private System.Boolean m_Fixedretentionmax_IsNull = false;

        ///<summary>
        ///This is a private class variable to hold the value of the field RetentionDefault
        ///
        /// Prog. By: Adel S. Edd
        ///The Class Type :System.String
        ///<copywrite>Adrdweb.com and Adel S. Eddin</copywrite>
        ///<Date>10/1/2007 12:00:00 AM</Date>
        ///<remarks>
        ///1) The Variable m_Retentiondefault is the private variable used in the Property
        ///Retentiondefault to save the value Sysobject_xtype from the  object.
        ///2) The Variable m_Retentiondefault_Dirty is used in the Property Retentiondefault SET Method
        ///to indicate that the values have changed
        ///3) The Variable m_Retentiondefault_IsNull indicate if the variable m_Sysobject_xtype is null or not
        /// <list type="table">
        /// <listheader>
        /// <term>Variable Name</term>
        /// <description>Value of Element</description>
        /// </listheader>
        /// <item>
        /// <term>m_Retentiondefault</term>
        /// <description>Description</description>
        /// </item>
        /// <item>
        /// <term>m_Retentiondefault_Dirty</term>
        /// <description>True if the Set method Retentiondefault is called otherwise false</description>
        /// </item>
        /// <item> 
        /// <term>m_Retentiondefault_IsNull</term>
        /// <description>True if the value of m_Retentiondefault is null, otherwise false</description>
        /// </item>
        /// </list>
        /// </remarks>
        /// <code>
        ///        private System.String m_Retentiondefault= "";
        ///        private System.Boolean m_Retentiondefault_Dirty = false;
        ///        private System.Boolean m_Retentiondefault_IsNull = false;
        /// </code>
        ///</summary>
        /// <seealso cref="System.String" />
        private System.String m_Retentiondefault = "";
        private System.Boolean m_Retentiondefault_Dirty = false;
        private System.Boolean m_Retentiondefault_IsNull = false;

        #endregion
        #region Class Constructor Method
        public AdrdCenteraRetentionInfoItem()
            : base()
        {
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Variableretentionmax
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Variableretentionmax = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Variableretentionmax = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Fixedretentionmin
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Fixedretentionmin = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Fixedretentionmin = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Fixedretentionmax
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Fixedretentionmax = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Fixedretentionmax = "";
            ///<summary>
            ///This is the initialization of the private class variable to hold the value of the field m_Retentiondefault
            ///
            ///<remarks>
            ///</remarks>
            ///<code>
            ///        m_Retentiondefault = "";
            ///</code>
            ///</summary>
            /// <seealso cref="System.String" />
            m_Retentiondefault = "";
        }
        #endregion
        #region Properties
        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax value
        ///
        ///</summary>
        ///<code>
        ///public System.String Variableretentionmax
        ///{
        ///get
        ///	{
        ///		return m_Variableretentionmax;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Variableretentionmax = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Variableretentionmax");
        ///
        ///       m_Variableretentionmax_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Variableretentionmax  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Variableretentionmax = "Hello World";
        ///		Temp_Variableretentionmax = obj.Variableretentionmax;
        ///		Console.Write(Temp_Variableretentionmax)
        /// 
        /// The following is an example on how ro set the value of the Variableretentionmax 
        /// 
        ///		System.String Temp_Variableretentionmax = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Variableretentionmax = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Variableretentionmax) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Variableretentionmax
        {
            get
            {
                return m_Variableretentionmax;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Variableretentionmax = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Variableretentionmax");

                m_Variableretentionmax_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsVariableretentionmaxDirty
        ///{
        ///get
        ///	{
        ///       return m_Variableretentionmax_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Variableretentionmax_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property VariableretentionmaxDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Variableretentionmax = false;
        ///		Temp_Variableretentionmax = obj.Variableretentionmax;
        ///		Console.Write(Temp_Variableretentionmax.ToString())
        /// 
        /// The following is an example on how ro set the value of the VariableretentionmaxDirty 
        /// 
        ///		System.String Temp_VariableretentionmaxDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.VariableretentionmaxDirty = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.VariableretentionmaxDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsVariableretentionmaxDirty
        {
            get
            {
                return m_Variableretentionmax_Dirty;
            }
            set
            {
                m_Variableretentionmax_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Variableretentionmax_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Variableretentionmax_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Variableretentionmax_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Variableretentionmax_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_VariableretentionmaxIsNull = false;
        ///		Temp_VariableretentionmaxIsNull = obj.Variableretentionmax;
        ///		Console.Write(Temp_VariableretentionmaxIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the VariableretentionmaxIsNull 
        /// 
        ///		System.String Temp_VariableretentionmaxIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.VariableretentionmaxIsNull = Temp_Variableretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.VariableretentionmaxIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Variableretentionmax_IsNull
        {
            get
            {
                return m_Variableretentionmax_IsNull;
            }
            set
            {
                m_Variableretentionmax_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin value
        ///
        ///</summary>
        ///<code>
        ///public System.String Fixedretentionmin
        ///{
        ///get
        ///	{
        ///		return m_Fixedretentionmin;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Fixedretentionmin = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmin");
        ///
        ///       m_Fixedretentionmin_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Fixedretentionmin  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmin = "Hello World";
        ///		Temp_Fixedretentionmin = obj.Fixedretentionmin;
        ///		Console.Write(Temp_Fixedretentionmin)
        /// 
        /// The following is an example on how ro set the value of the Fixedretentionmin 
        /// 
        ///		System.String Temp_Fixedretentionmin = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Fixedretentionmin = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Fixedretentionmin) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Fixedretentionmin
        {
            get
            {
                return m_Fixedretentionmin;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Fixedretentionmin = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmin");

                m_Fixedretentionmin_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsFixedretentionminDirty
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmin_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmin_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property FixedretentionminDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmin = false;
        ///		Temp_Fixedretentionmin = obj.Fixedretentionmin;
        ///		Console.Write(Temp_Fixedretentionmin.ToString())
        /// 
        /// The following is an example on how ro set the value of the FixedretentionminDirty 
        /// 
        ///		System.String Temp_FixedretentionminDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionminDirty = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionminDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsFixedretentionminDirty
        {
            get
            {
                return m_Fixedretentionmin_Dirty;
            }
            set
            {
                m_Fixedretentionmin_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmin_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Fixedretentionmin_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmin_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmin_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_FixedretentionminIsNull = false;
        ///		Temp_FixedretentionminIsNull = obj.Fixedretentionmin;
        ///		Console.Write(Temp_FixedretentionminIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the FixedretentionminIsNull 
        /// 
        ///		System.String Temp_FixedretentionminIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionminIsNull = Temp_Fixedretentionmin; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionminIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Fixedretentionmin_IsNull
        {
            get
            {
                return m_Fixedretentionmin_IsNull;
            }
            set
            {
                m_Fixedretentionmin_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax value
        ///
        ///</summary>
        ///<code>
        ///public System.String Fixedretentionmax
        ///{
        ///get
        ///	{
        ///		return m_Fixedretentionmax;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Fixedretentionmax = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmax");
        ///
        ///       m_Fixedretentionmax_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Fixedretentionmax  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmax = "Hello World";
        ///		Temp_Fixedretentionmax = obj.Fixedretentionmax;
        ///		Console.Write(Temp_Fixedretentionmax)
        /// 
        /// The following is an example on how ro set the value of the Fixedretentionmax 
        /// 
        ///		System.String Temp_Fixedretentionmax = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Fixedretentionmax = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Fixedretentionmax) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Fixedretentionmax
        {
            get
            {
                return m_Fixedretentionmax;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Fixedretentionmax = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Fixedretentionmax");

                m_Fixedretentionmax_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsFixedretentionmaxDirty
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmax_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmax_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property FixedretentionmaxDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Fixedretentionmax = false;
        ///		Temp_Fixedretentionmax = obj.Fixedretentionmax;
        ///		Console.Write(Temp_Fixedretentionmax.ToString())
        /// 
        /// The following is an example on how ro set the value of the FixedretentionmaxDirty 
        /// 
        ///		System.String Temp_FixedretentionmaxDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionmaxDirty = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionmaxDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsFixedretentionmaxDirty
        {
            get
            {
                return m_Fixedretentionmax_Dirty;
            }
            set
            {
                m_Fixedretentionmax_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Fixedretentionmax_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Fixedretentionmax_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Fixedretentionmax_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Fixedretentionmax_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_FixedretentionmaxIsNull = false;
        ///		Temp_FixedretentionmaxIsNull = obj.Fixedretentionmax;
        ///		Console.Write(Temp_FixedretentionmaxIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the FixedretentionmaxIsNull 
        /// 
        ///		System.String Temp_FixedretentionmaxIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.FixedretentionmaxIsNull = Temp_Fixedretentionmax; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.FixedretentionmaxIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Fixedretentionmax_IsNull
        {
            get
            {
                return m_Fixedretentionmax_IsNull;
            }
            set
            {
                m_Fixedretentionmax_IsNull = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault value
        ///
        ///</summary>
        ///<code>
        ///public System.String Retentiondefault
        ///{
        ///get
        ///	{
        ///		return m_Retentiondefault;
        ///	}
        ///set
        ///	{
        ///	   if (value.GetType().ToString().ToLower()  == "System.String".ToLower()    )
        ///	         m_Retentiondefault = value ;
        ///	   else
        ///	      throw new Exception("Invalid Value Assigned to the Variable m_Retentiondefault");
        ///
        ///       m_Retentiondefault_Dirty = true;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.String
        /// </returns>
        /// <example>
        /// 
        /// The following is an example on how to get the value from the property Retentiondefault  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Retentiondefault = "Hello World";
        ///		Temp_Retentiondefault = obj.Retentiondefault;
        ///		Console.Write(Temp_Retentiondefault)
        /// 
        /// The following is an example on how ro set the value of the Retentiondefault 
        /// 
        ///		System.String Temp_Retentiondefault = "Hello World"; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.Retentiondefault = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.Retentiondefault) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.String Retentiondefault
        {
            get
            {
                return m_Retentiondefault;
            }
            set
            {
                if (value.GetType().ToString().ToLower() == "System.String".ToLower())
                    m_Retentiondefault = value;
                else
                    throw new Exception("Invalid Value Assigned to the Variable m_Retentiondefault");

                m_Retentiondefault_Dirty = true;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault_Dirty value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean IsRetentiondefaultDirty
        ///{
        ///get
        ///	{
        ///       return m_Retentiondefault_Dirty ;
        ///	}
        ///set
        ///	{
        ///       m_Retentiondefault_Dirty = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        /// </returns>
        /// <example>
        /// The following is an example on how to get the value from the property RetentiondefaultDirty  
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_Retentiondefault = false;
        ///		Temp_Retentiondefault = obj.Retentiondefault;
        ///		Console.Write(Temp_Retentiondefault.ToString())
        /// 
        /// The following is an example on how ro set the value of the RetentiondefaultDirty 
        /// 
        ///		System.String Temp_RetentiondefaultDirty = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.RetentiondefaultDirty = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.RetentiondefaultDirty.ToString()) 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean IsRetentiondefaultDirty
        {
            get
            {
                return m_Retentiondefault_Dirty;
            }
            set
            {
                m_Retentiondefault_Dirty = value;
            }
        }

        ///<summary>
        ///Gets or Sets the filed  Retentiondefault_IsNull value
        ///
        ///</summary>
        ///<code>
        ///public System.Boolean Retentiondefault_IsNull
        ///{
        ///get
        ///	{
        ///       return m_Retentiondefault_IsNull ;
        ///	}
        ///set
        ///	{
        ///       m_Retentiondefault_IsNull = value;
        ///	}
        ///}
        ///
        ///
        ///</code>
        /// <returns>
        /// System.Boolean
        ///</returns>
        /// <example>
        /// 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem();
        ///		System.String Temp_RetentiondefaultIsNull = false;
        ///		Temp_RetentiondefaultIsNull = obj.Retentiondefault;
        ///		Console.Write(Temp_RetentiondefaultIsNull.ToString())
        /// 
        /// The following is an example on how to set the value of the RetentiondefaultIsNull 
        /// 
        ///		System.String Temp_RetentiondefaultIsNull = ; 
        ///		AdrdCenteraRetentionInfoItem obj = new AdrdCenteraRetentionInfoItem(); 
        ///		obj.RetentiondefaultIsNull = Temp_Retentiondefault; 
        ///		//Now we call the Get to output the value to the Console 
        ///		Console.Write(obj.RetentiondefaultIsNull.ToString()); 
        ///		 
        /// </example>
        /// <seealso cref="System.String" />
        public System.Boolean Retentiondefault_IsNull
        {
            get
            {
                return m_Retentiondefault_IsNull;
            }
            set
            {
                m_Retentiondefault_IsNull = value;
            }
        }

        #endregion
        #region Clone Method for the IClonable Interface
        ///<summary>
        ///Supports cloning, which creates a new instance of a class with the same value as an existing instance of the classAdrdCenteraRetentionInfoItem
        ///</summary>
        ///<remarks>
        ///The code snippet below is the full code implementation of the Clone Method
        ///</remarks>
        ///<code>
        ///		public object Clone()
        ///		{
        ///		AdrdCenteraRetentionInfoItem AdrdCenteraRetentionInfoItemObj   = new AdrdCenteraRetentionInfoItem();
        ///		System.String strVariableretentionmax="";
        ///		strVariableretentionmax = this.Variableretentionmax;
        ///		AdrdCenteraRetentionInfoItemObj.m_Variableretentionmax = strVariableretentionmax;
        ///		
        ///		System.String strFixedretentionmin="";
        ///		strFixedretentionmin = this.Fixedretentionmin;
        ///		AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmin = strFixedretentionmin;
        ///		
        ///		System.String strFixedretentionmax="";
        ///		strFixedretentionmax = this.Fixedretentionmax;
        ///		AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmax = strFixedretentionmax;
        ///		
        ///		System.String strRetentiondefault="";
        ///		strRetentiondefault = this.Retentiondefault;
        ///		AdrdCenteraRetentionInfoItemObj.m_Retentiondefault = strRetentiondefault;
        ///		
        ///		return AdrdCenteraRetentionInfoItemObj;
        ///		}
        ///		
        ///</code>
        ///
        ///<example>
        ///
        ///   AdrdCenteraRetentionInfoItem Obj		= new AdrdCenteraRetentionInfoItem();
        ///   AdrdCenteraRetentionInfoItem copyObj	= new AdrdCenteraRetentionInfoItem();
        ///   //make copyObj copy of Obj. The cast is used because the Clone method return type is object
        ///   copyObj = (AdrdCenteraRetentionInfoItem)Obj.Clone();
        ///   
        ///</example>
        ///
        /// <seealso cref="ICloneable Interface" />
        /// <seealso cref="System.Object" />

        public object Clone()
        {
            AdrdCenteraRetentionInfoItem AdrdCenteraRetentionInfoItemObj = new AdrdCenteraRetentionInfoItem();
            System.String strVariableretentionmax = "";
            strVariableretentionmax = this.Variableretentionmax;
            AdrdCenteraRetentionInfoItemObj.m_Variableretentionmax = strVariableretentionmax;

            System.String strFixedretentionmin = "";
            strFixedretentionmin = this.Fixedretentionmin;
            AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmin = strFixedretentionmin;

            System.String strFixedretentionmax = "";
            strFixedretentionmax = this.Fixedretentionmax;
            AdrdCenteraRetentionInfoItemObj.m_Fixedretentionmax = strFixedretentionmax;

            System.String strRetentiondefault = "";
            strRetentiondefault = this.Retentiondefault;
            AdrdCenteraRetentionInfoItemObj.m_Retentiondefault = strRetentiondefault;

            return AdrdCenteraRetentionInfoItemObj;
        }
        #endregion
        #region OverRide the ToString Method of the inhereted class Object
        public override string ToString()
        {
            return "AdrdwebCenteraClusterInformation.AdrdCenteraRetentionInfoItem";
        }
        #endregion
        #region OverRide the GetHashCode Method of the inhereted class Object
        public override int GetHashCode()
        {
            return 1024198922;
        }
        #endregion
        #region OverRide the Equals Method of the inhereted class Object
        ///<summary>
        ///Determines whether two Object instances are equal.
        ///</summary>
        ///<remarks>
        ///The code snippet below is the full code implementation of the Equal Method
        ///</remarks>
        ///<code>
        ///		public override bool Equals(Object AdrdCenteraRetentionInfoItemObj)
        ///		{
        ///			bool bFlag = true;
        ///		int intVariableLength = 0 ;
        ///		AdrdCenteraRetentionInfoItem _objAdrdCenteraRetentionInfoItem = new AdrdCenteraRetentionInfoItem();
        ///		_objAdrdCenteraRetentionInfoItem = (AdrdCenteraRetentionInfoItem)AdrdCenteraRetentionInfoItemObj;
        ///		try
        ///		{
        ///				System.String strVariableRetentionMaxOne="";
        ///				System.String strVariableRetentionMaxTwo="";
        ///				strVariableRetentionMaxOne= this.Variableretentionmax;
        ///				strVariableRetentionMaxTwo= _objAdrdCenteraRetentionInfoItem.Variableretentionmax;
        ///				if (strVariableRetentionMaxOne  != strVariableRetentionMaxTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strFixedRetentionMinOne="";
        ///				System.String strFixedRetentionMinTwo="";
        ///				strFixedRetentionMinOne= this.Fixedretentionmin;
        ///				strFixedRetentionMinTwo= _objAdrdCenteraRetentionInfoItem.Fixedretentionmin;
        ///				if (strFixedRetentionMinOne  != strFixedRetentionMinTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strFixedRetentionMaxOne="";
        ///				System.String strFixedRetentionMaxTwo="";
        ///				strFixedRetentionMaxOne= this.Fixedretentionmax;
        ///				strFixedRetentionMaxTwo= _objAdrdCenteraRetentionInfoItem.Fixedretentionmax;
        ///				if (strFixedRetentionMaxOne  != strFixedRetentionMaxTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		try
        ///		{
        ///				System.String strRetentionDefaultOne="";
        ///				System.String strRetentionDefaultTwo="";
        ///				strRetentionDefaultOne= this.Retentiondefault;
        ///				strRetentionDefaultTwo= _objAdrdCenteraRetentionInfoItem.Retentiondefault;
        ///				if (strRetentionDefaultOne  != strRetentionDefaultTwo)
        ///				{
        ///				return false;
        ///				}
        ///			}
        ///		catch
        ///		{
        ///				return false;
        ///		}
        ///		
        ///		
        ///		return true;
        ///		}
        ///		
        ///</code>
        ///
        ///<example>
        ///
        ///   AdrdCenteraRetentionInfoItem Obj		= new AdrdCenteraRetentionInfoItem();
        ///   AdrdCenteraRetentionInfoItem copyObj	= new AdrdCenteraRetentionInfoItem();
        ///   //make copyObj copy of Obj. The cast is used because the Clone method return type is object
        ///   if (copyObj.Equals(Obj))
        ///		{
        ///			Console.Write("Two Objects are Equals");
        ///		}
        ///   
        ///</example>
        ///
        /// <seealso cref="Object.Equals" />
        /// <seealso cref="System.Object" />

        public override bool Equals(Object AdrdCenteraRetentionInfoItemObj)
        {


            AdrdCenteraRetentionInfoItem _objAdrdCenteraRetentionInfoItem = new AdrdCenteraRetentionInfoItem();
            _objAdrdCenteraRetentionInfoItem = (AdrdCenteraRetentionInfoItem)AdrdCenteraRetentionInfoItemObj;
            try
            {
                System.String strVariableRetentionMaxOne = "";
                System.String strVariableRetentionMaxTwo = "";
                strVariableRetentionMaxOne = this.Variableretentionmax;
                strVariableRetentionMaxTwo = _objAdrdCenteraRetentionInfoItem.Variableretentionmax;
                if (strVariableRetentionMaxOne != strVariableRetentionMaxTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strFixedRetentionMinOne = "";
                System.String strFixedRetentionMinTwo = "";
                strFixedRetentionMinOne = this.Fixedretentionmin;
                strFixedRetentionMinTwo = _objAdrdCenteraRetentionInfoItem.Fixedretentionmin;
                if (strFixedRetentionMinOne != strFixedRetentionMinTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strFixedRetentionMaxOne = "";
                System.String strFixedRetentionMaxTwo = "";
                strFixedRetentionMaxOne = this.Fixedretentionmax;
                strFixedRetentionMaxTwo = _objAdrdCenteraRetentionInfoItem.Fixedretentionmax;
                if (strFixedRetentionMaxOne != strFixedRetentionMaxTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            try
            {
                System.String strRetentionDefaultOne = "";
                System.String strRetentionDefaultTwo = "";
                strRetentionDefaultOne = this.Retentiondefault;
                strRetentionDefaultTwo = _objAdrdCenteraRetentionInfoItem.Retentiondefault;
                if (strRetentionDefaultOne != strRetentionDefaultTwo)
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }


            return true;
        }
        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Chief Technology Officer Time Warner Cable
United States United States
Adel has over 30 years of experience in planning, architecting, developing, and implementing state of the art information technology solutions involving SOA, Microservices, Blockchain, AI, REST, DCOM, CORBA, SSO, SAML, Low Latency, High availability, IoT, Embedded Systems, Robotics, SCADA, VOIP, and OSS Technologies. He is highly technical leader with extensive hands-on experiences that cover architecting, coding, and deployment of complex IT solutions and systems with a strong passion for “all things IT”. Adel Led large cross-functional teams with diverse technical backgrounds and designed and managed all the needed budget controls and deliverables. He is having strong knowledge of financial, medical/pharmaceutical, and industrial domains. He also is having strong Agile and CMMI processes experiences.
Mr. Eddin is known in the DevOps space as a leader in the development of DevOps operations and processes, continuous integration, continuous builds, source control, infrastructure build-outs, and cloud integrations on-premises and on the cloud.
In the last 15 years, Adel led number of large cloud technologies initiatives that that include public clouds (AZURE, AWS), private on-premises cloud (VMware vSphere), and Hybrid cloud implementations (VMware vSphere). He is also recognized as a leader in the security space. He demonstrated extensive knowledge in all aspects of IT security including, but not limited to physical security, coding security, P2PE, Ciphering, and Encryption with both hard (appliance or IOT based) and soft (software code based) implementations.
He has strong background in software development life cycle, software development management, infrastructure management, and IT software and hardware “build-outs”. He also managed multi-million-dollar IT projects that covered all corners of the globe using on-shore and off-shore resources and covering a wide range of the information technology spectrum.

Comments and Discussions