-
Notifications
You must be signed in to change notification settings - Fork 0
/
block.go
41 lines (30 loc) · 1.13 KB
/
block.go
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
/*
* RadioManager
*
* RadioManager
*
* API version: 2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package radiomanagerclient
import (
"time"
)
type Block struct {
// ID of the current Block.
Id int64 `json:"id"`
// Currently assigned Broadcast connected to the current Block, identified by the Broadcast ID.
BroadcastId int64 `json:"broadcast_id"`
// Start of the Block (formatted as a DateTime object), saved with an TimeZone.
Start time.Time `json:"start"`
// End of the Block (formatted as a DateTime object), saved with an TimeZone.
Stop time.Time `json:"stop"`
// Time of the creation of the Block (formatted as a DateTime object), saved with an TimeZone.
CreatedAt time.Time `json:"created_at"`
// Time of the last update of the Block (formatted as a DateTime object), saved with an TimeZone.
UpdatedAt time.Time `json:"updated_at"`
// Moment when the Block got deleted (formatted as a DateTime object), saved with an TimeZone.
DeletedAt time.Time `json:"deleted_at"`
ExternalStationId int64 `json:"_external_station_id,omitempty"`
}