Holiday Object
Root Connection
All Holiday objects of an account are accessible by a query on the root connection holidays
.
Such a query will return a HolidayConnection!
, which contains the Holiday objects in its
nodes
field.
HolidayConnection!
)
Root connection for retrieving Holiday records.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
filter |
HolidayFilter
|
Filter to determine which Holiday records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Fields
The fields in this section list which values can be retrieved when querying Holiday records.
Account
)
The account this record belongs to.
ISO8601Timestamp
)
The date and time at which the record was created.
ISO8601DateTime
)
End of the holiday.
ID!
)
Unique identifier of the record.
String
)
Name of the holiday.
String
)
The hyperlink to the image file for the record.
String
)
An identifier for the client application submitting the resource or the name of an external system.
String
)
The unique identifier of the resource in an external system.
ISO8601DateTime
)
Start of the holiday.
ISO8601Timestamp
)
The date and time of the last update of the record. If the record has no updates it contains the createdAt
value.
Connections
The connection fields in this section allow (paged) access to objects related to a specific Holiday record.
The actual objects will be in the nodes
field of the connection.
CalendarConnection
)
Calendars of the holiday.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Implements
Holiday implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Holiday.