Documentation
¶
Index ¶
- type AdPosts
- func (m *AdPosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdPosts) MarshalBinary() ([]byte, error)
- func (m AdPosts) MarshalJSON() ([]byte, error)
- func (m *AdPosts) UnmarshalBinary(b []byte) error
- func (m *AdPosts) UnmarshalJSON(data []byte) error
- func (m *AdPosts) Validate(formats strfmt.Registry) error
- type AdPostsPage
- type AdStats
- func (m *AdStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdStats) MarshalBinary() ([]byte, error)
- func (m AdStats) MarshalJSON() ([]byte, error)
- func (m *AdStats) UnmarshalBinary(b []byte) error
- func (m *AdStats) UnmarshalJSON(data []byte) error
- func (m *AdStats) Validate(formats strfmt.Registry) error
- type AdStatsPage
- type CampaignPosts
- func (m *CampaignPosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CampaignPosts) MarshalBinary() ([]byte, error)
- func (m CampaignPosts) MarshalJSON() ([]byte, error)
- func (m *CampaignPosts) UnmarshalBinary(b []byte) error
- func (m *CampaignPosts) UnmarshalJSON(data []byte) error
- func (m *CampaignPosts) Validate(formats strfmt.Registry) error
- type CampaignPostsPage
- type CampaignStats
- func (m *CampaignStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CampaignStats) MarshalBinary() ([]byte, error)
- func (m CampaignStats) MarshalJSON() ([]byte, error)
- func (m *CampaignStats) UnmarshalBinary(b []byte) error
- func (m *CampaignStats) UnmarshalJSON(data []byte) error
- func (m *CampaignStats) Validate(formats strfmt.Registry) error
- type CampaignStatsPage
- type Day
- type DayDate
- type Error
- type ErrorResponse
- type ID
- type Next
- type Ok
- type Principal
- type Total
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdPosts ¶
type AdPosts struct { // ad id // Required: true AdID *ID `json:"ad_id"` // day // Required: true Day *DayDate `json:"day"` // ad posts additional properties AdPostsAdditionalProperties map[string]interface{} `json:"-"` }
AdPosts ad posts
swagger:model ad_posts
func (*AdPosts) ContextValidate ¶
ContextValidate validate this ad posts based on the context it is used
func (*AdPosts) MarshalBinary ¶
MarshalBinary interface implementation
func (AdPosts) MarshalJSON ¶
MarshalJSON marshals this object with additional properties into a JSON object
func (*AdPosts) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*AdPosts) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with additional properties from JSON
type AdPostsPage ¶
type AdPostsPage struct { // items // Required: true Items []*AdPosts `json:"items"` // next Next Next `json:"next,omitempty"` // total // Required: true Total *Total `json:"total"` }
AdPostsPage ad posts page
swagger:model ad_posts_page
func (*AdPostsPage) ContextValidate ¶
ContextValidate validate this ad posts page based on the context it is used
func (*AdPostsPage) MarshalBinary ¶
func (m *AdPostsPage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdPostsPage) UnmarshalBinary ¶
func (m *AdPostsPage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdStats ¶
type AdStats struct { // ad id // Required: true AdID *ID `json:"ad_id"` // day // Required: true Day *Day `json:"day"` // ad stats additional properties AdStatsAdditionalProperties map[string]interface{} `json:"-"` }
AdStats ad stats
swagger:model ad_stats
func (*AdStats) ContextValidate ¶
ContextValidate validate this ad stats based on the context it is used
func (*AdStats) MarshalBinary ¶
MarshalBinary interface implementation
func (AdStats) MarshalJSON ¶
MarshalJSON marshals this object with additional properties into a JSON object
func (*AdStats) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*AdStats) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with additional properties from JSON
type AdStatsPage ¶
type AdStatsPage struct { // items // Required: true Items []*AdStats `json:"items"` // next Next Next `json:"next,omitempty"` // total // Required: true Total *Total `json:"total"` }
AdStatsPage ad stats page
swagger:model ad_stats_page
func (*AdStatsPage) ContextValidate ¶
ContextValidate validate this ad stats page based on the context it is used
func (*AdStatsPage) MarshalBinary ¶
func (m *AdStatsPage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdStatsPage) UnmarshalBinary ¶
func (m *AdStatsPage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignPosts ¶
type CampaignPosts struct { // campaign id // Required: true CampaignID *ID `json:"campaign_id"` // day // Required: true Day *DayDate `json:"day"` // campaign posts additional properties CampaignPostsAdditionalProperties map[string]interface{} `json:"-"` }
CampaignPosts campaign posts
swagger:model campaign_posts
func (*CampaignPosts) ContextValidate ¶
ContextValidate validate this campaign posts based on the context it is used
func (*CampaignPosts) MarshalBinary ¶
func (m *CampaignPosts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (CampaignPosts) MarshalJSON ¶
func (m CampaignPosts) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*CampaignPosts) UnmarshalBinary ¶
func (m *CampaignPosts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CampaignPosts) UnmarshalJSON ¶
func (m *CampaignPosts) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type CampaignPostsPage ¶
type CampaignPostsPage struct { // items // Required: true Items []*CampaignPosts `json:"items"` // next Next Next `json:"next,omitempty"` // total // Required: true Total *Total `json:"total"` }
CampaignPostsPage campaign posts page
swagger:model campaign_posts_page
func (*CampaignPostsPage) ContextValidate ¶
ContextValidate validate this campaign posts page based on the context it is used
func (*CampaignPostsPage) MarshalBinary ¶
func (m *CampaignPostsPage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignPostsPage) UnmarshalBinary ¶
func (m *CampaignPostsPage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignStats ¶
type CampaignStats struct { // campaign id // Required: true CampaignID *ID `json:"campaign_id"` // day // Required: true Day *Day `json:"day"` // campaign stats additional properties CampaignStatsAdditionalProperties map[string]interface{} `json:"-"` }
CampaignStats campaign stats
swagger:model campaign_stats
func (*CampaignStats) ContextValidate ¶
ContextValidate validate this campaign stats based on the context it is used
func (*CampaignStats) MarshalBinary ¶
func (m *CampaignStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (CampaignStats) MarshalJSON ¶
func (m CampaignStats) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*CampaignStats) UnmarshalBinary ¶
func (m *CampaignStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CampaignStats) UnmarshalJSON ¶
func (m *CampaignStats) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type CampaignStatsPage ¶
type CampaignStatsPage struct { // items // Required: true Items []*CampaignStats `json:"items"` // next Next Next `json:"next,omitempty"` // total // Required: true Total *Total `json:"total"` }
CampaignStatsPage campaign stats page
swagger:model campaign_stats_page
func (*CampaignStatsPage) ContextValidate ¶
ContextValidate validate this campaign stats page based on the context it is used
func (*CampaignStatsPage) MarshalBinary ¶
func (m *CampaignStatsPage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignStatsPage) UnmarshalBinary ¶
func (m *CampaignStatsPage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Day ¶
type Day int64
Day Statistics day timestamp in unix time
swagger:model day
func (Day) ContextValidate ¶
ContextValidate validates this day based on context it is used
type DayDate ¶
type DayDate string
DayDate Statistics day date in YYYY-MM-DD format
swagger:model day_date
func (DayDate) ContextValidate ¶
ContextValidate validates this day date based on context it is used
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // details Details interface{} `json:"details,omitempty"` // message Message string `json:"message,omitempty"` }
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // error Error *Error `json:"error,omitempty"` }
ErrorResponse error response
swagger:model errorResponse
func (*ErrorResponse) ContextValidate ¶
ContextValidate validate this error response based on the context it is used
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ID ¶
type ID int64
ID Object ID
swagger:model id
func (ID) ContextValidate ¶
ContextValidate validates this id based on context it is used
type Next ¶
type Next string
Next link to next page of results by main request
swagger:model next
func (Next) ContextValidate ¶
ContextValidate validates this next based on context it is used
type Ok ¶
type Ok struct { // result Result *string `json:"result,omitempty"` }
Ok ok
swagger:model ok
func (*Ok) ContextValidate ¶
ContextValidate validates this ok based on context it is used
func (*Ok) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ok) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // account id AccountID int64 `json:"account_id,omitempty"` // system token Token string `json:"token,omitempty"` }
Principal principal
swagger:model principal
func (*Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Total ¶
type Total int64
Total Total records finded by request
swagger:model total
func (Total) ContextValidate ¶
ContextValidate validates this total based on context it is used