Documentation
¶
Index ¶
- type Body
- type BodyResponse
- type BrowseArgs
- type BrowseResponse
- type CreateObjectArgs
- type CreateObjectResponse
- type DestroyObjectArgs
- type DestroyObjectResponse
- type Envelope
- type EnvelopeResponse
- type FindPrefixArgs
- type FindPrefixResponse
- type GetAlbumArtistDisplayOptionArgs
- type GetAlbumArtistDisplayOptionResponse
- type GetAllPrefixLocationsArgs
- type GetAllPrefixLocationsResponse
- type GetBrowseableArgs
- type GetBrowseableResponse
- type GetLastIndexChangeArgs
- type GetLastIndexChangeResponse
- type GetSearchCapabilitiesArgs
- type GetSearchCapabilitiesResponse
- type GetShareIndexInProgressArgs
- type GetShareIndexInProgressResponse
- type GetSortCapabilitiesArgs
- type GetSortCapabilitiesResponse
- type GetSystemUpdateIDArgs
- type GetSystemUpdateIDResponse
- type RefreshShareIndexArgs
- type RefreshShareIndexResponse
- type RequestResortArgs
- type RequestResortResponse
- type Service
- func (s *Service) Browse(httpClient *http.Client, args *BrowseArgs) (*BrowseResponse, error)
- func (s *Service) CreateObject(httpClient *http.Client, args *CreateObjectArgs) (*CreateObjectResponse, error)
- func (s *Service) DestroyObject(httpClient *http.Client, args *DestroyObjectArgs) (*DestroyObjectResponse, error)
- func (s *Service) FindPrefix(httpClient *http.Client, args *FindPrefixArgs) (*FindPrefixResponse, error)
- func (s *Service) GetAlbumArtistDisplayOption(httpClient *http.Client, args *GetAlbumArtistDisplayOptionArgs) (*GetAlbumArtistDisplayOptionResponse, error)
- func (s *Service) GetAllPrefixLocations(httpClient *http.Client, args *GetAllPrefixLocationsArgs) (*GetAllPrefixLocationsResponse, error)
- func (s *Service) GetBrowseable(httpClient *http.Client, args *GetBrowseableArgs) (*GetBrowseableResponse, error)
- func (s *Service) GetLastIndexChange(httpClient *http.Client, args *GetLastIndexChangeArgs) (*GetLastIndexChangeResponse, error)
- func (s *Service) GetSearchCapabilities(httpClient *http.Client, args *GetSearchCapabilitiesArgs) (*GetSearchCapabilitiesResponse, error)
- func (s *Service) GetShareIndexInProgress(httpClient *http.Client, args *GetShareIndexInProgressArgs) (*GetShareIndexInProgressResponse, error)
- func (s *Service) GetSortCapabilities(httpClient *http.Client, args *GetSortCapabilitiesArgs) (*GetSortCapabilitiesResponse, error)
- func (s *Service) GetSystemUpdateID(httpClient *http.Client, args *GetSystemUpdateIDArgs) (*GetSystemUpdateIDResponse, error)
- func (s *Service) RefreshShareIndex(httpClient *http.Client, args *RefreshShareIndexArgs) (*RefreshShareIndexResponse, error)
- func (s *Service) RequestResort(httpClient *http.Client, args *RequestResortArgs) (*RequestResortResponse, error)
- func (s *Service) SetBrowseable(httpClient *http.Client, args *SetBrowseableArgs) (*SetBrowseableResponse, error)
- func (s *Service) UpdateObject(httpClient *http.Client, args *UpdateObjectArgs) (*UpdateObjectResponse, error)
- type SetBrowseableArgs
- type SetBrowseableResponse
- type UpdateObjectArgs
- type UpdateObjectResponse
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"`
GetSearchCapabilities *GetSearchCapabilitiesArgs `xml:"u:GetSearchCapabilities,omitempty"`
GetSortCapabilities *GetSortCapabilitiesArgs `xml:"u:GetSortCapabilities,omitempty"`
GetSystemUpdateID *GetSystemUpdateIDArgs `xml:"u:GetSystemUpdateID,omitempty"`
GetAlbumArtistDisplayOption *GetAlbumArtistDisplayOptionArgs `xml:"u:GetAlbumArtistDisplayOption,omitempty"`
GetLastIndexChange *GetLastIndexChangeArgs `xml:"u:GetLastIndexChange,omitempty"`
Browse *BrowseArgs `xml:"u:Browse,omitempty"`
FindPrefix *FindPrefixArgs `xml:"u:FindPrefix,omitempty"`
GetAllPrefixLocations *GetAllPrefixLocationsArgs `xml:"u:GetAllPrefixLocations,omitempty"`
CreateObject *CreateObjectArgs `xml:"u:CreateObject,omitempty"`
UpdateObject *UpdateObjectArgs `xml:"u:UpdateObject,omitempty"`
DestroyObject *DestroyObjectArgs `xml:"u:DestroyObject,omitempty"`
RequestResort *RequestResortArgs `xml:"u:RequestResort,omitempty"`
GetBrowseable *GetBrowseableArgs `xml:"u:GetBrowseable,omitempty"`
SetBrowseable *SetBrowseableArgs `xml:"u:SetBrowseable,omitempty"`
}
type BodyResponse ¶
type BodyResponse struct {
XMLName xml.Name `xml:"Body"`
GetSearchCapabilities *GetSearchCapabilitiesResponse `xml:"GetSearchCapabilitiesResponse,omitempty"`
GetSortCapabilities *GetSortCapabilitiesResponse `xml:"GetSortCapabilitiesResponse,omitempty"`
GetSystemUpdateID *GetSystemUpdateIDResponse `xml:"GetSystemUpdateIDResponse,omitempty"`
GetAlbumArtistDisplayOption *GetAlbumArtistDisplayOptionResponse `xml:"GetAlbumArtistDisplayOptionResponse,omitempty"`
GetLastIndexChange *GetLastIndexChangeResponse `xml:"GetLastIndexChangeResponse,omitempty"`
Browse *BrowseResponse `xml:"BrowseResponse,omitempty"`
FindPrefix *FindPrefixResponse `xml:"FindPrefixResponse,omitempty"`
GetAllPrefixLocations *GetAllPrefixLocationsResponse `xml:"GetAllPrefixLocationsResponse,omitempty"`
CreateObject *CreateObjectResponse `xml:"CreateObjectResponse,omitempty"`
UpdateObject *UpdateObjectResponse `xml:"UpdateObjectResponse,omitempty"`
DestroyObject *DestroyObjectResponse `xml:"DestroyObjectResponse,omitempty"`
RequestResort *RequestResortResponse `xml:"RequestResortResponse,omitempty"`
GetBrowseable *GetBrowseableResponse `xml:"GetBrowseableResponse,omitempty"`
SetBrowseable *SetBrowseableResponse `xml:"SetBrowseableResponse,omitempty"`
}
type BrowseArgs ¶
type BrowseArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
ObjectID string `xml:"ObjectID"`
// Allowed Value: BrowseMetadata
// Allowed Value: BrowseDirectChildren
BrowseFlag string `xml:"BrowseFlag"`
Filter string `xml:"Filter"`
StartingIndex uint32 `xml:"StartingIndex"`
RequestedCount uint32 `xml:"RequestedCount"`
SortCriteria string `xml:"SortCriteria"`
}
type BrowseResponse ¶
type CreateObjectArgs ¶
type CreateObjectResponse ¶
type DestroyObjectArgs ¶
type DestroyObjectResponse ¶
type DestroyObjectResponse 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 FindPrefixArgs ¶
type FindPrefixResponse ¶
type GetAlbumArtistDisplayOptionArgs ¶
type GetAlbumArtistDisplayOptionArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetAlbumArtistDisplayOptionResponse ¶
type GetAlbumArtistDisplayOptionResponse struct {
AlbumArtistDisplayOption string `xml:"AlbumArtistDisplayOption"`
}
type GetBrowseableArgs ¶
type GetBrowseableArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetBrowseableResponse ¶
type GetBrowseableResponse struct {
IsBrowseable bool `xml:"IsBrowseable"`
}
type GetLastIndexChangeArgs ¶
type GetLastIndexChangeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetLastIndexChangeResponse ¶
type GetLastIndexChangeResponse struct {
LastIndexChange string `xml:"LastIndexChange"`
}
type GetSearchCapabilitiesArgs ¶
type GetSearchCapabilitiesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetSearchCapabilitiesResponse ¶
type GetSearchCapabilitiesResponse struct {
SearchCaps string `xml:"SearchCaps"`
}
type GetShareIndexInProgressArgs ¶
type GetShareIndexInProgressArgs struct {
}
type GetShareIndexInProgressResponse ¶
type GetShareIndexInProgressResponse struct {
}
type GetSortCapabilitiesArgs ¶
type GetSortCapabilitiesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetSortCapabilitiesResponse ¶
type GetSortCapabilitiesResponse struct {
SortCaps string `xml:"SortCaps"`
}
type GetSystemUpdateIDArgs ¶
type GetSystemUpdateIDArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetSystemUpdateIDResponse ¶
type GetSystemUpdateIDResponse struct {
Id uint32 `xml:"Id"`
}
type RefreshShareIndexArgs ¶
type RefreshShareIndexArgs struct {
}
type RefreshShareIndexResponse ¶
type RefreshShareIndexResponse struct {
}
type RequestResortArgs ¶
type RequestResortResponse ¶
type RequestResortResponse struct {
}
type Service ¶
func NewService ¶
func (*Service) Browse ¶
func (s *Service) Browse(httpClient *http.Client, args *BrowseArgs) (*BrowseResponse, error)
func (*Service) CreateObject ¶
func (s *Service) CreateObject(httpClient *http.Client, args *CreateObjectArgs) (*CreateObjectResponse, error)
func (*Service) DestroyObject ¶
func (s *Service) DestroyObject(httpClient *http.Client, args *DestroyObjectArgs) (*DestroyObjectResponse, error)
func (*Service) FindPrefix ¶
func (s *Service) FindPrefix(httpClient *http.Client, args *FindPrefixArgs) (*FindPrefixResponse, error)
func (*Service) GetAlbumArtistDisplayOption ¶
func (s *Service) GetAlbumArtistDisplayOption(httpClient *http.Client, args *GetAlbumArtistDisplayOptionArgs) (*GetAlbumArtistDisplayOptionResponse, error)
func (*Service) GetAllPrefixLocations ¶
func (s *Service) GetAllPrefixLocations(httpClient *http.Client, args *GetAllPrefixLocationsArgs) (*GetAllPrefixLocationsResponse, error)
func (*Service) GetBrowseable ¶
func (s *Service) GetBrowseable(httpClient *http.Client, args *GetBrowseableArgs) (*GetBrowseableResponse, error)
func (*Service) GetLastIndexChange ¶
func (s *Service) GetLastIndexChange(httpClient *http.Client, args *GetLastIndexChangeArgs) (*GetLastIndexChangeResponse, error)
func (*Service) GetSearchCapabilities ¶
func (s *Service) GetSearchCapabilities(httpClient *http.Client, args *GetSearchCapabilitiesArgs) (*GetSearchCapabilitiesResponse, error)
func (*Service) GetShareIndexInProgress ¶
func (s *Service) GetShareIndexInProgress(httpClient *http.Client, args *GetShareIndexInProgressArgs) (*GetShareIndexInProgressResponse, error)
func (*Service) GetSortCapabilities ¶
func (s *Service) GetSortCapabilities(httpClient *http.Client, args *GetSortCapabilitiesArgs) (*GetSortCapabilitiesResponse, error)
func (*Service) GetSystemUpdateID ¶
func (s *Service) GetSystemUpdateID(httpClient *http.Client, args *GetSystemUpdateIDArgs) (*GetSystemUpdateIDResponse, error)
func (*Service) RefreshShareIndex ¶
func (s *Service) RefreshShareIndex(httpClient *http.Client, args *RefreshShareIndexArgs) (*RefreshShareIndexResponse, error)
func (*Service) RequestResort ¶
func (s *Service) RequestResort(httpClient *http.Client, args *RequestResortArgs) (*RequestResortResponse, error)
func (*Service) SetBrowseable ¶
func (s *Service) SetBrowseable(httpClient *http.Client, args *SetBrowseableArgs) (*SetBrowseableResponse, error)
func (*Service) UpdateObject ¶
func (s *Service) UpdateObject(httpClient *http.Client, args *UpdateObjectArgs) (*UpdateObjectResponse, error)
type SetBrowseableArgs ¶
type SetBrowseableResponse ¶
type SetBrowseableResponse struct {
}
type UpdateObjectArgs ¶
type UpdateObjectResponse ¶
type UpdateObjectResponse struct {
}
Click to show internal directories.
Click to hide internal directories.