mailer_entry

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for mailer entry API

func (*Client) CreateMailerEntry

CreateMailerEntry adds a new mailer entry

Adds a new mailer entry to the specified mailers section in the configuration file.

func (*Client) DeleteMailerEntry

DeleteMailerEntry deletes a mailer entry

Deletes a mailer entry configuration by it's name in the specified mailers section.

func (*Client) GetMailerEntries

func (a *Client) GetMailerEntries(params *GetMailerEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMailerEntriesOK, error)

GetMailerEntries returns an array of mailer entries

Returns an array of all the mailer_entries configured in the specified mailers section.

func (*Client) GetMailerEntry

func (a *Client) GetMailerEntry(params *GetMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMailerEntryOK, error)

GetMailerEntry returns one mailer entry

Returns one mailer_entry configuration by it's name in the specified mailers section.

func (*Client) ReplaceMailerEntry

ReplaceMailerEntry replaces a mailer entry

Replaces a mailer entry configuration by it's name in the specified mailers section.

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

ClientService is the interface for Client methods

func New

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

New creates a new mailer entry API client.

type CreateMailerEntryAccepted

type CreateMailerEntryAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.MailerEntry
}

CreateMailerEntryAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateMailerEntryAccepted

func NewCreateMailerEntryAccepted() *CreateMailerEntryAccepted

NewCreateMailerEntryAccepted creates a CreateMailerEntryAccepted with default headers values

func (*CreateMailerEntryAccepted) Code added in v1.1.5

func (o *CreateMailerEntryAccepted) Code() int

Code gets the status code for the create mailer entry accepted response

func (*CreateMailerEntryAccepted) Error

func (o *CreateMailerEntryAccepted) Error() string

func (*CreateMailerEntryAccepted) GetPayload

func (o *CreateMailerEntryAccepted) GetPayload() *models.MailerEntry

func (*CreateMailerEntryAccepted) IsClientError

func (o *CreateMailerEntryAccepted) IsClientError() bool

IsClientError returns true when this create mailer entry accepted response has a 4xx status code

func (*CreateMailerEntryAccepted) IsCode

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

IsCode returns true when this create mailer entry accepted response a status code equal to that given

func (*CreateMailerEntryAccepted) IsRedirect

func (o *CreateMailerEntryAccepted) IsRedirect() bool

IsRedirect returns true when this create mailer entry accepted response has a 3xx status code

func (*CreateMailerEntryAccepted) IsServerError

func (o *CreateMailerEntryAccepted) IsServerError() bool

IsServerError returns true when this create mailer entry accepted response has a 5xx status code

func (*CreateMailerEntryAccepted) IsSuccess

func (o *CreateMailerEntryAccepted) IsSuccess() bool

IsSuccess returns true when this create mailer entry accepted response has a 2xx status code

func (*CreateMailerEntryAccepted) String

func (o *CreateMailerEntryAccepted) String() string

type CreateMailerEntryBadRequest

type CreateMailerEntryBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateMailerEntryBadRequest

func NewCreateMailerEntryBadRequest() *CreateMailerEntryBadRequest

NewCreateMailerEntryBadRequest creates a CreateMailerEntryBadRequest with default headers values

func (*CreateMailerEntryBadRequest) Code added in v1.1.5

func (o *CreateMailerEntryBadRequest) Code() int

Code gets the status code for the create mailer entry bad request response

func (*CreateMailerEntryBadRequest) Error

func (*CreateMailerEntryBadRequest) GetPayload

func (o *CreateMailerEntryBadRequest) GetPayload() *models.Error

func (*CreateMailerEntryBadRequest) IsClientError

func (o *CreateMailerEntryBadRequest) IsClientError() bool

IsClientError returns true when this create mailer entry bad request response has a 4xx status code

func (*CreateMailerEntryBadRequest) IsCode

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

IsCode returns true when this create mailer entry bad request response a status code equal to that given

func (*CreateMailerEntryBadRequest) IsRedirect

func (o *CreateMailerEntryBadRequest) IsRedirect() bool

IsRedirect returns true when this create mailer entry bad request response has a 3xx status code

func (*CreateMailerEntryBadRequest) IsServerError

func (o *CreateMailerEntryBadRequest) IsServerError() bool

IsServerError returns true when this create mailer entry bad request response has a 5xx status code

func (*CreateMailerEntryBadRequest) IsSuccess

func (o *CreateMailerEntryBadRequest) IsSuccess() bool

IsSuccess returns true when this create mailer entry bad request response has a 2xx status code

func (*CreateMailerEntryBadRequest) String

func (o *CreateMailerEntryBadRequest) String() string

type CreateMailerEntryConflict

type CreateMailerEntryConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateMailerEntryConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewCreateMailerEntryConflict

func NewCreateMailerEntryConflict() *CreateMailerEntryConflict

NewCreateMailerEntryConflict creates a CreateMailerEntryConflict with default headers values

func (*CreateMailerEntryConflict) Code added in v1.1.5

func (o *CreateMailerEntryConflict) Code() int

Code gets the status code for the create mailer entry conflict response

func (*CreateMailerEntryConflict) Error

func (o *CreateMailerEntryConflict) Error() string

func (*CreateMailerEntryConflict) GetPayload

func (o *CreateMailerEntryConflict) GetPayload() *models.Error

func (*CreateMailerEntryConflict) IsClientError

func (o *CreateMailerEntryConflict) IsClientError() bool

IsClientError returns true when this create mailer entry conflict response has a 4xx status code

func (*CreateMailerEntryConflict) IsCode

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

IsCode returns true when this create mailer entry conflict response a status code equal to that given

func (*CreateMailerEntryConflict) IsRedirect

func (o *CreateMailerEntryConflict) IsRedirect() bool

IsRedirect returns true when this create mailer entry conflict response has a 3xx status code

func (*CreateMailerEntryConflict) IsServerError

func (o *CreateMailerEntryConflict) IsServerError() bool

IsServerError returns true when this create mailer entry conflict response has a 5xx status code

func (*CreateMailerEntryConflict) IsSuccess

func (o *CreateMailerEntryConflict) IsSuccess() bool

IsSuccess returns true when this create mailer entry conflict response has a 2xx status code

func (*CreateMailerEntryConflict) String

func (o *CreateMailerEntryConflict) String() string

type CreateMailerEntryCreated

type CreateMailerEntryCreated struct {
	Payload *models.MailerEntry
}

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

MailerEntry created

func NewCreateMailerEntryCreated

func NewCreateMailerEntryCreated() *CreateMailerEntryCreated

NewCreateMailerEntryCreated creates a CreateMailerEntryCreated with default headers values

func (*CreateMailerEntryCreated) Code added in v1.1.5

func (o *CreateMailerEntryCreated) Code() int

Code gets the status code for the create mailer entry created response

func (*CreateMailerEntryCreated) Error

func (o *CreateMailerEntryCreated) Error() string

func (*CreateMailerEntryCreated) GetPayload

func (o *CreateMailerEntryCreated) GetPayload() *models.MailerEntry

func (*CreateMailerEntryCreated) IsClientError

func (o *CreateMailerEntryCreated) IsClientError() bool

IsClientError returns true when this create mailer entry created response has a 4xx status code

func (*CreateMailerEntryCreated) IsCode

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

IsCode returns true when this create mailer entry created response a status code equal to that given

func (*CreateMailerEntryCreated) IsRedirect

func (o *CreateMailerEntryCreated) IsRedirect() bool

IsRedirect returns true when this create mailer entry created response has a 3xx status code

func (*CreateMailerEntryCreated) IsServerError

func (o *CreateMailerEntryCreated) IsServerError() bool

IsServerError returns true when this create mailer entry created response has a 5xx status code

func (*CreateMailerEntryCreated) IsSuccess

func (o *CreateMailerEntryCreated) IsSuccess() bool

IsSuccess returns true when this create mailer entry created response has a 2xx status code

func (*CreateMailerEntryCreated) String

func (o *CreateMailerEntryCreated) String() string

type CreateMailerEntryDefault

type CreateMailerEntryDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateMailerEntryDefault describes a response with status code -1, with default header values.

General Error

func NewCreateMailerEntryDefault

func NewCreateMailerEntryDefault(code int) *CreateMailerEntryDefault

NewCreateMailerEntryDefault creates a CreateMailerEntryDefault with default headers values

func (*CreateMailerEntryDefault) Code

func (o *CreateMailerEntryDefault) Code() int

Code gets the status code for the create mailer entry default response

func (*CreateMailerEntryDefault) Error

func (o *CreateMailerEntryDefault) Error() string

func (*CreateMailerEntryDefault) GetPayload

func (o *CreateMailerEntryDefault) GetPayload() *models.Error

func (*CreateMailerEntryDefault) IsClientError

func (o *CreateMailerEntryDefault) IsClientError() bool

IsClientError returns true when this create mailer entry default response has a 4xx status code

func (*CreateMailerEntryDefault) IsCode

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

IsCode returns true when this create mailer entry default response a status code equal to that given

func (*CreateMailerEntryDefault) IsRedirect

func (o *CreateMailerEntryDefault) IsRedirect() bool

IsRedirect returns true when this create mailer entry default response has a 3xx status code

func (*CreateMailerEntryDefault) IsServerError

func (o *CreateMailerEntryDefault) IsServerError() bool

IsServerError returns true when this create mailer entry default response has a 5xx status code

func (*CreateMailerEntryDefault) IsSuccess

func (o *CreateMailerEntryDefault) IsSuccess() bool

IsSuccess returns true when this create mailer entry default response has a 2xx status code

func (*CreateMailerEntryDefault) String

func (o *CreateMailerEntryDefault) String() string

type CreateMailerEntryParams

type CreateMailerEntryParams struct {

	// Data.
	Data *models.MailerEntry

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* MailersSection.

	   Parent mailers section name
	*/
	MailersSection string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

CreateMailerEntryParams contains all the parameters to send to the API endpoint

for the create mailer entry operation.

Typically these are written to a http.Request.

func NewCreateMailerEntryParams

func NewCreateMailerEntryParams() *CreateMailerEntryParams

NewCreateMailerEntryParams creates a new CreateMailerEntryParams 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 NewCreateMailerEntryParamsWithContext

func NewCreateMailerEntryParamsWithContext(ctx context.Context) *CreateMailerEntryParams

NewCreateMailerEntryParamsWithContext creates a new CreateMailerEntryParams object with the ability to set a context for a request.

func NewCreateMailerEntryParamsWithHTTPClient

func NewCreateMailerEntryParamsWithHTTPClient(client *http.Client) *CreateMailerEntryParams

NewCreateMailerEntryParamsWithHTTPClient creates a new CreateMailerEntryParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMailerEntryParamsWithTimeout

func NewCreateMailerEntryParamsWithTimeout(timeout time.Duration) *CreateMailerEntryParams

NewCreateMailerEntryParamsWithTimeout creates a new CreateMailerEntryParams object with the ability to set a timeout on a request.

func (*CreateMailerEntryParams) SetContext

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

SetContext adds the context to the create mailer entry params

func (*CreateMailerEntryParams) SetData

func (o *CreateMailerEntryParams) SetData(data *models.MailerEntry)

SetData adds the data to the create mailer entry params

func (*CreateMailerEntryParams) SetDefaults

func (o *CreateMailerEntryParams) SetDefaults()

SetDefaults hydrates default values in the create mailer entry params (not the query body).

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

func (*CreateMailerEntryParams) SetForceReload

func (o *CreateMailerEntryParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create mailer entry params

func (*CreateMailerEntryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create mailer entry params

func (*CreateMailerEntryParams) SetMailersSection

func (o *CreateMailerEntryParams) SetMailersSection(mailersSection string)

SetMailersSection adds the mailersSection to the create mailer entry params

func (*CreateMailerEntryParams) SetTimeout

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

SetTimeout adds the timeout to the create mailer entry params

func (*CreateMailerEntryParams) SetTransactionID

func (o *CreateMailerEntryParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create mailer entry params

func (*CreateMailerEntryParams) SetVersion

func (o *CreateMailerEntryParams) SetVersion(version *int64)

SetVersion adds the version to the create mailer entry params

func (*CreateMailerEntryParams) WithContext

WithContext adds the context to the create mailer entry params

func (*CreateMailerEntryParams) WithData

WithData adds the data to the create mailer entry params

func (*CreateMailerEntryParams) WithDefaults

WithDefaults hydrates default values in the create mailer entry params (not the query body).

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

func (*CreateMailerEntryParams) WithForceReload

func (o *CreateMailerEntryParams) WithForceReload(forceReload *bool) *CreateMailerEntryParams

WithForceReload adds the forceReload to the create mailer entry params

func (*CreateMailerEntryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create mailer entry params

func (*CreateMailerEntryParams) WithMailersSection

func (o *CreateMailerEntryParams) WithMailersSection(mailersSection string) *CreateMailerEntryParams

WithMailersSection adds the mailersSection to the create mailer entry params

func (*CreateMailerEntryParams) WithTimeout

WithTimeout adds the timeout to the create mailer entry params

func (*CreateMailerEntryParams) WithTransactionID

func (o *CreateMailerEntryParams) WithTransactionID(transactionID *string) *CreateMailerEntryParams

WithTransactionID adds the transactionID to the create mailer entry params

func (*CreateMailerEntryParams) WithVersion

func (o *CreateMailerEntryParams) WithVersion(version *int64) *CreateMailerEntryParams

WithVersion adds the version to the create mailer entry params

func (*CreateMailerEntryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMailerEntryReader

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

CreateMailerEntryReader is a Reader for the CreateMailerEntry structure.

func (*CreateMailerEntryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMailerEntryAccepted

type DeleteMailerEntryAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteMailerEntryAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteMailerEntryAccepted

func NewDeleteMailerEntryAccepted() *DeleteMailerEntryAccepted

NewDeleteMailerEntryAccepted creates a DeleteMailerEntryAccepted with default headers values

func (*DeleteMailerEntryAccepted) Code added in v1.1.5

func (o *DeleteMailerEntryAccepted) Code() int

Code gets the status code for the delete mailer entry accepted response

func (*DeleteMailerEntryAccepted) Error

func (o *DeleteMailerEntryAccepted) Error() string

func (*DeleteMailerEntryAccepted) IsClientError

func (o *DeleteMailerEntryAccepted) IsClientError() bool

IsClientError returns true when this delete mailer entry accepted response has a 4xx status code

func (*DeleteMailerEntryAccepted) IsCode

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

IsCode returns true when this delete mailer entry accepted response a status code equal to that given

func (*DeleteMailerEntryAccepted) IsRedirect

func (o *DeleteMailerEntryAccepted) IsRedirect() bool

IsRedirect returns true when this delete mailer entry accepted response has a 3xx status code

func (*DeleteMailerEntryAccepted) IsServerError

func (o *DeleteMailerEntryAccepted) IsServerError() bool

IsServerError returns true when this delete mailer entry accepted response has a 5xx status code

func (*DeleteMailerEntryAccepted) IsSuccess

func (o *DeleteMailerEntryAccepted) IsSuccess() bool

IsSuccess returns true when this delete mailer entry accepted response has a 2xx status code

func (*DeleteMailerEntryAccepted) String

func (o *DeleteMailerEntryAccepted) String() string

type DeleteMailerEntryDefault

type DeleteMailerEntryDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteMailerEntryDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteMailerEntryDefault

func NewDeleteMailerEntryDefault(code int) *DeleteMailerEntryDefault

NewDeleteMailerEntryDefault creates a DeleteMailerEntryDefault with default headers values

func (*DeleteMailerEntryDefault) Code

func (o *DeleteMailerEntryDefault) Code() int

Code gets the status code for the delete mailer entry default response

func (*DeleteMailerEntryDefault) Error

func (o *DeleteMailerEntryDefault) Error() string

func (*DeleteMailerEntryDefault) GetPayload

func (o *DeleteMailerEntryDefault) GetPayload() *models.Error

func (*DeleteMailerEntryDefault) IsClientError

func (o *DeleteMailerEntryDefault) IsClientError() bool

IsClientError returns true when this delete mailer entry default response has a 4xx status code

func (*DeleteMailerEntryDefault) IsCode

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

IsCode returns true when this delete mailer entry default response a status code equal to that given

func (*DeleteMailerEntryDefault) IsRedirect

func (o *DeleteMailerEntryDefault) IsRedirect() bool

IsRedirect returns true when this delete mailer entry default response has a 3xx status code

func (*DeleteMailerEntryDefault) IsServerError

func (o *DeleteMailerEntryDefault) IsServerError() bool

IsServerError returns true when this delete mailer entry default response has a 5xx status code

func (*DeleteMailerEntryDefault) IsSuccess

func (o *DeleteMailerEntryDefault) IsSuccess() bool

IsSuccess returns true when this delete mailer entry default response has a 2xx status code

func (*DeleteMailerEntryDefault) String

func (o *DeleteMailerEntryDefault) String() string

type DeleteMailerEntryNoContent

type DeleteMailerEntryNoContent struct {
}

DeleteMailerEntryNoContent describes a response with status code 204, with default header values.

MailerEntry deleted

func NewDeleteMailerEntryNoContent

func NewDeleteMailerEntryNoContent() *DeleteMailerEntryNoContent

NewDeleteMailerEntryNoContent creates a DeleteMailerEntryNoContent with default headers values

func (*DeleteMailerEntryNoContent) Code added in v1.1.5

func (o *DeleteMailerEntryNoContent) Code() int

Code gets the status code for the delete mailer entry no content response

func (*DeleteMailerEntryNoContent) Error

func (*DeleteMailerEntryNoContent) IsClientError

func (o *DeleteMailerEntryNoContent) IsClientError() bool

IsClientError returns true when this delete mailer entry no content response has a 4xx status code

func (*DeleteMailerEntryNoContent) IsCode

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

IsCode returns true when this delete mailer entry no content response a status code equal to that given

func (*DeleteMailerEntryNoContent) IsRedirect

func (o *DeleteMailerEntryNoContent) IsRedirect() bool

IsRedirect returns true when this delete mailer entry no content response has a 3xx status code

func (*DeleteMailerEntryNoContent) IsServerError

func (o *DeleteMailerEntryNoContent) IsServerError() bool

IsServerError returns true when this delete mailer entry no content response has a 5xx status code

func (*DeleteMailerEntryNoContent) IsSuccess

func (o *DeleteMailerEntryNoContent) IsSuccess() bool

IsSuccess returns true when this delete mailer entry no content response has a 2xx status code

func (*DeleteMailerEntryNoContent) String

func (o *DeleteMailerEntryNoContent) String() string

type DeleteMailerEntryNotFound

type DeleteMailerEntryNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteMailerEntryNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewDeleteMailerEntryNotFound

func NewDeleteMailerEntryNotFound() *DeleteMailerEntryNotFound

NewDeleteMailerEntryNotFound creates a DeleteMailerEntryNotFound with default headers values

func (*DeleteMailerEntryNotFound) Code added in v1.1.5

func (o *DeleteMailerEntryNotFound) Code() int

Code gets the status code for the delete mailer entry not found response

func (*DeleteMailerEntryNotFound) Error

func (o *DeleteMailerEntryNotFound) Error() string

func (*DeleteMailerEntryNotFound) GetPayload

func (o *DeleteMailerEntryNotFound) GetPayload() *models.Error

func (*DeleteMailerEntryNotFound) IsClientError

func (o *DeleteMailerEntryNotFound) IsClientError() bool

IsClientError returns true when this delete mailer entry not found response has a 4xx status code

func (*DeleteMailerEntryNotFound) IsCode

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

IsCode returns true when this delete mailer entry not found response a status code equal to that given

func (*DeleteMailerEntryNotFound) IsRedirect

func (o *DeleteMailerEntryNotFound) IsRedirect() bool

IsRedirect returns true when this delete mailer entry not found response has a 3xx status code

func (*DeleteMailerEntryNotFound) IsServerError

func (o *DeleteMailerEntryNotFound) IsServerError() bool

IsServerError returns true when this delete mailer entry not found response has a 5xx status code

func (*DeleteMailerEntryNotFound) IsSuccess

func (o *DeleteMailerEntryNotFound) IsSuccess() bool

IsSuccess returns true when this delete mailer entry not found response has a 2xx status code

func (*DeleteMailerEntryNotFound) String

func (o *DeleteMailerEntryNotFound) String() string

type DeleteMailerEntryParams

type DeleteMailerEntryParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* MailersSection.

	   Parent mailers section name
	*/
	MailersSection string

	/* Name.

	   MailerEntry name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

DeleteMailerEntryParams contains all the parameters to send to the API endpoint

for the delete mailer entry operation.

Typically these are written to a http.Request.

func NewDeleteMailerEntryParams

func NewDeleteMailerEntryParams() *DeleteMailerEntryParams

NewDeleteMailerEntryParams creates a new DeleteMailerEntryParams 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 NewDeleteMailerEntryParamsWithContext

func NewDeleteMailerEntryParamsWithContext(ctx context.Context) *DeleteMailerEntryParams

NewDeleteMailerEntryParamsWithContext creates a new DeleteMailerEntryParams object with the ability to set a context for a request.

func NewDeleteMailerEntryParamsWithHTTPClient

func NewDeleteMailerEntryParamsWithHTTPClient(client *http.Client) *DeleteMailerEntryParams

NewDeleteMailerEntryParamsWithHTTPClient creates a new DeleteMailerEntryParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMailerEntryParamsWithTimeout

func NewDeleteMailerEntryParamsWithTimeout(timeout time.Duration) *DeleteMailerEntryParams

NewDeleteMailerEntryParamsWithTimeout creates a new DeleteMailerEntryParams object with the ability to set a timeout on a request.

func (*DeleteMailerEntryParams) SetContext

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

SetContext adds the context to the delete mailer entry params

func (*DeleteMailerEntryParams) SetDefaults

func (o *DeleteMailerEntryParams) SetDefaults()

SetDefaults hydrates default values in the delete mailer entry params (not the query body).

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

func (*DeleteMailerEntryParams) SetForceReload

func (o *DeleteMailerEntryParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete mailer entry params

func (*DeleteMailerEntryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete mailer entry params

func (*DeleteMailerEntryParams) SetMailersSection

func (o *DeleteMailerEntryParams) SetMailersSection(mailersSection string)

SetMailersSection adds the mailersSection to the delete mailer entry params

func (*DeleteMailerEntryParams) SetName

func (o *DeleteMailerEntryParams) SetName(name string)

SetName adds the name to the delete mailer entry params

func (*DeleteMailerEntryParams) SetTimeout

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

SetTimeout adds the timeout to the delete mailer entry params

func (*DeleteMailerEntryParams) SetTransactionID

func (o *DeleteMailerEntryParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete mailer entry params

func (*DeleteMailerEntryParams) SetVersion

func (o *DeleteMailerEntryParams) SetVersion(version *int64)

SetVersion adds the version to the delete mailer entry params

func (*DeleteMailerEntryParams) WithContext

WithContext adds the context to the delete mailer entry params

func (*DeleteMailerEntryParams) WithDefaults

WithDefaults hydrates default values in the delete mailer entry params (not the query body).

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

func (*DeleteMailerEntryParams) WithForceReload

func (o *DeleteMailerEntryParams) WithForceReload(forceReload *bool) *DeleteMailerEntryParams

WithForceReload adds the forceReload to the delete mailer entry params

func (*DeleteMailerEntryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete mailer entry params

func (*DeleteMailerEntryParams) WithMailersSection

func (o *DeleteMailerEntryParams) WithMailersSection(mailersSection string) *DeleteMailerEntryParams

WithMailersSection adds the mailersSection to the delete mailer entry params

func (*DeleteMailerEntryParams) WithName

WithName adds the name to the delete mailer entry params

func (*DeleteMailerEntryParams) WithTimeout

WithTimeout adds the timeout to the delete mailer entry params

func (*DeleteMailerEntryParams) WithTransactionID

func (o *DeleteMailerEntryParams) WithTransactionID(transactionID *string) *DeleteMailerEntryParams

WithTransactionID adds the transactionID to the delete mailer entry params

func (*DeleteMailerEntryParams) WithVersion

func (o *DeleteMailerEntryParams) WithVersion(version *int64) *DeleteMailerEntryParams

WithVersion adds the version to the delete mailer entry params

func (*DeleteMailerEntryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMailerEntryReader

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

DeleteMailerEntryReader is a Reader for the DeleteMailerEntry structure.

func (*DeleteMailerEntryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMailerEntriesDefault

type GetMailerEntriesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetMailerEntriesDefault describes a response with status code -1, with default header values.

General Error

func NewGetMailerEntriesDefault

func NewGetMailerEntriesDefault(code int) *GetMailerEntriesDefault

NewGetMailerEntriesDefault creates a GetMailerEntriesDefault with default headers values

func (*GetMailerEntriesDefault) Code

func (o *GetMailerEntriesDefault) Code() int

Code gets the status code for the get mailer entries default response

func (*GetMailerEntriesDefault) Error

func (o *GetMailerEntriesDefault) Error() string

func (*GetMailerEntriesDefault) GetPayload

func (o *GetMailerEntriesDefault) GetPayload() *models.Error

func (*GetMailerEntriesDefault) IsClientError

func (o *GetMailerEntriesDefault) IsClientError() bool

IsClientError returns true when this get mailer entries default response has a 4xx status code

func (*GetMailerEntriesDefault) IsCode

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

IsCode returns true when this get mailer entries default response a status code equal to that given

func (*GetMailerEntriesDefault) IsRedirect

func (o *GetMailerEntriesDefault) IsRedirect() bool

IsRedirect returns true when this get mailer entries default response has a 3xx status code

func (*GetMailerEntriesDefault) IsServerError

func (o *GetMailerEntriesDefault) IsServerError() bool

IsServerError returns true when this get mailer entries default response has a 5xx status code

func (*GetMailerEntriesDefault) IsSuccess

func (o *GetMailerEntriesDefault) IsSuccess() bool

IsSuccess returns true when this get mailer entries default response has a 2xx status code

func (*GetMailerEntriesDefault) String

func (o *GetMailerEntriesDefault) String() string

type GetMailerEntriesOK

type GetMailerEntriesOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetMailerEntriesOKBody
}

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

Successful operation

func NewGetMailerEntriesOK

func NewGetMailerEntriesOK() *GetMailerEntriesOK

NewGetMailerEntriesOK creates a GetMailerEntriesOK with default headers values

func (*GetMailerEntriesOK) Code added in v1.1.5

func (o *GetMailerEntriesOK) Code() int

Code gets the status code for the get mailer entries o k response

func (*GetMailerEntriesOK) Error

func (o *GetMailerEntriesOK) Error() string

func (*GetMailerEntriesOK) GetPayload

func (o *GetMailerEntriesOK) GetPayload() *GetMailerEntriesOKBody

func (*GetMailerEntriesOK) IsClientError

func (o *GetMailerEntriesOK) IsClientError() bool

IsClientError returns true when this get mailer entries o k response has a 4xx status code

func (*GetMailerEntriesOK) IsCode

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

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

func (*GetMailerEntriesOK) IsRedirect

func (o *GetMailerEntriesOK) IsRedirect() bool

IsRedirect returns true when this get mailer entries o k response has a 3xx status code

func (*GetMailerEntriesOK) IsServerError

func (o *GetMailerEntriesOK) IsServerError() bool

IsServerError returns true when this get mailer entries o k response has a 5xx status code

func (*GetMailerEntriesOK) IsSuccess

func (o *GetMailerEntriesOK) IsSuccess() bool

IsSuccess returns true when this get mailer entries o k response has a 2xx status code

func (*GetMailerEntriesOK) String

func (o *GetMailerEntriesOK) String() string

type GetMailerEntriesOKBody

type GetMailerEntriesOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.MailerEntries `json:"data"`
}

GetMailerEntriesOKBody get mailer entries o k body swagger:model GetMailerEntriesOKBody

func (*GetMailerEntriesOKBody) ContextValidate

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

ContextValidate validate this get mailer entries o k body based on the context it is used

func (*GetMailerEntriesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetMailerEntriesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetMailerEntriesOKBody) Validate

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

Validate validates this get mailer entries o k body

type GetMailerEntriesParams

type GetMailerEntriesParams struct {

	/* MailersSection.

	   Parent mailers section name
	*/
	MailersSection string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetMailerEntriesParams contains all the parameters to send to the API endpoint

for the get mailer entries operation.

Typically these are written to a http.Request.

func NewGetMailerEntriesParams

func NewGetMailerEntriesParams() *GetMailerEntriesParams

NewGetMailerEntriesParams creates a new GetMailerEntriesParams 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 NewGetMailerEntriesParamsWithContext

func NewGetMailerEntriesParamsWithContext(ctx context.Context) *GetMailerEntriesParams

NewGetMailerEntriesParamsWithContext creates a new GetMailerEntriesParams object with the ability to set a context for a request.

func NewGetMailerEntriesParamsWithHTTPClient

func NewGetMailerEntriesParamsWithHTTPClient(client *http.Client) *GetMailerEntriesParams

NewGetMailerEntriesParamsWithHTTPClient creates a new GetMailerEntriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetMailerEntriesParamsWithTimeout

func NewGetMailerEntriesParamsWithTimeout(timeout time.Duration) *GetMailerEntriesParams

NewGetMailerEntriesParamsWithTimeout creates a new GetMailerEntriesParams object with the ability to set a timeout on a request.

func (*GetMailerEntriesParams) SetContext

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

SetContext adds the context to the get mailer entries params

func (*GetMailerEntriesParams) SetDefaults

func (o *GetMailerEntriesParams) SetDefaults()

SetDefaults hydrates default values in the get mailer entries params (not the query body).

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

func (*GetMailerEntriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get mailer entries params

func (*GetMailerEntriesParams) SetMailersSection

func (o *GetMailerEntriesParams) SetMailersSection(mailersSection string)

SetMailersSection adds the mailersSection to the get mailer entries params

func (*GetMailerEntriesParams) SetTimeout

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

SetTimeout adds the timeout to the get mailer entries params

func (*GetMailerEntriesParams) SetTransactionID

func (o *GetMailerEntriesParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get mailer entries params

func (*GetMailerEntriesParams) WithContext

WithContext adds the context to the get mailer entries params

func (*GetMailerEntriesParams) WithDefaults

WithDefaults hydrates default values in the get mailer entries params (not the query body).

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

func (*GetMailerEntriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get mailer entries params

func (*GetMailerEntriesParams) WithMailersSection

func (o *GetMailerEntriesParams) WithMailersSection(mailersSection string) *GetMailerEntriesParams

WithMailersSection adds the mailersSection to the get mailer entries params

func (*GetMailerEntriesParams) WithTimeout

WithTimeout adds the timeout to the get mailer entries params

func (*GetMailerEntriesParams) WithTransactionID

func (o *GetMailerEntriesParams) WithTransactionID(transactionID *string) *GetMailerEntriesParams

WithTransactionID adds the transactionID to the get mailer entries params

func (*GetMailerEntriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMailerEntriesReader

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

GetMailerEntriesReader is a Reader for the GetMailerEntries structure.

func (*GetMailerEntriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMailerEntryDefault

type GetMailerEntryDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetMailerEntryDefault describes a response with status code -1, with default header values.

General Error

func NewGetMailerEntryDefault

func NewGetMailerEntryDefault(code int) *GetMailerEntryDefault

NewGetMailerEntryDefault creates a GetMailerEntryDefault with default headers values

func (*GetMailerEntryDefault) Code

func (o *GetMailerEntryDefault) Code() int

Code gets the status code for the get mailer entry default response

func (*GetMailerEntryDefault) Error

func (o *GetMailerEntryDefault) Error() string

func (*GetMailerEntryDefault) GetPayload

func (o *GetMailerEntryDefault) GetPayload() *models.Error

func (*GetMailerEntryDefault) IsClientError

func (o *GetMailerEntryDefault) IsClientError() bool

IsClientError returns true when this get mailer entry default response has a 4xx status code

func (*GetMailerEntryDefault) IsCode

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

IsCode returns true when this get mailer entry default response a status code equal to that given

func (*GetMailerEntryDefault) IsRedirect

func (o *GetMailerEntryDefault) IsRedirect() bool

IsRedirect returns true when this get mailer entry default response has a 3xx status code

func (*GetMailerEntryDefault) IsServerError

func (o *GetMailerEntryDefault) IsServerError() bool

IsServerError returns true when this get mailer entry default response has a 5xx status code

func (*GetMailerEntryDefault) IsSuccess

func (o *GetMailerEntryDefault) IsSuccess() bool

IsSuccess returns true when this get mailer entry default response has a 2xx status code

func (*GetMailerEntryDefault) String

func (o *GetMailerEntryDefault) String() string

type GetMailerEntryNotFound

type GetMailerEntryNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

GetMailerEntryNotFound describes a response with status code 404, with default header values.

The specified resource already exists

func NewGetMailerEntryNotFound

func NewGetMailerEntryNotFound() *GetMailerEntryNotFound

NewGetMailerEntryNotFound creates a GetMailerEntryNotFound with default headers values

func (*GetMailerEntryNotFound) Code added in v1.1.5

func (o *GetMailerEntryNotFound) Code() int

Code gets the status code for the get mailer entry not found response

func (*GetMailerEntryNotFound) Error

func (o *GetMailerEntryNotFound) Error() string

func (*GetMailerEntryNotFound) GetPayload

func (o *GetMailerEntryNotFound) GetPayload() *models.Error

func (*GetMailerEntryNotFound) IsClientError

func (o *GetMailerEntryNotFound) IsClientError() bool

IsClientError returns true when this get mailer entry not found response has a 4xx status code

func (*GetMailerEntryNotFound) IsCode

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

IsCode returns true when this get mailer entry not found response a status code equal to that given

func (*GetMailerEntryNotFound) IsRedirect

func (o *GetMailerEntryNotFound) IsRedirect() bool

IsRedirect returns true when this get mailer entry not found response has a 3xx status code

func (*GetMailerEntryNotFound) IsServerError

func (o *GetMailerEntryNotFound) IsServerError() bool

IsServerError returns true when this get mailer entry not found response has a 5xx status code

func (*GetMailerEntryNotFound) IsSuccess

func (o *GetMailerEntryNotFound) IsSuccess() bool

IsSuccess returns true when this get mailer entry not found response has a 2xx status code

func (*GetMailerEntryNotFound) String

func (o *GetMailerEntryNotFound) String() string

type GetMailerEntryOK

type GetMailerEntryOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetMailerEntryOKBody
}

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

Successful operation

func NewGetMailerEntryOK

func NewGetMailerEntryOK() *GetMailerEntryOK

NewGetMailerEntryOK creates a GetMailerEntryOK with default headers values

func (*GetMailerEntryOK) Code added in v1.1.5

func (o *GetMailerEntryOK) Code() int

Code gets the status code for the get mailer entry o k response

func (*GetMailerEntryOK) Error

func (o *GetMailerEntryOK) Error() string

func (*GetMailerEntryOK) GetPayload

func (o *GetMailerEntryOK) GetPayload() *GetMailerEntryOKBody

func (*GetMailerEntryOK) IsClientError

func (o *GetMailerEntryOK) IsClientError() bool

IsClientError returns true when this get mailer entry o k response has a 4xx status code

func (*GetMailerEntryOK) IsCode

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

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

func (*GetMailerEntryOK) IsRedirect

func (o *GetMailerEntryOK) IsRedirect() bool

IsRedirect returns true when this get mailer entry o k response has a 3xx status code

func (*GetMailerEntryOK) IsServerError

func (o *GetMailerEntryOK) IsServerError() bool

IsServerError returns true when this get mailer entry o k response has a 5xx status code

func (*GetMailerEntryOK) IsSuccess

func (o *GetMailerEntryOK) IsSuccess() bool

IsSuccess returns true when this get mailer entry o k response has a 2xx status code

func (*GetMailerEntryOK) String

func (o *GetMailerEntryOK) String() string

type GetMailerEntryOKBody

type GetMailerEntryOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.MailerEntry `json:"data,omitempty"`
}

GetMailerEntryOKBody get mailer entry o k body swagger:model GetMailerEntryOKBody

func (*GetMailerEntryOKBody) ContextValidate

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

ContextValidate validate this get mailer entry o k body based on the context it is used

func (*GetMailerEntryOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetMailerEntryOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetMailerEntryOKBody) Validate

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

Validate validates this get mailer entry o k body

type GetMailerEntryParams

type GetMailerEntryParams struct {

	/* MailersSection.

	   Parent mailers name
	*/
	MailersSection string

	/* Name.

	   MailerEntry name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetMailerEntryParams contains all the parameters to send to the API endpoint

for the get mailer entry operation.

Typically these are written to a http.Request.

func NewGetMailerEntryParams

func NewGetMailerEntryParams() *GetMailerEntryParams

NewGetMailerEntryParams creates a new GetMailerEntryParams 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 NewGetMailerEntryParamsWithContext

func NewGetMailerEntryParamsWithContext(ctx context.Context) *GetMailerEntryParams

NewGetMailerEntryParamsWithContext creates a new GetMailerEntryParams object with the ability to set a context for a request.

func NewGetMailerEntryParamsWithHTTPClient

func NewGetMailerEntryParamsWithHTTPClient(client *http.Client) *GetMailerEntryParams

NewGetMailerEntryParamsWithHTTPClient creates a new GetMailerEntryParams object with the ability to set a custom HTTPClient for a request.

func NewGetMailerEntryParamsWithTimeout

func NewGetMailerEntryParamsWithTimeout(timeout time.Duration) *GetMailerEntryParams

NewGetMailerEntryParamsWithTimeout creates a new GetMailerEntryParams object with the ability to set a timeout on a request.

func (*GetMailerEntryParams) SetContext

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

SetContext adds the context to the get mailer entry params

func (*GetMailerEntryParams) SetDefaults

func (o *GetMailerEntryParams) SetDefaults()

SetDefaults hydrates default values in the get mailer entry params (not the query body).

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

func (*GetMailerEntryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get mailer entry params

func (*GetMailerEntryParams) SetMailersSection

func (o *GetMailerEntryParams) SetMailersSection(mailersSection string)

SetMailersSection adds the mailersSection to the get mailer entry params

func (*GetMailerEntryParams) SetName

func (o *GetMailerEntryParams) SetName(name string)

SetName adds the name to the get mailer entry params

func (*GetMailerEntryParams) SetTimeout

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

SetTimeout adds the timeout to the get mailer entry params

func (*GetMailerEntryParams) SetTransactionID

func (o *GetMailerEntryParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get mailer entry params

func (*GetMailerEntryParams) WithContext

WithContext adds the context to the get mailer entry params

func (*GetMailerEntryParams) WithDefaults

func (o *GetMailerEntryParams) WithDefaults() *GetMailerEntryParams

WithDefaults hydrates default values in the get mailer entry params (not the query body).

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

func (*GetMailerEntryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get mailer entry params

func (*GetMailerEntryParams) WithMailersSection

func (o *GetMailerEntryParams) WithMailersSection(mailersSection string) *GetMailerEntryParams

WithMailersSection adds the mailersSection to the get mailer entry params

func (*GetMailerEntryParams) WithName

WithName adds the name to the get mailer entry params

func (*GetMailerEntryParams) WithTimeout

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

WithTimeout adds the timeout to the get mailer entry params

func (*GetMailerEntryParams) WithTransactionID

func (o *GetMailerEntryParams) WithTransactionID(transactionID *string) *GetMailerEntryParams

WithTransactionID adds the transactionID to the get mailer entry params

func (*GetMailerEntryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMailerEntryReader

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

GetMailerEntryReader is a Reader for the GetMailerEntry structure.

func (*GetMailerEntryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceMailerEntryAccepted

type ReplaceMailerEntryAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.MailerEntry
}

ReplaceMailerEntryAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceMailerEntryAccepted

func NewReplaceMailerEntryAccepted() *ReplaceMailerEntryAccepted

NewReplaceMailerEntryAccepted creates a ReplaceMailerEntryAccepted with default headers values

func (*ReplaceMailerEntryAccepted) Code added in v1.1.5

func (o *ReplaceMailerEntryAccepted) Code() int

Code gets the status code for the replace mailer entry accepted response

func (*ReplaceMailerEntryAccepted) Error

func (*ReplaceMailerEntryAccepted) GetPayload

func (*ReplaceMailerEntryAccepted) IsClientError

func (o *ReplaceMailerEntryAccepted) IsClientError() bool

IsClientError returns true when this replace mailer entry accepted response has a 4xx status code

func (*ReplaceMailerEntryAccepted) IsCode

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

IsCode returns true when this replace mailer entry accepted response a status code equal to that given

func (*ReplaceMailerEntryAccepted) IsRedirect

func (o *ReplaceMailerEntryAccepted) IsRedirect() bool

IsRedirect returns true when this replace mailer entry accepted response has a 3xx status code

func (*ReplaceMailerEntryAccepted) IsServerError

func (o *ReplaceMailerEntryAccepted) IsServerError() bool

IsServerError returns true when this replace mailer entry accepted response has a 5xx status code

func (*ReplaceMailerEntryAccepted) IsSuccess

func (o *ReplaceMailerEntryAccepted) IsSuccess() bool

IsSuccess returns true when this replace mailer entry accepted response has a 2xx status code

func (*ReplaceMailerEntryAccepted) String

func (o *ReplaceMailerEntryAccepted) String() string

type ReplaceMailerEntryBadRequest

type ReplaceMailerEntryBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceMailerEntryBadRequest

func NewReplaceMailerEntryBadRequest() *ReplaceMailerEntryBadRequest

NewReplaceMailerEntryBadRequest creates a ReplaceMailerEntryBadRequest with default headers values

func (*ReplaceMailerEntryBadRequest) Code added in v1.1.5

Code gets the status code for the replace mailer entry bad request response

func (*ReplaceMailerEntryBadRequest) Error

func (*ReplaceMailerEntryBadRequest) GetPayload

func (o *ReplaceMailerEntryBadRequest) GetPayload() *models.Error

func (*ReplaceMailerEntryBadRequest) IsClientError

func (o *ReplaceMailerEntryBadRequest) IsClientError() bool

IsClientError returns true when this replace mailer entry bad request response has a 4xx status code

func (*ReplaceMailerEntryBadRequest) IsCode

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

IsCode returns true when this replace mailer entry bad request response a status code equal to that given

func (*ReplaceMailerEntryBadRequest) IsRedirect

func (o *ReplaceMailerEntryBadRequest) IsRedirect() bool

IsRedirect returns true when this replace mailer entry bad request response has a 3xx status code

func (*ReplaceMailerEntryBadRequest) IsServerError

func (o *ReplaceMailerEntryBadRequest) IsServerError() bool

IsServerError returns true when this replace mailer entry bad request response has a 5xx status code

func (*ReplaceMailerEntryBadRequest) IsSuccess

func (o *ReplaceMailerEntryBadRequest) IsSuccess() bool

IsSuccess returns true when this replace mailer entry bad request response has a 2xx status code

func (*ReplaceMailerEntryBadRequest) String

type ReplaceMailerEntryDefault

type ReplaceMailerEntryDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

ReplaceMailerEntryDefault describes a response with status code -1, with default header values.

General Error

func NewReplaceMailerEntryDefault

func NewReplaceMailerEntryDefault(code int) *ReplaceMailerEntryDefault

NewReplaceMailerEntryDefault creates a ReplaceMailerEntryDefault with default headers values

func (*ReplaceMailerEntryDefault) Code

func (o *ReplaceMailerEntryDefault) Code() int

Code gets the status code for the replace mailer entry default response

func (*ReplaceMailerEntryDefault) Error

func (o *ReplaceMailerEntryDefault) Error() string

func (*ReplaceMailerEntryDefault) GetPayload

func (o *ReplaceMailerEntryDefault) GetPayload() *models.Error

func (*ReplaceMailerEntryDefault) IsClientError

func (o *ReplaceMailerEntryDefault) IsClientError() bool

IsClientError returns true when this replace mailer entry default response has a 4xx status code

func (*ReplaceMailerEntryDefault) IsCode

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

IsCode returns true when this replace mailer entry default response a status code equal to that given

func (*ReplaceMailerEntryDefault) IsRedirect

func (o *ReplaceMailerEntryDefault) IsRedirect() bool

IsRedirect returns true when this replace mailer entry default response has a 3xx status code

func (*ReplaceMailerEntryDefault) IsServerError

func (o *ReplaceMailerEntryDefault) IsServerError() bool

IsServerError returns true when this replace mailer entry default response has a 5xx status code

func (*ReplaceMailerEntryDefault) IsSuccess

func (o *ReplaceMailerEntryDefault) IsSuccess() bool

IsSuccess returns true when this replace mailer entry default response has a 2xx status code

func (*ReplaceMailerEntryDefault) String

func (o *ReplaceMailerEntryDefault) String() string

type ReplaceMailerEntryNotFound

type ReplaceMailerEntryNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceMailerEntryNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewReplaceMailerEntryNotFound

func NewReplaceMailerEntryNotFound() *ReplaceMailerEntryNotFound

NewReplaceMailerEntryNotFound creates a ReplaceMailerEntryNotFound with default headers values

func (*ReplaceMailerEntryNotFound) Code added in v1.1.5

func (o *ReplaceMailerEntryNotFound) Code() int

Code gets the status code for the replace mailer entry not found response

func (*ReplaceMailerEntryNotFound) Error

func (*ReplaceMailerEntryNotFound) GetPayload

func (o *ReplaceMailerEntryNotFound) GetPayload() *models.Error

func (*ReplaceMailerEntryNotFound) IsClientError

func (o *ReplaceMailerEntryNotFound) IsClientError() bool

IsClientError returns true when this replace mailer entry not found response has a 4xx status code

func (*ReplaceMailerEntryNotFound) IsCode

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

IsCode returns true when this replace mailer entry not found response a status code equal to that given

func (*ReplaceMailerEntryNotFound) IsRedirect

func (o *ReplaceMailerEntryNotFound) IsRedirect() bool

IsRedirect returns true when this replace mailer entry not found response has a 3xx status code

func (*ReplaceMailerEntryNotFound) IsServerError

func (o *ReplaceMailerEntryNotFound) IsServerError() bool

IsServerError returns true when this replace mailer entry not found response has a 5xx status code

func (*ReplaceMailerEntryNotFound) IsSuccess

func (o *ReplaceMailerEntryNotFound) IsSuccess() bool

IsSuccess returns true when this replace mailer entry not found response has a 2xx status code

func (*ReplaceMailerEntryNotFound) String

func (o *ReplaceMailerEntryNotFound) String() string

type ReplaceMailerEntryOK

type ReplaceMailerEntryOK struct {
	Payload *models.MailerEntry
}

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

MailerEntry replaced

func NewReplaceMailerEntryOK

func NewReplaceMailerEntryOK() *ReplaceMailerEntryOK

NewReplaceMailerEntryOK creates a ReplaceMailerEntryOK with default headers values

func (*ReplaceMailerEntryOK) Code added in v1.1.5

func (o *ReplaceMailerEntryOK) Code() int

Code gets the status code for the replace mailer entry o k response

func (*ReplaceMailerEntryOK) Error

func (o *ReplaceMailerEntryOK) Error() string

func (*ReplaceMailerEntryOK) GetPayload

func (o *ReplaceMailerEntryOK) GetPayload() *models.MailerEntry

func (*ReplaceMailerEntryOK) IsClientError

func (o *ReplaceMailerEntryOK) IsClientError() bool

IsClientError returns true when this replace mailer entry o k response has a 4xx status code

func (*ReplaceMailerEntryOK) IsCode

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

IsCode returns true when this replace mailer entry o k response a status code equal to that given

func (*ReplaceMailerEntryOK) IsRedirect

func (o *ReplaceMailerEntryOK) IsRedirect() bool

IsRedirect returns true when this replace mailer entry o k response has a 3xx status code

func (*ReplaceMailerEntryOK) IsServerError

func (o *ReplaceMailerEntryOK) IsServerError() bool

IsServerError returns true when this replace mailer entry o k response has a 5xx status code

func (*ReplaceMailerEntryOK) IsSuccess

func (o *ReplaceMailerEntryOK) IsSuccess() bool

IsSuccess returns true when this replace mailer entry o k response has a 2xx status code

func (*ReplaceMailerEntryOK) String

func (o *ReplaceMailerEntryOK) String() string

type ReplaceMailerEntryParams

type ReplaceMailerEntryParams struct {

	// Data.
	Data *models.MailerEntry

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* MailersSection.

	   Parent mailers section name
	*/
	MailersSection string

	/* Name.

	   MailerEntry name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

ReplaceMailerEntryParams contains all the parameters to send to the API endpoint

for the replace mailer entry operation.

Typically these are written to a http.Request.

func NewReplaceMailerEntryParams

func NewReplaceMailerEntryParams() *ReplaceMailerEntryParams

NewReplaceMailerEntryParams creates a new ReplaceMailerEntryParams 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 NewReplaceMailerEntryParamsWithContext

func NewReplaceMailerEntryParamsWithContext(ctx context.Context) *ReplaceMailerEntryParams

NewReplaceMailerEntryParamsWithContext creates a new ReplaceMailerEntryParams object with the ability to set a context for a request.

func NewReplaceMailerEntryParamsWithHTTPClient

func NewReplaceMailerEntryParamsWithHTTPClient(client *http.Client) *ReplaceMailerEntryParams

NewReplaceMailerEntryParamsWithHTTPClient creates a new ReplaceMailerEntryParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceMailerEntryParamsWithTimeout

func NewReplaceMailerEntryParamsWithTimeout(timeout time.Duration) *ReplaceMailerEntryParams

NewReplaceMailerEntryParamsWithTimeout creates a new ReplaceMailerEntryParams object with the ability to set a timeout on a request.

func (*ReplaceMailerEntryParams) SetContext

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

SetContext adds the context to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetData

func (o *ReplaceMailerEntryParams) SetData(data *models.MailerEntry)

SetData adds the data to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetDefaults

func (o *ReplaceMailerEntryParams) SetDefaults()

SetDefaults hydrates default values in the replace mailer entry params (not the query body).

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

func (*ReplaceMailerEntryParams) SetForceReload

func (o *ReplaceMailerEntryParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetMailersSection

func (o *ReplaceMailerEntryParams) SetMailersSection(mailersSection string)

SetMailersSection adds the mailersSection to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetName

func (o *ReplaceMailerEntryParams) SetName(name string)

SetName adds the name to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetTimeout

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

SetTimeout adds the timeout to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetTransactionID

func (o *ReplaceMailerEntryParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace mailer entry params

func (*ReplaceMailerEntryParams) SetVersion

func (o *ReplaceMailerEntryParams) SetVersion(version *int64)

SetVersion adds the version to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithContext

WithContext adds the context to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithData

WithData adds the data to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithDefaults

WithDefaults hydrates default values in the replace mailer entry params (not the query body).

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

func (*ReplaceMailerEntryParams) WithForceReload

func (o *ReplaceMailerEntryParams) WithForceReload(forceReload *bool) *ReplaceMailerEntryParams

WithForceReload adds the forceReload to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithMailersSection

func (o *ReplaceMailerEntryParams) WithMailersSection(mailersSection string) *ReplaceMailerEntryParams

WithMailersSection adds the mailersSection to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithName

WithName adds the name to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithTimeout

WithTimeout adds the timeout to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithTransactionID

func (o *ReplaceMailerEntryParams) WithTransactionID(transactionID *string) *ReplaceMailerEntryParams

WithTransactionID adds the transactionID to the replace mailer entry params

func (*ReplaceMailerEntryParams) WithVersion

func (o *ReplaceMailerEntryParams) WithVersion(version *int64) *ReplaceMailerEntryParams

WithVersion adds the version to the replace mailer entry params

func (*ReplaceMailerEntryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceMailerEntryReader

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

ReplaceMailerEntryReader is a Reader for the ReplaceMailerEntry structure.

func (*ReplaceMailerEntryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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