github.com/enbility/spine-go@v0.7.0/model/timeinformation.go (about) 1 package model 2 3 type TimeInformationDataType struct { 4 Utc *DateTimeType `json:"utc,omitempty"` 5 UtcOffset *DurationType `json:"utcOffset,omitempty"` 6 DayOfWeek *DayOfWeekType `json:"dayOfWeek,omitempty"` 7 CalendarWeek *CalendarWeekType `json:"calendarWeek,omitempty"` 8 } 9 10 type TimeInformationDataElementsType struct { 11 Utc *ElementTagType `json:"utc,omitempty"` 12 UtcOffset *ElementTagType `json:"utcOffset,omitempty"` 13 DayOfWeek *ElementTagType `json:"dayOfWeek,omitempty"` 14 CalendarWeek *ElementTagType `json:"calendarWeek,omitempty"` 15 } 16 17 type TimeDistributorDataType struct { 18 IsTimeDistributor *bool `json:"isTimeDistributor,omitempty"` 19 DistributorPriority *uint `json:"distributorPriority,omitempty"` 20 } 21 22 type TimeDistributorDataElementsType struct { 23 IsTimeDistributor *ElementTagType `json:"isTimeDistributor,omitempty"` 24 DistributorPriority *ElementTagType `json:"distributorPriority,omitempty"` 25 } 26 27 type TimePrecisionDataType struct { 28 IsSynchronised *bool `json:"isSynchronised,omitempty"` 29 LastSyncAt *DateTimeType `json:"lastSyncAt,omitempty"` 30 ClockDrift *int `json:"clockDrift,omitempty"` 31 } 32 33 type TimePrecisionDataElementsType struct { 34 IsSynchronised *ElementTagType `json:"isSynchronised,omitempty"` 35 LastSyncAt *ElementTagType `json:"lastSyncAt,omitempty"` 36 ClockDrift *ElementTagType `json:"clockDrift,omitempty"` 37 } 38 39 type TimeDistributorEnquiryCallType struct{} 40 41 type TimeDistributorEnquiryCallElementsType struct{}