operations

package
v0.0.0-...-996d052 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccUpdaterBadRequest

type AddAccUpdaterBadRequest struct {
	Payload *model.ErrorResponse
}

AddAccUpdaterBadRequest describes a response with status code 400, with default header values.

bad request 400

func NewAddAccUpdaterBadRequest

func NewAddAccUpdaterBadRequest() *AddAccUpdaterBadRequest

NewAddAccUpdaterBadRequest creates a AddAccUpdaterBadRequest with default headers values

func (*AddAccUpdaterBadRequest) Error

func (o *AddAccUpdaterBadRequest) Error() string

func (*AddAccUpdaterBadRequest) GetPayload

func (o *AddAccUpdaterBadRequest) GetPayload() *model.ErrorResponse

func (*AddAccUpdaterBadRequest) IsClientError

func (o *AddAccUpdaterBadRequest) IsClientError() bool

IsClientError returns true when this add acc updater bad request response has a 4xx status code

func (*AddAccUpdaterBadRequest) IsCode

func (o *AddAccUpdaterBadRequest) IsCode(code int) bool

IsCode returns true when this add acc updater bad request response a status code equal to that given

func (*AddAccUpdaterBadRequest) IsRedirect

func (o *AddAccUpdaterBadRequest) IsRedirect() bool

IsRedirect returns true when this add acc updater bad request response has a 3xx status code

func (*AddAccUpdaterBadRequest) IsServerError

func (o *AddAccUpdaterBadRequest) IsServerError() bool

IsServerError returns true when this add acc updater bad request response has a 5xx status code

func (*AddAccUpdaterBadRequest) IsSuccess

func (o *AddAccUpdaterBadRequest) IsSuccess() bool

IsSuccess returns true when this add acc updater bad request response has a 2xx status code

func (*AddAccUpdaterBadRequest) String

func (o *AddAccUpdaterBadRequest) String() string

type AddAccUpdaterCreated

type AddAccUpdaterCreated struct {
	Payload *model.Ok
}

AddAccUpdaterCreated describes a response with status code 201, with default header values.

created 201

func NewAddAccUpdaterCreated

func NewAddAccUpdaterCreated() *AddAccUpdaterCreated

NewAddAccUpdaterCreated creates a AddAccUpdaterCreated with default headers values

func (*AddAccUpdaterCreated) Error

func (o *AddAccUpdaterCreated) Error() string

func (*AddAccUpdaterCreated) GetPayload

func (o *AddAccUpdaterCreated) GetPayload() *model.Ok

func (*AddAccUpdaterCreated) IsClientError

func (o *AddAccUpdaterCreated) IsClientError() bool

IsClientError returns true when this add acc updater created response has a 4xx status code

func (*AddAccUpdaterCreated) IsCode

func (o *AddAccUpdaterCreated) IsCode(code int) bool

IsCode returns true when this add acc updater created response a status code equal to that given

func (*AddAccUpdaterCreated) IsRedirect

func (o *AddAccUpdaterCreated) IsRedirect() bool

IsRedirect returns true when this add acc updater created response has a 3xx status code

func (*AddAccUpdaterCreated) IsServerError

func (o *AddAccUpdaterCreated) IsServerError() bool

IsServerError returns true when this add acc updater created response has a 5xx status code

func (*AddAccUpdaterCreated) IsSuccess

func (o *AddAccUpdaterCreated) IsSuccess() bool

IsSuccess returns true when this add acc updater created response has a 2xx status code

func (*AddAccUpdaterCreated) String

func (o *AddAccUpdaterCreated) String() string

type AddAccUpdaterInternalServerError

type AddAccUpdaterInternalServerError struct {
	Payload *model.ErrorResponse
}

AddAccUpdaterInternalServerError describes a response with status code 500, with default header values.

internal server error 500

func NewAddAccUpdaterInternalServerError

func NewAddAccUpdaterInternalServerError() *AddAccUpdaterInternalServerError

NewAddAccUpdaterInternalServerError creates a AddAccUpdaterInternalServerError with default headers values

func (*AddAccUpdaterInternalServerError) Error

func (*AddAccUpdaterInternalServerError) GetPayload

func (*AddAccUpdaterInternalServerError) IsClientError

func (o *AddAccUpdaterInternalServerError) IsClientError() bool

IsClientError returns true when this add acc updater internal server error response has a 4xx status code

func (*AddAccUpdaterInternalServerError) IsCode

func (o *AddAccUpdaterInternalServerError) IsCode(code int) bool

IsCode returns true when this add acc updater internal server error response a status code equal to that given

func (*AddAccUpdaterInternalServerError) IsRedirect

func (o *AddAccUpdaterInternalServerError) IsRedirect() bool

IsRedirect returns true when this add acc updater internal server error response has a 3xx status code

func (*AddAccUpdaterInternalServerError) IsServerError

func (o *AddAccUpdaterInternalServerError) IsServerError() bool

IsServerError returns true when this add acc updater internal server error response has a 5xx status code

func (*AddAccUpdaterInternalServerError) IsSuccess

func (o *AddAccUpdaterInternalServerError) IsSuccess() bool

IsSuccess returns true when this add acc updater internal server error response has a 2xx status code

func (*AddAccUpdaterInternalServerError) String

type AddAccUpdaterOK

type AddAccUpdaterOK struct {
	Payload *model.Ok
}

AddAccUpdaterOK describes a response with status code 200, with default header values.

success 200

func NewAddAccUpdaterOK

func NewAddAccUpdaterOK() *AddAccUpdaterOK

NewAddAccUpdaterOK creates a AddAccUpdaterOK with default headers values

func (*AddAccUpdaterOK) Error

func (o *AddAccUpdaterOK) Error() string

func (*AddAccUpdaterOK) GetPayload

func (o *AddAccUpdaterOK) GetPayload() *model.Ok

func (*AddAccUpdaterOK) IsClientError

func (o *AddAccUpdaterOK) IsClientError() bool

IsClientError returns true when this add acc updater o k response has a 4xx status code

func (*AddAccUpdaterOK) IsCode

func (o *AddAccUpdaterOK) IsCode(code int) bool

IsCode returns true when this add acc updater o k response a status code equal to that given

func (*AddAccUpdaterOK) IsRedirect

func (o *AddAccUpdaterOK) IsRedirect() bool

IsRedirect returns true when this add acc updater o k response has a 3xx status code

func (*AddAccUpdaterOK) IsServerError

func (o *AddAccUpdaterOK) IsServerError() bool

IsServerError returns true when this add acc updater o k response has a 5xx status code

func (*AddAccUpdaterOK) IsSuccess

func (o *AddAccUpdaterOK) IsSuccess() bool

IsSuccess returns true when this add acc updater o k response has a 2xx status code

func (*AddAccUpdaterOK) String

func (o *AddAccUpdaterOK) String() string

type AddAccUpdaterParams

type AddAccUpdaterParams struct {

	// XRequestID.
	XRequestID string

	// AccountID.
	//
	// Format: int64
	AccountID int64

	// ClientID.
	//
	// Format: int64
	ClientID *int64

	/* Force.

	   if set, account will be updated without cache from beginning of time
	*/
	Force *bool

	// UserID.
	//
	// Format: int64
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddAccUpdaterParams contains all the parameters to send to the API endpoint

for the add acc updater operation.

Typically these are written to a http.Request.

func NewAddAccUpdaterParams

func NewAddAccUpdaterParams() *AddAccUpdaterParams

NewAddAccUpdaterParams creates a new AddAccUpdaterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddAccUpdaterParamsWithContext

func NewAddAccUpdaterParamsWithContext(ctx context.Context) *AddAccUpdaterParams

NewAddAccUpdaterParamsWithContext creates a new AddAccUpdaterParams object with the ability to set a context for a request.

func NewAddAccUpdaterParamsWithHTTPClient

func NewAddAccUpdaterParamsWithHTTPClient(client *http.Client) *AddAccUpdaterParams

NewAddAccUpdaterParamsWithHTTPClient creates a new AddAccUpdaterParams object with the ability to set a custom HTTPClient for a request.

func NewAddAccUpdaterParamsWithTimeout

func NewAddAccUpdaterParamsWithTimeout(timeout time.Duration) *AddAccUpdaterParams

NewAddAccUpdaterParamsWithTimeout creates a new AddAccUpdaterParams object with the ability to set a timeout on a request.

func (*AddAccUpdaterParams) SetAccountID

func (o *AddAccUpdaterParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the add acc updater params

func (*AddAccUpdaterParams) SetClientID

func (o *AddAccUpdaterParams) SetClientID(clientID *int64)

SetClientID adds the clientId to the add acc updater params

func (*AddAccUpdaterParams) SetContext

func (o *AddAccUpdaterParams) SetContext(ctx context.Context)

SetContext adds the context to the add acc updater params

func (*AddAccUpdaterParams) SetDefaults

func (o *AddAccUpdaterParams) SetDefaults()

SetDefaults hydrates default values in the add acc updater params (not the query body).

All values with no default are reset to their zero value.

func (*AddAccUpdaterParams) SetForce

func (o *AddAccUpdaterParams) SetForce(force *bool)

SetForce adds the force to the add acc updater params

func (*AddAccUpdaterParams) SetHTTPClient

func (o *AddAccUpdaterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add acc updater params

func (*AddAccUpdaterParams) SetTimeout

func (o *AddAccUpdaterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add acc updater params

func (*AddAccUpdaterParams) SetUserID

func (o *AddAccUpdaterParams) SetUserID(userID int64)

SetUserID adds the userId to the add acc updater params

func (*AddAccUpdaterParams) SetXRequestID

func (o *AddAccUpdaterParams) SetXRequestID(xRequestID string)

SetXRequestID adds the xRequestId to the add acc updater params

func (*AddAccUpdaterParams) WithAccountID

func (o *AddAccUpdaterParams) WithAccountID(accountID int64) *AddAccUpdaterParams

WithAccountID adds the accountID to the add acc updater params

func (*AddAccUpdaterParams) WithClientID

func (o *AddAccUpdaterParams) WithClientID(clientID *int64) *AddAccUpdaterParams

WithClientID adds the clientID to the add acc updater params

func (*AddAccUpdaterParams) WithContext

WithContext adds the context to the add acc updater params

func (*AddAccUpdaterParams) WithDefaults

func (o *AddAccUpdaterParams) WithDefaults() *AddAccUpdaterParams

WithDefaults hydrates default values in the add acc updater params (not the query body).

All values with no default are reset to their zero value.

func (*AddAccUpdaterParams) WithForce

func (o *AddAccUpdaterParams) WithForce(force *bool) *AddAccUpdaterParams

WithForce adds the force to the add acc updater params

func (*AddAccUpdaterParams) WithHTTPClient

func (o *AddAccUpdaterParams) WithHTTPClient(client *http.Client) *AddAccUpdaterParams

WithHTTPClient adds the HTTPClient to the add acc updater params

func (*AddAccUpdaterParams) WithTimeout

func (o *AddAccUpdaterParams) WithTimeout(timeout time.Duration) *AddAccUpdaterParams

WithTimeout adds the timeout to the add acc updater params

func (*AddAccUpdaterParams) WithUserID

func (o *AddAccUpdaterParams) WithUserID(userID int64) *AddAccUpdaterParams

WithUserID adds the userID to the add acc updater params

func (*AddAccUpdaterParams) WithXRequestID

func (o *AddAccUpdaterParams) WithXRequestID(xRequestID string) *AddAccUpdaterParams

WithXRequestID adds the xRequestID to the add acc updater params

func (*AddAccUpdaterParams) WriteToRequest

func (o *AddAccUpdaterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddAccUpdaterReader

type AddAccUpdaterReader struct {
	// contains filtered or unexported fields
}

AddAccUpdaterReader is a Reader for the AddAccUpdater structure.

func (*AddAccUpdaterReader) ReadResponse

func (o *AddAccUpdaterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for operations API

func (*Client) AddAccUpdater

AddAccUpdater Starts loading account ad and campaign statistic or raise account loading task in line

Response for new account is 201 CREATED Response for raising in line is 200 OK

func (*Client) DelAccUpdater

func (a *Client) DelAccUpdater(params *DelAccUpdaterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DelAccUpdaterOK, error)
DelAccUpdater Delete account from loading queue and stop regularly updates.

Note: in --loader-acc-list-upd-timeout (default 600s) account list will be updated from cabinets service, if account presented in service, new update will be started.

func (*Client) GetAdsStats

func (a *Client) GetAdsStats(params *GetAdsStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdsStatsOK, error)

GetAdsStats Gives array of stats for set time period. If updatedSince set, then reutrns only stats updated after set time

func (*Client) GetCampaignsStats

func (a *Client) GetCampaignsStats(params *GetCampaignsStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCampaignsStatsOK, error)

GetCampaignsStats Gives array of stats for set time period. If updatedSince set, then reutrns only stats updated after set time

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddAccUpdater(params *AddAccUpdaterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAccUpdaterOK, *AddAccUpdaterCreated, error)

	DelAccUpdater(params *DelAccUpdaterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DelAccUpdaterOK, error)

	GetAdsStats(params *GetAdsStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdsStatsOK, error)

	GetCampaignsStats(params *GetCampaignsStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCampaignsStatsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new operations API client.

type DelAccUpdaterBadRequest

type DelAccUpdaterBadRequest struct {
	Payload *model.ErrorResponse
}

DelAccUpdaterBadRequest describes a response with status code 400, with default header values.

bad request 400

func NewDelAccUpdaterBadRequest

func NewDelAccUpdaterBadRequest() *DelAccUpdaterBadRequest

NewDelAccUpdaterBadRequest creates a DelAccUpdaterBadRequest with default headers values

func (*DelAccUpdaterBadRequest) Error

func (o *DelAccUpdaterBadRequest) Error() string

func (*DelAccUpdaterBadRequest) GetPayload

func (o *DelAccUpdaterBadRequest) GetPayload() *model.ErrorResponse

func (*DelAccUpdaterBadRequest) IsClientError

func (o *DelAccUpdaterBadRequest) IsClientError() bool

IsClientError returns true when this del acc updater bad request response has a 4xx status code

func (*DelAccUpdaterBadRequest) IsCode

func (o *DelAccUpdaterBadRequest) IsCode(code int) bool

IsCode returns true when this del acc updater bad request response a status code equal to that given

func (*DelAccUpdaterBadRequest) IsRedirect

func (o *DelAccUpdaterBadRequest) IsRedirect() bool

IsRedirect returns true when this del acc updater bad request response has a 3xx status code

func (*DelAccUpdaterBadRequest) IsServerError

func (o *DelAccUpdaterBadRequest) IsServerError() bool

IsServerError returns true when this del acc updater bad request response has a 5xx status code

func (*DelAccUpdaterBadRequest) IsSuccess

func (o *DelAccUpdaterBadRequest) IsSuccess() bool

IsSuccess returns true when this del acc updater bad request response has a 2xx status code

func (*DelAccUpdaterBadRequest) String

func (o *DelAccUpdaterBadRequest) String() string

type DelAccUpdaterInternalServerError

type DelAccUpdaterInternalServerError struct {
	Payload *model.ErrorResponse
}

DelAccUpdaterInternalServerError describes a response with status code 500, with default header values.

internal server error 500

func NewDelAccUpdaterInternalServerError

func NewDelAccUpdaterInternalServerError() *DelAccUpdaterInternalServerError

NewDelAccUpdaterInternalServerError creates a DelAccUpdaterInternalServerError with default headers values

func (*DelAccUpdaterInternalServerError) Error

func (*DelAccUpdaterInternalServerError) GetPayload

func (*DelAccUpdaterInternalServerError) IsClientError

func (o *DelAccUpdaterInternalServerError) IsClientError() bool

IsClientError returns true when this del acc updater internal server error response has a 4xx status code

func (*DelAccUpdaterInternalServerError) IsCode

func (o *DelAccUpdaterInternalServerError) IsCode(code int) bool

IsCode returns true when this del acc updater internal server error response a status code equal to that given

func (*DelAccUpdaterInternalServerError) IsRedirect

func (o *DelAccUpdaterInternalServerError) IsRedirect() bool

IsRedirect returns true when this del acc updater internal server error response has a 3xx status code

func (*DelAccUpdaterInternalServerError) IsServerError

func (o *DelAccUpdaterInternalServerError) IsServerError() bool

IsServerError returns true when this del acc updater internal server error response has a 5xx status code

func (*DelAccUpdaterInternalServerError) IsSuccess

func (o *DelAccUpdaterInternalServerError) IsSuccess() bool

IsSuccess returns true when this del acc updater internal server error response has a 2xx status code

func (*DelAccUpdaterInternalServerError) String

type DelAccUpdaterOK

type DelAccUpdaterOK struct {
	Payload *model.Ok
}

DelAccUpdaterOK describes a response with status code 200, with default header values.

success 200

func NewDelAccUpdaterOK

func NewDelAccUpdaterOK() *DelAccUpdaterOK

NewDelAccUpdaterOK creates a DelAccUpdaterOK with default headers values

func (*DelAccUpdaterOK) Error

func (o *DelAccUpdaterOK) Error() string

func (*DelAccUpdaterOK) GetPayload

func (o *DelAccUpdaterOK) GetPayload() *model.Ok

func (*DelAccUpdaterOK) IsClientError

func (o *DelAccUpdaterOK) IsClientError() bool

IsClientError returns true when this del acc updater o k response has a 4xx status code

func (*DelAccUpdaterOK) IsCode

func (o *DelAccUpdaterOK) IsCode(code int) bool

IsCode returns true when this del acc updater o k response a status code equal to that given

func (*DelAccUpdaterOK) IsRedirect

func (o *DelAccUpdaterOK) IsRedirect() bool

IsRedirect returns true when this del acc updater o k response has a 3xx status code

func (*DelAccUpdaterOK) IsServerError

func (o *DelAccUpdaterOK) IsServerError() bool

IsServerError returns true when this del acc updater o k response has a 5xx status code

func (*DelAccUpdaterOK) IsSuccess

func (o *DelAccUpdaterOK) IsSuccess() bool

IsSuccess returns true when this del acc updater o k response has a 2xx status code

func (*DelAccUpdaterOK) String

func (o *DelAccUpdaterOK) String() string

type DelAccUpdaterParams

type DelAccUpdaterParams struct {

	// XRequestID.
	XRequestID string

	// AccountID.
	//
	// Format: int64
	AccountID int64

	// ClientID.
	//
	// Format: int64
	ClientID *int64

	// UserID.
	//
	// Format: int64
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DelAccUpdaterParams contains all the parameters to send to the API endpoint

for the del acc updater operation.

Typically these are written to a http.Request.

func NewDelAccUpdaterParams

func NewDelAccUpdaterParams() *DelAccUpdaterParams

NewDelAccUpdaterParams creates a new DelAccUpdaterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDelAccUpdaterParamsWithContext

func NewDelAccUpdaterParamsWithContext(ctx context.Context) *DelAccUpdaterParams

NewDelAccUpdaterParamsWithContext creates a new DelAccUpdaterParams object with the ability to set a context for a request.

func NewDelAccUpdaterParamsWithHTTPClient

func NewDelAccUpdaterParamsWithHTTPClient(client *http.Client) *DelAccUpdaterParams

NewDelAccUpdaterParamsWithHTTPClient creates a new DelAccUpdaterParams object with the ability to set a custom HTTPClient for a request.

func NewDelAccUpdaterParamsWithTimeout

func NewDelAccUpdaterParamsWithTimeout(timeout time.Duration) *DelAccUpdaterParams

NewDelAccUpdaterParamsWithTimeout creates a new DelAccUpdaterParams object with the ability to set a timeout on a request.

func (*DelAccUpdaterParams) SetAccountID

func (o *DelAccUpdaterParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the del acc updater params

func (*DelAccUpdaterParams) SetClientID

func (o *DelAccUpdaterParams) SetClientID(clientID *int64)

SetClientID adds the clientId to the del acc updater params

func (*DelAccUpdaterParams) SetContext

func (o *DelAccUpdaterParams) SetContext(ctx context.Context)

SetContext adds the context to the del acc updater params

func (*DelAccUpdaterParams) SetDefaults

func (o *DelAccUpdaterParams) SetDefaults()

SetDefaults hydrates default values in the del acc updater params (not the query body).

All values with no default are reset to their zero value.

func (*DelAccUpdaterParams) SetHTTPClient

func (o *DelAccUpdaterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the del acc updater params

func (*DelAccUpdaterParams) SetTimeout

func (o *DelAccUpdaterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the del acc updater params

func (*DelAccUpdaterParams) SetUserID

func (o *DelAccUpdaterParams) SetUserID(userID int64)

SetUserID adds the userId to the del acc updater params

func (*DelAccUpdaterParams) SetXRequestID

func (o *DelAccUpdaterParams) SetXRequestID(xRequestID string)

SetXRequestID adds the xRequestId to the del acc updater params

func (*DelAccUpdaterParams) WithAccountID

func (o *DelAccUpdaterParams) WithAccountID(accountID int64) *DelAccUpdaterParams

WithAccountID adds the accountID to the del acc updater params

func (*DelAccUpdaterParams) WithClientID

func (o *DelAccUpdaterParams) WithClientID(clientID *int64) *DelAccUpdaterParams

WithClientID adds the clientID to the del acc updater params

func (*DelAccUpdaterParams) WithContext

WithContext adds the context to the del acc updater params

func (*DelAccUpdaterParams) WithDefaults

func (o *DelAccUpdaterParams) WithDefaults() *DelAccUpdaterParams

WithDefaults hydrates default values in the del acc updater params (not the query body).

All values with no default are reset to their zero value.

func (*DelAccUpdaterParams) WithHTTPClient

func (o *DelAccUpdaterParams) WithHTTPClient(client *http.Client) *DelAccUpdaterParams

WithHTTPClient adds the HTTPClient to the del acc updater params

func (*DelAccUpdaterParams) WithTimeout

func (o *DelAccUpdaterParams) WithTimeout(timeout time.Duration) *DelAccUpdaterParams

WithTimeout adds the timeout to the del acc updater params

func (*DelAccUpdaterParams) WithUserID

func (o *DelAccUpdaterParams) WithUserID(userID int64) *DelAccUpdaterParams

WithUserID adds the userID to the del acc updater params

func (*DelAccUpdaterParams) WithXRequestID

func (o *DelAccUpdaterParams) WithXRequestID(xRequestID string) *DelAccUpdaterParams

WithXRequestID adds the xRequestID to the del acc updater params

func (*DelAccUpdaterParams) WriteToRequest

func (o *DelAccUpdaterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DelAccUpdaterReader

type DelAccUpdaterReader struct {
	// contains filtered or unexported fields
}

DelAccUpdaterReader is a Reader for the DelAccUpdater structure.

func (*DelAccUpdaterReader) ReadResponse

func (o *DelAccUpdaterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAdsStatsBadRequest

type GetAdsStatsBadRequest struct {
	Payload *model.ErrorResponse
}

GetAdsStatsBadRequest describes a response with status code 400, with default header values.

bad request 400

func NewGetAdsStatsBadRequest

func NewGetAdsStatsBadRequest() *GetAdsStatsBadRequest

NewGetAdsStatsBadRequest creates a GetAdsStatsBadRequest with default headers values

func (*GetAdsStatsBadRequest) Error

func (o *GetAdsStatsBadRequest) Error() string

func (*GetAdsStatsBadRequest) GetPayload

func (o *GetAdsStatsBadRequest) GetPayload() *model.ErrorResponse

func (*GetAdsStatsBadRequest) IsClientError

func (o *GetAdsStatsBadRequest) IsClientError() bool

IsClientError returns true when this get ads stats bad request response has a 4xx status code

func (*GetAdsStatsBadRequest) IsCode

func (o *GetAdsStatsBadRequest) IsCode(code int) bool

IsCode returns true when this get ads stats bad request response a status code equal to that given

func (*GetAdsStatsBadRequest) IsRedirect

func (o *GetAdsStatsBadRequest) IsRedirect() bool

IsRedirect returns true when this get ads stats bad request response has a 3xx status code

func (*GetAdsStatsBadRequest) IsServerError

func (o *GetAdsStatsBadRequest) IsServerError() bool

IsServerError returns true when this get ads stats bad request response has a 5xx status code

func (*GetAdsStatsBadRequest) IsSuccess

func (o *GetAdsStatsBadRequest) IsSuccess() bool

IsSuccess returns true when this get ads stats bad request response has a 2xx status code

func (*GetAdsStatsBadRequest) String

func (o *GetAdsStatsBadRequest) String() string

type GetAdsStatsInternalServerError

type GetAdsStatsInternalServerError struct {
	Payload *model.ErrorResponse
}

GetAdsStatsInternalServerError describes a response with status code 500, with default header values.

internal server error 500

func NewGetAdsStatsInternalServerError

func NewGetAdsStatsInternalServerError() *GetAdsStatsInternalServerError

NewGetAdsStatsInternalServerError creates a GetAdsStatsInternalServerError with default headers values

func (*GetAdsStatsInternalServerError) Error

func (*GetAdsStatsInternalServerError) GetPayload

func (*GetAdsStatsInternalServerError) IsClientError

func (o *GetAdsStatsInternalServerError) IsClientError() bool

IsClientError returns true when this get ads stats internal server error response has a 4xx status code

func (*GetAdsStatsInternalServerError) IsCode

func (o *GetAdsStatsInternalServerError) IsCode(code int) bool

IsCode returns true when this get ads stats internal server error response a status code equal to that given

func (*GetAdsStatsInternalServerError) IsRedirect

func (o *GetAdsStatsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get ads stats internal server error response has a 3xx status code

func (*GetAdsStatsInternalServerError) IsServerError

func (o *GetAdsStatsInternalServerError) IsServerError() bool

IsServerError returns true when this get ads stats internal server error response has a 5xx status code

func (*GetAdsStatsInternalServerError) IsSuccess

func (o *GetAdsStatsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get ads stats internal server error response has a 2xx status code

func (*GetAdsStatsInternalServerError) String

type GetAdsStatsOK

type GetAdsStatsOK struct {
	Payload *GetAdsStatsOKBody
}

GetAdsStatsOK describes a response with status code 200, with default header values.

pages of Ad

func NewGetAdsStatsOK

func NewGetAdsStatsOK() *GetAdsStatsOK

NewGetAdsStatsOK creates a GetAdsStatsOK with default headers values

func (*GetAdsStatsOK) Error

func (o *GetAdsStatsOK) Error() string

func (*GetAdsStatsOK) GetPayload

func (o *GetAdsStatsOK) GetPayload() *GetAdsStatsOKBody

func (*GetAdsStatsOK) IsClientError

func (o *GetAdsStatsOK) IsClientError() bool

IsClientError returns true when this get ads stats o k response has a 4xx status code

func (*GetAdsStatsOK) IsCode

func (o *GetAdsStatsOK) IsCode(code int) bool

IsCode returns true when this get ads stats o k response a status code equal to that given

func (*GetAdsStatsOK) IsRedirect

func (o *GetAdsStatsOK) IsRedirect() bool

IsRedirect returns true when this get ads stats o k response has a 3xx status code

func (*GetAdsStatsOK) IsServerError

func (o *GetAdsStatsOK) IsServerError() bool

IsServerError returns true when this get ads stats o k response has a 5xx status code

func (*GetAdsStatsOK) IsSuccess

func (o *GetAdsStatsOK) IsSuccess() bool

IsSuccess returns true when this get ads stats o k response has a 2xx status code

func (*GetAdsStatsOK) String

func (o *GetAdsStatsOK) String() string

type GetAdsStatsOKBody

type GetAdsStatsOKBody struct {

	// ads
	Ads *model.AdStatsPage `json:"ads,omitempty"`
}

GetAdsStatsOKBody get ads stats o k body swagger:model GetAdsStatsOKBody

func (*GetAdsStatsOKBody) ContextValidate

func (o *GetAdsStatsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get ads stats o k body based on the context it is used

func (*GetAdsStatsOKBody) MarshalBinary

func (o *GetAdsStatsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAdsStatsOKBody) UnmarshalBinary

func (o *GetAdsStatsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAdsStatsOKBody) Validate

func (o *GetAdsStatsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get ads stats o k body

type GetAdsStatsParams

type GetAdsStatsParams struct {

	// XRequestID.
	XRequestID string

	// AccountID.
	//
	// Format: int64
	AccountID int64

	// AdIds.
	AdIds []int64

	// ClientID.
	//
	// Format: int64
	ClientID *int64

	/* DateFrom.

	   If presented, return only statistics starting from presented date in Unixtime

	   Format: int64
	*/
	DateFrom *int64

	/* DateTo.

	   If presented, return only statistics up to presented date in Unixtime

	   Format: int64
	*/
	DateTo *int64

	/* Fields.

	   Enumeration wanted parameters of requested object
	*/
	Fields []string

	/* UpdatedSince.

	   If presented, return only statistics up to presented date in Unixtime

	   Format: int64
	*/
	UpdatedSince *int64

	// UserID.
	//
	// Format: int64
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAdsStatsParams contains all the parameters to send to the API endpoint

for the get ads stats operation.

Typically these are written to a http.Request.

func NewGetAdsStatsParams

func NewGetAdsStatsParams() *GetAdsStatsParams

NewGetAdsStatsParams creates a new GetAdsStatsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAdsStatsParamsWithContext

func NewGetAdsStatsParamsWithContext(ctx context.Context) *GetAdsStatsParams

NewGetAdsStatsParamsWithContext creates a new GetAdsStatsParams object with the ability to set a context for a request.

func NewGetAdsStatsParamsWithHTTPClient

func NewGetAdsStatsParamsWithHTTPClient(client *http.Client) *GetAdsStatsParams

NewGetAdsStatsParamsWithHTTPClient creates a new GetAdsStatsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAdsStatsParamsWithTimeout

func NewGetAdsStatsParamsWithTimeout(timeout time.Duration) *GetAdsStatsParams

NewGetAdsStatsParamsWithTimeout creates a new GetAdsStatsParams object with the ability to set a timeout on a request.

func (*GetAdsStatsParams) SetAccountID

func (o *GetAdsStatsParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the get ads stats params

func (*GetAdsStatsParams) SetAdIds

func (o *GetAdsStatsParams) SetAdIds(adIds []int64)

SetAdIds adds the adIds to the get ads stats params

func (*GetAdsStatsParams) SetClientID

func (o *GetAdsStatsParams) SetClientID(clientID *int64)

SetClientID adds the clientId to the get ads stats params

func (*GetAdsStatsParams) SetContext

func (o *GetAdsStatsParams) SetContext(ctx context.Context)

SetContext adds the context to the get ads stats params

func (*GetAdsStatsParams) SetDateFrom

func (o *GetAdsStatsParams) SetDateFrom(dateFrom *int64)

SetDateFrom adds the dateFrom to the get ads stats params

func (*GetAdsStatsParams) SetDateTo

func (o *GetAdsStatsParams) SetDateTo(dateTo *int64)

SetDateTo adds the dateTo to the get ads stats params

func (*GetAdsStatsParams) SetDefaults

func (o *GetAdsStatsParams) SetDefaults()

SetDefaults hydrates default values in the get ads stats params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdsStatsParams) SetFields

func (o *GetAdsStatsParams) SetFields(fields []string)

SetFields adds the fields to the get ads stats params

func (*GetAdsStatsParams) SetHTTPClient

func (o *GetAdsStatsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get ads stats params

func (*GetAdsStatsParams) SetTimeout

func (o *GetAdsStatsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get ads stats params

func (*GetAdsStatsParams) SetUpdatedSince

func (o *GetAdsStatsParams) SetUpdatedSince(updatedSince *int64)

SetUpdatedSince adds the updatedSince to the get ads stats params

func (*GetAdsStatsParams) SetUserID

func (o *GetAdsStatsParams) SetUserID(userID int64)

SetUserID adds the userId to the get ads stats params

func (*GetAdsStatsParams) SetXRequestID

func (o *GetAdsStatsParams) SetXRequestID(xRequestID string)

SetXRequestID adds the xRequestId to the get ads stats params

func (*GetAdsStatsParams) WithAccountID

func (o *GetAdsStatsParams) WithAccountID(accountID int64) *GetAdsStatsParams

WithAccountID adds the accountID to the get ads stats params

func (*GetAdsStatsParams) WithAdIds

func (o *GetAdsStatsParams) WithAdIds(adIds []int64) *GetAdsStatsParams

WithAdIds adds the adIds to the get ads stats params

func (*GetAdsStatsParams) WithClientID

func (o *GetAdsStatsParams) WithClientID(clientID *int64) *GetAdsStatsParams

WithClientID adds the clientID to the get ads stats params

func (*GetAdsStatsParams) WithContext

func (o *GetAdsStatsParams) WithContext(ctx context.Context) *GetAdsStatsParams

WithContext adds the context to the get ads stats params

func (*GetAdsStatsParams) WithDateFrom

func (o *GetAdsStatsParams) WithDateFrom(dateFrom *int64) *GetAdsStatsParams

WithDateFrom adds the dateFrom to the get ads stats params

func (*GetAdsStatsParams) WithDateTo

func (o *GetAdsStatsParams) WithDateTo(dateTo *int64) *GetAdsStatsParams

WithDateTo adds the dateTo to the get ads stats params

func (*GetAdsStatsParams) WithDefaults

func (o *GetAdsStatsParams) WithDefaults() *GetAdsStatsParams

WithDefaults hydrates default values in the get ads stats params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdsStatsParams) WithFields

func (o *GetAdsStatsParams) WithFields(fields []string) *GetAdsStatsParams

WithFields adds the fields to the get ads stats params

func (*GetAdsStatsParams) WithHTTPClient

func (o *GetAdsStatsParams) WithHTTPClient(client *http.Client) *GetAdsStatsParams

WithHTTPClient adds the HTTPClient to the get ads stats params

func (*GetAdsStatsParams) WithTimeout

func (o *GetAdsStatsParams) WithTimeout(timeout time.Duration) *GetAdsStatsParams

WithTimeout adds the timeout to the get ads stats params

func (*GetAdsStatsParams) WithUpdatedSince

func (o *GetAdsStatsParams) WithUpdatedSince(updatedSince *int64) *GetAdsStatsParams

WithUpdatedSince adds the updatedSince to the get ads stats params

func (*GetAdsStatsParams) WithUserID

func (o *GetAdsStatsParams) WithUserID(userID int64) *GetAdsStatsParams

WithUserID adds the userID to the get ads stats params

func (*GetAdsStatsParams) WithXRequestID

func (o *GetAdsStatsParams) WithXRequestID(xRequestID string) *GetAdsStatsParams

WithXRequestID adds the xRequestID to the get ads stats params

func (*GetAdsStatsParams) WriteToRequest

func (o *GetAdsStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAdsStatsReader

type GetAdsStatsReader struct {
	// contains filtered or unexported fields
}

GetAdsStatsReader is a Reader for the GetAdsStats structure.

func (*GetAdsStatsReader) ReadResponse

func (o *GetAdsStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAdsStatsUnauthorized

type GetAdsStatsUnauthorized struct {
	Payload *model.ErrorResponse
}

GetAdsStatsUnauthorized describes a response with status code 401, with default header values.

unauthorized 400

func NewGetAdsStatsUnauthorized

func NewGetAdsStatsUnauthorized() *GetAdsStatsUnauthorized

NewGetAdsStatsUnauthorized creates a GetAdsStatsUnauthorized with default headers values

func (*GetAdsStatsUnauthorized) Error

func (o *GetAdsStatsUnauthorized) Error() string

func (*GetAdsStatsUnauthorized) GetPayload

func (o *GetAdsStatsUnauthorized) GetPayload() *model.ErrorResponse

func (*GetAdsStatsUnauthorized) IsClientError

func (o *GetAdsStatsUnauthorized) IsClientError() bool

IsClientError returns true when this get ads stats unauthorized response has a 4xx status code

func (*GetAdsStatsUnauthorized) IsCode

func (o *GetAdsStatsUnauthorized) IsCode(code int) bool

IsCode returns true when this get ads stats unauthorized response a status code equal to that given

func (*GetAdsStatsUnauthorized) IsRedirect

func (o *GetAdsStatsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get ads stats unauthorized response has a 3xx status code

func (*GetAdsStatsUnauthorized) IsServerError

func (o *GetAdsStatsUnauthorized) IsServerError() bool

IsServerError returns true when this get ads stats unauthorized response has a 5xx status code

func (*GetAdsStatsUnauthorized) IsSuccess

func (o *GetAdsStatsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get ads stats unauthorized response has a 2xx status code

func (*GetAdsStatsUnauthorized) String

func (o *GetAdsStatsUnauthorized) String() string

type GetCampaignsStatsBadRequest

type GetCampaignsStatsBadRequest struct {
	Payload *model.ErrorResponse
}

GetCampaignsStatsBadRequest describes a response with status code 400, with default header values.

bad request 400

func NewGetCampaignsStatsBadRequest

func NewGetCampaignsStatsBadRequest() *GetCampaignsStatsBadRequest

NewGetCampaignsStatsBadRequest creates a GetCampaignsStatsBadRequest with default headers values

func (*GetCampaignsStatsBadRequest) Error

func (*GetCampaignsStatsBadRequest) GetPayload

func (*GetCampaignsStatsBadRequest) IsClientError

func (o *GetCampaignsStatsBadRequest) IsClientError() bool

IsClientError returns true when this get campaigns stats bad request response has a 4xx status code

func (*GetCampaignsStatsBadRequest) IsCode

func (o *GetCampaignsStatsBadRequest) IsCode(code int) bool

IsCode returns true when this get campaigns stats bad request response a status code equal to that given

func (*GetCampaignsStatsBadRequest) IsRedirect

func (o *GetCampaignsStatsBadRequest) IsRedirect() bool

IsRedirect returns true when this get campaigns stats bad request response has a 3xx status code

func (*GetCampaignsStatsBadRequest) IsServerError

func (o *GetCampaignsStatsBadRequest) IsServerError() bool

IsServerError returns true when this get campaigns stats bad request response has a 5xx status code

func (*GetCampaignsStatsBadRequest) IsSuccess

func (o *GetCampaignsStatsBadRequest) IsSuccess() bool

IsSuccess returns true when this get campaigns stats bad request response has a 2xx status code

func (*GetCampaignsStatsBadRequest) String

func (o *GetCampaignsStatsBadRequest) String() string

type GetCampaignsStatsInternalServerError

type GetCampaignsStatsInternalServerError struct {
	Payload *model.ErrorResponse
}

GetCampaignsStatsInternalServerError describes a response with status code 500, with default header values.

internal server error 500

func NewGetCampaignsStatsInternalServerError

func NewGetCampaignsStatsInternalServerError() *GetCampaignsStatsInternalServerError

NewGetCampaignsStatsInternalServerError creates a GetCampaignsStatsInternalServerError with default headers values

func (*GetCampaignsStatsInternalServerError) Error

func (*GetCampaignsStatsInternalServerError) GetPayload

func (*GetCampaignsStatsInternalServerError) IsClientError

func (o *GetCampaignsStatsInternalServerError) IsClientError() bool

IsClientError returns true when this get campaigns stats internal server error response has a 4xx status code

func (*GetCampaignsStatsInternalServerError) IsCode

IsCode returns true when this get campaigns stats internal server error response a status code equal to that given

func (*GetCampaignsStatsInternalServerError) IsRedirect

IsRedirect returns true when this get campaigns stats internal server error response has a 3xx status code

func (*GetCampaignsStatsInternalServerError) IsServerError

func (o *GetCampaignsStatsInternalServerError) IsServerError() bool

IsServerError returns true when this get campaigns stats internal server error response has a 5xx status code

func (*GetCampaignsStatsInternalServerError) IsSuccess

IsSuccess returns true when this get campaigns stats internal server error response has a 2xx status code

func (*GetCampaignsStatsInternalServerError) String

type GetCampaignsStatsOK

type GetCampaignsStatsOK struct {
	Payload *GetCampaignsStatsOKBody
}

GetCampaignsStatsOK describes a response with status code 200, with default header values.

pages of Campaign

func NewGetCampaignsStatsOK

func NewGetCampaignsStatsOK() *GetCampaignsStatsOK

NewGetCampaignsStatsOK creates a GetCampaignsStatsOK with default headers values

func (*GetCampaignsStatsOK) Error

func (o *GetCampaignsStatsOK) Error() string

func (*GetCampaignsStatsOK) GetPayload

func (*GetCampaignsStatsOK) IsClientError

func (o *GetCampaignsStatsOK) IsClientError() bool

IsClientError returns true when this get campaigns stats o k response has a 4xx status code

func (*GetCampaignsStatsOK) IsCode

func (o *GetCampaignsStatsOK) IsCode(code int) bool

IsCode returns true when this get campaigns stats o k response a status code equal to that given

func (*GetCampaignsStatsOK) IsRedirect

func (o *GetCampaignsStatsOK) IsRedirect() bool

IsRedirect returns true when this get campaigns stats o k response has a 3xx status code

func (*GetCampaignsStatsOK) IsServerError

func (o *GetCampaignsStatsOK) IsServerError() bool

IsServerError returns true when this get campaigns stats o k response has a 5xx status code

func (*GetCampaignsStatsOK) IsSuccess

func (o *GetCampaignsStatsOK) IsSuccess() bool

IsSuccess returns true when this get campaigns stats o k response has a 2xx status code

func (*GetCampaignsStatsOK) String

func (o *GetCampaignsStatsOK) String() string

type GetCampaignsStatsOKBody

type GetCampaignsStatsOKBody struct {

	// campaigns
	Campaigns *model.CampaignStatsPage `json:"campaigns,omitempty"`
}

GetCampaignsStatsOKBody get campaigns stats o k body swagger:model GetCampaignsStatsOKBody

func (*GetCampaignsStatsOKBody) ContextValidate

func (o *GetCampaignsStatsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get campaigns stats o k body based on the context it is used

func (*GetCampaignsStatsOKBody) MarshalBinary

func (o *GetCampaignsStatsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCampaignsStatsOKBody) UnmarshalBinary

func (o *GetCampaignsStatsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCampaignsStatsOKBody) Validate

func (o *GetCampaignsStatsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get campaigns stats o k body

type GetCampaignsStatsParams

type GetCampaignsStatsParams struct {

	// XRequestID.
	XRequestID string

	// AccountID.
	//
	// Format: int64
	AccountID int64

	// CampaignIds.
	CampaignIds []int64

	// ClientID.
	//
	// Format: int64
	ClientID *int64

	/* DateFrom.

	   If presented, return only statistics starting from presented date in Unixtime

	   Format: int64
	*/
	DateFrom *int64

	/* DateTo.

	   If presented, return only statistics up to presented date in Unixtime

	   Format: int64
	*/
	DateTo *int64

	/* Fields.

	   Enumeration wanted parameters of requested object
	*/
	Fields []string

	/* UpdatedSince.

	   If presented, return only statistics up to presented date in Unixtime

	   Format: int64
	*/
	UpdatedSince *int64

	// UserID.
	//
	// Format: int64
	UserID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCampaignsStatsParams contains all the parameters to send to the API endpoint

for the get campaigns stats operation.

Typically these are written to a http.Request.

func NewGetCampaignsStatsParams

func NewGetCampaignsStatsParams() *GetCampaignsStatsParams

NewGetCampaignsStatsParams creates a new GetCampaignsStatsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCampaignsStatsParamsWithContext

func NewGetCampaignsStatsParamsWithContext(ctx context.Context) *GetCampaignsStatsParams

NewGetCampaignsStatsParamsWithContext creates a new GetCampaignsStatsParams object with the ability to set a context for a request.

func NewGetCampaignsStatsParamsWithHTTPClient

func NewGetCampaignsStatsParamsWithHTTPClient(client *http.Client) *GetCampaignsStatsParams

NewGetCampaignsStatsParamsWithHTTPClient creates a new GetCampaignsStatsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCampaignsStatsParamsWithTimeout

func NewGetCampaignsStatsParamsWithTimeout(timeout time.Duration) *GetCampaignsStatsParams

NewGetCampaignsStatsParamsWithTimeout creates a new GetCampaignsStatsParams object with the ability to set a timeout on a request.

func (*GetCampaignsStatsParams) SetAccountID

func (o *GetCampaignsStatsParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the get campaigns stats params

func (*GetCampaignsStatsParams) SetCampaignIds

func (o *GetCampaignsStatsParams) SetCampaignIds(campaignIds []int64)

SetCampaignIds adds the campaignIds to the get campaigns stats params

func (*GetCampaignsStatsParams) SetClientID

func (o *GetCampaignsStatsParams) SetClientID(clientID *int64)

SetClientID adds the clientId to the get campaigns stats params

func (*GetCampaignsStatsParams) SetContext

func (o *GetCampaignsStatsParams) SetContext(ctx context.Context)

SetContext adds the context to the get campaigns stats params

func (*GetCampaignsStatsParams) SetDateFrom

func (o *GetCampaignsStatsParams) SetDateFrom(dateFrom *int64)

SetDateFrom adds the dateFrom to the get campaigns stats params

func (*GetCampaignsStatsParams) SetDateTo

func (o *GetCampaignsStatsParams) SetDateTo(dateTo *int64)

SetDateTo adds the dateTo to the get campaigns stats params

func (*GetCampaignsStatsParams) SetDefaults

func (o *GetCampaignsStatsParams) SetDefaults()

SetDefaults hydrates default values in the get campaigns stats params (not the query body).

All values with no default are reset to their zero value.

func (*GetCampaignsStatsParams) SetFields

func (o *GetCampaignsStatsParams) SetFields(fields []string)

SetFields adds the fields to the get campaigns stats params

func (*GetCampaignsStatsParams) SetHTTPClient

func (o *GetCampaignsStatsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get campaigns stats params

func (*GetCampaignsStatsParams) SetTimeout

func (o *GetCampaignsStatsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get campaigns stats params

func (*GetCampaignsStatsParams) SetUpdatedSince

func (o *GetCampaignsStatsParams) SetUpdatedSince(updatedSince *int64)

SetUpdatedSince adds the updatedSince to the get campaigns stats params

func (*GetCampaignsStatsParams) SetUserID

func (o *GetCampaignsStatsParams) SetUserID(userID int64)

SetUserID adds the userId to the get campaigns stats params

func (*GetCampaignsStatsParams) SetXRequestID

func (o *GetCampaignsStatsParams) SetXRequestID(xRequestID string)

SetXRequestID adds the xRequestId to the get campaigns stats params

func (*GetCampaignsStatsParams) WithAccountID

func (o *GetCampaignsStatsParams) WithAccountID(accountID int64) *GetCampaignsStatsParams

WithAccountID adds the accountID to the get campaigns stats params

func (*GetCampaignsStatsParams) WithCampaignIds

func (o *GetCampaignsStatsParams) WithCampaignIds(campaignIds []int64) *GetCampaignsStatsParams

WithCampaignIds adds the campaignIds to the get campaigns stats params

func (*GetCampaignsStatsParams) WithClientID

func (o *GetCampaignsStatsParams) WithClientID(clientID *int64) *GetCampaignsStatsParams

WithClientID adds the clientID to the get campaigns stats params

func (*GetCampaignsStatsParams) WithContext

WithContext adds the context to the get campaigns stats params

func (*GetCampaignsStatsParams) WithDateFrom

func (o *GetCampaignsStatsParams) WithDateFrom(dateFrom *int64) *GetCampaignsStatsParams

WithDateFrom adds the dateFrom to the get campaigns stats params

func (*GetCampaignsStatsParams) WithDateTo

func (o *GetCampaignsStatsParams) WithDateTo(dateTo *int64) *GetCampaignsStatsParams

WithDateTo adds the dateTo to the get campaigns stats params

func (*GetCampaignsStatsParams) WithDefaults

WithDefaults hydrates default values in the get campaigns stats params (not the query body).

All values with no default are reset to their zero value.

func (*GetCampaignsStatsParams) WithFields

func (o *GetCampaignsStatsParams) WithFields(fields []string) *GetCampaignsStatsParams

WithFields adds the fields to the get campaigns stats params

func (*GetCampaignsStatsParams) WithHTTPClient

func (o *GetCampaignsStatsParams) WithHTTPClient(client *http.Client) *GetCampaignsStatsParams

WithHTTPClient adds the HTTPClient to the get campaigns stats params

func (*GetCampaignsStatsParams) WithTimeout

WithTimeout adds the timeout to the get campaigns stats params

func (*GetCampaignsStatsParams) WithUpdatedSince

func (o *GetCampaignsStatsParams) WithUpdatedSince(updatedSince *int64) *GetCampaignsStatsParams

WithUpdatedSince adds the updatedSince to the get campaigns stats params

func (*GetCampaignsStatsParams) WithUserID

func (o *GetCampaignsStatsParams) WithUserID(userID int64) *GetCampaignsStatsParams

WithUserID adds the userID to the get campaigns stats params

func (*GetCampaignsStatsParams) WithXRequestID

func (o *GetCampaignsStatsParams) WithXRequestID(xRequestID string) *GetCampaignsStatsParams

WithXRequestID adds the xRequestID to the get campaigns stats params

func (*GetCampaignsStatsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCampaignsStatsReader

type GetCampaignsStatsReader struct {
	// contains filtered or unexported fields
}

GetCampaignsStatsReader is a Reader for the GetCampaignsStats structure.

func (*GetCampaignsStatsReader) ReadResponse

func (o *GetCampaignsStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCampaignsStatsUnauthorized

type GetCampaignsStatsUnauthorized struct {
	Payload *model.ErrorResponse
}

GetCampaignsStatsUnauthorized describes a response with status code 401, with default header values.

unauthorized 400

func NewGetCampaignsStatsUnauthorized

func NewGetCampaignsStatsUnauthorized() *GetCampaignsStatsUnauthorized

NewGetCampaignsStatsUnauthorized creates a GetCampaignsStatsUnauthorized with default headers values

func (*GetCampaignsStatsUnauthorized) Error

func (*GetCampaignsStatsUnauthorized) GetPayload

func (*GetCampaignsStatsUnauthorized) IsClientError

func (o *GetCampaignsStatsUnauthorized) IsClientError() bool

IsClientError returns true when this get campaigns stats unauthorized response has a 4xx status code

func (*GetCampaignsStatsUnauthorized) IsCode

func (o *GetCampaignsStatsUnauthorized) IsCode(code int) bool

IsCode returns true when this get campaigns stats unauthorized response a status code equal to that given

func (*GetCampaignsStatsUnauthorized) IsRedirect

func (o *GetCampaignsStatsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get campaigns stats unauthorized response has a 3xx status code

func (*GetCampaignsStatsUnauthorized) IsServerError

func (o *GetCampaignsStatsUnauthorized) IsServerError() bool

IsServerError returns true when this get campaigns stats unauthorized response has a 5xx status code

func (*GetCampaignsStatsUnauthorized) IsSuccess

func (o *GetCampaignsStatsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get campaigns stats unauthorized response has a 2xx status code

func (*GetCampaignsStatsUnauthorized) String

Jump to

Keyboard shortcuts

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