Class DayPart
A day of the week and time interval within the day.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DayPart : IMessage<DayPart>, IEquatable<DayPart>, IDeepCloneable<DayPart>, IBufferMessage, IMessage
Constructors
DayPart()
Declaration
public DayPart()
DayPart(DayPart)
Declaration
public DayPart(DayPart other)
Parameters
| Type | Name | Description |
|---|---|---|
| DayPart | other |
Properties
DayOfWeek
Required. The day of the week.
Declaration
public DayOfWeek DayOfWeek { get; set; }
Property Value
| Type | Description |
|---|---|
| DayOfWeek |
EndTime
Required. The end time of the day part.
Declaration
public TimeOfDay EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeOfDay |
HasDayOfWeek
Gets whether the "day_of_week" field is set
Declaration
public bool HasDayOfWeek { get; }
Property Value
| Type | Description |
|---|---|
| bool |
StartTime
Required. The start time of the day part.
Declaration
public TimeOfDay StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeOfDay |