Documentation ¶
Index ¶
- type ArtistDto
- type Page
- type Paging
- type PagingVo
- type ResultCode
- type XiamiContentArtistInfoQueryAPIResponse
- type XiamiContentArtistInfoQueryRequest
- func (r XiamiContentArtistInfoQueryRequest) GetApiMethodName() string
- func (r XiamiContentArtistInfoQueryRequest) GetApiParams() url.Values
- func (r XiamiContentArtistInfoQueryRequest) GetGender() int64
- func (r XiamiContentArtistInfoQueryRequest) GetGenre() int64
- func (r XiamiContentArtistInfoQueryRequest) GetLanguage() int64
- func (r XiamiContentArtistInfoQueryRequest) GetPageReq() *PagingVo
- func (r *XiamiContentArtistInfoQueryRequest) SetGender(gender int64) error
- func (r *XiamiContentArtistInfoQueryRequest) SetGenre(genre int64) error
- func (r *XiamiContentArtistInfoQueryRequest) SetLanguage(language int64) error
- func (r *XiamiContentArtistInfoQueryRequest) SetPageReq(pageReq *PagingVo) error
- type XiamiContentArtistInfoQueryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtistDto ¶
type ArtistDto struct { Area string `json:"area,omitempty" xml:"area,omitempty"` Gender string `json:"gender,omitempty" xml:"gender,omitempty"` Alias string `json:"alias,omitempty" xml:"alias,omitempty"` ArtistName string `json:"artist_name,omitempty" xml:"artist_name,omitempty"` ArtistLogo string `json:"artist_logo,omitempty" xml:"artist_logo,omitempty"` ArtistId int64 `json:"artist_id,omitempty" xml:"artist_id,omitempty"` }
ArtistDto
type Page ¶
type Page struct { Artists []ArtistDto `json:"artists,omitempty" xml:"artists,omitempty"` Count int64 `json:"count,omitempty" xml:"count,omitempty"` Paging *Paging `json:"paging,omitempty" xml:"paging,omitempty"` }
Page
type Paging ¶
type Paging struct { Pages int64 `json:"pages,omitempty" xml:"pages,omitempty"` Count int64 `json:"count,omitempty" xml:"count,omitempty"` PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` Page int64 `json:"page,omitempty" xml:"page,omitempty"` }
Paging
type PagingVo ¶
type PagingVo struct { PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` Page int64 `json:"page,omitempty" xml:"page,omitempty"` }
PagingVo
type ResultCode ¶
type ResultCode struct { Msg string `json:"msg,omitempty" xml:"msg,omitempty"` Code int64 `json:"code,omitempty" xml:"code,omitempty"` }
ResultCode
type XiamiContentArtistInfoQueryAPIResponse ¶
type XiamiContentArtistInfoQueryAPIResponse struct { model.CommonResponse XiamiContentArtistInfoQueryResponse }
搜索艺人列表 APIResponse xiami.content.artist.info.query
根据查询条件,搜索相关艺人列表
type XiamiContentArtistInfoQueryRequest ¶
type XiamiContentArtistInfoQueryRequest struct { model.Params // contains filtered or unexported fields }
搜索艺人列表 APIRequest xiami.content.artist.info.query
根据查询条件,搜索相关艺人列表
func NewXiamiContentArtistInfoQueryRequest ¶
func NewXiamiContentArtistInfoQueryRequest() *XiamiContentArtistInfoQueryRequest
func (XiamiContentArtistInfoQueryRequest) GetApiMethodName ¶
func (r XiamiContentArtistInfoQueryRequest) GetApiMethodName() string
func (XiamiContentArtistInfoQueryRequest) GetApiParams ¶
func (r XiamiContentArtistInfoQueryRequest) GetApiParams() url.Values
func (XiamiContentArtistInfoQueryRequest) GetGender ¶
func (r XiamiContentArtistInfoQueryRequest) GetGender() int64
func (XiamiContentArtistInfoQueryRequest) GetGenre ¶
func (r XiamiContentArtistInfoQueryRequest) GetGenre() int64
func (XiamiContentArtistInfoQueryRequest) GetLanguage ¶
func (r XiamiContentArtistInfoQueryRequest) GetLanguage() int64
func (XiamiContentArtistInfoQueryRequest) GetPageReq ¶
func (r XiamiContentArtistInfoQueryRequest) GetPageReq() *PagingVo
func (*XiamiContentArtistInfoQueryRequest) SetGender ¶
func (r *XiamiContentArtistInfoQueryRequest) SetGender(gender int64) error
func (*XiamiContentArtistInfoQueryRequest) SetGenre ¶
func (r *XiamiContentArtistInfoQueryRequest) SetGenre(genre int64) error
func (*XiamiContentArtistInfoQueryRequest) SetLanguage ¶
func (r *XiamiContentArtistInfoQueryRequest) SetLanguage(language int64) error
func (*XiamiContentArtistInfoQueryRequest) SetPageReq ¶
func (r *XiamiContentArtistInfoQueryRequest) SetPageReq(pageReq *PagingVo) error
type XiamiContentArtistInfoQueryResponse ¶
type XiamiContentArtistInfoQueryResponse struct { XMLName xml.Name `xml:"xiami_content_artist_info_query_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ArtistPage *Page `json:"artist_page,omitempty" xml:"artist_page,omitempty"` ResultCode *ResultCode `json:"result_code,omitempty" xml:"result_code,omitempty"` }
Click to show internal directories.
Click to hide internal directories.