xiamiatrist

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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"`


	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 (XiamiContentArtistInfoQueryRequest) GetGender

func (XiamiContentArtistInfoQueryRequest) GetGenre

func (XiamiContentArtistInfoQueryRequest) GetLanguage

func (r XiamiContentArtistInfoQueryRequest) GetLanguage() int64

func (XiamiContentArtistInfoQueryRequest) GetPageReq

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL