-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
IndexingSchedule.cs
36 lines (30 loc) · 1.31 KB
/
IndexingSchedule.cs
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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Represents a schedule for indexer execution. </summary>
public partial class IndexingSchedule
{
/// <summary> Initializes a new instance of <see cref="IndexingSchedule"/>. </summary>
/// <param name="interval"> The interval of time between indexer executions. </param>
public IndexingSchedule(TimeSpan interval)
{
Interval = interval;
}
/// <summary> Initializes a new instance of <see cref="IndexingSchedule"/>. </summary>
/// <param name="interval"> The interval of time between indexer executions. </param>
/// <param name="startTime"> The time when an indexer should start running. </param>
internal IndexingSchedule(TimeSpan interval, DateTimeOffset? startTime)
{
Interval = interval;
StartTime = startTime;
}
/// <summary> The interval of time between indexer executions. </summary>
public TimeSpan Interval { get; set; }
/// <summary> The time when an indexer should start running. </summary>
public DateTimeOffset? StartTime { get; set; }
}
}