Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delete ¶
type Delete struct { // terse Terse *bool `json:"terse,omitempty"` // visits Visits *bool `json:"visits,omitempty"` }
Delete delete
swagger:model Delete
func (*Delete) MarshalBinary ¶
MarshalBinary interface implementation
func (*Delete) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code // Required: true Code *int64 `json:"code"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Export ¶
type Export struct { // terse Terse *Terse `json:"terse,omitempty"` // visits Visits []*Visit `json:"visits"` }
Export export
swagger:model Export
func (*Export) MarshalBinary ¶
MarshalBinary interface implementation
func (*Export) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MediaPreview ¶
type MediaPreview struct { // og Og OpenGraph `json:"og,omitempty"` // title Title string `json:"title,omitempty"` // twitter Twitter Twitter `json:"twitter,omitempty"` }
MediaPreview media preview
swagger:model MediaPreview
func (*MediaPreview) MarshalBinary ¶
func (m *MediaPreview) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MediaPreview) UnmarshalBinary ¶
func (m *MediaPreview) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Terse ¶
type Terse struct { // javascript tracking JavascriptTracking bool `json:"javascriptTracking,omitempty"` // media preview MediaPreview *MediaPreview `json:"mediaPreview,omitempty"` // original URL // Required: true OriginalURL *string `json:"originalURL"` // shortened URL // Required: true ShortenedURL *string `json:"shortenedURL"` }
Terse terse
swagger:model Terse
func (*Terse) MarshalBinary ¶
MarshalBinary interface implementation
func (*Terse) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TerseOptionalShortened ¶
type TerseOptionalShortened struct { // media preview MediaPreview *MediaPreview `json:"mediaPreview,omitempty"` // original URL // Required: true OriginalURL *string `json:"originalURL"` // shortened URL ShortenedURL string `json:"shortenedURL,omitempty"` }
TerseOptionalShortened terse optional shortened
swagger:model TerseOptionalShortened
func (*TerseOptionalShortened) MarshalBinary ¶
func (m *TerseOptionalShortened) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TerseOptionalShortened) UnmarshalBinary ¶
func (m *TerseOptionalShortened) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Visit ¶
type Visit struct { // accessed // Required: true // Format: date-time Accessed *strfmt.DateTime `json:"accessed"` // headers Headers map[string][]string `json:"headers,omitempty"` // ip // Required: true IP *string `json:"ip"` }
Visit visit
swagger:model Visit
func (*Visit) MarshalBinary ¶
MarshalBinary interface implementation
func (*Visit) UnmarshalBinary ¶
UnmarshalBinary interface implementation