Documentation
¶
Index ¶
- type Body
- type BodyResponse
- type CreateAlarmArgs
- type CreateAlarmResponse
- type DestroyAlarmArgs
- type DestroyAlarmResponse
- type Envelope
- type EnvelopeResponse
- type GetDailyIndexRefreshTimeArgs
- type GetDailyIndexRefreshTimeResponse
- type GetFormatArgs
- type GetFormatResponse
- type GetHouseholdTimeAtStampArgs
- type GetHouseholdTimeAtStampResponse
- type GetTimeNowArgs
- type GetTimeNowResponse
- type GetTimeServerArgs
- type GetTimeServerResponse
- type GetTimeZoneAndRuleArgs
- type GetTimeZoneAndRuleResponse
- type GetTimeZoneArgs
- type GetTimeZoneResponse
- type GetTimeZoneRuleArgs
- type GetTimeZoneRuleResponse
- type ListAlarmsArgs
- type ListAlarmsResponse
- type Service
- func (s *Service) CreateAlarm(httpClient *http.Client, args *CreateAlarmArgs) (*CreateAlarmResponse, error)
- func (s *Service) DestroyAlarm(httpClient *http.Client, args *DestroyAlarmArgs) (*DestroyAlarmResponse, error)
- func (s *Service) GetDailyIndexRefreshTime(httpClient *http.Client, args *GetDailyIndexRefreshTimeArgs) (*GetDailyIndexRefreshTimeResponse, error)
- func (s *Service) GetFormat(httpClient *http.Client, args *GetFormatArgs) (*GetFormatResponse, error)
- func (s *Service) GetHouseholdTimeAtStamp(httpClient *http.Client, args *GetHouseholdTimeAtStampArgs) (*GetHouseholdTimeAtStampResponse, error)
- func (s *Service) GetTimeNow(httpClient *http.Client, args *GetTimeNowArgs) (*GetTimeNowResponse, error)
- func (s *Service) GetTimeServer(httpClient *http.Client, args *GetTimeServerArgs) (*GetTimeServerResponse, error)
- func (s *Service) GetTimeZone(httpClient *http.Client, args *GetTimeZoneArgs) (*GetTimeZoneResponse, error)
- func (s *Service) GetTimeZoneAndRule(httpClient *http.Client, args *GetTimeZoneAndRuleArgs) (*GetTimeZoneAndRuleResponse, error)
- func (s *Service) GetTimeZoneRule(httpClient *http.Client, args *GetTimeZoneRuleArgs) (*GetTimeZoneRuleResponse, error)
- func (s *Service) ListAlarms(httpClient *http.Client, args *ListAlarmsArgs) (*ListAlarmsResponse, error)
- func (s *Service) SetDailyIndexRefreshTime(httpClient *http.Client, args *SetDailyIndexRefreshTimeArgs) (*SetDailyIndexRefreshTimeResponse, error)
- func (s *Service) SetFormat(httpClient *http.Client, args *SetFormatArgs) (*SetFormatResponse, error)
- func (s *Service) SetTimeNow(httpClient *http.Client, args *SetTimeNowArgs) (*SetTimeNowResponse, error)
- func (s *Service) SetTimeServer(httpClient *http.Client, args *SetTimeServerArgs) (*SetTimeServerResponse, error)
- func (s *Service) SetTimeZone(httpClient *http.Client, args *SetTimeZoneArgs) (*SetTimeZoneResponse, error)
- func (s *Service) UpdateAlarm(httpClient *http.Client, args *UpdateAlarmArgs) (*UpdateAlarmResponse, error)
- type SetDailyIndexRefreshTimeArgs
- type SetDailyIndexRefreshTimeResponse
- type SetFormatArgs
- type SetFormatResponse
- type SetTimeNowArgs
- type SetTimeNowResponse
- type SetTimeServerArgs
- type SetTimeServerResponse
- type SetTimeZoneArgs
- type SetTimeZoneResponse
- type UpdateAlarmArgs
- type UpdateAlarmResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { XMLName xml.Name `xml:"s:Body"` SetFormat *SetFormatArgs `xml:"u:SetFormat,omitempty"` GetFormat *GetFormatArgs `xml:"u:GetFormat,omitempty"` SetTimeZone *SetTimeZoneArgs `xml:"u:SetTimeZone,omitempty"` GetTimeZone *GetTimeZoneArgs `xml:"u:GetTimeZone,omitempty"` GetTimeZoneAndRule *GetTimeZoneAndRuleArgs `xml:"u:GetTimeZoneAndRule,omitempty"` GetTimeZoneRule *GetTimeZoneRuleArgs `xml:"u:GetTimeZoneRule,omitempty"` SetTimeServer *SetTimeServerArgs `xml:"u:SetTimeServer,omitempty"` GetTimeServer *GetTimeServerArgs `xml:"u:GetTimeServer,omitempty"` SetTimeNow *SetTimeNowArgs `xml:"u:SetTimeNow,omitempty"` GetHouseholdTimeAtStamp *GetHouseholdTimeAtStampArgs `xml:"u:GetHouseholdTimeAtStamp,omitempty"` GetTimeNow *GetTimeNowArgs `xml:"u:GetTimeNow,omitempty"` CreateAlarm *CreateAlarmArgs `xml:"u:CreateAlarm,omitempty"` UpdateAlarm *UpdateAlarmArgs `xml:"u:UpdateAlarm,omitempty"` DestroyAlarm *DestroyAlarmArgs `xml:"u:DestroyAlarm,omitempty"` ListAlarms *ListAlarmsArgs `xml:"u:ListAlarms,omitempty"` SetDailyIndexRefreshTime *SetDailyIndexRefreshTimeArgs `xml:"u:SetDailyIndexRefreshTime,omitempty"` GetDailyIndexRefreshTime *GetDailyIndexRefreshTimeArgs `xml:"u:GetDailyIndexRefreshTime,omitempty"` }
type BodyResponse ¶
type BodyResponse struct { XMLName xml.Name `xml:"Body"` SetFormat *SetFormatResponse `xml:"SetFormatResponse,omitempty"` GetFormat *GetFormatResponse `xml:"GetFormatResponse,omitempty"` SetTimeZone *SetTimeZoneResponse `xml:"SetTimeZoneResponse,omitempty"` GetTimeZone *GetTimeZoneResponse `xml:"GetTimeZoneResponse,omitempty"` GetTimeZoneAndRule *GetTimeZoneAndRuleResponse `xml:"GetTimeZoneAndRuleResponse,omitempty"` GetTimeZoneRule *GetTimeZoneRuleResponse `xml:"GetTimeZoneRuleResponse,omitempty"` SetTimeServer *SetTimeServerResponse `xml:"SetTimeServerResponse,omitempty"` GetTimeServer *GetTimeServerResponse `xml:"GetTimeServerResponse,omitempty"` SetTimeNow *SetTimeNowResponse `xml:"SetTimeNowResponse,omitempty"` GetHouseholdTimeAtStamp *GetHouseholdTimeAtStampResponse `xml:"GetHouseholdTimeAtStampResponse,omitempty"` GetTimeNow *GetTimeNowResponse `xml:"GetTimeNowResponse,omitempty"` CreateAlarm *CreateAlarmResponse `xml:"CreateAlarmResponse,omitempty"` UpdateAlarm *UpdateAlarmResponse `xml:"UpdateAlarmResponse,omitempty"` DestroyAlarm *DestroyAlarmResponse `xml:"DestroyAlarmResponse,omitempty"` ListAlarms *ListAlarmsResponse `xml:"ListAlarmsResponse,omitempty"` SetDailyIndexRefreshTime *SetDailyIndexRefreshTimeResponse `xml:"SetDailyIndexRefreshTimeResponse,omitempty"` GetDailyIndexRefreshTime *GetDailyIndexRefreshTimeResponse `xml:"GetDailyIndexRefreshTimeResponse,omitempty"` }
type CreateAlarmArgs ¶
type CreateAlarmArgs struct { Xmlns string `xml:"xmlns:u,attr"` StartLocalTime string `xml:"StartLocalTime"` Duration string `xml:"Duration"` // Allowed Value: ONCE // Allowed Value: WEEKDAYS // Allowed Value: WEEKENDS // Allowed Value: DAILY Recurrence string `xml:"Recurrence"` Enabled bool `xml:"Enabled"` RoomUUID string `xml:"RoomUUID"` ProgramURI string `xml:"ProgramURI"` ProgramMetaData string `xml:"ProgramMetaData"` // Allowed Value: NORMAL // Allowed Value: REPEAT_ALL // Allowed Value: SHUFFLE_NOREPEAT // Allowed Value: SHUFFLE PlayMode string `xml:"PlayMode"` Volume uint16 `xml:"Volume"` IncludeLinkedZones bool `xml:"IncludeLinkedZones"` }
type CreateAlarmResponse ¶
type CreateAlarmResponse struct {
AssignedID uint32 `xml:"AssignedID"`
}
type DestroyAlarmArgs ¶
type DestroyAlarmResponse ¶
type DestroyAlarmResponse struct { }
type EnvelopeResponse ¶
type EnvelopeResponse struct { XMLName xml.Name `xml:"Envelope"` Xmlns string `xml:"xmlns:s,attr"` EncodingStyle string `xml:"encodingStyle,attr"` Body BodyResponse `xml:"Body"` }
type GetDailyIndexRefreshTimeArgs ¶
type GetDailyIndexRefreshTimeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetDailyIndexRefreshTimeResponse ¶
type GetDailyIndexRefreshTimeResponse struct {
CurrentDailyIndexRefreshTime string `xml:"CurrentDailyIndexRefreshTime"`
}
type GetFormatArgs ¶
type GetFormatArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetFormatResponse ¶
type GetHouseholdTimeAtStampResponse ¶
type GetHouseholdTimeAtStampResponse struct {
HouseholdUTCTime string `xml:"HouseholdUTCTime"`
}
type GetTimeNowArgs ¶
type GetTimeNowArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetTimeNowResponse ¶
type GetTimeServerArgs ¶
type GetTimeServerArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetTimeServerResponse ¶
type GetTimeServerResponse struct {
CurrentTimeServer string `xml:"CurrentTimeServer"`
}
type GetTimeZoneAndRuleArgs ¶
type GetTimeZoneAndRuleArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetTimeZoneArgs ¶
type GetTimeZoneArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetTimeZoneResponse ¶
type GetTimeZoneRuleArgs ¶
type GetTimeZoneRuleResponse ¶
type GetTimeZoneRuleResponse struct {
TimeZone string `xml:"TimeZone"`
}
type ListAlarmsArgs ¶
type ListAlarmsArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type ListAlarmsResponse ¶
type Service ¶
func NewService ¶
func (*Service) CreateAlarm ¶
func (s *Service) CreateAlarm(httpClient *http.Client, args *CreateAlarmArgs) (*CreateAlarmResponse, error)
func (*Service) DestroyAlarm ¶
func (s *Service) DestroyAlarm(httpClient *http.Client, args *DestroyAlarmArgs) (*DestroyAlarmResponse, error)
func (*Service) GetDailyIndexRefreshTime ¶
func (s *Service) GetDailyIndexRefreshTime(httpClient *http.Client, args *GetDailyIndexRefreshTimeArgs) (*GetDailyIndexRefreshTimeResponse, error)
func (*Service) GetFormat ¶
func (s *Service) GetFormat(httpClient *http.Client, args *GetFormatArgs) (*GetFormatResponse, error)
func (*Service) GetHouseholdTimeAtStamp ¶
func (s *Service) GetHouseholdTimeAtStamp(httpClient *http.Client, args *GetHouseholdTimeAtStampArgs) (*GetHouseholdTimeAtStampResponse, error)
func (*Service) GetTimeNow ¶
func (s *Service) GetTimeNow(httpClient *http.Client, args *GetTimeNowArgs) (*GetTimeNowResponse, error)
func (*Service) GetTimeServer ¶
func (s *Service) GetTimeServer(httpClient *http.Client, args *GetTimeServerArgs) (*GetTimeServerResponse, error)
func (*Service) GetTimeZone ¶
func (s *Service) GetTimeZone(httpClient *http.Client, args *GetTimeZoneArgs) (*GetTimeZoneResponse, error)
func (*Service) GetTimeZoneAndRule ¶
func (s *Service) GetTimeZoneAndRule(httpClient *http.Client, args *GetTimeZoneAndRuleArgs) (*GetTimeZoneAndRuleResponse, error)
func (*Service) GetTimeZoneRule ¶
func (s *Service) GetTimeZoneRule(httpClient *http.Client, args *GetTimeZoneRuleArgs) (*GetTimeZoneRuleResponse, error)
func (*Service) ListAlarms ¶
func (s *Service) ListAlarms(httpClient *http.Client, args *ListAlarmsArgs) (*ListAlarmsResponse, error)
func (*Service) SetDailyIndexRefreshTime ¶
func (s *Service) SetDailyIndexRefreshTime(httpClient *http.Client, args *SetDailyIndexRefreshTimeArgs) (*SetDailyIndexRefreshTimeResponse, error)
func (*Service) SetFormat ¶
func (s *Service) SetFormat(httpClient *http.Client, args *SetFormatArgs) (*SetFormatResponse, error)
func (*Service) SetTimeNow ¶
func (s *Service) SetTimeNow(httpClient *http.Client, args *SetTimeNowArgs) (*SetTimeNowResponse, error)
func (*Service) SetTimeServer ¶
func (s *Service) SetTimeServer(httpClient *http.Client, args *SetTimeServerArgs) (*SetTimeServerResponse, error)
func (*Service) SetTimeZone ¶
func (s *Service) SetTimeZone(httpClient *http.Client, args *SetTimeZoneArgs) (*SetTimeZoneResponse, error)
func (*Service) UpdateAlarm ¶
func (s *Service) UpdateAlarm(httpClient *http.Client, args *UpdateAlarmArgs) (*UpdateAlarmResponse, error)
type SetDailyIndexRefreshTimeResponse ¶
type SetDailyIndexRefreshTimeResponse struct { }
type SetFormatArgs ¶
type SetFormatResponse ¶
type SetFormatResponse struct { }
type SetTimeNowArgs ¶
type SetTimeNowResponse ¶
type SetTimeNowResponse struct { }
type SetTimeServerArgs ¶
type SetTimeServerResponse ¶
type SetTimeServerResponse struct { }
type SetTimeZoneArgs ¶
type SetTimeZoneResponse ¶
type SetTimeZoneResponse struct { }
type UpdateAlarmArgs ¶
type UpdateAlarmArgs struct { Xmlns string `xml:"xmlns:u,attr"` ID uint32 `xml:"ID"` StartLocalTime string `xml:"StartLocalTime"` Duration string `xml:"Duration"` // Allowed Value: ONCE // Allowed Value: WEEKDAYS // Allowed Value: WEEKENDS // Allowed Value: DAILY Recurrence string `xml:"Recurrence"` Enabled bool `xml:"Enabled"` RoomUUID string `xml:"RoomUUID"` ProgramURI string `xml:"ProgramURI"` ProgramMetaData string `xml:"ProgramMetaData"` // Allowed Value: NORMAL // Allowed Value: REPEAT_ALL // Allowed Value: SHUFFLE_NOREPEAT // Allowed Value: SHUFFLE PlayMode string `xml:"PlayMode"` Volume uint16 `xml:"Volume"` IncludeLinkedZones bool `xml:"IncludeLinkedZones"` }
type UpdateAlarmResponse ¶
type UpdateAlarmResponse struct { }
Click to show internal directories.
Click to hide internal directories.