Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingExportJobResponse" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Status">The current status of the export request (required).</param>
 /// <param name="TimeZone">The requested timezone of the exported data. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London (required).</param>
 /// <param name="ExportFormat">The requested format of the exported data (required).</param>
 /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss (required).</param>
 /// <param name="DownloadUrl">The url to download the request if it&#39;s status is completed.</param>
 /// <param name="ViewType">The type of view export job to be created (required).</param>
 /// <param name="ExportErrorMessagesType">The error message in case the export request failed.</param>
 /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H (required).</param>
 /// <param name="Filter">Filters to apply to create the view (required).</param>
 /// <param name="Read">Indicates if the request has been marked as read (required).</param>
 /// <param name="CreatedDateTime">The created date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>
 /// <param name="ModifiedDateTime">The last modified date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>
 /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>
 /// <param name="PercentageComplete">The percentage of the job that has completed processing (required).</param>
 /// <param name="HasFormatDurations">Indicates if durations are formatted in hh:mm:ss format instead of ms.</param>
 /// <param name="HasSplitFilters">Indicates if filters will be split in aggregate detail exports.</param>
 /// <param name="SelectedColumns">The list of ordered selected columns from the export view by the user.</param>
 /// <param name="HasCustomParticipantAttributes">Indicates if custom participant attributes will be exported.</param>
 public ReportingExportJobResponse(string Name = null, StatusEnum?Status = null, string TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string DownloadUrl = null, ViewTypeEnum?ViewType = null, ExportErrorMessagesTypeEnum?ExportErrorMessagesType = null, string Period = null, ViewFilter Filter = null, bool?Read = null, DateTime?CreatedDateTime = null, DateTime?ModifiedDateTime = null, string Locale = null, double?PercentageComplete = null, bool?HasFormatDurations = null, bool?HasSplitFilters = null, List <SelectedColumns> SelectedColumns = null, bool?HasCustomParticipantAttributes = null)
 {
     this.Name                           = Name;
     this.Status                         = Status;
     this.TimeZone                       = TimeZone;
     this.ExportFormat                   = ExportFormat;
     this.Interval                       = Interval;
     this.DownloadUrl                    = DownloadUrl;
     this.ViewType                       = ViewType;
     this.ExportErrorMessagesType        = ExportErrorMessagesType;
     this.Period                         = Period;
     this.Filter                         = Filter;
     this.Read                           = Read;
     this.CreatedDateTime                = CreatedDateTime;
     this.ModifiedDateTime               = ModifiedDateTime;
     this.Locale                         = Locale;
     this.PercentageComplete             = PercentageComplete;
     this.HasFormatDurations             = HasFormatDurations;
     this.HasSplitFilters                = HasSplitFilters;
     this.SelectedColumns                = SelectedColumns;
     this.HasCustomParticipantAttributes = HasCustomParticipantAttributes;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingExportJobRequest" /> class.
 /// </summary>
 /// <param name="Name">The user supplied name of the export request (required).</param>
 /// <param name="TimeZone">The requested timezone of the exported data (required).</param>
 /// <param name="ExportFormat">The requested format of the exported data (required).</param>
 /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.</param>
 /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.</param>
 /// <param name="ViewType">The type of view export job to be created (required).</param>
 /// <param name="Filter">Filters to apply to create the view (required).</param>
 /// <param name="Read">Indicates if the request has been marked as read.</param>
 /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>
 /// <param name="HasFormatDurations">Indicates if durations are formatted in hh:mm:ss format instead of ms.</param>
 /// <param name="HasSplitFilters">Indicates if filters will be split in aggregate detail exports.</param>
 /// <param name="SelectedColumns">The list of ordered selected columns from the export view by the user.</param>
 public ReportingExportJobRequest(string Name = null, TimeZone TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string Period = null, ViewTypeEnum?ViewType = null, ViewFilter Filter = null, bool?Read = null, string Locale = null, bool?HasFormatDurations = null, bool?HasSplitFilters = null, List <SelectedColumns> SelectedColumns = null)
 {
     this.Name               = Name;
     this.TimeZone           = TimeZone;
     this.ExportFormat       = ExportFormat;
     this.Interval           = Interval;
     this.Period             = Period;
     this.ViewType           = ViewType;
     this.Filter             = Filter;
     this.Read               = Read;
     this.Locale             = Locale;
     this.HasFormatDurations = HasFormatDurations;
     this.HasSplitFilters    = HasSplitFilters;
     this.SelectedColumns    = SelectedColumns;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="ReportingExportJobResponse" /> class.
        /// </summary>



        /// <param name="Name">Name.</param>



        /// <param name="Status">The current status of the export request (required).</param>



        /// <param name="TimeZone">The requested timezone of the exported data (required).</param>



        /// <param name="ExportFormat">The requested format of the exported data (required).</param>



        /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.</param>



        /// <param name="DataColumns">The data columns included in the export (required).</param>



        /// <param name="DownloadUrl">The url to download the request if it&#39;s status is completed.</param>



        /// <param name="ViewType">The type of view export job to be created (required).</param>



        /// <param name="ExportErrorMessagesType">The error message in case the export request failed.</param>



        /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.</param>



        /// <param name="Filter">Filters to apply to create the view (required).</param>



        /// <param name="Read">Indicates if the request has been marked as read (required).</param>



        /// <param name="CreatedDateTime">The created date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>



        /// <param name="ModifiedDateTime">The last modified date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>



        public ReportingExportJobResponse(string Name = null, StatusEnum?Status = null, TimeZone TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, List <DataColumn> DataColumns = null, string DownloadUrl = null, ViewTypeEnum?ViewType = null, ExportErrorMessagesTypeEnum?ExportErrorMessagesType = null, string Period = null, ViewFilter Filter = null, bool?Read = null, DateTime?CreatedDateTime = null, DateTime?ModifiedDateTime = null)
        {
            // to ensure "Status" is required (not null)
            if (Status == null)
            {
                throw new InvalidDataException("Status is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.Status = Status;
            }



            // to ensure "TimeZone" is required (not null)
            if (TimeZone == null)
            {
                throw new InvalidDataException("TimeZone is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.TimeZone = TimeZone;
            }



            // to ensure "ExportFormat" is required (not null)
            if (ExportFormat == null)
            {
                throw new InvalidDataException("ExportFormat is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.ExportFormat = ExportFormat;
            }



            // to ensure "DataColumns" is required (not null)
            if (DataColumns == null)
            {
                throw new InvalidDataException("DataColumns is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.DataColumns = DataColumns;
            }



            // to ensure "ViewType" is required (not null)
            if (ViewType == null)
            {
                throw new InvalidDataException("ViewType is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.ViewType = ViewType;
            }



            // to ensure "Filter" is required (not null)
            if (Filter == null)
            {
                throw new InvalidDataException("Filter is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.Filter = Filter;
            }



            // to ensure "Read" is required (not null)
            if (Read == null)
            {
                throw new InvalidDataException("Read is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.Read = Read;
            }



            // to ensure "CreatedDateTime" is required (not null)
            if (CreatedDateTime == null)
            {
                throw new InvalidDataException("CreatedDateTime is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.CreatedDateTime = CreatedDateTime;
            }



            // to ensure "ModifiedDateTime" is required (not null)
            if (ModifiedDateTime == null)
            {
                throw new InvalidDataException("ModifiedDateTime is a required property for ReportingExportJobResponse and cannot be null");
            }
            else
            {
                this.ModifiedDateTime = ModifiedDateTime;
            }



            this.Name = Name;



            this.Interval = Interval;



            this.DownloadUrl = DownloadUrl;



            this.ExportErrorMessagesType = ExportErrorMessagesType;



            this.Period = Period;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingExportJobResponse" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Status">The current status of the export request (required).</param>
 /// <param name="TimeZone">The requested timezone of the exported data (required).</param>
 /// <param name="ExportFormat">The requested format of the exported data (required).</param>
 /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.</param>
 /// <param name="DownloadUrl">The url to download the request if it&#39;s status is completed.</param>
 /// <param name="ViewType">The type of view export job to be created (required).</param>
 /// <param name="ExportErrorMessagesType">The error message in case the export request failed.</param>
 /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.</param>
 /// <param name="Filter">Filters to apply to create the view (required).</param>
 /// <param name="Read">Indicates if the request has been marked as read (required).</param>
 /// <param name="CreatedDateTime">The created date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>
 /// <param name="ModifiedDateTime">The last modified date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (required).</param>
 /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>
 /// <param name="PercentageComplete">The percentage of the job that has completed processing (required).</param>
 public ReportingExportJobResponse(string Name = null, StatusEnum?Status = null, TimeZone TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string DownloadUrl = null, ViewTypeEnum?ViewType = null, ExportErrorMessagesTypeEnum?ExportErrorMessagesType = null, string Period = null, ViewFilter Filter = null, bool?Read = null, DateTime?CreatedDateTime = null, DateTime?ModifiedDateTime = null, string Locale = null, double?PercentageComplete = null)
 {
     this.Name                    = Name;
     this.Status                  = Status;
     this.TimeZone                = TimeZone;
     this.ExportFormat            = ExportFormat;
     this.Interval                = Interval;
     this.DownloadUrl             = DownloadUrl;
     this.ViewType                = ViewType;
     this.ExportErrorMessagesType = ExportErrorMessagesType;
     this.Period                  = Period;
     this.Filter                  = Filter;
     this.Read                    = Read;
     this.CreatedDateTime         = CreatedDateTime;
     this.ModifiedDateTime        = ModifiedDateTime;
     this.Locale                  = Locale;
     this.PercentageComplete      = PercentageComplete;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingExportJobRequest" /> class.
 /// </summary>
 /// <param name="Name">The user supplied name of the export request (required).</param>
 /// <param name="TimeZone">The requested timezone of the exported data. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London (required).</param>
 /// <param name="ExportFormat">The requested format of the exported data (required).</param>
 /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss (required).</param>
 /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H (required).</param>
 /// <param name="ViewType">The type of view export job to be created (required).</param>
 /// <param name="Filter">Filters to apply to create the view (required).</param>
 /// <param name="Read">Indicates if the request has been marked as read.</param>
 /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>
 /// <param name="HasFormatDurations">Indicates if durations are formatted in hh:mm:ss format instead of ms.</param>
 /// <param name="HasSplitFilters">Indicates if filters will be split in aggregate detail exports.</param>
 /// <param name="ExcludeEmptyRows">Excludes empty rows from the exports.</param>
 /// <param name="HasSplitByMedia">Indicates if media type will be split in aggregate detail exports.</param>
 /// <param name="HasSummaryRow">Indicates if summary row needs to be present in exports.</param>
 /// <param name="CsvDelimiter">The user supplied csv delimiter string value either of type 'comma' or 'semicolon' permitted for the export request.</param>
 /// <param name="SelectedColumns">The list of ordered selected columns from the export view by the user.</param>
 /// <param name="HasCustomParticipantAttributes">Indicates if custom participant attributes will be exported.</param>
 /// <param name="RecipientEmails">The list of email recipients for the exports.</param>
 public ReportingExportJobRequest(string Name = null, string TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string Period = null, ViewTypeEnum?ViewType = null, ViewFilter Filter = null, bool?Read = null, string Locale = null, bool?HasFormatDurations = null, bool?HasSplitFilters = null, bool?ExcludeEmptyRows = null, bool?HasSplitByMedia = null, bool?HasSummaryRow = null, CsvDelimiterEnum?CsvDelimiter = null, List <SelectedColumns> SelectedColumns = null, bool?HasCustomParticipantAttributes = null, List <string> RecipientEmails = null)
 {
     this.Name                           = Name;
     this.TimeZone                       = TimeZone;
     this.ExportFormat                   = ExportFormat;
     this.Interval                       = Interval;
     this.Period                         = Period;
     this.ViewType                       = ViewType;
     this.Filter                         = Filter;
     this.Read                           = Read;
     this.Locale                         = Locale;
     this.HasFormatDurations             = HasFormatDurations;
     this.HasSplitFilters                = HasSplitFilters;
     this.ExcludeEmptyRows               = ExcludeEmptyRows;
     this.HasSplitByMedia                = HasSplitByMedia;
     this.HasSummaryRow                  = HasSummaryRow;
     this.CsvDelimiter                   = CsvDelimiter;
     this.SelectedColumns                = SelectedColumns;
     this.HasCustomParticipantAttributes = HasCustomParticipantAttributes;
     this.RecipientEmails                = RecipientEmails;
 }
Exemple #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReportingExportJobRequest" /> class.
        /// </summary>


        /// <param name="Name">The user supplied name of the export request (required).</param>



        /// <param name="TimeZone">The requested timezone of the exported data (required).</param>



        /// <param name="ExportFormat">The requested format of the exported data (required).</param>



        /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.</param>



        /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.</param>



        /// <param name="ViewType">The type of view export job to be created (required).</param>



        /// <param name="Filter">Filters to apply to create the view (required).</param>



        /// <param name="Read">Indicates if the request has been marked as read.</param>



        /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>


        public ReportingExportJobRequest(string Name = null, TimeZone TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string Period = null, ViewTypeEnum?ViewType = null, ViewFilter Filter = null, bool?Read = null, string Locale = null)
        {
            // to ensure "Name" is required (not null)
            if (Name == null)
            {
                throw new InvalidDataException("Name is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.Name = Name;
            }



            // to ensure "TimeZone" is required (not null)
            if (TimeZone == null)
            {
                throw new InvalidDataException("TimeZone is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.TimeZone = TimeZone;
            }



            // to ensure "ExportFormat" is required (not null)
            if (ExportFormat == null)
            {
                throw new InvalidDataException("ExportFormat is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.ExportFormat = ExportFormat;
            }



            // to ensure "ViewType" is required (not null)
            if (ViewType == null)
            {
                throw new InvalidDataException("ViewType is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.ViewType = ViewType;
            }



            // to ensure "Filter" is required (not null)
            if (Filter == null)
            {
                throw new InvalidDataException("Filter is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.Filter = Filter;
            }



            // to ensure "Locale" is required (not null)
            if (Locale == null)
            {
                throw new InvalidDataException("Locale is a required property for ReportingExportJobRequest and cannot be null");
            }
            else
            {
                this.Locale = Locale;
            }



            this.Interval = Interval;



            this.Period = Period;



            this.Read = Read;
        }
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingExportJobRequest" /> class.
 /// </summary>
 /// <param name="Name">The user supplied name of the export request (required).</param>
 /// <param name="TimeZone">The requested timezone of the exported data (required).</param>
 /// <param name="ExportFormat">The requested format of the exported data (required).</param>
 /// <param name="Interval">The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.</param>
 /// <param name="Period">The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H.</param>
 /// <param name="ViewType">The type of view export job to be created (required).</param>
 /// <param name="Filter">Filters to apply to create the view (required).</param>
 /// <param name="Read">Indicates if the request has been marked as read.</param>
 /// <param name="Locale">The locale use for localization of the exported data, i.e. en-us, es-mx   (required).</param>
 public ReportingExportJobRequest(string Name = null, TimeZone TimeZone = null, ExportFormatEnum?ExportFormat = null, string Interval = null, string Period = null, ViewTypeEnum?ViewType = null, ViewFilter Filter = null, bool?Read = null, string Locale = null)
 {
     this.Name         = Name;
     this.TimeZone     = TimeZone;
     this.ExportFormat = ExportFormat;
     this.Interval     = Interval;
     this.Period       = Period;
     this.ViewType     = ViewType;
     this.Filter       = Filter;
     this.Read         = Read;
     this.Locale       = Locale;
 }