Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMailerEntry(params *CreateMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMailerEntryCreated, *CreateMailerEntryAccepted, error)
- func (a *Client) DeleteMailerEntry(params *DeleteMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMailerEntryAccepted, *DeleteMailerEntryNoContent, error)
- func (a *Client) GetMailerEntries(params *GetMailerEntriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMailerEntriesOK, error)
- func (a *Client) GetMailerEntry(params *GetMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMailerEntryOK, error)
- func (a *Client) ReplaceMailerEntry(params *ReplaceMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceMailerEntryOK, *ReplaceMailerEntryAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateMailerEntryAccepted
- func (o *CreateMailerEntryAccepted) Code() int
- func (o *CreateMailerEntryAccepted) Error() string
- func (o *CreateMailerEntryAccepted) GetPayload() *models.MailerEntry
- func (o *CreateMailerEntryAccepted) IsClientError() bool
- func (o *CreateMailerEntryAccepted) IsCode(code int) bool
- func (o *CreateMailerEntryAccepted) IsRedirect() bool
- func (o *CreateMailerEntryAccepted) IsServerError() bool
- func (o *CreateMailerEntryAccepted) IsSuccess() bool
- func (o *CreateMailerEntryAccepted) String() string
- type CreateMailerEntryBadRequest
- func (o *CreateMailerEntryBadRequest) Code() int
- func (o *CreateMailerEntryBadRequest) Error() string
- func (o *CreateMailerEntryBadRequest) GetPayload() *models.Error
- func (o *CreateMailerEntryBadRequest) IsClientError() bool
- func (o *CreateMailerEntryBadRequest) IsCode(code int) bool
- func (o *CreateMailerEntryBadRequest) IsRedirect() bool
- func (o *CreateMailerEntryBadRequest) IsServerError() bool
- func (o *CreateMailerEntryBadRequest) IsSuccess() bool
- func (o *CreateMailerEntryBadRequest) String() string
- type CreateMailerEntryConflict
- func (o *CreateMailerEntryConflict) Code() int
- func (o *CreateMailerEntryConflict) Error() string
- func (o *CreateMailerEntryConflict) GetPayload() *models.Error
- func (o *CreateMailerEntryConflict) IsClientError() bool
- func (o *CreateMailerEntryConflict) IsCode(code int) bool
- func (o *CreateMailerEntryConflict) IsRedirect() bool
- func (o *CreateMailerEntryConflict) IsServerError() bool
- func (o *CreateMailerEntryConflict) IsSuccess() bool
- func (o *CreateMailerEntryConflict) String() string
- type CreateMailerEntryCreated
- func (o *CreateMailerEntryCreated) Code() int
- func (o *CreateMailerEntryCreated) Error() string
- func (o *CreateMailerEntryCreated) GetPayload() *models.MailerEntry
- func (o *CreateMailerEntryCreated) IsClientError() bool
- func (o *CreateMailerEntryCreated) IsCode(code int) bool
- func (o *CreateMailerEntryCreated) IsRedirect() bool
- func (o *CreateMailerEntryCreated) IsServerError() bool
- func (o *CreateMailerEntryCreated) IsSuccess() bool
- func (o *CreateMailerEntryCreated) String() string
- type CreateMailerEntryDefault
- func (o *CreateMailerEntryDefault) Code() int
- func (o *CreateMailerEntryDefault) Error() string
- func (o *CreateMailerEntryDefault) GetPayload() *models.Error
- func (o *CreateMailerEntryDefault) IsClientError() bool
- func (o *CreateMailerEntryDefault) IsCode(code int) bool
- func (o *CreateMailerEntryDefault) IsRedirect() bool
- func (o *CreateMailerEntryDefault) IsServerError() bool
- func (o *CreateMailerEntryDefault) IsSuccess() bool
- func (o *CreateMailerEntryDefault) String() string
- type CreateMailerEntryParams
- func NewCreateMailerEntryParams() *CreateMailerEntryParams
- func NewCreateMailerEntryParamsWithContext(ctx context.Context) *CreateMailerEntryParams
- func NewCreateMailerEntryParamsWithHTTPClient(client *http.Client) *CreateMailerEntryParams
- func NewCreateMailerEntryParamsWithTimeout(timeout time.Duration) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) SetContext(ctx context.Context)
- func (o *CreateMailerEntryParams) SetData(data *models.MailerEntry)
- func (o *CreateMailerEntryParams) SetDefaults()
- func (o *CreateMailerEntryParams) SetForceReload(forceReload *bool)
- func (o *CreateMailerEntryParams) SetHTTPClient(client *http.Client)
- func (o *CreateMailerEntryParams) SetMailersSection(mailersSection string)
- func (o *CreateMailerEntryParams) SetTimeout(timeout time.Duration)
- func (o *CreateMailerEntryParams) SetTransactionID(transactionID *string)
- func (o *CreateMailerEntryParams) SetVersion(version *int64)
- func (o *CreateMailerEntryParams) WithContext(ctx context.Context) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithData(data *models.MailerEntry) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithDefaults() *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithForceReload(forceReload *bool) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithHTTPClient(client *http.Client) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithMailersSection(mailersSection string) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithTimeout(timeout time.Duration) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithTransactionID(transactionID *string) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WithVersion(version *int64) *CreateMailerEntryParams
- func (o *CreateMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMailerEntryReader
- type DeleteMailerEntryAccepted
- func (o *DeleteMailerEntryAccepted) Code() int
- func (o *DeleteMailerEntryAccepted) Error() string
- func (o *DeleteMailerEntryAccepted) IsClientError() bool
- func (o *DeleteMailerEntryAccepted) IsCode(code int) bool
- func (o *DeleteMailerEntryAccepted) IsRedirect() bool
- func (o *DeleteMailerEntryAccepted) IsServerError() bool
- func (o *DeleteMailerEntryAccepted) IsSuccess() bool
- func (o *DeleteMailerEntryAccepted) String() string
- type DeleteMailerEntryDefault
- func (o *DeleteMailerEntryDefault) Code() int
- func (o *DeleteMailerEntryDefault) Error() string
- func (o *DeleteMailerEntryDefault) GetPayload() *models.Error
- func (o *DeleteMailerEntryDefault) IsClientError() bool
- func (o *DeleteMailerEntryDefault) IsCode(code int) bool
- func (o *DeleteMailerEntryDefault) IsRedirect() bool
- func (o *DeleteMailerEntryDefault) IsServerError() bool
- func (o *DeleteMailerEntryDefault) IsSuccess() bool
- func (o *DeleteMailerEntryDefault) String() string
- type DeleteMailerEntryNoContent
- func (o *DeleteMailerEntryNoContent) Code() int
- func (o *DeleteMailerEntryNoContent) Error() string
- func (o *DeleteMailerEntryNoContent) IsClientError() bool
- func (o *DeleteMailerEntryNoContent) IsCode(code int) bool
- func (o *DeleteMailerEntryNoContent) IsRedirect() bool
- func (o *DeleteMailerEntryNoContent) IsServerError() bool
- func (o *DeleteMailerEntryNoContent) IsSuccess() bool
- func (o *DeleteMailerEntryNoContent) String() string
- type DeleteMailerEntryNotFound
- func (o *DeleteMailerEntryNotFound) Code() int
- func (o *DeleteMailerEntryNotFound) Error() string
- func (o *DeleteMailerEntryNotFound) GetPayload() *models.Error
- func (o *DeleteMailerEntryNotFound) IsClientError() bool
- func (o *DeleteMailerEntryNotFound) IsCode(code int) bool
- func (o *DeleteMailerEntryNotFound) IsRedirect() bool
- func (o *DeleteMailerEntryNotFound) IsServerError() bool
- func (o *DeleteMailerEntryNotFound) IsSuccess() bool
- func (o *DeleteMailerEntryNotFound) String() string
- type DeleteMailerEntryParams
- func NewDeleteMailerEntryParams() *DeleteMailerEntryParams
- func NewDeleteMailerEntryParamsWithContext(ctx context.Context) *DeleteMailerEntryParams
- func NewDeleteMailerEntryParamsWithHTTPClient(client *http.Client) *DeleteMailerEntryParams
- func NewDeleteMailerEntryParamsWithTimeout(timeout time.Duration) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) SetContext(ctx context.Context)
- func (o *DeleteMailerEntryParams) SetDefaults()
- func (o *DeleteMailerEntryParams) SetForceReload(forceReload *bool)
- func (o *DeleteMailerEntryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMailerEntryParams) SetMailersSection(mailersSection string)
- func (o *DeleteMailerEntryParams) SetName(name string)
- func (o *DeleteMailerEntryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMailerEntryParams) SetTransactionID(transactionID *string)
- func (o *DeleteMailerEntryParams) SetVersion(version *int64)
- func (o *DeleteMailerEntryParams) WithContext(ctx context.Context) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithDefaults() *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithForceReload(forceReload *bool) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithHTTPClient(client *http.Client) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithMailersSection(mailersSection string) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithName(name string) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithTimeout(timeout time.Duration) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithTransactionID(transactionID *string) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WithVersion(version *int64) *DeleteMailerEntryParams
- func (o *DeleteMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMailerEntryReader
- type GetMailerEntriesDefault
- func (o *GetMailerEntriesDefault) Code() int
- func (o *GetMailerEntriesDefault) Error() string
- func (o *GetMailerEntriesDefault) GetPayload() *models.Error
- func (o *GetMailerEntriesDefault) IsClientError() bool
- func (o *GetMailerEntriesDefault) IsCode(code int) bool
- func (o *GetMailerEntriesDefault) IsRedirect() bool
- func (o *GetMailerEntriesDefault) IsServerError() bool
- func (o *GetMailerEntriesDefault) IsSuccess() bool
- func (o *GetMailerEntriesDefault) String() string
- type GetMailerEntriesOK
- func (o *GetMailerEntriesOK) Code() int
- func (o *GetMailerEntriesOK) Error() string
- func (o *GetMailerEntriesOK) GetPayload() *GetMailerEntriesOKBody
- func (o *GetMailerEntriesOK) IsClientError() bool
- func (o *GetMailerEntriesOK) IsCode(code int) bool
- func (o *GetMailerEntriesOK) IsRedirect() bool
- func (o *GetMailerEntriesOK) IsServerError() bool
- func (o *GetMailerEntriesOK) IsSuccess() bool
- func (o *GetMailerEntriesOK) String() string
- type GetMailerEntriesOKBody
- func (o *GetMailerEntriesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetMailerEntriesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetMailerEntriesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetMailerEntriesOKBody) Validate(formats strfmt.Registry) error
- type GetMailerEntriesParams
- func NewGetMailerEntriesParams() *GetMailerEntriesParams
- func NewGetMailerEntriesParamsWithContext(ctx context.Context) *GetMailerEntriesParams
- func NewGetMailerEntriesParamsWithHTTPClient(client *http.Client) *GetMailerEntriesParams
- func NewGetMailerEntriesParamsWithTimeout(timeout time.Duration) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) SetContext(ctx context.Context)
- func (o *GetMailerEntriesParams) SetDefaults()
- func (o *GetMailerEntriesParams) SetHTTPClient(client *http.Client)
- func (o *GetMailerEntriesParams) SetMailersSection(mailersSection string)
- func (o *GetMailerEntriesParams) SetTimeout(timeout time.Duration)
- func (o *GetMailerEntriesParams) SetTransactionID(transactionID *string)
- func (o *GetMailerEntriesParams) WithContext(ctx context.Context) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WithDefaults() *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WithHTTPClient(client *http.Client) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WithMailersSection(mailersSection string) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WithTimeout(timeout time.Duration) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WithTransactionID(transactionID *string) *GetMailerEntriesParams
- func (o *GetMailerEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMailerEntriesReader
- type GetMailerEntryDefault
- func (o *GetMailerEntryDefault) Code() int
- func (o *GetMailerEntryDefault) Error() string
- func (o *GetMailerEntryDefault) GetPayload() *models.Error
- func (o *GetMailerEntryDefault) IsClientError() bool
- func (o *GetMailerEntryDefault) IsCode(code int) bool
- func (o *GetMailerEntryDefault) IsRedirect() bool
- func (o *GetMailerEntryDefault) IsServerError() bool
- func (o *GetMailerEntryDefault) IsSuccess() bool
- func (o *GetMailerEntryDefault) String() string
- type GetMailerEntryNotFound
- func (o *GetMailerEntryNotFound) Code() int
- func (o *GetMailerEntryNotFound) Error() string
- func (o *GetMailerEntryNotFound) GetPayload() *models.Error
- func (o *GetMailerEntryNotFound) IsClientError() bool
- func (o *GetMailerEntryNotFound) IsCode(code int) bool
- func (o *GetMailerEntryNotFound) IsRedirect() bool
- func (o *GetMailerEntryNotFound) IsServerError() bool
- func (o *GetMailerEntryNotFound) IsSuccess() bool
- func (o *GetMailerEntryNotFound) String() string
- type GetMailerEntryOK
- func (o *GetMailerEntryOK) Code() int
- func (o *GetMailerEntryOK) Error() string
- func (o *GetMailerEntryOK) GetPayload() *GetMailerEntryOKBody
- func (o *GetMailerEntryOK) IsClientError() bool
- func (o *GetMailerEntryOK) IsCode(code int) bool
- func (o *GetMailerEntryOK) IsRedirect() bool
- func (o *GetMailerEntryOK) IsServerError() bool
- func (o *GetMailerEntryOK) IsSuccess() bool
- func (o *GetMailerEntryOK) String() string
- type GetMailerEntryOKBody
- type GetMailerEntryParams
- func NewGetMailerEntryParams() *GetMailerEntryParams
- func NewGetMailerEntryParamsWithContext(ctx context.Context) *GetMailerEntryParams
- func NewGetMailerEntryParamsWithHTTPClient(client *http.Client) *GetMailerEntryParams
- func NewGetMailerEntryParamsWithTimeout(timeout time.Duration) *GetMailerEntryParams
- func (o *GetMailerEntryParams) SetContext(ctx context.Context)
- func (o *GetMailerEntryParams) SetDefaults()
- func (o *GetMailerEntryParams) SetHTTPClient(client *http.Client)
- func (o *GetMailerEntryParams) SetMailersSection(mailersSection string)
- func (o *GetMailerEntryParams) SetName(name string)
- func (o *GetMailerEntryParams) SetTimeout(timeout time.Duration)
- func (o *GetMailerEntryParams) SetTransactionID(transactionID *string)
- func (o *GetMailerEntryParams) WithContext(ctx context.Context) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithDefaults() *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithHTTPClient(client *http.Client) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithMailersSection(mailersSection string) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithName(name string) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithTimeout(timeout time.Duration) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WithTransactionID(transactionID *string) *GetMailerEntryParams
- func (o *GetMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMailerEntryReader
- type ReplaceMailerEntryAccepted
- func (o *ReplaceMailerEntryAccepted) Code() int
- func (o *ReplaceMailerEntryAccepted) Error() string
- func (o *ReplaceMailerEntryAccepted) GetPayload() *models.MailerEntry
- func (o *ReplaceMailerEntryAccepted) IsClientError() bool
- func (o *ReplaceMailerEntryAccepted) IsCode(code int) bool
- func (o *ReplaceMailerEntryAccepted) IsRedirect() bool
- func (o *ReplaceMailerEntryAccepted) IsServerError() bool
- func (o *ReplaceMailerEntryAccepted) IsSuccess() bool
- func (o *ReplaceMailerEntryAccepted) String() string
- type ReplaceMailerEntryBadRequest
- func (o *ReplaceMailerEntryBadRequest) Code() int
- func (o *ReplaceMailerEntryBadRequest) Error() string
- func (o *ReplaceMailerEntryBadRequest) GetPayload() *models.Error
- func (o *ReplaceMailerEntryBadRequest) IsClientError() bool
- func (o *ReplaceMailerEntryBadRequest) IsCode(code int) bool
- func (o *ReplaceMailerEntryBadRequest) IsRedirect() bool
- func (o *ReplaceMailerEntryBadRequest) IsServerError() bool
- func (o *ReplaceMailerEntryBadRequest) IsSuccess() bool
- func (o *ReplaceMailerEntryBadRequest) String() string
- type ReplaceMailerEntryDefault
- func (o *ReplaceMailerEntryDefault) Code() int
- func (o *ReplaceMailerEntryDefault) Error() string
- func (o *ReplaceMailerEntryDefault) GetPayload() *models.Error
- func (o *ReplaceMailerEntryDefault) IsClientError() bool
- func (o *ReplaceMailerEntryDefault) IsCode(code int) bool
- func (o *ReplaceMailerEntryDefault) IsRedirect() bool
- func (o *ReplaceMailerEntryDefault) IsServerError() bool
- func (o *ReplaceMailerEntryDefault) IsSuccess() bool
- func (o *ReplaceMailerEntryDefault) String() string
- type ReplaceMailerEntryNotFound
- func (o *ReplaceMailerEntryNotFound) Code() int
- func (o *ReplaceMailerEntryNotFound) Error() string
- func (o *ReplaceMailerEntryNotFound) GetPayload() *models.Error
- func (o *ReplaceMailerEntryNotFound) IsClientError() bool
- func (o *ReplaceMailerEntryNotFound) IsCode(code int) bool
- func (o *ReplaceMailerEntryNotFound) IsRedirect() bool
- func (o *ReplaceMailerEntryNotFound) IsServerError() bool
- func (o *ReplaceMailerEntryNotFound) IsSuccess() bool
- func (o *ReplaceMailerEntryNotFound) String() string
- type ReplaceMailerEntryOK
- func (o *ReplaceMailerEntryOK) Code() int
- func (o *ReplaceMailerEntryOK) Error() string
- func (o *ReplaceMailerEntryOK) GetPayload() *models.MailerEntry
- func (o *ReplaceMailerEntryOK) IsClientError() bool
- func (o *ReplaceMailerEntryOK) IsCode(code int) bool
- func (o *ReplaceMailerEntryOK) IsRedirect() bool
- func (o *ReplaceMailerEntryOK) IsServerError() bool
- func (o *ReplaceMailerEntryOK) IsSuccess() bool
- func (o *ReplaceMailerEntryOK) String() string
- type ReplaceMailerEntryParams
- func NewReplaceMailerEntryParams() *ReplaceMailerEntryParams
- func NewReplaceMailerEntryParamsWithContext(ctx context.Context) *ReplaceMailerEntryParams
- func NewReplaceMailerEntryParamsWithHTTPClient(client *http.Client) *ReplaceMailerEntryParams
- func NewReplaceMailerEntryParamsWithTimeout(timeout time.Duration) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) SetContext(ctx context.Context)
- func (o *ReplaceMailerEntryParams) SetData(data *models.MailerEntry)
- func (o *ReplaceMailerEntryParams) SetDefaults()
- func (o *ReplaceMailerEntryParams) SetForceReload(forceReload *bool)
- func (o *ReplaceMailerEntryParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceMailerEntryParams) SetMailersSection(mailersSection string)
- func (o *ReplaceMailerEntryParams) SetName(name string)
- func (o *ReplaceMailerEntryParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceMailerEntryParams) SetTransactionID(transactionID *string)
- func (o *ReplaceMailerEntryParams) SetVersion(version *int64)
- func (o *ReplaceMailerEntryParams) WithContext(ctx context.Context) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithData(data *models.MailerEntry) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithDefaults() *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithForceReload(forceReload *bool) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithHTTPClient(client *http.Client) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithMailersSection(mailersSection string) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithName(name string) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithTimeout(timeout time.Duration) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithTransactionID(transactionID *string) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WithVersion(version *int64) *ReplaceMailerEntryParams
- func (o *ReplaceMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceMailerEntryReader
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 ¶
func (a *Client) CreateMailerEntry(params *CreateMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMailerEntryCreated, *CreateMailerEntryAccepted, error)
CreateMailerEntry adds a new mailer entry
Adds a new mailer entry to the specified mailers section in the configuration file.
func (*Client) DeleteMailerEntry ¶
func (a *Client) DeleteMailerEntry(params *DeleteMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMailerEntryAccepted, *DeleteMailerEntryNoContent, error)
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 ¶
func (a *Client) ReplaceMailerEntry(params *ReplaceMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceMailerEntryOK, *ReplaceMailerEntryAccepted, error)
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 ¶
type ClientService interface { CreateMailerEntry(params *CreateMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMailerEntryCreated, *CreateMailerEntryAccepted, error) DeleteMailerEntry(params *DeleteMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMailerEntryAccepted, *DeleteMailerEntryNoContent, error) GetMailerEntries(params *GetMailerEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMailerEntriesOK, error) GetMailerEntry(params *GetMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMailerEntryOK, error) ReplaceMailerEntry(params *ReplaceMailerEntryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceMailerEntryOK, *ReplaceMailerEntryAccepted, 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 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 (o *CreateMailerEntryBadRequest) Error() string
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 ¶
func (o *CreateMailerEntryParams) WithContext(ctx context.Context) *CreateMailerEntryParams
WithContext adds the context to the create mailer entry params
func (*CreateMailerEntryParams) WithData ¶
func (o *CreateMailerEntryParams) WithData(data *models.MailerEntry) *CreateMailerEntryParams
WithData adds the data to the create mailer entry params
func (*CreateMailerEntryParams) WithDefaults ¶
func (o *CreateMailerEntryParams) WithDefaults() *CreateMailerEntryParams
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 ¶
func (o *CreateMailerEntryParams) WithTimeout(timeout time.Duration) *CreateMailerEntryParams
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 ¶
func (o *CreateMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteMailerEntryNoContent) Error() string
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 ¶
func (o *DeleteMailerEntryParams) WithContext(ctx context.Context) *DeleteMailerEntryParams
WithContext adds the context to the delete mailer entry params
func (*DeleteMailerEntryParams) WithDefaults ¶
func (o *DeleteMailerEntryParams) WithDefaults() *DeleteMailerEntryParams
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 ¶
func (o *DeleteMailerEntryParams) WithName(name string) *DeleteMailerEntryParams
WithName adds the name to the delete mailer entry params
func (*DeleteMailerEntryParams) WithTimeout ¶
func (o *DeleteMailerEntryParams) WithTimeout(timeout time.Duration) *DeleteMailerEntryParams
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 ¶
func (o *DeleteMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *GetMailerEntriesParams) WithContext(ctx context.Context) *GetMailerEntriesParams
WithContext adds the context to the get mailer entries params
func (*GetMailerEntriesParams) WithDefaults ¶
func (o *GetMailerEntriesParams) WithDefaults() *GetMailerEntriesParams
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 ¶
func (o *GetMailerEntriesParams) WithTimeout(timeout time.Duration) *GetMailerEntriesParams
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 ¶
func (o *GetMailerEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 ¶
func (o *GetMailerEntryParams) WithContext(ctx context.Context) *GetMailerEntryParams
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 ¶
func (o *GetMailerEntryParams) WithName(name string) *GetMailerEntryParams
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 (o *ReplaceMailerEntryAccepted) Error() string
func (*ReplaceMailerEntryAccepted) GetPayload ¶
func (o *ReplaceMailerEntryAccepted) GetPayload() *models.MailerEntry
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
func (o *ReplaceMailerEntryBadRequest) Code() int
Code gets the status code for the replace mailer entry bad request response
func (*ReplaceMailerEntryBadRequest) Error ¶
func (o *ReplaceMailerEntryBadRequest) Error() string
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 ¶
func (o *ReplaceMailerEntryBadRequest) String() 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 (o *ReplaceMailerEntryNotFound) Error() string
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 ¶
func (o *ReplaceMailerEntryParams) WithContext(ctx context.Context) *ReplaceMailerEntryParams
WithContext adds the context to the replace mailer entry params
func (*ReplaceMailerEntryParams) WithData ¶
func (o *ReplaceMailerEntryParams) WithData(data *models.MailerEntry) *ReplaceMailerEntryParams
WithData adds the data to the replace mailer entry params
func (*ReplaceMailerEntryParams) WithDefaults ¶
func (o *ReplaceMailerEntryParams) WithDefaults() *ReplaceMailerEntryParams
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 ¶
func (o *ReplaceMailerEntryParams) WithName(name string) *ReplaceMailerEntryParams
WithName adds the name to the replace mailer entry params
func (*ReplaceMailerEntryParams) WithTimeout ¶
func (o *ReplaceMailerEntryParams) WithTimeout(timeout time.Duration) *ReplaceMailerEntryParams
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 ¶
func (o *ReplaceMailerEntryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_mailer_entry_parameters.go
- create_mailer_entry_responses.go
- delete_mailer_entry_parameters.go
- delete_mailer_entry_responses.go
- get_mailer_entries_parameters.go
- get_mailer_entries_responses.go
- get_mailer_entry_parameters.go
- get_mailer_entry_responses.go
- mailer_entry_client.go
- replace_mailer_entry_parameters.go
- replace_mailer_entry_responses.go