Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TrunkMetricsNetworkTypeIp" /> class.
        /// </summary>


        /// <param name="Address">Assigned IP Address for the interface.</param>



        /// <param name="ErrorInfo">Information about the error..</param>


        public TrunkMetricsNetworkTypeIp(string Address = null, TrunkErrorInfo ErrorInfo = null)
        {
            this.Address = Address;



            this.ErrorInfo = ErrorInfo;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="TrunkMetricsRegisters" /> class.
 /// </summary>
 /// <param name="ProxyAddress">Server proxy address that this registers array element represents..</param>
 /// <param name="RegisterState">True if last REGISTER message had positive response; false if error response or no response..</param>
 /// <param name="RegisterStateTime">ISO 8601 format UTC absolute date &amp; time of the last change of the register state..</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 public TrunkMetricsRegisters(string ProxyAddress = null, bool?RegisterState = null, DateTime?RegisterStateTime = null, TrunkErrorInfo ErrorInfo = null)
 {
     this.ProxyAddress      = ProxyAddress;
     this.RegisterState     = RegisterState;
     this.RegisterStateTime = RegisterStateTime;
     this.ErrorInfo         = ErrorInfo;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TrunkMetricsOptions" /> class.
 /// </summary>
 /// <param name="ProxyAddress">Server proxy address that this options array element represents..</param>
 /// <param name="OptionState">OptionState.</param>
 /// <param name="OptionStateTime">ISO 8601 format UTC absolute date &amp; time of the last change of the option state..</param>
 /// <param name="ErrorInfo">ErrorInfo.</param>
 public TrunkMetricsOptions(string ProxyAddress = null, bool?OptionState = null, DateTime?OptionStateTime = null, TrunkErrorInfo ErrorInfo = null)
 {
     this.ProxyAddress    = ProxyAddress;
     this.OptionState     = OptionState;
     this.OptionStateTime = OptionStateTime;
     this.ErrorInfo       = ErrorInfo;
 }