interaction

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseResp_Msg_DEFAULT string
View Source
var CommentActionRequest_CommentId_DEFAULT int64
View Source
var CommentActionRequest_CommentText_DEFAULT string
View Source
var CommentCountRequest_Token_DEFAULT string
View Source
var Comment_User_DEFAULT *user.User
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var Video_Author_DEFAULT *user.User

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	Code int64   `thrift:"code,1,required" frugal:"1,required,i64" json:"code"`
	Msg  *string `thrift:"msg,2,optional" frugal:"2,optional,string" json:"msg,omitempty"`
}
var CommentActionResponse_Base_DEFAULT *BaseResp
var CommentCountResponse_Base_DEFAULT *BaseResp
var CommentListResponse_Base_DEFAULT *BaseResp
var FavoriteActionResponse_Base_DEFAULT *BaseResp
var FavoriteListResponse_Base_DEFAULT *BaseResp
var IsFavoriteResponse_Base_DEFAULT *BaseResp
var UserFavoriteCountResponse_Base_DEFAULT *BaseResp
var UserTotalFavoritedResponse_Base_DEFAULT *BaseResp
var VideoFavoritedCountResponse_Base_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

func (p *BaseResp) DeepEqual(ano *BaseResp) bool

func (*BaseResp) FastRead

func (p *BaseResp) FastRead(buf []byte) (int, error)

func (*BaseResp) FastReadField1

func (p *BaseResp) FastReadField1(buf []byte) (int, error)

func (*BaseResp) FastReadField2

func (p *BaseResp) FastReadField2(buf []byte) (int, error)

func (*BaseResp) FastWrite

func (p *BaseResp) FastWrite(buf []byte) int

for compatibility

func (*BaseResp) FastWriteNocopy

func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*BaseResp) Field1DeepEqual

func (p *BaseResp) Field1DeepEqual(src int64) bool

func (*BaseResp) Field2DeepEqual

func (p *BaseResp) Field2DeepEqual(src *string) bool

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

func (p *BaseResp) GetMsg() (v string)

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) IsSetMsg

func (p *BaseResp) IsSetMsg() bool

func (*BaseResp) Read

func (p *BaseResp) Read(iprot thrift.TProtocol) (err error)

func (*BaseResp) ReadField1

func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error

func (*BaseResp) ReadField2

func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val *string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

func (p *BaseResp) Write(oprot thrift.TProtocol) (err error)

type Comment

type Comment struct {
	Id         int64      `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	User       *user.User `thrift:"user,2,required" frugal:"2,required,user.User" json:"user"`
	Content    string     `thrift:"content,3,required" frugal:"3,required,string" json:"content"`
	CreateDate string     `thrift:"create_date,4,required" frugal:"4,required,string" json:"create_date"`
}
var CommentActionResponse_Comment_DEFAULT *Comment

func NewComment

func NewComment() *Comment

func (*Comment) BLength

func (p *Comment) BLength() int

func (*Comment) DeepEqual

func (p *Comment) DeepEqual(ano *Comment) bool

func (*Comment) FastRead

func (p *Comment) FastRead(buf []byte) (int, error)

func (*Comment) FastReadField1

func (p *Comment) FastReadField1(buf []byte) (int, error)

func (*Comment) FastReadField2

func (p *Comment) FastReadField2(buf []byte) (int, error)

func (*Comment) FastReadField3

func (p *Comment) FastReadField3(buf []byte) (int, error)

func (*Comment) FastReadField4

func (p *Comment) FastReadField4(buf []byte) (int, error)

func (*Comment) FastWrite

func (p *Comment) FastWrite(buf []byte) int

for compatibility

func (*Comment) FastWriteNocopy

func (p *Comment) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Comment) Field1DeepEqual

func (p *Comment) Field1DeepEqual(src int64) bool

func (*Comment) Field2DeepEqual

func (p *Comment) Field2DeepEqual(src *user.User) bool

func (*Comment) Field3DeepEqual

func (p *Comment) Field3DeepEqual(src string) bool

func (*Comment) Field4DeepEqual

func (p *Comment) Field4DeepEqual(src string) bool

func (*Comment) GetContent

func (p *Comment) GetContent() (v string)

func (*Comment) GetCreateDate

func (p *Comment) GetCreateDate() (v string)

func (*Comment) GetId

func (p *Comment) GetId() (v int64)

func (*Comment) GetUser

func (p *Comment) GetUser() (v *user.User)

func (*Comment) InitDefault

func (p *Comment) InitDefault()

func (*Comment) IsSetUser

func (p *Comment) IsSetUser() bool

func (*Comment) Read

func (p *Comment) Read(iprot thrift.TProtocol) (err error)

func (*Comment) ReadField1

func (p *Comment) ReadField1(iprot thrift.TProtocol) error

func (*Comment) ReadField2

func (p *Comment) ReadField2(iprot thrift.TProtocol) error

func (*Comment) ReadField3

func (p *Comment) ReadField3(iprot thrift.TProtocol) error

func (*Comment) ReadField4

func (p *Comment) ReadField4(iprot thrift.TProtocol) error

func (*Comment) SetContent

func (p *Comment) SetContent(val string)

func (*Comment) SetCreateDate

func (p *Comment) SetCreateDate(val string)

func (*Comment) SetId

func (p *Comment) SetId(val int64)

func (*Comment) SetUser

func (p *Comment) SetUser(val *user.User)

func (*Comment) String

func (p *Comment) String() string

func (*Comment) Write

func (p *Comment) Write(oprot thrift.TProtocol) (err error)

type CommentActionRequest

type CommentActionRequest struct {
	VideoId     int64   `thrift:"video_id,1,required" frugal:"1,required,i64" json:"video_id"`
	ActionType  int64   `thrift:"action_type,2,required" frugal:"2,required,i64" json:"action_type"`
	Token       string  `thrift:"token,3,required" frugal:"3,required,string" json:"token"`
	CommentText *string `thrift:"comment_text,4,optional" frugal:"4,optional,string" json:"comment_text,omitempty"`
	CommentId   *int64  `thrift:"comment_id,5,optional" frugal:"5,optional,i64" json:"comment_id,omitempty"`
}
var InteractionServiceCommentActionArgs_Req_DEFAULT *CommentActionRequest

func NewCommentActionRequest

func NewCommentActionRequest() *CommentActionRequest

func (*CommentActionRequest) BLength

func (p *CommentActionRequest) BLength() int

func (*CommentActionRequest) DeepEqual

func (p *CommentActionRequest) DeepEqual(ano *CommentActionRequest) bool

func (*CommentActionRequest) FastRead

func (p *CommentActionRequest) FastRead(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField1

func (p *CommentActionRequest) FastReadField1(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField2

func (p *CommentActionRequest) FastReadField2(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField3

func (p *CommentActionRequest) FastReadField3(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField4

func (p *CommentActionRequest) FastReadField4(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField5

func (p *CommentActionRequest) FastReadField5(buf []byte) (int, error)

func (*CommentActionRequest) FastWrite

func (p *CommentActionRequest) FastWrite(buf []byte) int

for compatibility

func (*CommentActionRequest) FastWriteNocopy

func (p *CommentActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentActionRequest) Field1DeepEqual

func (p *CommentActionRequest) Field1DeepEqual(src int64) bool

func (*CommentActionRequest) Field2DeepEqual

func (p *CommentActionRequest) Field2DeepEqual(src int64) bool

func (*CommentActionRequest) Field3DeepEqual

func (p *CommentActionRequest) Field3DeepEqual(src string) bool

func (*CommentActionRequest) Field4DeepEqual

func (p *CommentActionRequest) Field4DeepEqual(src *string) bool

func (*CommentActionRequest) Field5DeepEqual

func (p *CommentActionRequest) Field5DeepEqual(src *int64) bool

func (*CommentActionRequest) GetActionType

func (p *CommentActionRequest) GetActionType() (v int64)

func (*CommentActionRequest) GetCommentId

func (p *CommentActionRequest) GetCommentId() (v int64)

func (*CommentActionRequest) GetCommentText

func (p *CommentActionRequest) GetCommentText() (v string)

func (*CommentActionRequest) GetToken

func (p *CommentActionRequest) GetToken() (v string)

func (*CommentActionRequest) GetVideoId

func (p *CommentActionRequest) GetVideoId() (v int64)

func (*CommentActionRequest) InitDefault

func (p *CommentActionRequest) InitDefault()

func (*CommentActionRequest) IsSetCommentId

func (p *CommentActionRequest) IsSetCommentId() bool

func (*CommentActionRequest) IsSetCommentText

func (p *CommentActionRequest) IsSetCommentText() bool

func (*CommentActionRequest) Read

func (p *CommentActionRequest) Read(iprot thrift.TProtocol) (err error)

func (*CommentActionRequest) ReadField1

func (p *CommentActionRequest) ReadField1(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField2

func (p *CommentActionRequest) ReadField2(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField3

func (p *CommentActionRequest) ReadField3(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField4

func (p *CommentActionRequest) ReadField4(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField5

func (p *CommentActionRequest) ReadField5(iprot thrift.TProtocol) error

func (*CommentActionRequest) SetActionType

func (p *CommentActionRequest) SetActionType(val int64)

func (*CommentActionRequest) SetCommentId

func (p *CommentActionRequest) SetCommentId(val *int64)

func (*CommentActionRequest) SetCommentText

func (p *CommentActionRequest) SetCommentText(val *string)

func (*CommentActionRequest) SetToken

func (p *CommentActionRequest) SetToken(val string)

func (*CommentActionRequest) SetVideoId

func (p *CommentActionRequest) SetVideoId(val int64)

func (*CommentActionRequest) String

func (p *CommentActionRequest) String() string

func (*CommentActionRequest) Write

func (p *CommentActionRequest) Write(oprot thrift.TProtocol) (err error)

type CommentActionResponse

type CommentActionResponse struct {
	Base    *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	Comment *Comment  `thrift:"comment,2,optional" frugal:"2,optional,Comment" json:"comment,omitempty"`
}
var InteractionServiceCommentActionResult_Success_DEFAULT *CommentActionResponse

func NewCommentActionResponse

func NewCommentActionResponse() *CommentActionResponse

func (*CommentActionResponse) BLength

func (p *CommentActionResponse) BLength() int

func (*CommentActionResponse) DeepEqual

func (*CommentActionResponse) FastRead

func (p *CommentActionResponse) FastRead(buf []byte) (int, error)

func (*CommentActionResponse) FastReadField1

func (p *CommentActionResponse) FastReadField1(buf []byte) (int, error)

func (*CommentActionResponse) FastReadField2

func (p *CommentActionResponse) FastReadField2(buf []byte) (int, error)

func (*CommentActionResponse) FastWrite

func (p *CommentActionResponse) FastWrite(buf []byte) int

for compatibility

func (*CommentActionResponse) FastWriteNocopy

func (p *CommentActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentActionResponse) Field1DeepEqual

func (p *CommentActionResponse) Field1DeepEqual(src *BaseResp) bool

func (*CommentActionResponse) Field2DeepEqual

func (p *CommentActionResponse) Field2DeepEqual(src *Comment) bool

func (*CommentActionResponse) GetBase

func (p *CommentActionResponse) GetBase() (v *BaseResp)

func (*CommentActionResponse) GetComment

func (p *CommentActionResponse) GetComment() (v *Comment)

func (*CommentActionResponse) InitDefault

func (p *CommentActionResponse) InitDefault()

func (*CommentActionResponse) IsSetBase

func (p *CommentActionResponse) IsSetBase() bool

func (*CommentActionResponse) IsSetComment

func (p *CommentActionResponse) IsSetComment() bool

func (*CommentActionResponse) Read

func (p *CommentActionResponse) Read(iprot thrift.TProtocol) (err error)

func (*CommentActionResponse) ReadField1

func (p *CommentActionResponse) ReadField1(iprot thrift.TProtocol) error

func (*CommentActionResponse) ReadField2

func (p *CommentActionResponse) ReadField2(iprot thrift.TProtocol) error

func (*CommentActionResponse) SetBase

func (p *CommentActionResponse) SetBase(val *BaseResp)

func (*CommentActionResponse) SetComment

func (p *CommentActionResponse) SetComment(val *Comment)

func (*CommentActionResponse) String

func (p *CommentActionResponse) String() string

func (*CommentActionResponse) Write

func (p *CommentActionResponse) Write(oprot thrift.TProtocol) (err error)

type CommentCountRequest

type CommentCountRequest struct {
	VideoId int64   `thrift:"video_id,1,required" frugal:"1,required,i64" json:"video_id"`
	Token   *string `thrift:"token,2,optional" frugal:"2,optional,string" json:"token,omitempty"`
}
var InteractionServiceCommentCountArgs_Req_DEFAULT *CommentCountRequest

func NewCommentCountRequest

func NewCommentCountRequest() *CommentCountRequest

func (*CommentCountRequest) BLength

func (p *CommentCountRequest) BLength() int

func (*CommentCountRequest) DeepEqual

func (p *CommentCountRequest) DeepEqual(ano *CommentCountRequest) bool

func (*CommentCountRequest) FastRead

func (p *CommentCountRequest) FastRead(buf []byte) (int, error)

func (*CommentCountRequest) FastReadField1

func (p *CommentCountRequest) FastReadField1(buf []byte) (int, error)

func (*CommentCountRequest) FastReadField2

func (p *CommentCountRequest) FastReadField2(buf []byte) (int, error)

func (*CommentCountRequest) FastWrite

func (p *CommentCountRequest) FastWrite(buf []byte) int

for compatibility

func (*CommentCountRequest) FastWriteNocopy

func (p *CommentCountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentCountRequest) Field1DeepEqual

func (p *CommentCountRequest) Field1DeepEqual(src int64) bool

func (*CommentCountRequest) Field2DeepEqual

func (p *CommentCountRequest) Field2DeepEqual(src *string) bool

func (*CommentCountRequest) GetToken

func (p *CommentCountRequest) GetToken() (v string)

func (*CommentCountRequest) GetVideoId

func (p *CommentCountRequest) GetVideoId() (v int64)

func (*CommentCountRequest) InitDefault

func (p *CommentCountRequest) InitDefault()

func (*CommentCountRequest) IsSetToken

func (p *CommentCountRequest) IsSetToken() bool

func (*CommentCountRequest) Read

func (p *CommentCountRequest) Read(iprot thrift.TProtocol) (err error)

func (*CommentCountRequest) ReadField1

func (p *CommentCountRequest) ReadField1(iprot thrift.TProtocol) error

func (*CommentCountRequest) ReadField2

func (p *CommentCountRequest) ReadField2(iprot thrift.TProtocol) error

func (*CommentCountRequest) SetToken

func (p *CommentCountRequest) SetToken(val *string)

func (*CommentCountRequest) SetVideoId

func (p *CommentCountRequest) SetVideoId(val int64)

func (*CommentCountRequest) String

func (p *CommentCountRequest) String() string

func (*CommentCountRequest) Write

func (p *CommentCountRequest) Write(oprot thrift.TProtocol) (err error)

type CommentCountResponse

type CommentCountResponse struct {
	Base         *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	CommentCount int64     `thrift:"comment_count,2,required" frugal:"2,required,i64" json:"comment_count"`
}
var InteractionServiceCommentCountResult_Success_DEFAULT *CommentCountResponse

func NewCommentCountResponse

func NewCommentCountResponse() *CommentCountResponse

func (*CommentCountResponse) BLength

func (p *CommentCountResponse) BLength() int

func (*CommentCountResponse) DeepEqual

func (p *CommentCountResponse) DeepEqual(ano *CommentCountResponse) bool

func (*CommentCountResponse) FastRead

func (p *CommentCountResponse) FastRead(buf []byte) (int, error)

func (*CommentCountResponse) FastReadField1

func (p *CommentCountResponse) FastReadField1(buf []byte) (int, error)

func (*CommentCountResponse) FastReadField2

func (p *CommentCountResponse) FastReadField2(buf []byte) (int, error)

func (*CommentCountResponse) FastWrite

func (p *CommentCountResponse) FastWrite(buf []byte) int

for compatibility

func (*CommentCountResponse) FastWriteNocopy

func (p *CommentCountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentCountResponse) Field1DeepEqual

func (p *CommentCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*CommentCountResponse) Field2DeepEqual

func (p *CommentCountResponse) Field2DeepEqual(src int64) bool

func (*CommentCountResponse) GetBase

func (p *CommentCountResponse) GetBase() (v *BaseResp)

func (*CommentCountResponse) GetCommentCount

func (p *CommentCountResponse) GetCommentCount() (v int64)

func (*CommentCountResponse) InitDefault

func (p *CommentCountResponse) InitDefault()

func (*CommentCountResponse) IsSetBase

func (p *CommentCountResponse) IsSetBase() bool

func (*CommentCountResponse) Read

func (p *CommentCountResponse) Read(iprot thrift.TProtocol) (err error)

func (*CommentCountResponse) ReadField1

func (p *CommentCountResponse) ReadField1(iprot thrift.TProtocol) error

func (*CommentCountResponse) ReadField2

func (p *CommentCountResponse) ReadField2(iprot thrift.TProtocol) error

func (*CommentCountResponse) SetBase

func (p *CommentCountResponse) SetBase(val *BaseResp)

func (*CommentCountResponse) SetCommentCount

func (p *CommentCountResponse) SetCommentCount(val int64)

func (*CommentCountResponse) String

func (p *CommentCountResponse) String() string

func (*CommentCountResponse) Write

func (p *CommentCountResponse) Write(oprot thrift.TProtocol) (err error)

type CommentListRequest

type CommentListRequest struct {
	VideoId int64  `thrift:"video_id,1,required" frugal:"1,required,i64" json:"video_id"`
	Token   string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var InteractionServiceCommentListArgs_Req_DEFAULT *CommentListRequest

func NewCommentListRequest

func NewCommentListRequest() *CommentListRequest

func (*CommentListRequest) BLength

func (p *CommentListRequest) BLength() int

func (*CommentListRequest) DeepEqual

func (p *CommentListRequest) DeepEqual(ano *CommentListRequest) bool

func (*CommentListRequest) FastRead

func (p *CommentListRequest) FastRead(buf []byte) (int, error)

func (*CommentListRequest) FastReadField1

func (p *CommentListRequest) FastReadField1(buf []byte) (int, error)

func (*CommentListRequest) FastReadField2

func (p *CommentListRequest) FastReadField2(buf []byte) (int, error)

func (*CommentListRequest) FastWrite

func (p *CommentListRequest) FastWrite(buf []byte) int

for compatibility

func (*CommentListRequest) FastWriteNocopy

func (p *CommentListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentListRequest) Field1DeepEqual

func (p *CommentListRequest) Field1DeepEqual(src int64) bool

func (*CommentListRequest) Field2DeepEqual

func (p *CommentListRequest) Field2DeepEqual(src string) bool

func (*CommentListRequest) GetToken

func (p *CommentListRequest) GetToken() (v string)

func (*CommentListRequest) GetVideoId

func (p *CommentListRequest) GetVideoId() (v int64)

func (*CommentListRequest) InitDefault

func (p *CommentListRequest) InitDefault()

func (*CommentListRequest) Read

func (p *CommentListRequest) Read(iprot thrift.TProtocol) (err error)

func (*CommentListRequest) ReadField1

func (p *CommentListRequest) ReadField1(iprot thrift.TProtocol) error

func (*CommentListRequest) ReadField2

func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error

func (*CommentListRequest) SetToken

func (p *CommentListRequest) SetToken(val string)

func (*CommentListRequest) SetVideoId

func (p *CommentListRequest) SetVideoId(val int64)

func (*CommentListRequest) String

func (p *CommentListRequest) String() string

func (*CommentListRequest) Write

func (p *CommentListRequest) Write(oprot thrift.TProtocol) (err error)

type CommentListResponse

type CommentListResponse struct {
	Base        *BaseResp  `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	CommentList []*Comment `thrift:"comment_list,2,required" frugal:"2,required,list<Comment>" json:"comment_list"`
}
var InteractionServiceCommentListResult_Success_DEFAULT *CommentListResponse

func NewCommentListResponse

func NewCommentListResponse() *CommentListResponse

func (*CommentListResponse) BLength

func (p *CommentListResponse) BLength() int

func (*CommentListResponse) DeepEqual

func (p *CommentListResponse) DeepEqual(ano *CommentListResponse) bool

func (*CommentListResponse) FastRead

func (p *CommentListResponse) FastRead(buf []byte) (int, error)

func (*CommentListResponse) FastReadField1

func (p *CommentListResponse) FastReadField1(buf []byte) (int, error)

func (*CommentListResponse) FastReadField2

func (p *CommentListResponse) FastReadField2(buf []byte) (int, error)

func (*CommentListResponse) FastWrite

func (p *CommentListResponse) FastWrite(buf []byte) int

for compatibility

func (*CommentListResponse) FastWriteNocopy

func (p *CommentListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CommentListResponse) Field1DeepEqual

func (p *CommentListResponse) Field1DeepEqual(src *BaseResp) bool

func (*CommentListResponse) Field2DeepEqual

func (p *CommentListResponse) Field2DeepEqual(src []*Comment) bool

func (*CommentListResponse) GetBase

func (p *CommentListResponse) GetBase() (v *BaseResp)

func (*CommentListResponse) GetCommentList

func (p *CommentListResponse) GetCommentList() (v []*Comment)

func (*CommentListResponse) InitDefault

func (p *CommentListResponse) InitDefault()

func (*CommentListResponse) IsSetBase

func (p *CommentListResponse) IsSetBase() bool

func (*CommentListResponse) Read

func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)

func (*CommentListResponse) ReadField1

func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error

func (*CommentListResponse) ReadField2

func (p *CommentListResponse) ReadField2(iprot thrift.TProtocol) error

func (*CommentListResponse) SetBase

func (p *CommentListResponse) SetBase(val *BaseResp)

func (*CommentListResponse) SetCommentList

func (p *CommentListResponse) SetCommentList(val []*Comment)

func (*CommentListResponse) String

func (p *CommentListResponse) String() string

func (*CommentListResponse) Write

func (p *CommentListResponse) Write(oprot thrift.TProtocol) (err error)

type FavoriteActionRequest

type FavoriteActionRequest struct {
	VideoId    int64  `thrift:"video_id,1,required" frugal:"1,required,i64" json:"video_id"`
	ActionType int64  `thrift:"action_type,2,required" frugal:"2,required,i64" json:"action_type"`
	Token      string `thrift:"token,3,required" frugal:"3,required,string" json:"token"`
}
var InteractionServiceFavoriteActionArgs_Req_DEFAULT *FavoriteActionRequest

func NewFavoriteActionRequest

func NewFavoriteActionRequest() *FavoriteActionRequest

func (*FavoriteActionRequest) BLength

func (p *FavoriteActionRequest) BLength() int

func (*FavoriteActionRequest) DeepEqual

func (*FavoriteActionRequest) FastRead

func (p *FavoriteActionRequest) FastRead(buf []byte) (int, error)

func (*FavoriteActionRequest) FastReadField1

func (p *FavoriteActionRequest) FastReadField1(buf []byte) (int, error)

func (*FavoriteActionRequest) FastReadField2

func (p *FavoriteActionRequest) FastReadField2(buf []byte) (int, error)

func (*FavoriteActionRequest) FastReadField3

func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)

func (*FavoriteActionRequest) FastWrite

func (p *FavoriteActionRequest) FastWrite(buf []byte) int

for compatibility

func (*FavoriteActionRequest) FastWriteNocopy

func (p *FavoriteActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FavoriteActionRequest) Field1DeepEqual

func (p *FavoriteActionRequest) Field1DeepEqual(src int64) bool

func (*FavoriteActionRequest) Field2DeepEqual

func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool

func (*FavoriteActionRequest) Field3DeepEqual

func (p *FavoriteActionRequest) Field3DeepEqual(src string) bool

func (*FavoriteActionRequest) GetActionType

func (p *FavoriteActionRequest) GetActionType() (v int64)

func (*FavoriteActionRequest) GetToken

func (p *FavoriteActionRequest) GetToken() (v string)

func (*FavoriteActionRequest) GetVideoId

func (p *FavoriteActionRequest) GetVideoId() (v int64)

func (*FavoriteActionRequest) InitDefault

func (p *FavoriteActionRequest) InitDefault()

func (*FavoriteActionRequest) Read

func (p *FavoriteActionRequest) Read(iprot thrift.TProtocol) (err error)

func (*FavoriteActionRequest) ReadField1

func (p *FavoriteActionRequest) ReadField1(iprot thrift.TProtocol) error

func (*FavoriteActionRequest) ReadField2

func (p *FavoriteActionRequest) ReadField2(iprot thrift.TProtocol) error

func (*FavoriteActionRequest) ReadField3

func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error

func (*FavoriteActionRequest) SetActionType

func (p *FavoriteActionRequest) SetActionType(val int64)

func (*FavoriteActionRequest) SetToken

func (p *FavoriteActionRequest) SetToken(val string)

func (*FavoriteActionRequest) SetVideoId

func (p *FavoriteActionRequest) SetVideoId(val int64)

func (*FavoriteActionRequest) String

func (p *FavoriteActionRequest) String() string

func (*FavoriteActionRequest) Write

func (p *FavoriteActionRequest) Write(oprot thrift.TProtocol) (err error)

type FavoriteActionResponse

type FavoriteActionResponse struct {
	Base *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
}
var InteractionServiceFavoriteActionResult_Success_DEFAULT *FavoriteActionResponse

func NewFavoriteActionResponse

func NewFavoriteActionResponse() *FavoriteActionResponse

func (*FavoriteActionResponse) BLength

func (p *FavoriteActionResponse) BLength() int

func (*FavoriteActionResponse) DeepEqual

func (*FavoriteActionResponse) FastRead

func (p *FavoriteActionResponse) FastRead(buf []byte) (int, error)

func (*FavoriteActionResponse) FastReadField1

func (p *FavoriteActionResponse) FastReadField1(buf []byte) (int, error)

func (*FavoriteActionResponse) FastWrite

func (p *FavoriteActionResponse) FastWrite(buf []byte) int

for compatibility

func (*FavoriteActionResponse) FastWriteNocopy

func (p *FavoriteActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FavoriteActionResponse) Field1DeepEqual

func (p *FavoriteActionResponse) Field1DeepEqual(src *BaseResp) bool

func (*FavoriteActionResponse) GetBase

func (p *FavoriteActionResponse) GetBase() (v *BaseResp)

func (*FavoriteActionResponse) InitDefault

func (p *FavoriteActionResponse) InitDefault()

func (*FavoriteActionResponse) IsSetBase

func (p *FavoriteActionResponse) IsSetBase() bool

func (*FavoriteActionResponse) Read

func (p *FavoriteActionResponse) Read(iprot thrift.TProtocol) (err error)

func (*FavoriteActionResponse) ReadField1

func (p *FavoriteActionResponse) ReadField1(iprot thrift.TProtocol) error

func (*FavoriteActionResponse) SetBase

func (p *FavoriteActionResponse) SetBase(val *BaseResp)

func (*FavoriteActionResponse) String

func (p *FavoriteActionResponse) String() string

func (*FavoriteActionResponse) Write

func (p *FavoriteActionResponse) Write(oprot thrift.TProtocol) (err error)

type FavoriteListRequest

type FavoriteListRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var InteractionServiceFavoriteListArgs_Req_DEFAULT *FavoriteListRequest

func NewFavoriteListRequest

func NewFavoriteListRequest() *FavoriteListRequest

func (*FavoriteListRequest) BLength

func (p *FavoriteListRequest) BLength() int

func (*FavoriteListRequest) DeepEqual

func (p *FavoriteListRequest) DeepEqual(ano *FavoriteListRequest) bool

func (*FavoriteListRequest) FastRead

func (p *FavoriteListRequest) FastRead(buf []byte) (int, error)

func (*FavoriteListRequest) FastReadField1

func (p *FavoriteListRequest) FastReadField1(buf []byte) (int, error)

func (*FavoriteListRequest) FastReadField2

func (p *FavoriteListRequest) FastReadField2(buf []byte) (int, error)

func (*FavoriteListRequest) FastWrite

func (p *FavoriteListRequest) FastWrite(buf []byte) int

for compatibility

func (*FavoriteListRequest) FastWriteNocopy

func (p *FavoriteListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FavoriteListRequest) Field1DeepEqual

func (p *FavoriteListRequest) Field1DeepEqual(src int64) bool

func (*FavoriteListRequest) Field2DeepEqual

func (p *FavoriteListRequest) Field2DeepEqual(src string) bool

func (*FavoriteListRequest) GetToken

func (p *FavoriteListRequest) GetToken() (v string)

func (*FavoriteListRequest) GetUserId

func (p *FavoriteListRequest) GetUserId() (v int64)

func (*FavoriteListRequest) InitDefault

func (p *FavoriteListRequest) InitDefault()

func (*FavoriteListRequest) Read

func (p *FavoriteListRequest) Read(iprot thrift.TProtocol) (err error)

func (*FavoriteListRequest) ReadField1

func (p *FavoriteListRequest) ReadField1(iprot thrift.TProtocol) error

func (*FavoriteListRequest) ReadField2

func (p *FavoriteListRequest) ReadField2(iprot thrift.TProtocol) error

func (*FavoriteListRequest) SetToken

func (p *FavoriteListRequest) SetToken(val string)

func (*FavoriteListRequest) SetUserId

func (p *FavoriteListRequest) SetUserId(val int64)

func (*FavoriteListRequest) String

func (p *FavoriteListRequest) String() string

func (*FavoriteListRequest) Write

func (p *FavoriteListRequest) Write(oprot thrift.TProtocol) (err error)

type FavoriteListResponse

type FavoriteListResponse struct {
	Base      *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	VideoList []*Video  `thrift:"video_list,2,required" frugal:"2,required,list<Video>" json:"video_list"`
}
var InteractionServiceFavoriteListResult_Success_DEFAULT *FavoriteListResponse

func NewFavoriteListResponse

func NewFavoriteListResponse() *FavoriteListResponse

func (*FavoriteListResponse) BLength

func (p *FavoriteListResponse) BLength() int

func (*FavoriteListResponse) DeepEqual

func (p *FavoriteListResponse) DeepEqual(ano *FavoriteListResponse) bool

func (*FavoriteListResponse) FastRead

func (p *FavoriteListResponse) FastRead(buf []byte) (int, error)

func (*FavoriteListResponse) FastReadField1

func (p *FavoriteListResponse) FastReadField1(buf []byte) (int, error)

func (*FavoriteListResponse) FastReadField2

func (p *FavoriteListResponse) FastReadField2(buf []byte) (int, error)

func (*FavoriteListResponse) FastWrite

func (p *FavoriteListResponse) FastWrite(buf []byte) int

for compatibility

func (*FavoriteListResponse) FastWriteNocopy

func (p *FavoriteListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FavoriteListResponse) Field1DeepEqual

func (p *FavoriteListResponse) Field1DeepEqual(src *BaseResp) bool

func (*FavoriteListResponse) Field2DeepEqual

func (p *FavoriteListResponse) Field2DeepEqual(src []*Video) bool

func (*FavoriteListResponse) GetBase

func (p *FavoriteListResponse) GetBase() (v *BaseResp)

func (*FavoriteListResponse) GetVideoList

func (p *FavoriteListResponse) GetVideoList() (v []*Video)

func (*FavoriteListResponse) InitDefault

func (p *FavoriteListResponse) InitDefault()

func (*FavoriteListResponse) IsSetBase

func (p *FavoriteListResponse) IsSetBase() bool

func (*FavoriteListResponse) Read

func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)

func (*FavoriteListResponse) ReadField1

func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error

func (*FavoriteListResponse) ReadField2

func (p *FavoriteListResponse) ReadField2(iprot thrift.TProtocol) error

func (*FavoriteListResponse) SetBase

func (p *FavoriteListResponse) SetBase(val *BaseResp)

func (*FavoriteListResponse) SetVideoList

func (p *FavoriteListResponse) SetVideoList(val []*Video)

func (*FavoriteListResponse) String

func (p *FavoriteListResponse) String() string

func (*FavoriteListResponse) Write

func (p *FavoriteListResponse) Write(oprot thrift.TProtocol) (err error)

type InteractionService

type InteractionService interface {
	FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)

	FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)

	VideoFavoritedCount(ctx context.Context, req *VideoFavoritedCountRequest) (r *VideoFavoritedCountResponse, err error)

	UserFavoriteCount(ctx context.Context, req *UserFavoriteCountRequest) (r *UserFavoriteCountResponse, err error)

	UserTotalFavorited(ctx context.Context, req *UserTotalFavoritedRequest) (r *UserTotalFavoritedResponse, err error)

	IsFavorite(ctx context.Context, req *IsFavoriteRequest) (r *IsFavoriteResponse, err error)

	CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)

	CommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)

	CommentCount(ctx context.Context, req *CommentCountRequest) (r *CommentCountResponse, err error)
}

type InteractionServiceClient

type InteractionServiceClient struct {
	// contains filtered or unexported fields
}

func NewInteractionServiceClient

func NewInteractionServiceClient(c thrift.TClient) *InteractionServiceClient

func NewInteractionServiceClientProtocol

func NewInteractionServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *InteractionServiceClient

func (*InteractionServiceClient) Client_

func (*InteractionServiceClient) CommentAction

func (*InteractionServiceClient) CommentCount

func (*InteractionServiceClient) CommentList

func (*InteractionServiceClient) FavoriteAction

func (*InteractionServiceClient) FavoriteList

func (*InteractionServiceClient) IsFavorite

func (*InteractionServiceClient) UserFavoriteCount

func (*InteractionServiceClient) UserTotalFavorited

func (*InteractionServiceClient) VideoFavoritedCount

type InteractionServiceCommentActionArgs

type InteractionServiceCommentActionArgs struct {
	Req *CommentActionRequest `thrift:"req,1" frugal:"1,default,CommentActionRequest" json:"req"`
}

func NewInteractionServiceCommentActionArgs

func NewInteractionServiceCommentActionArgs() *InteractionServiceCommentActionArgs

func (*InteractionServiceCommentActionArgs) BLength

func (*InteractionServiceCommentActionArgs) DeepEqual

func (*InteractionServiceCommentActionArgs) FastRead

func (p *InteractionServiceCommentActionArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentActionArgs) FastReadField1

func (p *InteractionServiceCommentActionArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceCommentActionArgs) FastWrite

func (p *InteractionServiceCommentActionArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentActionArgs) FastWriteNocopy

func (p *InteractionServiceCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentActionArgs) Field1DeepEqual

func (*InteractionServiceCommentActionArgs) GetFirstArgument

func (p *InteractionServiceCommentActionArgs) GetFirstArgument() interface{}

func (*InteractionServiceCommentActionArgs) GetReq

func (*InteractionServiceCommentActionArgs) InitDefault

func (p *InteractionServiceCommentActionArgs) InitDefault()

func (*InteractionServiceCommentActionArgs) IsSetReq

func (*InteractionServiceCommentActionArgs) Read

func (*InteractionServiceCommentActionArgs) ReadField1

func (*InteractionServiceCommentActionArgs) SetReq

func (*InteractionServiceCommentActionArgs) String

func (*InteractionServiceCommentActionArgs) Write

type InteractionServiceCommentActionResult

type InteractionServiceCommentActionResult struct {
	Success *CommentActionResponse `thrift:"success,0,optional" frugal:"0,optional,CommentActionResponse" json:"success,omitempty"`
}

func NewInteractionServiceCommentActionResult

func NewInteractionServiceCommentActionResult() *InteractionServiceCommentActionResult

func (*InteractionServiceCommentActionResult) BLength

func (*InteractionServiceCommentActionResult) DeepEqual

func (*InteractionServiceCommentActionResult) FastRead

func (p *InteractionServiceCommentActionResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentActionResult) FastReadField0

func (p *InteractionServiceCommentActionResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceCommentActionResult) FastWrite

func (p *InteractionServiceCommentActionResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentActionResult) FastWriteNocopy

func (p *InteractionServiceCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentActionResult) Field0DeepEqual

func (*InteractionServiceCommentActionResult) GetResult

func (p *InteractionServiceCommentActionResult) GetResult() interface{}

func (*InteractionServiceCommentActionResult) GetSuccess

func (*InteractionServiceCommentActionResult) InitDefault

func (p *InteractionServiceCommentActionResult) InitDefault()

func (*InteractionServiceCommentActionResult) IsSetSuccess

func (p *InteractionServiceCommentActionResult) IsSetSuccess() bool

func (*InteractionServiceCommentActionResult) Read

func (*InteractionServiceCommentActionResult) ReadField0

func (*InteractionServiceCommentActionResult) SetSuccess

func (p *InteractionServiceCommentActionResult) SetSuccess(x interface{})

func (*InteractionServiceCommentActionResult) String

func (*InteractionServiceCommentActionResult) Write

type InteractionServiceCommentCountArgs

type InteractionServiceCommentCountArgs struct {
	Req *CommentCountRequest `thrift:"req,1" frugal:"1,default,CommentCountRequest" json:"req"`
}

func NewInteractionServiceCommentCountArgs

func NewInteractionServiceCommentCountArgs() *InteractionServiceCommentCountArgs

func (*InteractionServiceCommentCountArgs) BLength

func (*InteractionServiceCommentCountArgs) DeepEqual

func (*InteractionServiceCommentCountArgs) FastRead

func (p *InteractionServiceCommentCountArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentCountArgs) FastReadField1

func (p *InteractionServiceCommentCountArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceCommentCountArgs) FastWrite

func (p *InteractionServiceCommentCountArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentCountArgs) FastWriteNocopy

func (p *InteractionServiceCommentCountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentCountArgs) Field1DeepEqual

func (*InteractionServiceCommentCountArgs) GetFirstArgument

func (p *InteractionServiceCommentCountArgs) GetFirstArgument() interface{}

func (*InteractionServiceCommentCountArgs) GetReq

func (*InteractionServiceCommentCountArgs) InitDefault

func (p *InteractionServiceCommentCountArgs) InitDefault()

func (*InteractionServiceCommentCountArgs) IsSetReq

func (*InteractionServiceCommentCountArgs) Read

func (*InteractionServiceCommentCountArgs) ReadField1

func (*InteractionServiceCommentCountArgs) SetReq

func (*InteractionServiceCommentCountArgs) String

func (*InteractionServiceCommentCountArgs) Write

type InteractionServiceCommentCountResult

type InteractionServiceCommentCountResult struct {
	Success *CommentCountResponse `thrift:"success,0,optional" frugal:"0,optional,CommentCountResponse" json:"success,omitempty"`
}

func NewInteractionServiceCommentCountResult

func NewInteractionServiceCommentCountResult() *InteractionServiceCommentCountResult

func (*InteractionServiceCommentCountResult) BLength

func (*InteractionServiceCommentCountResult) DeepEqual

func (*InteractionServiceCommentCountResult) FastRead

func (p *InteractionServiceCommentCountResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentCountResult) FastReadField0

func (p *InteractionServiceCommentCountResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceCommentCountResult) FastWrite

func (p *InteractionServiceCommentCountResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentCountResult) FastWriteNocopy

func (p *InteractionServiceCommentCountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentCountResult) Field0DeepEqual

func (*InteractionServiceCommentCountResult) GetResult

func (p *InteractionServiceCommentCountResult) GetResult() interface{}

func (*InteractionServiceCommentCountResult) GetSuccess

func (*InteractionServiceCommentCountResult) InitDefault

func (p *InteractionServiceCommentCountResult) InitDefault()

func (*InteractionServiceCommentCountResult) IsSetSuccess

func (p *InteractionServiceCommentCountResult) IsSetSuccess() bool

func (*InteractionServiceCommentCountResult) Read

func (*InteractionServiceCommentCountResult) ReadField0

func (*InteractionServiceCommentCountResult) SetSuccess

func (p *InteractionServiceCommentCountResult) SetSuccess(x interface{})

func (*InteractionServiceCommentCountResult) String

func (*InteractionServiceCommentCountResult) Write

type InteractionServiceCommentListArgs

type InteractionServiceCommentListArgs struct {
	Req *CommentListRequest `thrift:"req,1" frugal:"1,default,CommentListRequest" json:"req"`
}

func NewInteractionServiceCommentListArgs

func NewInteractionServiceCommentListArgs() *InteractionServiceCommentListArgs

func (*InteractionServiceCommentListArgs) BLength

func (*InteractionServiceCommentListArgs) DeepEqual

func (*InteractionServiceCommentListArgs) FastRead

func (p *InteractionServiceCommentListArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentListArgs) FastReadField1

func (p *InteractionServiceCommentListArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceCommentListArgs) FastWrite

func (p *InteractionServiceCommentListArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentListArgs) FastWriteNocopy

func (p *InteractionServiceCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentListArgs) Field1DeepEqual

func (*InteractionServiceCommentListArgs) GetFirstArgument

func (p *InteractionServiceCommentListArgs) GetFirstArgument() interface{}

func (*InteractionServiceCommentListArgs) GetReq

func (*InteractionServiceCommentListArgs) InitDefault

func (p *InteractionServiceCommentListArgs) InitDefault()

func (*InteractionServiceCommentListArgs) IsSetReq

func (*InteractionServiceCommentListArgs) Read

func (*InteractionServiceCommentListArgs) ReadField1

func (*InteractionServiceCommentListArgs) SetReq

func (*InteractionServiceCommentListArgs) String

func (*InteractionServiceCommentListArgs) Write

type InteractionServiceCommentListResult

type InteractionServiceCommentListResult struct {
	Success *CommentListResponse `thrift:"success,0,optional" frugal:"0,optional,CommentListResponse" json:"success,omitempty"`
}

func NewInteractionServiceCommentListResult

func NewInteractionServiceCommentListResult() *InteractionServiceCommentListResult

func (*InteractionServiceCommentListResult) BLength

func (*InteractionServiceCommentListResult) DeepEqual

func (*InteractionServiceCommentListResult) FastRead

func (p *InteractionServiceCommentListResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceCommentListResult) FastReadField0

func (p *InteractionServiceCommentListResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceCommentListResult) FastWrite

func (p *InteractionServiceCommentListResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceCommentListResult) FastWriteNocopy

func (p *InteractionServiceCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceCommentListResult) Field0DeepEqual

func (*InteractionServiceCommentListResult) GetResult

func (p *InteractionServiceCommentListResult) GetResult() interface{}

func (*InteractionServiceCommentListResult) GetSuccess

func (*InteractionServiceCommentListResult) InitDefault

func (p *InteractionServiceCommentListResult) InitDefault()

func (*InteractionServiceCommentListResult) IsSetSuccess

func (p *InteractionServiceCommentListResult) IsSetSuccess() bool

func (*InteractionServiceCommentListResult) Read

func (*InteractionServiceCommentListResult) ReadField0

func (*InteractionServiceCommentListResult) SetSuccess

func (p *InteractionServiceCommentListResult) SetSuccess(x interface{})

func (*InteractionServiceCommentListResult) String

func (*InteractionServiceCommentListResult) Write

type InteractionServiceFavoriteActionArgs

type InteractionServiceFavoriteActionArgs struct {
	Req *FavoriteActionRequest `thrift:"req,1" frugal:"1,default,FavoriteActionRequest" json:"req"`
}

func NewInteractionServiceFavoriteActionArgs

func NewInteractionServiceFavoriteActionArgs() *InteractionServiceFavoriteActionArgs

func (*InteractionServiceFavoriteActionArgs) BLength

func (*InteractionServiceFavoriteActionArgs) DeepEqual

func (*InteractionServiceFavoriteActionArgs) FastRead

func (p *InteractionServiceFavoriteActionArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceFavoriteActionArgs) FastReadField1

func (p *InteractionServiceFavoriteActionArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceFavoriteActionArgs) FastWrite

func (p *InteractionServiceFavoriteActionArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceFavoriteActionArgs) FastWriteNocopy

func (p *InteractionServiceFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceFavoriteActionArgs) Field1DeepEqual

func (*InteractionServiceFavoriteActionArgs) GetFirstArgument

func (p *InteractionServiceFavoriteActionArgs) GetFirstArgument() interface{}

func (*InteractionServiceFavoriteActionArgs) GetReq

func (*InteractionServiceFavoriteActionArgs) InitDefault

func (p *InteractionServiceFavoriteActionArgs) InitDefault()

func (*InteractionServiceFavoriteActionArgs) IsSetReq

func (*InteractionServiceFavoriteActionArgs) Read

func (*InteractionServiceFavoriteActionArgs) ReadField1

func (*InteractionServiceFavoriteActionArgs) SetReq

func (*InteractionServiceFavoriteActionArgs) String

func (*InteractionServiceFavoriteActionArgs) Write

type InteractionServiceFavoriteActionResult

type InteractionServiceFavoriteActionResult struct {
	Success *FavoriteActionResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteActionResponse" json:"success,omitempty"`
}

func NewInteractionServiceFavoriteActionResult

func NewInteractionServiceFavoriteActionResult() *InteractionServiceFavoriteActionResult

func (*InteractionServiceFavoriteActionResult) BLength

func (*InteractionServiceFavoriteActionResult) DeepEqual

func (*InteractionServiceFavoriteActionResult) FastRead

func (p *InteractionServiceFavoriteActionResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceFavoriteActionResult) FastReadField0

func (p *InteractionServiceFavoriteActionResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceFavoriteActionResult) FastWrite

func (p *InteractionServiceFavoriteActionResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceFavoriteActionResult) FastWriteNocopy

func (p *InteractionServiceFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceFavoriteActionResult) Field0DeepEqual

func (*InteractionServiceFavoriteActionResult) GetResult

func (p *InteractionServiceFavoriteActionResult) GetResult() interface{}

func (*InteractionServiceFavoriteActionResult) GetSuccess

func (*InteractionServiceFavoriteActionResult) InitDefault

func (p *InteractionServiceFavoriteActionResult) InitDefault()

func (*InteractionServiceFavoriteActionResult) IsSetSuccess

func (p *InteractionServiceFavoriteActionResult) IsSetSuccess() bool

func (*InteractionServiceFavoriteActionResult) Read

func (*InteractionServiceFavoriteActionResult) ReadField0

func (*InteractionServiceFavoriteActionResult) SetSuccess

func (p *InteractionServiceFavoriteActionResult) SetSuccess(x interface{})

func (*InteractionServiceFavoriteActionResult) String

func (*InteractionServiceFavoriteActionResult) Write

type InteractionServiceFavoriteListArgs

type InteractionServiceFavoriteListArgs struct {
	Req *FavoriteListRequest `thrift:"req,1" frugal:"1,default,FavoriteListRequest" json:"req"`
}

func NewInteractionServiceFavoriteListArgs

func NewInteractionServiceFavoriteListArgs() *InteractionServiceFavoriteListArgs

func (*InteractionServiceFavoriteListArgs) BLength

func (*InteractionServiceFavoriteListArgs) DeepEqual

func (*InteractionServiceFavoriteListArgs) FastRead

func (p *InteractionServiceFavoriteListArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceFavoriteListArgs) FastReadField1

func (p *InteractionServiceFavoriteListArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceFavoriteListArgs) FastWrite

func (p *InteractionServiceFavoriteListArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceFavoriteListArgs) FastWriteNocopy

func (p *InteractionServiceFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceFavoriteListArgs) Field1DeepEqual

func (*InteractionServiceFavoriteListArgs) GetFirstArgument

func (p *InteractionServiceFavoriteListArgs) GetFirstArgument() interface{}

func (*InteractionServiceFavoriteListArgs) GetReq

func (*InteractionServiceFavoriteListArgs) InitDefault

func (p *InteractionServiceFavoriteListArgs) InitDefault()

func (*InteractionServiceFavoriteListArgs) IsSetReq

func (*InteractionServiceFavoriteListArgs) Read

func (*InteractionServiceFavoriteListArgs) ReadField1

func (*InteractionServiceFavoriteListArgs) SetReq

func (*InteractionServiceFavoriteListArgs) String

func (*InteractionServiceFavoriteListArgs) Write

type InteractionServiceFavoriteListResult

type InteractionServiceFavoriteListResult struct {
	Success *FavoriteListResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteListResponse" json:"success,omitempty"`
}

func NewInteractionServiceFavoriteListResult

func NewInteractionServiceFavoriteListResult() *InteractionServiceFavoriteListResult

func (*InteractionServiceFavoriteListResult) BLength

func (*InteractionServiceFavoriteListResult) DeepEqual

func (*InteractionServiceFavoriteListResult) FastRead

func (p *InteractionServiceFavoriteListResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceFavoriteListResult) FastReadField0

func (p *InteractionServiceFavoriteListResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceFavoriteListResult) FastWrite

func (p *InteractionServiceFavoriteListResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceFavoriteListResult) FastWriteNocopy

func (p *InteractionServiceFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceFavoriteListResult) Field0DeepEqual

func (*InteractionServiceFavoriteListResult) GetResult

func (p *InteractionServiceFavoriteListResult) GetResult() interface{}

func (*InteractionServiceFavoriteListResult) GetSuccess

func (*InteractionServiceFavoriteListResult) InitDefault

func (p *InteractionServiceFavoriteListResult) InitDefault()

func (*InteractionServiceFavoriteListResult) IsSetSuccess

func (p *InteractionServiceFavoriteListResult) IsSetSuccess() bool

func (*InteractionServiceFavoriteListResult) Read

func (*InteractionServiceFavoriteListResult) ReadField0

func (*InteractionServiceFavoriteListResult) SetSuccess

func (p *InteractionServiceFavoriteListResult) SetSuccess(x interface{})

func (*InteractionServiceFavoriteListResult) String

func (*InteractionServiceFavoriteListResult) Write

type InteractionServiceIsFavoriteArgs

type InteractionServiceIsFavoriteArgs struct {
	Req *IsFavoriteRequest `thrift:"req,1" frugal:"1,default,IsFavoriteRequest" json:"req"`
}

func NewInteractionServiceIsFavoriteArgs

func NewInteractionServiceIsFavoriteArgs() *InteractionServiceIsFavoriteArgs

func (*InteractionServiceIsFavoriteArgs) BLength

func (*InteractionServiceIsFavoriteArgs) DeepEqual

func (*InteractionServiceIsFavoriteArgs) FastRead

func (p *InteractionServiceIsFavoriteArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceIsFavoriteArgs) FastReadField1

func (p *InteractionServiceIsFavoriteArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceIsFavoriteArgs) FastWrite

func (p *InteractionServiceIsFavoriteArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceIsFavoriteArgs) FastWriteNocopy

func (p *InteractionServiceIsFavoriteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceIsFavoriteArgs) Field1DeepEqual

func (p *InteractionServiceIsFavoriteArgs) Field1DeepEqual(src *IsFavoriteRequest) bool

func (*InteractionServiceIsFavoriteArgs) GetFirstArgument

func (p *InteractionServiceIsFavoriteArgs) GetFirstArgument() interface{}

func (*InteractionServiceIsFavoriteArgs) GetReq

func (*InteractionServiceIsFavoriteArgs) InitDefault

func (p *InteractionServiceIsFavoriteArgs) InitDefault()

func (*InteractionServiceIsFavoriteArgs) IsSetReq

func (p *InteractionServiceIsFavoriteArgs) IsSetReq() bool

func (*InteractionServiceIsFavoriteArgs) Read

func (*InteractionServiceIsFavoriteArgs) ReadField1

func (*InteractionServiceIsFavoriteArgs) SetReq

func (*InteractionServiceIsFavoriteArgs) String

func (*InteractionServiceIsFavoriteArgs) Write

type InteractionServiceIsFavoriteResult

type InteractionServiceIsFavoriteResult struct {
	Success *IsFavoriteResponse `thrift:"success,0,optional" frugal:"0,optional,IsFavoriteResponse" json:"success,omitempty"`
}

func NewInteractionServiceIsFavoriteResult

func NewInteractionServiceIsFavoriteResult() *InteractionServiceIsFavoriteResult

func (*InteractionServiceIsFavoriteResult) BLength

func (*InteractionServiceIsFavoriteResult) DeepEqual

func (*InteractionServiceIsFavoriteResult) FastRead

func (p *InteractionServiceIsFavoriteResult) FastRead(buf []byte) (int, error)

func (*InteractionServiceIsFavoriteResult) FastReadField0

func (p *InteractionServiceIsFavoriteResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceIsFavoriteResult) FastWrite

func (p *InteractionServiceIsFavoriteResult) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceIsFavoriteResult) FastWriteNocopy

func (p *InteractionServiceIsFavoriteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceIsFavoriteResult) Field0DeepEqual

func (*InteractionServiceIsFavoriteResult) GetResult

func (p *InteractionServiceIsFavoriteResult) GetResult() interface{}

func (*InteractionServiceIsFavoriteResult) GetSuccess

func (*InteractionServiceIsFavoriteResult) InitDefault

func (p *InteractionServiceIsFavoriteResult) InitDefault()

func (*InteractionServiceIsFavoriteResult) IsSetSuccess

func (p *InteractionServiceIsFavoriteResult) IsSetSuccess() bool

func (*InteractionServiceIsFavoriteResult) Read

func (*InteractionServiceIsFavoriteResult) ReadField0

func (*InteractionServiceIsFavoriteResult) SetSuccess

func (p *InteractionServiceIsFavoriteResult) SetSuccess(x interface{})

func (*InteractionServiceIsFavoriteResult) String

func (*InteractionServiceIsFavoriteResult) Write

type InteractionServiceProcessor

type InteractionServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewInteractionServiceProcessor

func NewInteractionServiceProcessor(handler InteractionService) *InteractionServiceProcessor

func (*InteractionServiceProcessor) AddToProcessorMap

func (p *InteractionServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*InteractionServiceProcessor) GetProcessorFunction

func (p *InteractionServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*InteractionServiceProcessor) Process

func (p *InteractionServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*InteractionServiceProcessor) ProcessorMap

type InteractionServiceUserFavoriteCountArgs

type InteractionServiceUserFavoriteCountArgs struct {
	Req *UserFavoriteCountRequest `thrift:"req,1" frugal:"1,default,UserFavoriteCountRequest" json:"req"`
}

func NewInteractionServiceUserFavoriteCountArgs

func NewInteractionServiceUserFavoriteCountArgs() *InteractionServiceUserFavoriteCountArgs

func (*InteractionServiceUserFavoriteCountArgs) BLength

func (*InteractionServiceUserFavoriteCountArgs) DeepEqual

func (*InteractionServiceUserFavoriteCountArgs) FastRead

func (p *InteractionServiceUserFavoriteCountArgs) FastRead(buf []byte) (int, error)

func (*InteractionServiceUserFavoriteCountArgs) FastReadField1

func (p *InteractionServiceUserFavoriteCountArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceUserFavoriteCountArgs) FastWrite

func (p *InteractionServiceUserFavoriteCountArgs) FastWrite(buf []byte) int

for compatibility

func (*InteractionServiceUserFavoriteCountArgs) FastWriteNocopy

func (p *InteractionServiceUserFavoriteCountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceUserFavoriteCountArgs) Field1DeepEqual

func (*InteractionServiceUserFavoriteCountArgs) GetFirstArgument

func (p *InteractionServiceUserFavoriteCountArgs) GetFirstArgument() interface{}

func (*InteractionServiceUserFavoriteCountArgs) GetReq

func (*InteractionServiceUserFavoriteCountArgs) InitDefault

func (p *InteractionServiceUserFavoriteCountArgs) InitDefault()

func (*InteractionServiceUserFavoriteCountArgs) IsSetReq

func (*InteractionServiceUserFavoriteCountArgs) Read

func (*InteractionServiceUserFavoriteCountArgs) ReadField1

func (*InteractionServiceUserFavoriteCountArgs) SetReq

func (*InteractionServiceUserFavoriteCountArgs) String

func (*InteractionServiceUserFavoriteCountArgs) Write

type InteractionServiceUserFavoriteCountResult

type InteractionServiceUserFavoriteCountResult struct {
	Success *UserFavoriteCountResponse `thrift:"success,0,optional" frugal:"0,optional,UserFavoriteCountResponse" json:"success,omitempty"`
}

func NewInteractionServiceUserFavoriteCountResult

func NewInteractionServiceUserFavoriteCountResult() *InteractionServiceUserFavoriteCountResult

func (*InteractionServiceUserFavoriteCountResult) BLength

func (*InteractionServiceUserFavoriteCountResult) DeepEqual

func (*InteractionServiceUserFavoriteCountResult) FastRead

func (*InteractionServiceUserFavoriteCountResult) FastReadField0

func (p *InteractionServiceUserFavoriteCountResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceUserFavoriteCountResult) FastWrite

for compatibility

func (*InteractionServiceUserFavoriteCountResult) FastWriteNocopy

func (p *InteractionServiceUserFavoriteCountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceUserFavoriteCountResult) Field0DeepEqual

func (*InteractionServiceUserFavoriteCountResult) GetResult

func (p *InteractionServiceUserFavoriteCountResult) GetResult() interface{}

func (*InteractionServiceUserFavoriteCountResult) GetSuccess

func (*InteractionServiceUserFavoriteCountResult) InitDefault

func (*InteractionServiceUserFavoriteCountResult) IsSetSuccess

func (*InteractionServiceUserFavoriteCountResult) Read

func (*InteractionServiceUserFavoriteCountResult) ReadField0

func (*InteractionServiceUserFavoriteCountResult) SetSuccess

func (p *InteractionServiceUserFavoriteCountResult) SetSuccess(x interface{})

func (*InteractionServiceUserFavoriteCountResult) String

func (*InteractionServiceUserFavoriteCountResult) Write

type InteractionServiceUserTotalFavoritedArgs

type InteractionServiceUserTotalFavoritedArgs struct {
	Req *UserTotalFavoritedRequest `thrift:"req,1" frugal:"1,default,UserTotalFavoritedRequest" json:"req"`
}

func NewInteractionServiceUserTotalFavoritedArgs

func NewInteractionServiceUserTotalFavoritedArgs() *InteractionServiceUserTotalFavoritedArgs

func (*InteractionServiceUserTotalFavoritedArgs) BLength

func (*InteractionServiceUserTotalFavoritedArgs) DeepEqual

func (*InteractionServiceUserTotalFavoritedArgs) FastRead

func (*InteractionServiceUserTotalFavoritedArgs) FastReadField1

func (p *InteractionServiceUserTotalFavoritedArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceUserTotalFavoritedArgs) FastWrite

for compatibility

func (*InteractionServiceUserTotalFavoritedArgs) FastWriteNocopy

func (p *InteractionServiceUserTotalFavoritedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceUserTotalFavoritedArgs) Field1DeepEqual

func (*InteractionServiceUserTotalFavoritedArgs) GetFirstArgument

func (p *InteractionServiceUserTotalFavoritedArgs) GetFirstArgument() interface{}

func (*InteractionServiceUserTotalFavoritedArgs) GetReq

func (*InteractionServiceUserTotalFavoritedArgs) InitDefault

func (*InteractionServiceUserTotalFavoritedArgs) IsSetReq

func (*InteractionServiceUserTotalFavoritedArgs) Read

func (*InteractionServiceUserTotalFavoritedArgs) ReadField1

func (*InteractionServiceUserTotalFavoritedArgs) SetReq

func (*InteractionServiceUserTotalFavoritedArgs) String

func (*InteractionServiceUserTotalFavoritedArgs) Write

type InteractionServiceUserTotalFavoritedResult

type InteractionServiceUserTotalFavoritedResult struct {
	Success *UserTotalFavoritedResponse `thrift:"success,0,optional" frugal:"0,optional,UserTotalFavoritedResponse" json:"success,omitempty"`
}

func NewInteractionServiceUserTotalFavoritedResult

func NewInteractionServiceUserTotalFavoritedResult() *InteractionServiceUserTotalFavoritedResult

func (*InteractionServiceUserTotalFavoritedResult) BLength

func (*InteractionServiceUserTotalFavoritedResult) DeepEqual

func (*InteractionServiceUserTotalFavoritedResult) FastRead

func (*InteractionServiceUserTotalFavoritedResult) FastReadField0

func (p *InteractionServiceUserTotalFavoritedResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceUserTotalFavoritedResult) FastWrite

for compatibility

func (*InteractionServiceUserTotalFavoritedResult) FastWriteNocopy

func (p *InteractionServiceUserTotalFavoritedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceUserTotalFavoritedResult) Field0DeepEqual

func (*InteractionServiceUserTotalFavoritedResult) GetResult

func (p *InteractionServiceUserTotalFavoritedResult) GetResult() interface{}

func (*InteractionServiceUserTotalFavoritedResult) GetSuccess

func (*InteractionServiceUserTotalFavoritedResult) InitDefault

func (*InteractionServiceUserTotalFavoritedResult) IsSetSuccess

func (*InteractionServiceUserTotalFavoritedResult) Read

func (*InteractionServiceUserTotalFavoritedResult) ReadField0

func (*InteractionServiceUserTotalFavoritedResult) SetSuccess

func (p *InteractionServiceUserTotalFavoritedResult) SetSuccess(x interface{})

func (*InteractionServiceUserTotalFavoritedResult) String

func (*InteractionServiceUserTotalFavoritedResult) Write

type InteractionServiceVideoFavoritedCountArgs

type InteractionServiceVideoFavoritedCountArgs struct {
	Req *VideoFavoritedCountRequest `thrift:"req,1" frugal:"1,default,VideoFavoritedCountRequest" json:"req"`
}

func NewInteractionServiceVideoFavoritedCountArgs

func NewInteractionServiceVideoFavoritedCountArgs() *InteractionServiceVideoFavoritedCountArgs

func (*InteractionServiceVideoFavoritedCountArgs) BLength

func (*InteractionServiceVideoFavoritedCountArgs) DeepEqual

func (*InteractionServiceVideoFavoritedCountArgs) FastRead

func (*InteractionServiceVideoFavoritedCountArgs) FastReadField1

func (p *InteractionServiceVideoFavoritedCountArgs) FastReadField1(buf []byte) (int, error)

func (*InteractionServiceVideoFavoritedCountArgs) FastWrite

for compatibility

func (*InteractionServiceVideoFavoritedCountArgs) FastWriteNocopy

func (p *InteractionServiceVideoFavoritedCountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceVideoFavoritedCountArgs) Field1DeepEqual

func (*InteractionServiceVideoFavoritedCountArgs) GetFirstArgument

func (p *InteractionServiceVideoFavoritedCountArgs) GetFirstArgument() interface{}

func (*InteractionServiceVideoFavoritedCountArgs) GetReq

func (*InteractionServiceVideoFavoritedCountArgs) InitDefault

func (*InteractionServiceVideoFavoritedCountArgs) IsSetReq

func (*InteractionServiceVideoFavoritedCountArgs) Read

func (*InteractionServiceVideoFavoritedCountArgs) ReadField1

func (*InteractionServiceVideoFavoritedCountArgs) SetReq

func (*InteractionServiceVideoFavoritedCountArgs) String

func (*InteractionServiceVideoFavoritedCountArgs) Write

type InteractionServiceVideoFavoritedCountResult

type InteractionServiceVideoFavoritedCountResult struct {
	Success *VideoFavoritedCountResponse `thrift:"success,0,optional" frugal:"0,optional,VideoFavoritedCountResponse" json:"success,omitempty"`
}

func NewInteractionServiceVideoFavoritedCountResult

func NewInteractionServiceVideoFavoritedCountResult() *InteractionServiceVideoFavoritedCountResult

func (*InteractionServiceVideoFavoritedCountResult) BLength

func (*InteractionServiceVideoFavoritedCountResult) DeepEqual

func (*InteractionServiceVideoFavoritedCountResult) FastRead

func (*InteractionServiceVideoFavoritedCountResult) FastReadField0

func (p *InteractionServiceVideoFavoritedCountResult) FastReadField0(buf []byte) (int, error)

func (*InteractionServiceVideoFavoritedCountResult) FastWrite

for compatibility

func (*InteractionServiceVideoFavoritedCountResult) FastWriteNocopy

func (p *InteractionServiceVideoFavoritedCountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*InteractionServiceVideoFavoritedCountResult) Field0DeepEqual

func (*InteractionServiceVideoFavoritedCountResult) GetResult

func (p *InteractionServiceVideoFavoritedCountResult) GetResult() interface{}

func (*InteractionServiceVideoFavoritedCountResult) GetSuccess

func (*InteractionServiceVideoFavoritedCountResult) InitDefault

func (*InteractionServiceVideoFavoritedCountResult) IsSetSuccess

func (*InteractionServiceVideoFavoritedCountResult) Read

func (*InteractionServiceVideoFavoritedCountResult) ReadField0

func (*InteractionServiceVideoFavoritedCountResult) SetSuccess

func (p *InteractionServiceVideoFavoritedCountResult) SetSuccess(x interface{})

func (*InteractionServiceVideoFavoritedCountResult) String

func (*InteractionServiceVideoFavoritedCountResult) Write

type IsFavoriteRequest

type IsFavoriteRequest struct {
	UserId  int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	VideoId int64  `thrift:"video_id,2,required" frugal:"2,required,i64" json:"video_id"`
	Token   string `thrift:"token,3,required" frugal:"3,required,string" json:"token"`
}
var InteractionServiceIsFavoriteArgs_Req_DEFAULT *IsFavoriteRequest

func NewIsFavoriteRequest

func NewIsFavoriteRequest() *IsFavoriteRequest

func (*IsFavoriteRequest) BLength

func (p *IsFavoriteRequest) BLength() int

func (*IsFavoriteRequest) DeepEqual

func (p *IsFavoriteRequest) DeepEqual(ano *IsFavoriteRequest) bool

func (*IsFavoriteRequest) FastRead

func (p *IsFavoriteRequest) FastRead(buf []byte) (int, error)

func (*IsFavoriteRequest) FastReadField1

func (p *IsFavoriteRequest) FastReadField1(buf []byte) (int, error)

func (*IsFavoriteRequest) FastReadField2

func (p *IsFavoriteRequest) FastReadField2(buf []byte) (int, error)

func (*IsFavoriteRequest) FastReadField3

func (p *IsFavoriteRequest) FastReadField3(buf []byte) (int, error)

func (*IsFavoriteRequest) FastWrite

func (p *IsFavoriteRequest) FastWrite(buf []byte) int

for compatibility

func (*IsFavoriteRequest) FastWriteNocopy

func (p *IsFavoriteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*IsFavoriteRequest) Field1DeepEqual

func (p *IsFavoriteRequest) Field1DeepEqual(src int64) bool

func (*IsFavoriteRequest) Field2DeepEqual

func (p *IsFavoriteRequest) Field2DeepEqual(src int64) bool

func (*IsFavoriteRequest) Field3DeepEqual

func (p *IsFavoriteRequest) Field3DeepEqual(src string) bool

func (*IsFavoriteRequest) GetToken

func (p *IsFavoriteRequest) GetToken() (v string)

func (*IsFavoriteRequest) GetUserId

func (p *IsFavoriteRequest) GetUserId() (v int64)

func (*IsFavoriteRequest) GetVideoId

func (p *IsFavoriteRequest) GetVideoId() (v int64)

func (*IsFavoriteRequest) InitDefault

func (p *IsFavoriteRequest) InitDefault()

func (*IsFavoriteRequest) Read

func (p *IsFavoriteRequest) Read(iprot thrift.TProtocol) (err error)

func (*IsFavoriteRequest) ReadField1

func (p *IsFavoriteRequest) ReadField1(iprot thrift.TProtocol) error

func (*IsFavoriteRequest) ReadField2

func (p *IsFavoriteRequest) ReadField2(iprot thrift.TProtocol) error

func (*IsFavoriteRequest) ReadField3

func (p *IsFavoriteRequest) ReadField3(iprot thrift.TProtocol) error

func (*IsFavoriteRequest) SetToken

func (p *IsFavoriteRequest) SetToken(val string)

func (*IsFavoriteRequest) SetUserId

func (p *IsFavoriteRequest) SetUserId(val int64)

func (*IsFavoriteRequest) SetVideoId

func (p *IsFavoriteRequest) SetVideoId(val int64)

func (*IsFavoriteRequest) String

func (p *IsFavoriteRequest) String() string

func (*IsFavoriteRequest) Write

func (p *IsFavoriteRequest) Write(oprot thrift.TProtocol) (err error)

type IsFavoriteResponse

type IsFavoriteResponse struct {
	Base       *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	IsFavorite bool      `thrift:"is_favorite,2,required" frugal:"2,required,bool" json:"is_favorite"`
}
var InteractionServiceIsFavoriteResult_Success_DEFAULT *IsFavoriteResponse

func NewIsFavoriteResponse

func NewIsFavoriteResponse() *IsFavoriteResponse

func (*IsFavoriteResponse) BLength

func (p *IsFavoriteResponse) BLength() int

func (*IsFavoriteResponse) DeepEqual

func (p *IsFavoriteResponse) DeepEqual(ano *IsFavoriteResponse) bool

func (*IsFavoriteResponse) FastRead

func (p *IsFavoriteResponse) FastRead(buf []byte) (int, error)

func (*IsFavoriteResponse) FastReadField1

func (p *IsFavoriteResponse) FastReadField1(buf []byte) (int, error)

func (*IsFavoriteResponse) FastReadField2

func (p *IsFavoriteResponse) FastReadField2(buf []byte) (int, error)

func (*IsFavoriteResponse) FastWrite

func (p *IsFavoriteResponse) FastWrite(buf []byte) int

for compatibility

func (*IsFavoriteResponse) FastWriteNocopy

func (p *IsFavoriteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*IsFavoriteResponse) Field1DeepEqual

func (p *IsFavoriteResponse) Field1DeepEqual(src *BaseResp) bool

func (*IsFavoriteResponse) Field2DeepEqual

func (p *IsFavoriteResponse) Field2DeepEqual(src bool) bool

func (*IsFavoriteResponse) GetBase

func (p *IsFavoriteResponse) GetBase() (v *BaseResp)

func (*IsFavoriteResponse) GetIsFavorite

func (p *IsFavoriteResponse) GetIsFavorite() (v bool)

func (*IsFavoriteResponse) InitDefault

func (p *IsFavoriteResponse) InitDefault()

func (*IsFavoriteResponse) IsSetBase

func (p *IsFavoriteResponse) IsSetBase() bool

func (*IsFavoriteResponse) Read

func (p *IsFavoriteResponse) Read(iprot thrift.TProtocol) (err error)

func (*IsFavoriteResponse) ReadField1

func (p *IsFavoriteResponse) ReadField1(iprot thrift.TProtocol) error

func (*IsFavoriteResponse) ReadField2

func (p *IsFavoriteResponse) ReadField2(iprot thrift.TProtocol) error

func (*IsFavoriteResponse) SetBase

func (p *IsFavoriteResponse) SetBase(val *BaseResp)

func (*IsFavoriteResponse) SetIsFavorite

func (p *IsFavoriteResponse) SetIsFavorite(val bool)

func (*IsFavoriteResponse) String

func (p *IsFavoriteResponse) String() string

func (*IsFavoriteResponse) Write

func (p *IsFavoriteResponse) Write(oprot thrift.TProtocol) (err error)

type UserFavoriteCountRequest

type UserFavoriteCountRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var InteractionServiceUserFavoriteCountArgs_Req_DEFAULT *UserFavoriteCountRequest

func NewUserFavoriteCountRequest

func NewUserFavoriteCountRequest() *UserFavoriteCountRequest

func (*UserFavoriteCountRequest) BLength

func (p *UserFavoriteCountRequest) BLength() int

func (*UserFavoriteCountRequest) DeepEqual

func (*UserFavoriteCountRequest) FastRead

func (p *UserFavoriteCountRequest) FastRead(buf []byte) (int, error)

func (*UserFavoriteCountRequest) FastReadField1

func (p *UserFavoriteCountRequest) FastReadField1(buf []byte) (int, error)

func (*UserFavoriteCountRequest) FastReadField2

func (p *UserFavoriteCountRequest) FastReadField2(buf []byte) (int, error)

func (*UserFavoriteCountRequest) FastWrite

func (p *UserFavoriteCountRequest) FastWrite(buf []byte) int

for compatibility

func (*UserFavoriteCountRequest) FastWriteNocopy

func (p *UserFavoriteCountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserFavoriteCountRequest) Field1DeepEqual

func (p *UserFavoriteCountRequest) Field1DeepEqual(src int64) bool

func (*UserFavoriteCountRequest) Field2DeepEqual

func (p *UserFavoriteCountRequest) Field2DeepEqual(src string) bool

func (*UserFavoriteCountRequest) GetToken

func (p *UserFavoriteCountRequest) GetToken() (v string)

func (*UserFavoriteCountRequest) GetUserId

func (p *UserFavoriteCountRequest) GetUserId() (v int64)

func (*UserFavoriteCountRequest) InitDefault

func (p *UserFavoriteCountRequest) InitDefault()

func (*UserFavoriteCountRequest) Read

func (p *UserFavoriteCountRequest) Read(iprot thrift.TProtocol) (err error)

func (*UserFavoriteCountRequest) ReadField1

func (p *UserFavoriteCountRequest) ReadField1(iprot thrift.TProtocol) error

func (*UserFavoriteCountRequest) ReadField2

func (p *UserFavoriteCountRequest) ReadField2(iprot thrift.TProtocol) error

func (*UserFavoriteCountRequest) SetToken

func (p *UserFavoriteCountRequest) SetToken(val string)

func (*UserFavoriteCountRequest) SetUserId

func (p *UserFavoriteCountRequest) SetUserId(val int64)

func (*UserFavoriteCountRequest) String

func (p *UserFavoriteCountRequest) String() string

func (*UserFavoriteCountRequest) Write

func (p *UserFavoriteCountRequest) Write(oprot thrift.TProtocol) (err error)

type UserFavoriteCountResponse

type UserFavoriteCountResponse struct {
	Base      *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	LikeCount int64     `thrift:"like_count,2,required" frugal:"2,required,i64" json:"like_count"`
}
var InteractionServiceUserFavoriteCountResult_Success_DEFAULT *UserFavoriteCountResponse

func NewUserFavoriteCountResponse

func NewUserFavoriteCountResponse() *UserFavoriteCountResponse

func (*UserFavoriteCountResponse) BLength

func (p *UserFavoriteCountResponse) BLength() int

func (*UserFavoriteCountResponse) DeepEqual

func (*UserFavoriteCountResponse) FastRead

func (p *UserFavoriteCountResponse) FastRead(buf []byte) (int, error)

func (*UserFavoriteCountResponse) FastReadField1

func (p *UserFavoriteCountResponse) FastReadField1(buf []byte) (int, error)

func (*UserFavoriteCountResponse) FastReadField2

func (p *UserFavoriteCountResponse) FastReadField2(buf []byte) (int, error)

func (*UserFavoriteCountResponse) FastWrite

func (p *UserFavoriteCountResponse) FastWrite(buf []byte) int

for compatibility

func (*UserFavoriteCountResponse) FastWriteNocopy

func (p *UserFavoriteCountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserFavoriteCountResponse) Field1DeepEqual

func (p *UserFavoriteCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*UserFavoriteCountResponse) Field2DeepEqual

func (p *UserFavoriteCountResponse) Field2DeepEqual(src int64) bool

func (*UserFavoriteCountResponse) GetBase

func (p *UserFavoriteCountResponse) GetBase() (v *BaseResp)

func (*UserFavoriteCountResponse) GetLikeCount

func (p *UserFavoriteCountResponse) GetLikeCount() (v int64)

func (*UserFavoriteCountResponse) InitDefault

func (p *UserFavoriteCountResponse) InitDefault()

func (*UserFavoriteCountResponse) IsSetBase

func (p *UserFavoriteCountResponse) IsSetBase() bool

func (*UserFavoriteCountResponse) Read

func (p *UserFavoriteCountResponse) Read(iprot thrift.TProtocol) (err error)

func (*UserFavoriteCountResponse) ReadField1

func (p *UserFavoriteCountResponse) ReadField1(iprot thrift.TProtocol) error

func (*UserFavoriteCountResponse) ReadField2

func (p *UserFavoriteCountResponse) ReadField2(iprot thrift.TProtocol) error

func (*UserFavoriteCountResponse) SetBase

func (p *UserFavoriteCountResponse) SetBase(val *BaseResp)

func (*UserFavoriteCountResponse) SetLikeCount

func (p *UserFavoriteCountResponse) SetLikeCount(val int64)

func (*UserFavoriteCountResponse) String

func (p *UserFavoriteCountResponse) String() string

func (*UserFavoriteCountResponse) Write

func (p *UserFavoriteCountResponse) Write(oprot thrift.TProtocol) (err error)

type UserTotalFavoritedRequest

type UserTotalFavoritedRequest struct {
	Token  string `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	UserId int64  `thrift:"user_id,2,required" frugal:"2,required,i64" json:"user_id"`
}
var InteractionServiceUserTotalFavoritedArgs_Req_DEFAULT *UserTotalFavoritedRequest

func NewUserTotalFavoritedRequest

func NewUserTotalFavoritedRequest() *UserTotalFavoritedRequest

func (*UserTotalFavoritedRequest) BLength

func (p *UserTotalFavoritedRequest) BLength() int

func (*UserTotalFavoritedRequest) DeepEqual

func (*UserTotalFavoritedRequest) FastRead

func (p *UserTotalFavoritedRequest) FastRead(buf []byte) (int, error)

func (*UserTotalFavoritedRequest) FastReadField1

func (p *UserTotalFavoritedRequest) FastReadField1(buf []byte) (int, error)

func (*UserTotalFavoritedRequest) FastReadField2

func (p *UserTotalFavoritedRequest) FastReadField2(buf []byte) (int, error)

func (*UserTotalFavoritedRequest) FastWrite

func (p *UserTotalFavoritedRequest) FastWrite(buf []byte) int

for compatibility

func (*UserTotalFavoritedRequest) FastWriteNocopy

func (p *UserTotalFavoritedRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserTotalFavoritedRequest) Field1DeepEqual

func (p *UserTotalFavoritedRequest) Field1DeepEqual(src string) bool

func (*UserTotalFavoritedRequest) Field2DeepEqual

func (p *UserTotalFavoritedRequest) Field2DeepEqual(src int64) bool

func (*UserTotalFavoritedRequest) GetToken

func (p *UserTotalFavoritedRequest) GetToken() (v string)

func (*UserTotalFavoritedRequest) GetUserId

func (p *UserTotalFavoritedRequest) GetUserId() (v int64)

func (*UserTotalFavoritedRequest) InitDefault

func (p *UserTotalFavoritedRequest) InitDefault()

func (*UserTotalFavoritedRequest) Read

func (p *UserTotalFavoritedRequest) Read(iprot thrift.TProtocol) (err error)

func (*UserTotalFavoritedRequest) ReadField1

func (p *UserTotalFavoritedRequest) ReadField1(iprot thrift.TProtocol) error

func (*UserTotalFavoritedRequest) ReadField2

func (p *UserTotalFavoritedRequest) ReadField2(iprot thrift.TProtocol) error

func (*UserTotalFavoritedRequest) SetToken

func (p *UserTotalFavoritedRequest) SetToken(val string)

func (*UserTotalFavoritedRequest) SetUserId

func (p *UserTotalFavoritedRequest) SetUserId(val int64)

func (*UserTotalFavoritedRequest) String

func (p *UserTotalFavoritedRequest) String() string

func (*UserTotalFavoritedRequest) Write

func (p *UserTotalFavoritedRequest) Write(oprot thrift.TProtocol) (err error)

type UserTotalFavoritedResponse

type UserTotalFavoritedResponse struct {
	Base           *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	TotalFavorited int64     `thrift:"total_favorited,2,required" frugal:"2,required,i64" json:"total_favorited"`
}
var InteractionServiceUserTotalFavoritedResult_Success_DEFAULT *UserTotalFavoritedResponse

func NewUserTotalFavoritedResponse

func NewUserTotalFavoritedResponse() *UserTotalFavoritedResponse

func (*UserTotalFavoritedResponse) BLength

func (p *UserTotalFavoritedResponse) BLength() int

func (*UserTotalFavoritedResponse) DeepEqual

func (*UserTotalFavoritedResponse) FastRead

func (p *UserTotalFavoritedResponse) FastRead(buf []byte) (int, error)

func (*UserTotalFavoritedResponse) FastReadField1

func (p *UserTotalFavoritedResponse) FastReadField1(buf []byte) (int, error)

func (*UserTotalFavoritedResponse) FastReadField2

func (p *UserTotalFavoritedResponse) FastReadField2(buf []byte) (int, error)

func (*UserTotalFavoritedResponse) FastWrite

func (p *UserTotalFavoritedResponse) FastWrite(buf []byte) int

for compatibility

func (*UserTotalFavoritedResponse) FastWriteNocopy

func (p *UserTotalFavoritedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserTotalFavoritedResponse) Field1DeepEqual

func (p *UserTotalFavoritedResponse) Field1DeepEqual(src *BaseResp) bool

func (*UserTotalFavoritedResponse) Field2DeepEqual

func (p *UserTotalFavoritedResponse) Field2DeepEqual(src int64) bool

func (*UserTotalFavoritedResponse) GetBase

func (p *UserTotalFavoritedResponse) GetBase() (v *BaseResp)

func (*UserTotalFavoritedResponse) GetTotalFavorited

func (p *UserTotalFavoritedResponse) GetTotalFavorited() (v int64)

func (*UserTotalFavoritedResponse) InitDefault

func (p *UserTotalFavoritedResponse) InitDefault()

func (*UserTotalFavoritedResponse) IsSetBase

func (p *UserTotalFavoritedResponse) IsSetBase() bool

func (*UserTotalFavoritedResponse) Read

func (p *UserTotalFavoritedResponse) Read(iprot thrift.TProtocol) (err error)

func (*UserTotalFavoritedResponse) ReadField1

func (p *UserTotalFavoritedResponse) ReadField1(iprot thrift.TProtocol) error

func (*UserTotalFavoritedResponse) ReadField2

func (p *UserTotalFavoritedResponse) ReadField2(iprot thrift.TProtocol) error

func (*UserTotalFavoritedResponse) SetBase

func (p *UserTotalFavoritedResponse) SetBase(val *BaseResp)

func (*UserTotalFavoritedResponse) SetTotalFavorited

func (p *UserTotalFavoritedResponse) SetTotalFavorited(val int64)

func (*UserTotalFavoritedResponse) String

func (p *UserTotalFavoritedResponse) String() string

func (*UserTotalFavoritedResponse) Write

func (p *UserTotalFavoritedResponse) Write(oprot thrift.TProtocol) (err error)

type Video

type Video struct {
	Id            int64      `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	Author        *user.User `thrift:"author,2,required" frugal:"2,required,user.User" json:"author"`
	PlayUrl       string     `thrift:"play_url,3,required" frugal:"3,required,string" json:"play_url"`
	CoverUrl      string     `thrift:"cover_url,4,required" frugal:"4,required,string" json:"cover_url"`
	FavoriteCount int64      `thrift:"favorite_count,5,required" frugal:"5,required,i64" json:"favorite_count"`
	CommentCount  int64      `thrift:"comment_count,6,required" frugal:"6,required,i64" json:"comment_count"`
	IsFavorite    bool       `thrift:"is_favorite,7,required" frugal:"7,required,bool" json:"is_favorite"`
	Title         string     `thrift:"title,8,required" frugal:"8,required,string" json:"title"`
}

func NewVideo

func NewVideo() *Video

func (*Video) BLength

func (p *Video) BLength() int

func (*Video) DeepEqual

func (p *Video) DeepEqual(ano *Video) bool

func (*Video) FastRead

func (p *Video) FastRead(buf []byte) (int, error)

func (*Video) FastReadField1

func (p *Video) FastReadField1(buf []byte) (int, error)

func (*Video) FastReadField2

func (p *Video) FastReadField2(buf []byte) (int, error)

func (*Video) FastReadField3

func (p *Video) FastReadField3(buf []byte) (int, error)

func (*Video) FastReadField4

func (p *Video) FastReadField4(buf []byte) (int, error)

func (*Video) FastReadField5

func (p *Video) FastReadField5(buf []byte) (int, error)

func (*Video) FastReadField6

func (p *Video) FastReadField6(buf []byte) (int, error)

func (*Video) FastReadField7

func (p *Video) FastReadField7(buf []byte) (int, error)

func (*Video) FastReadField8

func (p *Video) FastReadField8(buf []byte) (int, error)

func (*Video) FastWrite

func (p *Video) FastWrite(buf []byte) int

for compatibility

func (*Video) FastWriteNocopy

func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Video) Field1DeepEqual

func (p *Video) Field1DeepEqual(src int64) bool

func (*Video) Field2DeepEqual

func (p *Video) Field2DeepEqual(src *user.User) bool

func (*Video) Field3DeepEqual

func (p *Video) Field3DeepEqual(src string) bool

func (*Video) Field4DeepEqual

func (p *Video) Field4DeepEqual(src string) bool

func (*Video) Field5DeepEqual

func (p *Video) Field5DeepEqual(src int64) bool

func (*Video) Field6DeepEqual

func (p *Video) Field6DeepEqual(src int64) bool

func (*Video) Field7DeepEqual

func (p *Video) Field7DeepEqual(src bool) bool

func (*Video) Field8DeepEqual

func (p *Video) Field8DeepEqual(src string) bool

func (*Video) GetAuthor

func (p *Video) GetAuthor() (v *user.User)

func (*Video) GetCommentCount

func (p *Video) GetCommentCount() (v int64)

func (*Video) GetCoverUrl

func (p *Video) GetCoverUrl() (v string)

func (*Video) GetFavoriteCount

func (p *Video) GetFavoriteCount() (v int64)

func (*Video) GetId

func (p *Video) GetId() (v int64)

func (*Video) GetIsFavorite

func (p *Video) GetIsFavorite() (v bool)

func (*Video) GetPlayUrl

func (p *Video) GetPlayUrl() (v string)

func (*Video) GetTitle

func (p *Video) GetTitle() (v string)

func (*Video) InitDefault

func (p *Video) InitDefault()

func (*Video) IsSetAuthor

func (p *Video) IsSetAuthor() bool

func (*Video) Read

func (p *Video) Read(iprot thrift.TProtocol) (err error)

func (*Video) ReadField1

func (p *Video) ReadField1(iprot thrift.TProtocol) error

func (*Video) ReadField2

func (p *Video) ReadField2(iprot thrift.TProtocol) error

func (*Video) ReadField3

func (p *Video) ReadField3(iprot thrift.TProtocol) error

func (*Video) ReadField4

func (p *Video) ReadField4(iprot thrift.TProtocol) error

func (*Video) ReadField5

func (p *Video) ReadField5(iprot thrift.TProtocol) error

func (*Video) ReadField6

func (p *Video) ReadField6(iprot thrift.TProtocol) error

func (*Video) ReadField7

func (p *Video) ReadField7(iprot thrift.TProtocol) error

func (*Video) ReadField8

func (p *Video) ReadField8(iprot thrift.TProtocol) error

func (*Video) SetAuthor

func (p *Video) SetAuthor(val *user.User)

func (*Video) SetCommentCount

func (p *Video) SetCommentCount(val int64)

func (*Video) SetCoverUrl

func (p *Video) SetCoverUrl(val string)

func (*Video) SetFavoriteCount

func (p *Video) SetFavoriteCount(val int64)

func (*Video) SetId

func (p *Video) SetId(val int64)

func (*Video) SetIsFavorite

func (p *Video) SetIsFavorite(val bool)

func (*Video) SetPlayUrl

func (p *Video) SetPlayUrl(val string)

func (*Video) SetTitle

func (p *Video) SetTitle(val string)

func (*Video) String

func (p *Video) String() string

func (*Video) Write

func (p *Video) Write(oprot thrift.TProtocol) (err error)

type VideoFavoritedCountRequest

type VideoFavoritedCountRequest struct {
	VideoId int64  `thrift:"video_id,1,required" frugal:"1,required,i64" json:"video_id"`
	Token   string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var InteractionServiceVideoFavoritedCountArgs_Req_DEFAULT *VideoFavoritedCountRequest

func NewVideoFavoritedCountRequest

func NewVideoFavoritedCountRequest() *VideoFavoritedCountRequest

func (*VideoFavoritedCountRequest) BLength

func (p *VideoFavoritedCountRequest) BLength() int

func (*VideoFavoritedCountRequest) DeepEqual

func (*VideoFavoritedCountRequest) FastRead

func (p *VideoFavoritedCountRequest) FastRead(buf []byte) (int, error)

func (*VideoFavoritedCountRequest) FastReadField1

func (p *VideoFavoritedCountRequest) FastReadField1(buf []byte) (int, error)

func (*VideoFavoritedCountRequest) FastReadField2

func (p *VideoFavoritedCountRequest) FastReadField2(buf []byte) (int, error)

func (*VideoFavoritedCountRequest) FastWrite

func (p *VideoFavoritedCountRequest) FastWrite(buf []byte) int

for compatibility

func (*VideoFavoritedCountRequest) FastWriteNocopy

func (p *VideoFavoritedCountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*VideoFavoritedCountRequest) Field1DeepEqual

func (p *VideoFavoritedCountRequest) Field1DeepEqual(src int64) bool

func (*VideoFavoritedCountRequest) Field2DeepEqual

func (p *VideoFavoritedCountRequest) Field2DeepEqual(src string) bool

func (*VideoFavoritedCountRequest) GetToken

func (p *VideoFavoritedCountRequest) GetToken() (v string)

func (*VideoFavoritedCountRequest) GetVideoId

func (p *VideoFavoritedCountRequest) GetVideoId() (v int64)

func (*VideoFavoritedCountRequest) InitDefault

func (p *VideoFavoritedCountRequest) InitDefault()

func (*VideoFavoritedCountRequest) Read

func (p *VideoFavoritedCountRequest) Read(iprot thrift.TProtocol) (err error)

func (*VideoFavoritedCountRequest) ReadField1

func (p *VideoFavoritedCountRequest) ReadField1(iprot thrift.TProtocol) error

func (*VideoFavoritedCountRequest) ReadField2

func (p *VideoFavoritedCountRequest) ReadField2(iprot thrift.TProtocol) error

func (*VideoFavoritedCountRequest) SetToken

func (p *VideoFavoritedCountRequest) SetToken(val string)

func (*VideoFavoritedCountRequest) SetVideoId

func (p *VideoFavoritedCountRequest) SetVideoId(val int64)

func (*VideoFavoritedCountRequest) String

func (p *VideoFavoritedCountRequest) String() string

func (*VideoFavoritedCountRequest) Write

func (p *VideoFavoritedCountRequest) Write(oprot thrift.TProtocol) (err error)

type VideoFavoritedCountResponse

type VideoFavoritedCountResponse struct {
	Base      *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	LikeCount int64     `thrift:"like_count,2,required" frugal:"2,required,i64" json:"like_count"`
}
var InteractionServiceVideoFavoritedCountResult_Success_DEFAULT *VideoFavoritedCountResponse

func NewVideoFavoritedCountResponse

func NewVideoFavoritedCountResponse() *VideoFavoritedCountResponse

func (*VideoFavoritedCountResponse) BLength

func (p *VideoFavoritedCountResponse) BLength() int

func (*VideoFavoritedCountResponse) DeepEqual

func (*VideoFavoritedCountResponse) FastRead

func (p *VideoFavoritedCountResponse) FastRead(buf []byte) (int, error)

func (*VideoFavoritedCountResponse) FastReadField1

func (p *VideoFavoritedCountResponse) FastReadField1(buf []byte) (int, error)

func (*VideoFavoritedCountResponse) FastReadField2

func (p *VideoFavoritedCountResponse) FastReadField2(buf []byte) (int, error)

func (*VideoFavoritedCountResponse) FastWrite

func (p *VideoFavoritedCountResponse) FastWrite(buf []byte) int

for compatibility

func (*VideoFavoritedCountResponse) FastWriteNocopy

func (p *VideoFavoritedCountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*VideoFavoritedCountResponse) Field1DeepEqual

func (p *VideoFavoritedCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*VideoFavoritedCountResponse) Field2DeepEqual

func (p *VideoFavoritedCountResponse) Field2DeepEqual(src int64) bool

func (*VideoFavoritedCountResponse) GetBase

func (p *VideoFavoritedCountResponse) GetBase() (v *BaseResp)

func (*VideoFavoritedCountResponse) GetLikeCount

func (p *VideoFavoritedCountResponse) GetLikeCount() (v int64)

func (*VideoFavoritedCountResponse) InitDefault

func (p *VideoFavoritedCountResponse) InitDefault()

func (*VideoFavoritedCountResponse) IsSetBase

func (p *VideoFavoritedCountResponse) IsSetBase() bool

func (*VideoFavoritedCountResponse) Read

func (p *VideoFavoritedCountResponse) Read(iprot thrift.TProtocol) (err error)

func (*VideoFavoritedCountResponse) ReadField1

func (p *VideoFavoritedCountResponse) ReadField1(iprot thrift.TProtocol) error

func (*VideoFavoritedCountResponse) ReadField2

func (p *VideoFavoritedCountResponse) ReadField2(iprot thrift.TProtocol) error

func (*VideoFavoritedCountResponse) SetBase

func (p *VideoFavoritedCountResponse) SetBase(val *BaseResp)

func (*VideoFavoritedCountResponse) SetLikeCount

func (p *VideoFavoritedCountResponse) SetLikeCount(val int64)

func (*VideoFavoritedCountResponse) String

func (p *VideoFavoritedCountResponse) String() string

func (*VideoFavoritedCountResponse) Write

func (p *VideoFavoritedCountResponse) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.6.2.
Code generated by Kitex v0.6.2.

Jump to

Keyboard shortcuts

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