swagger

package
v1.5.21 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvertiserIDV1

type AdvertiserIDV1 struct {
	// swagger:allOf advertiserId
	DataV1

	v1.AdvertiserID
}

AdvertiserIDV1 contains id for an advertiser (e.g google, facebook). swagger:model advertiserId

type CookieV1

type CookieV1 struct {
	// swagger:allOf cookie
	DataV1

	v1.Cookie
}

CookieV1 is PDVData implementation for Cookies(according to https://developer.chrome.com/extensions/cookies). swagger:model cookie

type DataV1

type DataV1 interface {
	// discriminator: true
	// swagger:name type
	TypeV1() types.Type
}

DataV1 is interface for all data types. swagger:model DataV1

type LocationV1

type LocationV1 struct {
	// swagger:allOf location
	DataV1

	v1.Location
}

LocationV1 contains user's geolocation at a time. swagger:model location

type ObjectTypes

type ObjectTypes struct {
	AdvertiserID    uint16 `json:"advertiserId"`
	Cookie          uint16 `json:"cookie"`
	Location        uint16 `json:"location"`
	Profile         uint16 `json:"profile"`
	SearchHistoryV1 uint16 `json:"searchHistory"`
}

ObjectTypes contains count of each pdv type in batch.

type PDVInterface

type PDVInterface interface {
	// discriminator: true
	// swagger:name version
	Version() schema.Version
}

swagger:model PDV

type PDVMeta

type PDVMeta struct {
	// ObjectTypes represents how much certain pdv data pdv contains.
	ObjectTypes ObjectTypes `json:"object_types"`
	Reward      uint64      `json:"reward"`
}

PDVMeta contains info about PDV. swagger:model PDVMeta

type PDVV1

type PDVV1 struct {
	// swagger:allOf v1
	PDVInterface

	PDV []DataV1 `json:"pdv"`
}

PDVV1 is main data object. swagger:model v1

type ProfileV1

type ProfileV1 struct {
	// swagger:allOf profile
	DataV1

	v1.Profile
}

ProfileV1 is profile data. swagger:model profile

type SearchHistoryV1

type SearchHistoryV1 struct {
	// swagger:allOf searchHistory
	DataV1

	v1.SearchHistory
}

SearchHistoryV1 contains user's search request. swagger:model searchHistory

Jump to

Keyboard shortcuts

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