adimages

package
v0.0.0-...-01f0dfb Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdImageActionResult

type AdImageActionResult struct {
	support.ApiObject
	general.ActionResultBase

	AdImageHash *string `json:"AdImageHash,omitempty"`
}

type AdImageAddItem

type AdImageAddItem struct {
	support.ApiObject

	ImageData base64Binary `json:"ImageData"`
	Name      string       `json:"Name"`
}

type AdImageFieldEnum

type AdImageFieldEnum string

type AdImageGetItem

type AdImageGetItem struct {
	support.ApiObject

	AdImageHash *string             `json:"AdImageHash,omitempty"`
	Name        *string             `json:"Name,omitempty"`
	Associated  *general.YesNoEnum  `json:"Associated,omitempty"`
	Type        *AdImageTypeEnum    `json:"Type,omitempty"`
	Subtype     *AdImageSubtypeEnum `json:"Subtype,omitempty"`
	OriginalUrl *string             `json:"OriginalUrl,omitempty"`
	PreviewUrl  *string             `json:"PreviewUrl,omitempty"`
}

type AdImageHashesCriteria

type AdImageHashesCriteria struct {
	support.ApiObject

	AdImageHashes []string `json:"AdImageHashes"`
}

type AdImageSelectionCriteria

type AdImageSelectionCriteria struct {
	support.ApiObject

	AdImageHashes *[]string          `json:"AdImageHashes,omitempty"`
	Associated    *general.YesNoEnum `json:"Associated,omitempty"`
}

type AdImageSubtypeEnum

type AdImageSubtypeEnum string

type AdImageTypeEnum

type AdImageTypeEnum string

type AddRequest

type AddRequest struct {
	support.ApiObject

	AdImages []AdImageAddItem `json:"AdImages"`
}

type AddResponse

type AddResponse struct {
	support.ApiObject

	AddResults *[]AdImageActionResult `json:"AddResults,omitempty"`
}

type DeleteRequest

type DeleteRequest struct {
	support.ApiObject

	SelectionCriteria AdImageHashesCriteria `json:"SelectionCriteria"`
}

type DeleteResponse

type DeleteResponse struct {
	support.ApiObject

	DeleteResults *[]AdImageActionResult `json:"DeleteResults,omitempty"`
}

type GetRequest

type GetRequest struct {
	support.ApiObject
	general.GetRequestGeneral

	SelectionCriteria *AdImageSelectionCriteria `json:"SelectionCriteria,omitempty"`
	FieldNames        []AdImageFieldEnum        `json:"FieldNames"`
}

type GetResponse

type GetResponse struct {
	support.ApiObject
	general.GetResponseGeneral

	AdImages *[]AdImageGetItem `json:"AdImages,omitempty"`
}

type Service

type Service struct {
	Client *goyad.Client
}

func New

func New(c *goyad.Client) Service

func (Service) Add

func (s Service) Add(p AddRequest) (AddResponse, error)

func (Service) Delete

func (s Service) Delete(p DeleteRequest) (DeleteResponse, error)

func (Service) Get

func (s Service) Get(p GetRequest) (GetResponse, error)

Jump to

Keyboard shortcuts

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