Show / Hide Table of Contents

Class GoogleMapsPlacesV1PlaceOpeningHours

Information about business hour of the place.

Inheritance
object
GoogleMapsPlacesV1PlaceOpeningHours
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1PlaceOpeningHours : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

NextCloseTime

object representation of NextCloseTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use NextCloseTimeDateTimeOffset instead.")]
public virtual object NextCloseTime { get; set; }
Property Value
Type Description
object

NextCloseTimeDateTimeOffset

DateTimeOffset representation of NextCloseTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? NextCloseTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

NextCloseTimeRaw

The next time the current opening hours period ends up to 7 days in the future. This field is only populated if the opening hours period is active at the time of serving the request.

Declaration
[JsonProperty("nextCloseTime")]
public virtual string NextCloseTimeRaw { get; set; }
Property Value
Type Description
string

NextOpenTime

object representation of NextOpenTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use NextOpenTimeDateTimeOffset instead.")]
public virtual object NextOpenTime { get; set; }
Property Value
Type Description
object

NextOpenTimeDateTimeOffset

DateTimeOffset representation of NextOpenTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? NextOpenTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

NextOpenTimeRaw

The next time the current opening hours period starts up to 7 days in the future. This field is only populated if the opening hours period is not active at the time of serving the request.

Declaration
[JsonProperty("nextOpenTime")]
public virtual string NextOpenTimeRaw { get; set; }
Property Value
Type Description
string

OpenNow

Whether the opening hours period is currently active. For regular opening hours and current opening hours, this field means whether the place is open. For secondary opening hours and current secondary opening hours, this field means whether the secondary hours of this place is active.

Declaration
[JsonProperty("openNow")]
public virtual bool? OpenNow { get; set; }
Property Value
Type Description
bool?

Periods

The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.

Declaration
[JsonProperty("periods")]
public virtual IList<GoogleMapsPlacesV1PlaceOpeningHoursPeriod> Periods { get; set; }
Property Value
Type Description
IList<GoogleMapsPlacesV1PlaceOpeningHoursPeriod>

SecondaryHoursType

A type string used to identify the type of secondary hours.

Declaration
[JsonProperty("secondaryHoursType")]
public virtual string SecondaryHoursType { get; set; }
Property Value
Type Description
string

SpecialDays

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.

Declaration
[JsonProperty("specialDays")]
public virtual IList<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay> SpecialDays { get; set; }
Property Value
Type Description
IList<GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay>

WeekdayDescriptions

Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: "Sun: 18:00–06:00"

Declaration
[JsonProperty("weekdayDescriptions")]
public virtual IList<string> WeekdayDescriptions { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX