userplat

package
v0.0.0-...-8f4e997 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommentActionRequest_CommentId_DEFAULT int64
View Source
var CommentActionRequest_CommentText_DEFAULT string
View Source
var CommentActionResponse_StatusMsg_DEFAULT string
View Source
var CommentListResponse_StatusMsg_DEFAULT string
View Source
var FavoriteListResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Id         int64  `thrift:"Id,1" frugal:"1,default,i64" json:"id"`
	User       *User  `thrift:"User,2" frugal:"2,default,User" json:"user"`
	Content    string `thrift:"Content,3" frugal:"3,default,string" json:"content"`
	CreateDate string `thrift:"CreateDate,4" frugal:"4,default,string" json:"creaet_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) 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)

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)

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 {
	Token       string  `thrift:"Token,1" frugal:"1,default,string" json:"token"`
	VideoId     int64   `thrift:"VideoId,2" frugal:"2,default,i64" json:"video_id"`
	ActionType  int32   `thrift:"ActionType,3" frugal:"3,default,i32" json:"action_type"`
	CommentText *string `thrift:"CommentText,4,optional" frugal:"4,optional,string" json:"comment_text"`
	CommentId   *int64  `thrift:"CommentId,5,optional" frugal:"5,optional,i64" json:"comment_id"`
}
var UserPlatServiceUserCommentActionArgs_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 string) bool

func (*CommentActionRequest) Field2DeepEqual

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

func (*CommentActionRequest) Field3DeepEqual

func (p *CommentActionRequest) Field3DeepEqual(src int32) 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 int32)

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) IsValid

func (p *CommentActionRequest) IsValid() error

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 int32)

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 {
	StatusCode int32    `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string  `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	Comment    *Comment `thrift:"Comment,3,optional" frugal:"3,optional,Comment" json:"comment"`
}
var UserPlatServiceUserCommentActionResult_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) FastReadField3

func (p *CommentActionResponse) FastReadField3(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 int32) bool

func (*CommentActionResponse) Field2DeepEqual

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

func (*CommentActionResponse) Field3DeepEqual

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

func (*CommentActionResponse) GetComment

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

func (*CommentActionResponse) GetStatusCode

func (p *CommentActionResponse) GetStatusCode() (v int32)

func (*CommentActionResponse) GetStatusMsg

func (p *CommentActionResponse) GetStatusMsg() (v string)

func (*CommentActionResponse) InitDefault

func (p *CommentActionResponse) InitDefault()

func (*CommentActionResponse) IsSetComment

func (p *CommentActionResponse) IsSetComment() bool

func (*CommentActionResponse) IsSetStatusMsg

func (p *CommentActionResponse) IsSetStatusMsg() 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) ReadField3

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

func (*CommentActionResponse) SetComment

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

func (*CommentActionResponse) SetStatusCode

func (p *CommentActionResponse) SetStatusCode(val int32)

func (*CommentActionResponse) SetStatusMsg

func (p *CommentActionResponse) SetStatusMsg(val *string)

func (*CommentActionResponse) String

func (p *CommentActionResponse) String() string

func (*CommentActionResponse) Write

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

type CommentListRequest

type CommentListRequest struct {
	Token   string `thrift:"Token,1" frugal:"1,default,string" json:"token"`
	VideoId int64  `thrift:"VideoId,2" frugal:"2,default,i64" json:"video_id"`
}
var UserPlatServiceUserCommentListArgs_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 string) bool

func (*CommentListRequest) Field2DeepEqual

func (p *CommentListRequest) Field2DeepEqual(src int64) 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) IsValid

func (p *CommentListRequest) IsValid() error

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 {
	StatusCode  int32      `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg   *string    `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	CommentList []*Comment `thrift:"CommentList,3" frugal:"3,default,list<Comment>" json:"comment_list"`
}
var UserPlatServiceUserCommentListResult_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) FastReadField3

func (p *CommentListResponse) FastReadField3(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 int32) bool

func (*CommentListResponse) Field2DeepEqual

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

func (*CommentListResponse) Field3DeepEqual

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

func (*CommentListResponse) GetCommentList

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

func (*CommentListResponse) GetStatusCode

func (p *CommentListResponse) GetStatusCode() (v int32)

func (*CommentListResponse) GetStatusMsg

func (p *CommentListResponse) GetStatusMsg() (v string)

func (*CommentListResponse) InitDefault

func (p *CommentListResponse) InitDefault()

func (*CommentListResponse) IsSetStatusMsg

func (p *CommentListResponse) IsSetStatusMsg() 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) ReadField3

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

func (*CommentListResponse) SetCommentList

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

func (*CommentListResponse) SetStatusCode

func (p *CommentListResponse) SetStatusCode(val int32)

func (*CommentListResponse) SetStatusMsg

func (p *CommentListResponse) SetStatusMsg(val *string)

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 {
	Token      string `thrift:"Token,1" frugal:"1,default,string" json:"token"`
	VideoId    int64  `thrift:"VideoId,2" frugal:"2,default,i64" json:"video_id"`
	ActionType int32  `thrift:"ActionType,3" frugal:"3,default,i32" json:"action_type"`
}
var UserPlatServiceUserFavoriteActionArgs_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 string) bool

func (*FavoriteActionRequest) Field2DeepEqual

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

func (*FavoriteActionRequest) Field3DeepEqual

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

func (*FavoriteActionRequest) GetActionType

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

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) IsValid

func (p *FavoriteActionRequest) IsValid() error

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 int32)

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 {
	StatusCode int32  `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string `thrift:"StatusMsg,2" frugal:"2,default,string" json:"status_msg"`
}
var UserPlatServiceUserFavoriteActionResult_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) FastReadField2

func (p *FavoriteActionResponse) FastReadField2(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 int32) bool

func (*FavoriteActionResponse) Field2DeepEqual

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

func (*FavoriteActionResponse) GetStatusCode

func (p *FavoriteActionResponse) GetStatusCode() (v int32)

func (*FavoriteActionResponse) GetStatusMsg

func (p *FavoriteActionResponse) GetStatusMsg() (v string)

func (*FavoriteActionResponse) InitDefault

func (p *FavoriteActionResponse) InitDefault()

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) ReadField2

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

func (*FavoriteActionResponse) SetStatusCode

func (p *FavoriteActionResponse) SetStatusCode(val int32)

func (*FavoriteActionResponse) SetStatusMsg

func (p *FavoriteActionResponse) SetStatusMsg(val string)

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:"UserId,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"Token,2" frugal:"2,default,string" json:"token"`
}
var UserPlatServiceUserFavoriteListArgs_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) IsValid

func (p *FavoriteListRequest) IsValid() error

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 {
	StatusCode int32    `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string  `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	VideoList  []*Video `thrift:"VideoList,3" frugal:"3,default,list<Video>" json:"video_list"`
}
var UserPlatServiceUserFavoriteListResult_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) FastReadField3

func (p *FavoriteListResponse) FastReadField3(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 int32) bool

func (*FavoriteListResponse) Field2DeepEqual

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

func (*FavoriteListResponse) Field3DeepEqual

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

func (*FavoriteListResponse) GetStatusCode

func (p *FavoriteListResponse) GetStatusCode() (v int32)

func (*FavoriteListResponse) GetStatusMsg

func (p *FavoriteListResponse) GetStatusMsg() (v string)

func (*FavoriteListResponse) GetVideoList

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

func (*FavoriteListResponse) InitDefault

func (p *FavoriteListResponse) InitDefault()

func (*FavoriteListResponse) IsSetStatusMsg

func (p *FavoriteListResponse) IsSetStatusMsg() 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) ReadField3

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

func (*FavoriteListResponse) SetStatusCode

func (p *FavoriteListResponse) SetStatusCode(val int32)

func (*FavoriteListResponse) SetStatusMsg

func (p *FavoriteListResponse) SetStatusMsg(val *string)

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 User

type User struct {
	Id            int64  `thrift:"Id,1" frugal:"1,default,i64" json:"id"`
	Name          string `thrift:"Name,2" frugal:"2,default,string" json:"name"`
	FollowCount   *int64 `thrift:"FollowCount,3,optional" frugal:"3,optional,i64" json:"follow_count"`
	FollowerCount *int64 `thrift:"FollowerCount,4,optional" frugal:"4,optional,i64" json:"follower_count"`
	IsFollow      bool   `thrift:"IsFollow,5" frugal:"5,default,bool" json:"is_follow"`
}
var Comment_User_DEFAULT *User
var Video_Author_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) BLength

func (p *User) BLength() int

func (*User) DeepEqual

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

func (*User) FastRead

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

func (*User) FastReadField1

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

func (*User) FastReadField2

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

func (*User) FastReadField3

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

func (*User) FastReadField4

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

func (*User) FastReadField5

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

func (*User) FastWrite

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

for compatibility

func (*User) FastWriteNocopy

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

func (*User) Field1DeepEqual

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

func (*User) Field2DeepEqual

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

func (*User) Field3DeepEqual

func (p *User) Field3DeepEqual(src *int64) bool

func (*User) Field4DeepEqual

func (p *User) Field4DeepEqual(src *int64) bool

func (*User) Field5DeepEqual

func (p *User) Field5DeepEqual(src bool) bool

func (*User) GetFollowCount

func (p *User) GetFollowCount() (v int64)

func (*User) GetFollowerCount

func (p *User) GetFollowerCount() (v int64)

func (*User) GetId

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

func (*User) GetIsFollow

func (p *User) GetIsFollow() (v bool)

func (*User) GetName

func (p *User) GetName() (v string)

func (*User) InitDefault

func (p *User) InitDefault()

func (*User) IsSetFollowCount

func (p *User) IsSetFollowCount() bool

func (*User) IsSetFollowerCount

func (p *User) IsSetFollowerCount() bool

func (*User) Read

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

func (*User) ReadField1

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

func (*User) ReadField2

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

func (*User) ReadField3

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

func (*User) ReadField4

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

func (*User) ReadField5

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

func (*User) SetFollowCount

func (p *User) SetFollowCount(val *int64)

func (*User) SetFollowerCount

func (p *User) SetFollowerCount(val *int64)

func (*User) SetId

func (p *User) SetId(val int64)

func (*User) SetIsFollow

func (p *User) SetIsFollow(val bool)

func (*User) SetName

func (p *User) SetName(val string)

func (*User) String

func (p *User) String() string

func (*User) Write

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

type UserPlatService

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

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

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

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

type UserPlatServiceClient

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

func NewUserPlatServiceClient

func NewUserPlatServiceClient(c thrift.TClient) *UserPlatServiceClient

func NewUserPlatServiceClientProtocol

func NewUserPlatServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserPlatServiceClient

func (*UserPlatServiceClient) Client_

func (p *UserPlatServiceClient) Client_() thrift.TClient

func (*UserPlatServiceClient) UserCommentAction

func (p *UserPlatServiceClient) UserCommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)

func (*UserPlatServiceClient) UserCommentList

func (p *UserPlatServiceClient) UserCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)

func (*UserPlatServiceClient) UserFavoriteAction

func (p *UserPlatServiceClient) UserFavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)

func (*UserPlatServiceClient) UserFavoriteList

func (p *UserPlatServiceClient) UserFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)

type UserPlatServiceProcessor

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

func NewUserPlatServiceProcessor

func NewUserPlatServiceProcessor(handler UserPlatService) *UserPlatServiceProcessor

func (*UserPlatServiceProcessor) AddToProcessorMap

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

func (*UserPlatServiceProcessor) GetProcessorFunction

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

func (*UserPlatServiceProcessor) Process

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

func (*UserPlatServiceProcessor) ProcessorMap

type UserPlatServiceUserCommentActionArgs

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

func NewUserPlatServiceUserCommentActionArgs

func NewUserPlatServiceUserCommentActionArgs() *UserPlatServiceUserCommentActionArgs

func (*UserPlatServiceUserCommentActionArgs) BLength

func (*UserPlatServiceUserCommentActionArgs) DeepEqual

func (*UserPlatServiceUserCommentActionArgs) FastRead

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

func (*UserPlatServiceUserCommentActionArgs) FastReadField1

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

func (*UserPlatServiceUserCommentActionArgs) FastWrite

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

for compatibility

func (*UserPlatServiceUserCommentActionArgs) FastWriteNocopy

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

func (*UserPlatServiceUserCommentActionArgs) Field1DeepEqual

func (*UserPlatServiceUserCommentActionArgs) GetFirstArgument

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

func (*UserPlatServiceUserCommentActionArgs) GetReq

func (*UserPlatServiceUserCommentActionArgs) InitDefault

func (p *UserPlatServiceUserCommentActionArgs) InitDefault()

func (*UserPlatServiceUserCommentActionArgs) IsSetReq

func (*UserPlatServiceUserCommentActionArgs) Read

func (*UserPlatServiceUserCommentActionArgs) ReadField1

func (*UserPlatServiceUserCommentActionArgs) SetReq

func (*UserPlatServiceUserCommentActionArgs) String

func (*UserPlatServiceUserCommentActionArgs) Write

type UserPlatServiceUserCommentActionResult

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

func NewUserPlatServiceUserCommentActionResult

func NewUserPlatServiceUserCommentActionResult() *UserPlatServiceUserCommentActionResult

func (*UserPlatServiceUserCommentActionResult) BLength

func (*UserPlatServiceUserCommentActionResult) DeepEqual

func (*UserPlatServiceUserCommentActionResult) FastRead

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

func (*UserPlatServiceUserCommentActionResult) FastReadField0

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

func (*UserPlatServiceUserCommentActionResult) FastWrite

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

for compatibility

func (*UserPlatServiceUserCommentActionResult) FastWriteNocopy

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

func (*UserPlatServiceUserCommentActionResult) Field0DeepEqual

func (*UserPlatServiceUserCommentActionResult) GetResult

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

func (*UserPlatServiceUserCommentActionResult) GetSuccess

func (*UserPlatServiceUserCommentActionResult) InitDefault

func (p *UserPlatServiceUserCommentActionResult) InitDefault()

func (*UserPlatServiceUserCommentActionResult) IsSetSuccess

func (p *UserPlatServiceUserCommentActionResult) IsSetSuccess() bool

func (*UserPlatServiceUserCommentActionResult) Read

func (*UserPlatServiceUserCommentActionResult) ReadField0

func (*UserPlatServiceUserCommentActionResult) SetSuccess

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

func (*UserPlatServiceUserCommentActionResult) String

func (*UserPlatServiceUserCommentActionResult) Write

type UserPlatServiceUserCommentListArgs

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

func NewUserPlatServiceUserCommentListArgs

func NewUserPlatServiceUserCommentListArgs() *UserPlatServiceUserCommentListArgs

func (*UserPlatServiceUserCommentListArgs) BLength

func (*UserPlatServiceUserCommentListArgs) DeepEqual

func (*UserPlatServiceUserCommentListArgs) FastRead

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

func (*UserPlatServiceUserCommentListArgs) FastReadField1

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

func (*UserPlatServiceUserCommentListArgs) FastWrite

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

for compatibility

func (*UserPlatServiceUserCommentListArgs) FastWriteNocopy

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

func (*UserPlatServiceUserCommentListArgs) Field1DeepEqual

func (*UserPlatServiceUserCommentListArgs) GetFirstArgument

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

func (*UserPlatServiceUserCommentListArgs) GetReq

func (*UserPlatServiceUserCommentListArgs) InitDefault

func (p *UserPlatServiceUserCommentListArgs) InitDefault()

func (*UserPlatServiceUserCommentListArgs) IsSetReq

func (*UserPlatServiceUserCommentListArgs) Read

func (*UserPlatServiceUserCommentListArgs) ReadField1

func (*UserPlatServiceUserCommentListArgs) SetReq

func (*UserPlatServiceUserCommentListArgs) String

func (*UserPlatServiceUserCommentListArgs) Write

type UserPlatServiceUserCommentListResult

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

func NewUserPlatServiceUserCommentListResult

func NewUserPlatServiceUserCommentListResult() *UserPlatServiceUserCommentListResult

func (*UserPlatServiceUserCommentListResult) BLength

func (*UserPlatServiceUserCommentListResult) DeepEqual

func (*UserPlatServiceUserCommentListResult) FastRead

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

func (*UserPlatServiceUserCommentListResult) FastReadField0

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

func (*UserPlatServiceUserCommentListResult) FastWrite

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

for compatibility

func (*UserPlatServiceUserCommentListResult) FastWriteNocopy

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

func (*UserPlatServiceUserCommentListResult) Field0DeepEqual

func (*UserPlatServiceUserCommentListResult) GetResult

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

func (*UserPlatServiceUserCommentListResult) GetSuccess

func (*UserPlatServiceUserCommentListResult) InitDefault

func (p *UserPlatServiceUserCommentListResult) InitDefault()

func (*UserPlatServiceUserCommentListResult) IsSetSuccess

func (p *UserPlatServiceUserCommentListResult) IsSetSuccess() bool

func (*UserPlatServiceUserCommentListResult) Read

func (*UserPlatServiceUserCommentListResult) ReadField0

func (*UserPlatServiceUserCommentListResult) SetSuccess

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

func (*UserPlatServiceUserCommentListResult) String

func (*UserPlatServiceUserCommentListResult) Write

type UserPlatServiceUserFavoriteActionArgs

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

func NewUserPlatServiceUserFavoriteActionArgs

func NewUserPlatServiceUserFavoriteActionArgs() *UserPlatServiceUserFavoriteActionArgs

func (*UserPlatServiceUserFavoriteActionArgs) BLength

func (*UserPlatServiceUserFavoriteActionArgs) DeepEqual

func (*UserPlatServiceUserFavoriteActionArgs) FastRead

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

func (*UserPlatServiceUserFavoriteActionArgs) FastReadField1

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

func (*UserPlatServiceUserFavoriteActionArgs) FastWrite

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

for compatibility

func (*UserPlatServiceUserFavoriteActionArgs) FastWriteNocopy

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

func (*UserPlatServiceUserFavoriteActionArgs) Field1DeepEqual

func (*UserPlatServiceUserFavoriteActionArgs) GetFirstArgument

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

func (*UserPlatServiceUserFavoriteActionArgs) GetReq

func (*UserPlatServiceUserFavoriteActionArgs) InitDefault

func (p *UserPlatServiceUserFavoriteActionArgs) InitDefault()

func (*UserPlatServiceUserFavoriteActionArgs) IsSetReq

func (*UserPlatServiceUserFavoriteActionArgs) Read

func (*UserPlatServiceUserFavoriteActionArgs) ReadField1

func (*UserPlatServiceUserFavoriteActionArgs) SetReq

func (*UserPlatServiceUserFavoriteActionArgs) String

func (*UserPlatServiceUserFavoriteActionArgs) Write

type UserPlatServiceUserFavoriteActionResult

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

func NewUserPlatServiceUserFavoriteActionResult

func NewUserPlatServiceUserFavoriteActionResult() *UserPlatServiceUserFavoriteActionResult

func (*UserPlatServiceUserFavoriteActionResult) BLength

func (*UserPlatServiceUserFavoriteActionResult) DeepEqual

func (*UserPlatServiceUserFavoriteActionResult) FastRead

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

func (*UserPlatServiceUserFavoriteActionResult) FastReadField0

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

func (*UserPlatServiceUserFavoriteActionResult) FastWrite

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

for compatibility

func (*UserPlatServiceUserFavoriteActionResult) FastWriteNocopy

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

func (*UserPlatServiceUserFavoriteActionResult) Field0DeepEqual

func (*UserPlatServiceUserFavoriteActionResult) GetResult

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

func (*UserPlatServiceUserFavoriteActionResult) GetSuccess

func (*UserPlatServiceUserFavoriteActionResult) InitDefault

func (p *UserPlatServiceUserFavoriteActionResult) InitDefault()

func (*UserPlatServiceUserFavoriteActionResult) IsSetSuccess

func (*UserPlatServiceUserFavoriteActionResult) Read

func (*UserPlatServiceUserFavoriteActionResult) ReadField0

func (*UserPlatServiceUserFavoriteActionResult) SetSuccess

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

func (*UserPlatServiceUserFavoriteActionResult) String

func (*UserPlatServiceUserFavoriteActionResult) Write

type UserPlatServiceUserFavoriteListArgs

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

func NewUserPlatServiceUserFavoriteListArgs

func NewUserPlatServiceUserFavoriteListArgs() *UserPlatServiceUserFavoriteListArgs

func (*UserPlatServiceUserFavoriteListArgs) BLength

func (*UserPlatServiceUserFavoriteListArgs) DeepEqual

func (*UserPlatServiceUserFavoriteListArgs) FastRead

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

func (*UserPlatServiceUserFavoriteListArgs) FastReadField1

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

func (*UserPlatServiceUserFavoriteListArgs) FastWrite

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

for compatibility

func (*UserPlatServiceUserFavoriteListArgs) FastWriteNocopy

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

func (*UserPlatServiceUserFavoriteListArgs) Field1DeepEqual

func (*UserPlatServiceUserFavoriteListArgs) GetFirstArgument

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

func (*UserPlatServiceUserFavoriteListArgs) GetReq

func (*UserPlatServiceUserFavoriteListArgs) InitDefault

func (p *UserPlatServiceUserFavoriteListArgs) InitDefault()

func (*UserPlatServiceUserFavoriteListArgs) IsSetReq

func (*UserPlatServiceUserFavoriteListArgs) Read

func (*UserPlatServiceUserFavoriteListArgs) ReadField1

func (*UserPlatServiceUserFavoriteListArgs) SetReq

func (*UserPlatServiceUserFavoriteListArgs) String

func (*UserPlatServiceUserFavoriteListArgs) Write

type UserPlatServiceUserFavoriteListResult

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

func NewUserPlatServiceUserFavoriteListResult

func NewUserPlatServiceUserFavoriteListResult() *UserPlatServiceUserFavoriteListResult

func (*UserPlatServiceUserFavoriteListResult) BLength

func (*UserPlatServiceUserFavoriteListResult) DeepEqual

func (*UserPlatServiceUserFavoriteListResult) FastRead

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

func (*UserPlatServiceUserFavoriteListResult) FastReadField0

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

func (*UserPlatServiceUserFavoriteListResult) FastWrite

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

for compatibility

func (*UserPlatServiceUserFavoriteListResult) FastWriteNocopy

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

func (*UserPlatServiceUserFavoriteListResult) Field0DeepEqual

func (*UserPlatServiceUserFavoriteListResult) GetResult

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

func (*UserPlatServiceUserFavoriteListResult) GetSuccess

func (*UserPlatServiceUserFavoriteListResult) InitDefault

func (p *UserPlatServiceUserFavoriteListResult) InitDefault()

func (*UserPlatServiceUserFavoriteListResult) IsSetSuccess

func (p *UserPlatServiceUserFavoriteListResult) IsSetSuccess() bool

func (*UserPlatServiceUserFavoriteListResult) Read

func (*UserPlatServiceUserFavoriteListResult) ReadField0

func (*UserPlatServiceUserFavoriteListResult) SetSuccess

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

func (*UserPlatServiceUserFavoriteListResult) String

func (*UserPlatServiceUserFavoriteListResult) Write

type Video

type Video struct {
	Id            int64  `thrift:"Id,1" frugal:"1,default,i64" json:"id"`
	Author        *User  `thrift:"Author,2" frugal:"2,default,User" json:"author"`
	PlayUrl       string `thrift:"PlayUrl,3" frugal:"3,default,string" json:"play_url"`
	CoverUrl      string `thrift:"CoverUrl,4" frugal:"4,default,string" json:"cover_url"`
	FavoriteCount int64  `thrift:"FavoriteCount,5" frugal:"5,default,i64" json:"favorite_count"`
	CommentCount  int64  `thrift:"CommentCount,6" frugal:"6,default,i64" json:"comment_count"`
	IsFavorite    bool   `thrift:"IsFavorite,7" frugal:"7,default,bool" json:"is_favorite"`
	Title         string `thrift:"Title,8" frugal:"8,default,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) 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)

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)

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)

Directories

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

Jump to

Keyboard shortcuts

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