Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LegInfo" /> class.
        /// Initializes a new instance of the <see cref="LegInfo" />class.
        /// </summary>
        /// <param name="Action">Action description of the call operation.</param>
        /// <param name="Direction">Call direction.</param>
        /// <param name="Duration">Call duration in seconds.</param>
        /// <param name="Extension">Extension.</param>
        /// <param name="LegType">Leg type.</param>
        /// <param name="StartTime">The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.</param>
        /// <param name="Type">Call type.</param>
        /// <param name="Result">Status description of the call operation.</param>
        /// <param name="From">From.</param>
        /// <param name="To">To.</param>
        /// <param name="Transport">Call transport.</param>
        /// <param name="Recording">Recording.</param>

        public LegInfo(ActionEnum?Action = null, DirectionEnum?Direction = null, int?Duration = null, LegInfoExtensionInfo Extension = null, string LegType = null, DateTime?StartTime = null, TypeEnum?Type = null, ResultEnum?Result = null, CallerInfo From = null, CallerInfo To = null, TransportEnum?Transport = null, RecordingInfo Recording = null)
        {
            this.Action    = Action;
            this.Direction = Direction;
            this.Duration  = Duration;
            this.Extension = Extension;
            this.LegType   = LegType;
            this.StartTime = StartTime;
            this.Type      = Type;
            this.Result    = Result;
            this.From      = From;
            this.To        = To;
            this.Transport = Transport;
            this.Recording = Recording;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CallLogInfo" /> class.
        /// Initializes a new instance of the <see cref="CallLogInfo" />class.
        /// </summary>
        /// <param name="Id">Internal identifier of a cal log record.</param>
        /// <param name="Uri">Canonical URI of a call log record.</param>
        /// <param name="SessionId">Internal identifier of a call session.</param>
        /// <param name="From">From.</param>
        /// <param name="To">To.</param>
        /// <param name="Type">Call type.</param>
        /// <param name="Direction">Call direction.</param>
        /// <param name="Action">Action description of the call operation.</param>
        /// <param name="Result">Status description of the call operation.</param>
        /// <param name="StartTime">The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.</param>
        /// <param name="Duration">Call duration in seconds.</param>
        /// <param name="Recording">Recording.</param>

        public CallLogInfo(string Id = null, string Uri = null, string SessionId = null, CallerInfo From = null, CallerInfo To = null, TypeEnum?Type = null, DirectionEnum?Direction = null, ActionEnum?Action = null, ResultEnum?Result = null, DateTime?StartTime = null, int?Duration = null, RecordingInfo Recording = null)
        {
            this.Id        = Id;
            this.Uri       = Uri;
            this.SessionId = SessionId;
            this.From      = From;
            this.To        = To;
            this.Type      = Type;
            this.Direction = Direction;
            this.Action    = Action;
            this.Result    = Result;
            this.StartTime = StartTime;
            this.Duration  = Duration;
            this.Recording = Recording;
        }
Esempio n. 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CallLogRecord" /> class.
        /// Initializes a new instance of the <see cref="CallLogRecord" />class.
        /// </summary>
        /// <param name="Id">Internal identifier of a cal log record.</param>
        /// <param name="Uri">Canonical URI of a call log record.</param>
        /// <param name="SessionId">Internal identifier of a call session.</param>
        /// <param name="From">From.</param>
        /// <param name="To">To.</param>
        /// <param name="Type">Call type.</param>
        /// <param name="Direction">Call direction.</param>
        /// <param name="Action">Action description of the call operation.</param>
        /// <param name="Result">Status description of the call operation.</param>
        /// <param name="StartTime">The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.</param>
        /// <param name="Duration">Call duration in seconds.</param>
        /// <param name="Recording">Recording.</param>
        /// <param name="LastModifiedTime">For &#39;Detailed&#39; view only. The datetime when the call log record was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.</param>
        /// <param name="Transport">For &#39;Detailed&#39; view only. Call transport.</param>
        /// <param name="Legs">For &#39;Detailed&#39; view only. Leg description.</param>

        public CallLogRecord(string Id = null, string Uri = null, string SessionId = null, CallerInfo From = null, CallerInfo To = null, TypeEnum?Type = null, DirectionEnum?Direction = null, ActionEnum?Action = null, ResultEnum?Result = null, DateTime?StartTime = null, int?Duration = null, RecordingInfo Recording = null, DateTime?LastModifiedTime = null, TransportEnum?Transport = null, List <LegInfo> Legs = null)
        {
            this.Id               = Id;
            this.Uri              = Uri;
            this.SessionId        = SessionId;
            this.From             = From;
            this.To               = To;
            this.Type             = Type;
            this.Direction        = Direction;
            this.Action           = Action;
            this.Result           = Result;
            this.StartTime        = StartTime;
            this.Duration         = Duration;
            this.Recording        = Recording;
            this.LastModifiedTime = LastModifiedTime;
            this.Transport        = Transport;
            this.Legs             = Legs;
        }
Esempio n. 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Body7" /> class.
        /// Initializes a new instance of the <see cref="Body7" />class.
        /// </summary>
        /// <param name="From">From.</param>
        /// <param name="To">Receiver of an SMS message. The phoneNumber property must be filled.</param>
        /// <param name="Text">Text of a message. Max length is 1000 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus restricting the maximum message length to 500 symbols.</param>

        public Body7(CallerInfo From = null, List <CallerInfo> To = null, string Text = null)
        {
            this.From = From;
            this.To   = To;
            this.Text = Text;
        }