report

package
v0.0.0-...-4c075ac Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CampaignBody

type CampaignBody struct {
	StartDate         string             `json:"startDate"`
	EndDate           string             `json:"endDate"`
	UnitOfTime        int                `json:"unitOfTime"`
	CampaignIds       []int64            `json:"campaignIds,omitempty"`
	CampaignCondition *CampaignCondition `json:"campaignCondition,omitempty"`
	PerformanceData   []string           `json:"performanceData"`
}

type CampaignCondition

type CampaignCondition struct {
	OptTarget    int `json:"optTarget"`
	Delivery     int `json:"delivery"`
	DeliveryMode int `json:"deliveryMode"`
	ChargeType   int `json:"chargeType"`
}

type CampaignRequest

type CampaignRequest struct {
	Header model.HeaderTarget `json:"header"`
	Body   CampaignBody       `json:"body"`
}

func (CampaignRequest) Encode

func (r CampaignRequest) Encode() []byte

Encode implement GetRequest interface

func (CampaignRequest) Url

func (r CampaignRequest) Url() string

Url implement GetRequest interface

type CampaignResponse

type CampaignResponse struct {
	TaskId int64 `json:"taskId"`
}

type DownloadFileBody

type DownloadFileBody struct {
	TaskId int64 `json:"taskId"`
}

type DownloadFileRequest

type DownloadFileRequest struct {
	Header model.HeaderTarget `json:"header"`
	Body   DownloadFileBody   `json:"body"`
}

func (DownloadFileRequest) Encode

func (r DownloadFileRequest) Encode() []byte

Encode implement GetRequest interface

func (DownloadFileRequest) Url

func (r DownloadFileRequest) Url() string

Url implement GetRequest interface

type GetFileBody

type GetFileBody struct {
	TaskId int64 `json:"taskId"`
}

type GetFileRequest

type GetFileRequest struct {
	Header model.HeaderTarget `json:"header"`
	Body   GetFileBody        `json:"body"`
}

func (GetFileRequest) Encode

func (r GetFileRequest) Encode() []byte

Encode implement GetRequest interface

func (GetFileRequest) Url

func (r GetFileRequest) Url() string

Url implement GetRequest interface

type GetFileResponse

type GetFileResponse struct {
	ReportFileType ReportFileType `json:"reportFileType"`
}

type ReportFileType

type ReportFileType struct {
	TaskID int64 `json:"taskId"`
	Ready  bool  `json:"ready"`
}

Jump to

Keyboard shortcuts

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