Esempio n. 1
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="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 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, List <SelectedColumns> SelectedColumns = null, bool?HasCustomParticipantAttributes = 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;
     this.HasCustomParticipantAttributes = HasCustomParticipantAttributes;
 }
Esempio n. 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. 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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExportSearchResultsRequest" /> class.
 /// </summary>
 /// <param name="CustomSeparator">CustomSeparator.</param>
 /// <param name="ExportFormat">ExportFormat.</param>
 /// <param name="ExportTitle">ExportTitle.</param>
 /// <param name="Filters">Filters.</param>
 /// <param name="Association">Association.</param>
 /// <param name="BusObId">BusObId.</param>
 /// <param name="CustomGridDefId">CustomGridDefId.</param>
 /// <param name="DateTimeFormatting">DateTimeFormatting.</param>
 /// <param name="FieldId">FieldId.</param>
 /// <param name="Fields">Fields.</param>
 /// <param name="IncludeAllFields">IncludeAllFields.</param>
 /// <param name="IncludeSchema">IncludeSchema.</param>
 /// <param name="PageNumber">PageNumber.</param>
 /// <param name="PageSize">PageSize.</param>
 /// <param name="Scope">Scope.</param>
 /// <param name="ScopeOwner">ScopeOwner.</param>
 /// <param name="SearchId">SearchId.</param>
 /// <param name="SearchName">SearchName.</param>
 /// <param name="SearchText">SearchText.</param>
 /// <param name="Sorting">Sorting.</param>
 /// <param name="PromptValues">PromptValues.</param>
 public ExportSearchResultsRequest(string CustomSeparator = default(string), ExportFormatEnum?ExportFormat = default(ExportFormatEnum?), string ExportTitle = default(string), List <FilterInfo> Filters = default(List <FilterInfo>), string Association = default(string), string BusObId = default(string), string CustomGridDefId = default(string), string DateTimeFormatting = default(string), string FieldId = default(string), List <string> Fields = default(List <string>), bool?IncludeAllFields = default(bool?), bool?IncludeSchema = default(bool?), int?PageNumber = default(int?), int?PageSize = default(int?), string Scope = default(string), string ScopeOwner = default(string), string SearchId = default(string), string SearchName = default(string), string SearchText = default(string), List <SortInfo> Sorting = default(List <SortInfo>), List <PromptValue> PromptValues = default(List <PromptValue>))
 {
     this.CustomSeparator    = CustomSeparator;
     this.ExportFormat       = ExportFormat;
     this.ExportTitle        = ExportTitle;
     this.Filters            = Filters;
     this.Association        = Association;
     this.BusObId            = BusObId;
     this.CustomGridDefId    = CustomGridDefId;
     this.DateTimeFormatting = DateTimeFormatting;
     this.FieldId            = FieldId;
     this.Fields             = Fields;
     this.IncludeAllFields   = IncludeAllFields;
     this.IncludeSchema      = IncludeSchema;
     this.PageNumber         = PageNumber;
     this.PageSize           = PageSize;
     this.Scope        = Scope;
     this.ScopeOwner   = ScopeOwner;
     this.SearchId     = SearchId;
     this.SearchName   = SearchName;
     this.SearchText   = SearchText;
     this.Sorting      = Sorting;
     this.PromptValues = PromptValues;
 }
Esempio n. 4
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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingDataExportTopicDataExportNotification" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Status">Status.</param>
 /// <param name="ExportFormat">ExportFormat.</param>
 /// <param name="DownloadUrl">DownloadUrl.</param>
 /// <param name="ViewType">ViewType.</param>
 /// <param name="ExportErrorMessagesType">ExportErrorMessagesType.</param>
 /// <param name="Read">Read.</param>
 /// <param name="CreatedDateTime">CreatedDateTime.</param>
 /// <param name="ModifiedDateTime">ModifiedDateTime.</param>
 /// <param name="PercentageComplete">PercentageComplete.</param>
 public ReportingDataExportTopicDataExportNotification(string Id = null, string Name = null, StatusEnum?Status = null, ExportFormatEnum?ExportFormat = null, string DownloadUrl = null, ViewTypeEnum?ViewType = null, ExportErrorMessagesTypeEnum?ExportErrorMessagesType = null, bool?Read = null, DateTime?CreatedDateTime = null, DateTime?ModifiedDateTime = null, double?PercentageComplete = null)
 {
     this.Id                      = Id;
     this.Name                    = Name;
     this.Status                  = Status;
     this.ExportFormat            = ExportFormat;
     this.DownloadUrl             = DownloadUrl;
     this.ViewType                = ViewType;
     this.ExportErrorMessagesType = ExportErrorMessagesType;
     this.Read                    = Read;
     this.CreatedDateTime         = CreatedDateTime;
     this.ModifiedDateTime        = ModifiedDateTime;
     this.PercentageComplete      = PercentageComplete;
 }
        /// <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;
 }
Esempio n. 8
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>
 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)
 {
     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;
 }
Esempio n. 9
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;
        }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingDataExportTopicDataExportNotification" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="RunId">RunId.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Status">Status.</param>
 /// <param name="ExportFormat">ExportFormat.</param>
 /// <param name="DownloadUrl">DownloadUrl.</param>
 /// <param name="ViewType">ViewType.</param>
 /// <param name="ExportErrorMessagesType">ExportErrorMessagesType.</param>
 /// <param name="Read">Read.</param>
 /// <param name="CreatedDateTime">CreatedDateTime.</param>
 /// <param name="ModifiedDateTime">ModifiedDateTime.</param>
 /// <param name="PercentageComplete">PercentageComplete.</param>
 /// <param name="EmailStatuses">EmailStatuses.</param>
 /// <param name="EmailErrorDescription">EmailErrorDescription.</param>
 /// <param name="ScheduleExpression">ScheduleExpression.</param>
 public ReportingDataExportTopicDataExportNotification(string Id = null, string RunId = null, string Name = null, StatusEnum?Status = null, ExportFormatEnum?ExportFormat = null, string DownloadUrl = null, ViewTypeEnum?ViewType = null, ExportErrorMessagesTypeEnum?ExportErrorMessagesType = null, bool?Read = null, DateTime?CreatedDateTime = null, DateTime?ModifiedDateTime = null, double?PercentageComplete = null, Dictionary <string, string> EmailStatuses = null, string EmailErrorDescription = null, string ScheduleExpression = null)
 {
     this.Id                      = Id;
     this.RunId                   = RunId;
     this.Name                    = Name;
     this.Status                  = Status;
     this.ExportFormat            = ExportFormat;
     this.DownloadUrl             = DownloadUrl;
     this.ViewType                = ViewType;
     this.ExportErrorMessagesType = ExportErrorMessagesType;
     this.Read                    = Read;
     this.CreatedDateTime         = CreatedDateTime;
     this.ModifiedDateTime        = ModifiedDateTime;
     this.PercentageComplete      = PercentageComplete;
     this.EmailStatuses           = EmailStatuses;
     this.EmailErrorDescription   = EmailErrorDescription;
     this.ScheduleExpression      = ScheduleExpression;
 }