-
Notifications
You must be signed in to change notification settings - Fork 748
Expand file tree
/
Copy pathDirectQueryRefreshSchedule.cs
More file actions
81 lines (72 loc) · 2.91 KB
/
DirectQueryRefreshSchedule.cs
File metadata and controls
81 lines (72 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.PowerBI.Api.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// A Power BI refresh schedule for DirectQuery or LiveConnection,
/// specified by setting either the frequency or a combination of days and
/// times.
/// </summary>
public partial class DirectQueryRefreshSchedule
{
/// <summary>
/// Initializes a new instance of the DirectQueryRefreshSchedule class.
/// </summary>
public DirectQueryRefreshSchedule()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the DirectQueryRefreshSchedule class.
/// </summary>
/// <param name="frequency">the refresh frequency in minutes, supported
/// values are 15, 30, 60, 120, and 180.</param>
/// <param name="days">Days to execute the refresh</param>
/// <param name="times">Times to execute the refresh within each
/// day</param>
/// <param name="localTimeZoneId">The Id of the Time zone to use. See
/// [Time Zone
/// Info](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id).</param>
public DirectQueryRefreshSchedule(int? frequency = default(int?), IList<Days?> days = default(IList<Days?>), IList<string> times = default(IList<string>), string localTimeZoneId = default(string))
{
Frequency = frequency;
Days = days;
Times = times;
LocalTimeZoneId = localTimeZoneId;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the refresh frequency in minutes, supported values are
/// 15, 30, 60, 120, and 180.
/// </summary>
[JsonProperty(PropertyName = "frequency")]
public int? Frequency { get; set; }
/// <summary>
/// Gets or sets days to execute the refresh
/// </summary>
[JsonProperty(PropertyName = "days")]
public IList<Days?> Days { get; set; }
/// <summary>
/// Gets or sets times to execute the refresh within each day
/// </summary>
[JsonProperty(PropertyName = "times")]
public IList<string> Times { get; set; }
/// <summary>
/// Gets or sets the Id of the Time zone to use. See [Time Zone
/// Info](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id).
/// </summary>
[JsonProperty(PropertyName = "localTimeZoneId")]
public string LocalTimeZoneId { get; set; }
}
}