Documentation ¶
Index ¶
- Variables
- type Image
- func (p *Image) GetHeight() Int
- func (p *Image) GetSize() Size
- func (p *Image) GetTitle() string
- func (p *Image) GetURI() string
- func (p *Image) GetWidth() Int
- func (p *Image) IsSetTitle() bool
- func (p *Image) Read(iprot thrift.TProtocol) error
- func (p *Image) ReadField1(iprot thrift.TProtocol) error
- func (p *Image) ReadField2(iprot thrift.TProtocol) error
- func (p *Image) ReadField3(iprot thrift.TProtocol) error
- func (p *Image) ReadField4(iprot thrift.TProtocol) error
- func (p *Image) ReadField5(iprot thrift.TProtocol) error
- func (p *Image) String() string
- func (p *Image) Write(oprot thrift.TProtocol) error
- type Int
- type Long
- type Media
- func (p *Media) GetBitrate() Int
- func (p *Media) GetCopyright() string
- func (p *Media) GetDuration() Long
- func (p *Media) GetFormat() string
- func (p *Media) GetHeight() Int
- func (p *Media) GetPerson() []string
- func (p *Media) GetPlayer() Player
- func (p *Media) GetSize() Long
- func (p *Media) GetTitle() string
- func (p *Media) GetURI() string
- func (p *Media) GetWidth() Int
- func (p *Media) IsSetBitrate() bool
- func (p *Media) IsSetCopyright() bool
- func (p *Media) IsSetTitle() bool
- func (p *Media) Read(iprot thrift.TProtocol) error
- func (p *Media) ReadField1(iprot thrift.TProtocol) error
- func (p *Media) ReadField10(iprot thrift.TProtocol) error
- func (p *Media) ReadField11(iprot thrift.TProtocol) error
- func (p *Media) ReadField2(iprot thrift.TProtocol) error
- func (p *Media) ReadField3(iprot thrift.TProtocol) error
- func (p *Media) ReadField4(iprot thrift.TProtocol) error
- func (p *Media) ReadField5(iprot thrift.TProtocol) error
- func (p *Media) ReadField6(iprot thrift.TProtocol) error
- func (p *Media) ReadField7(iprot thrift.TProtocol) error
- func (p *Media) ReadField8(iprot thrift.TProtocol) error
- func (p *Media) ReadField9(iprot thrift.TProtocol) error
- func (p *Media) String() string
- func (p *Media) Write(oprot thrift.TProtocol) error
- type MediaContent
- func (p *MediaContent) GetImage() []*Image
- func (p *MediaContent) GetMedia() *Media
- func (p *MediaContent) IsSetMedia() bool
- func (p *MediaContent) Read(iprot thrift.TProtocol) error
- func (p *MediaContent) ReadField1(iprot thrift.TProtocol) error
- func (p *MediaContent) ReadField2(iprot thrift.TProtocol) error
- func (p *MediaContent) String() string
- func (p *MediaContent) Write(oprot thrift.TProtocol) error
- type Player
- type Size
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var Image_Title_DEFAULT string
View Source
var Media_Copyright_DEFAULT string
View Source
var Media_Title_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { URI string `thrift:"uri,1" db:"uri" json:"uri"` Title *string `thrift:"title,2" db:"title" json:"title,omitempty"` Width Int `thrift:"width,3,required" db:"width" json:"width"` Height Int `thrift:"height,4,required" db:"height" json:"height"` Size Size `thrift:"size,5,required" db:"size" json:"size"` }
Some comment...
Attributes:
- URI
- Title
- Width
- Height
- Size
func (*Image) IsSetTitle ¶
type Media ¶
type Media struct { URI string `thrift:"uri,1" db:"uri" json:"uri"` Title *string `thrift:"title,2" db:"title" json:"title,omitempty"` Width Int `thrift:"width,3,required" db:"width" json:"width"` Height Int `thrift:"height,4,required" db:"height" json:"height"` Format string `thrift:"format,5,required" db:"format" json:"format"` Duration Long `thrift:"duration,6,required" db:"duration" json:"duration"` Size Long `thrift:"size,7,required" db:"size" json:"size"` Bitrate *Int `thrift:"bitrate,8" db:"bitrate" json:"bitrate,omitempty"` Person []string `thrift:"person,9,required" db:"person" json:"person"` Player Player `thrift:"player,10,required" db:"player" json:"player"` Copyright *string `thrift:"copyright,11" db:"copyright" json:"copyright,omitempty"` }
Attributes:
- URI
- Title
- Width
- Height
- Format
- Duration
- Size
- Bitrate
- Person
- Player
- Copyright
var MediaContent_Media_DEFAULT *Media
func (*Media) GetBitrate ¶
func (*Media) GetCopyright ¶
func (*Media) GetDuration ¶
func (*Media) IsSetBitrate ¶
func (*Media) IsSetCopyright ¶
func (*Media) IsSetTitle ¶
type MediaContent ¶
type MediaContent struct { Image []*Image `thrift:"image,1,required" db:"image" json:"image"` Media *Media `thrift:"media,2,required" db:"media" json:"media"` }
Attributes:
- Image
- Media
func NewMediaContent ¶
func NewMediaContent() *MediaContent
func (*MediaContent) GetImage ¶
func (p *MediaContent) GetImage() []*Image
func (*MediaContent) GetMedia ¶
func (p *MediaContent) GetMedia() *Media
func (*MediaContent) IsSetMedia ¶
func (p *MediaContent) IsSetMedia() bool
func (*MediaContent) ReadField1 ¶
func (p *MediaContent) ReadField1(iprot thrift.TProtocol) error
func (*MediaContent) ReadField2 ¶
func (p *MediaContent) ReadField2(iprot thrift.TProtocol) error
func (*MediaContent) String ¶
func (p *MediaContent) String() string
type Player ¶
type Player int64
func PlayerFromString ¶
func (Player) MarshalText ¶
func (*Player) UnmarshalText ¶
type Size ¶
type Size int64
func SizeFromString ¶
func (Size) MarshalText ¶
func (*Size) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.