/// <summary>
 /// Initializes a new instance of the <see cref="TemperatureStream" /> class.
 /// </summary>
 /// <param name="originalSize">The number of data points in this stream.</param>
 /// <param name="resolution">The level of detail (sampling) in which this stream was returned.</param>
 /// <param name="seriesType">The base series used in the case the stream was downsampled.</param>
 /// <param name="data">The sequence of temperature values for this stream, in celsius degrees.</param>
 public TemperatureStream(int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?), List <int?> data = default(List <int?>))
 {
     this.OriginalSize = originalSize;
     this.Resolution   = resolution;
     this.SeriesType   = seriesType;
     this.Data         = data;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SmoothVelocityStream" /> class.
 /// </summary>
 /// <param name="originalSize">The number of data points in this stream.</param>
 /// <param name="resolution">The level of detail (sampling) in which this stream was returned.</param>
 /// <param name="seriesType">The base series used in the case the stream was downsampled.</param>
 /// <param name="data">The sequence of velocity values for this stream, in meters per second.</param>
 public SmoothVelocityStream(int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?), List <float?> data = default(List <float?>))
 {
     this.OriginalSize = originalSize;
     this.Resolution   = resolution;
     this.SeriesType   = seriesType;
     this.Data         = data;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LatLngStream" /> class.
 /// </summary>
 /// <param name="originalSize">The number of data points in this stream.</param>
 /// <param name="resolution">The level of detail (sampling) in which this stream was returned.</param>
 /// <param name="seriesType">The base series used in the case the stream was downsampled.</param>
 /// <param name="data">The sequence of lat/long values for this stream.</param>
 public LatLngStream(int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?), List <LatLng> data = default(List <LatLng>))
 {
     this.OriginalSize = originalSize;
     this.Resolution   = resolution;
     this.SeriesType   = seriesType;
     this.Data         = data;
 }
예제 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Body4" /> class.
        /// Initializes a new instance of the <see cref="Body4" />class.
        /// </summary>
        /// <param name="To">Recipient information. Phone number property is mandatory. Optional for resend fax request.</param>
        /// <param name="Resolution">Fax resolution.</param>
        /// <param name="SendTime">The datetime to send fax at, in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. If time is not specified, the fax will be send immediately.</param>
        /// <param name="CoverIndex">Optional. Cover page index. If not specified, the default cover page which is configured in \&quot;Outbound Fax Settings\&quot; is attached. See also &#39;Available Cover Pages&#39; table below.</param>
        /// <param name="CoverPageText">Optional. Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols.</param>
        /// <param name="OriginalMessageId">Internal identifier of the original fax message which needs to be resent. Mandatory for resend fax request.</param>

        public Body4(List <CallerInfo> To = null, ResolutionEnum?Resolution = null, DateTime?SendTime = null, int?CoverIndex = null, string CoverPageText = null, string OriginalMessageId = null)
        {
            this.To                = To;
            this.Resolution        = Resolution;
            this.SendTime          = SendTime;
            this.CoverIndex        = CoverIndex;
            this.CoverPageText     = CoverPageText;
            this.OriginalMessageId = OriginalMessageId;
        }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FlagReportResource" /> class.
 /// </summary>
 /// <param name="Reason">The reason of that resource required only in case of active resolution.</param>
 /// <param name="Resolution">The resolution of that resource (required).</param>
 public FlagReportResource(string Reason = default(string), ResolutionEnum?Resolution = default(ResolutionEnum?))
 {
     // to ensure "Resolution" is required (not null)
     if (Resolution == null)
     {
         throw new InvalidDataException("Resolution is a required property for FlagReportResource and cannot be null");
     }
     else
     {
         this.Resolution = Resolution;
     }
     this.Reason = Reason;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SmoothVelocityStream" /> class.
 /// </summary>
 /// <param name="data">The sequence of velocity values for this stream, in meters per second.</param>
 public SmoothVelocityStream(List <float?> data = default(List <float?>), int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?)) : base(originalSize, resolution, seriesType)
 {
     this.Data = data;
 }
예제 #7
0
 public PayloadData(int Timeout, string FormName = null, string MediaName = null, AlignmentEnum?Alignment = null, int?OffsetX = null, int?OffsetY = null, ResolutionEnum?Resolution = null, object MediaControl = null, object Fields = null, PaperSourceEnum?PaperSource = null)
     : base(Timeout)
 {
     this.FormName     = FormName;
     this.MediaName    = MediaName;
     this.Alignment    = Alignment;
     this.OffsetX      = OffsetX;
     this.OffsetY      = OffsetY;
     this.Resolution   = Resolution;
     this.MediaControl = MediaControl;
     this.Fields       = Fields;
     this.PaperSource  = PaperSource;
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HeartrateStream" /> class.
 /// </summary>
 /// <param name="data">The sequence of heart rate values for this stream, in beats per minute.</param>
 public HeartrateStream(List <int?> data = default(List <int?>), int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?)) : base(originalSize, resolution, seriesType)
 {
     this.Data = data;
 }
예제 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseStream" /> class.
 /// </summary>
 /// <param name="originalSize">The number of data points in this stream.</param>
 /// <param name="resolution">The level of detail (sampling) in which this stream was returned.</param>
 /// <param name="seriesType">The base series used in the case the stream was downsampled.</param>
 public BaseStream(int?originalSize = default(int?), ResolutionEnum?resolution = default(ResolutionEnum?), SeriesTypeEnum?seriesType = default(SeriesTypeEnum?))
 {
     this.OriginalSize = originalSize;
     this.Resolution   = resolution;
     this.SeriesType   = seriesType;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="Document" /> class.
        /// </summary>
        /// <param name="contentType">contentType.</param>
        /// <param name="contents">contents.</param>
        /// <param name="docTab">docTab.</param>
        /// <param name="fileFormat">fileFormat.</param>
        /// <param name="pages">pages.</param>
        /// <param name="printDialogOption">printDialogOption.</param>
        /// <param name="resolution">resolution.</param>
        /// <param name="size">size.</param>
        /// <param name="type">type (required).</param>
        public Document(ContentTypeEnum?contentType = default(ContentTypeEnum?), string contents = default(string), List <DocTabItem> docTab = default(List <DocTabItem>), FileFormatEnum?fileFormat = default(FileFormatEnum?), List <DocumentPage> pages = default(List <DocumentPage>), PrintDialogOptionEnum?printDialogOption = default(PrintDialogOptionEnum?), ResolutionEnum?resolution = default(ResolutionEnum?), SizeEnum?size = default(SizeEnum?), string type = default(string))
        {
            // to ensure "type" is required (not null)
            if (type == null)
            {
                throw new InvalidDataException("type is a required property for Document and cannot be null");
            }
            else
            {
                this.Type = type;
            }

            this.ContentType       = contentType;
            this.Contents          = contents;
            this.DocTab            = docTab;
            this.FileFormat        = fileFormat;
            this.Pages             = pages;
            this.PrintDialogOption = printDialogOption;
            this.Resolution        = resolution;
            this.Size = size;
        }