notifier

package
v0.0.0-...-cc7b9bc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for notifier API

func (*Client) NotifierCreateEvent

func (a *Client) NotifierCreateEvent(params *NotifierCreateEventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierCreateEventOK, error)

NotifierCreateEvent 计费事件s 创建

func (*Client) NotifierDescribeEvents

func (a *Client) NotifierDescribeEvents(params *NotifierDescribeEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierDescribeEventsOK, error)

NotifierDescribeEvents 计费事件s 列表

func (*Client) NotifierGetEmailServiceConfig

func (a *Client) NotifierGetEmailServiceConfig(params *NotifierGetEmailServiceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierGetEmailServiceConfigOK, error)

NotifierGetEmailServiceConfig ns b内部调用 查询邮件服务器配置信息

func (*Client) NotifierSendMails

func (a *Client) NotifierSendMails(params *NotifierSendMailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierSendMailsOK, error)

NotifierSendMails ns b内部调用 发送邮件

func (*Client) NotifierSetEmailServiceConfig

func (a *Client) NotifierSetEmailServiceConfig(params *NotifierSetEmailServiceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierSetEmailServiceConfigOK, error)

NotifierSetEmailServiceConfig ns b内部调用 修改邮件服务器配置信息

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 {
	NotifierCreateEvent(params *NotifierCreateEventParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierCreateEventOK, error)

	NotifierDescribeEvents(params *NotifierDescribeEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierDescribeEventsOK, error)

	NotifierGetEmailServiceConfig(params *NotifierGetEmailServiceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierGetEmailServiceConfigOK, error)

	NotifierSendMails(params *NotifierSendMailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierSendMailsOK, error)

	NotifierSetEmailServiceConfig(params *NotifierSetEmailServiceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifierSetEmailServiceConfigOK, 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 notifier API client.

type NotifierCreateEventDefault

type NotifierCreateEventDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response

func NewNotifierCreateEventDefault

func NewNotifierCreateEventDefault(code int) *NotifierCreateEventDefault

NewNotifierCreateEventDefault creates a NotifierCreateEventDefault with default headers values

func (*NotifierCreateEventDefault) Code

func (o *NotifierCreateEventDefault) Code() int

Code gets the status code for the notifier create event default response

func (*NotifierCreateEventDefault) Error

func (*NotifierCreateEventDefault) GetPayload

func (*NotifierCreateEventDefault) IsClientError

func (o *NotifierCreateEventDefault) IsClientError() bool

IsClientError returns true when this notifier create event default response has a 4xx status code

func (*NotifierCreateEventDefault) IsCode

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

IsCode returns true when this notifier create event default response a status code equal to that given

func (*NotifierCreateEventDefault) IsRedirect

func (o *NotifierCreateEventDefault) IsRedirect() bool

IsRedirect returns true when this notifier create event default response has a 3xx status code

func (*NotifierCreateEventDefault) IsServerError

func (o *NotifierCreateEventDefault) IsServerError() bool

IsServerError returns true when this notifier create event default response has a 5xx status code

func (*NotifierCreateEventDefault) IsSuccess

func (o *NotifierCreateEventDefault) IsSuccess() bool

IsSuccess returns true when this notifier create event default response has a 2xx status code

func (*NotifierCreateEventDefault) String

func (o *NotifierCreateEventDefault) String() string

type NotifierCreateEventOK

type NotifierCreateEventOK struct {
	Payload *models.NewbillingCreateEventResponse
}

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

A successful response.

func NewNotifierCreateEventOK

func NewNotifierCreateEventOK() *NotifierCreateEventOK

NewNotifierCreateEventOK creates a NotifierCreateEventOK with default headers values

func (*NotifierCreateEventOK) Error

func (o *NotifierCreateEventOK) Error() string

func (*NotifierCreateEventOK) GetPayload

func (*NotifierCreateEventOK) IsClientError

func (o *NotifierCreateEventOK) IsClientError() bool

IsClientError returns true when this notifier create event o k response has a 4xx status code

func (*NotifierCreateEventOK) IsCode

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

IsCode returns true when this notifier create event o k response a status code equal to that given

func (*NotifierCreateEventOK) IsRedirect

func (o *NotifierCreateEventOK) IsRedirect() bool

IsRedirect returns true when this notifier create event o k response has a 3xx status code

func (*NotifierCreateEventOK) IsServerError

func (o *NotifierCreateEventOK) IsServerError() bool

IsServerError returns true when this notifier create event o k response has a 5xx status code

func (*NotifierCreateEventOK) IsSuccess

func (o *NotifierCreateEventOK) IsSuccess() bool

IsSuccess returns true when this notifier create event o k response has a 2xx status code

func (*NotifierCreateEventOK) String

func (o *NotifierCreateEventOK) String() string

type NotifierCreateEventParams

type NotifierCreateEventParams struct {

	// Body.
	Body *models.NewbillingCreateEventRequest

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

NotifierCreateEventParams contains all the parameters to send to the API endpoint

for the notifier create event operation.

Typically these are written to a http.Request.

func NewNotifierCreateEventParams

func NewNotifierCreateEventParams() *NotifierCreateEventParams

NewNotifierCreateEventParams creates a new NotifierCreateEventParams 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 NewNotifierCreateEventParamsWithContext

func NewNotifierCreateEventParamsWithContext(ctx context.Context) *NotifierCreateEventParams

NewNotifierCreateEventParamsWithContext creates a new NotifierCreateEventParams object with the ability to set a context for a request.

func NewNotifierCreateEventParamsWithHTTPClient

func NewNotifierCreateEventParamsWithHTTPClient(client *http.Client) *NotifierCreateEventParams

NewNotifierCreateEventParamsWithHTTPClient creates a new NotifierCreateEventParams object with the ability to set a custom HTTPClient for a request.

func NewNotifierCreateEventParamsWithTimeout

func NewNotifierCreateEventParamsWithTimeout(timeout time.Duration) *NotifierCreateEventParams

NewNotifierCreateEventParamsWithTimeout creates a new NotifierCreateEventParams object with the ability to set a timeout on a request.

func (*NotifierCreateEventParams) SetBody

SetBody adds the body to the notifier create event params

func (*NotifierCreateEventParams) SetContext

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

SetContext adds the context to the notifier create event params

func (*NotifierCreateEventParams) SetDefaults

func (o *NotifierCreateEventParams) SetDefaults()

SetDefaults hydrates default values in the notifier create event params (not the query body).

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

func (*NotifierCreateEventParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notifier create event params

func (*NotifierCreateEventParams) SetTimeout

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

SetTimeout adds the timeout to the notifier create event params

func (*NotifierCreateEventParams) WithBody

WithBody adds the body to the notifier create event params

func (*NotifierCreateEventParams) WithContext

WithContext adds the context to the notifier create event params

func (*NotifierCreateEventParams) WithDefaults

WithDefaults hydrates default values in the notifier create event params (not the query body).

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

func (*NotifierCreateEventParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the notifier create event params

func (*NotifierCreateEventParams) WithTimeout

WithTimeout adds the timeout to the notifier create event params

func (*NotifierCreateEventParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifierCreateEventReader

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

NotifierCreateEventReader is a Reader for the NotifierCreateEvent structure.

func (*NotifierCreateEventReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotifierDescribeEventsDefault

type NotifierDescribeEventsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response

func NewNotifierDescribeEventsDefault

func NewNotifierDescribeEventsDefault(code int) *NotifierDescribeEventsDefault

NewNotifierDescribeEventsDefault creates a NotifierDescribeEventsDefault with default headers values

func (*NotifierDescribeEventsDefault) Code

Code gets the status code for the notifier describe events default response

func (*NotifierDescribeEventsDefault) Error

func (*NotifierDescribeEventsDefault) GetPayload

func (*NotifierDescribeEventsDefault) IsClientError

func (o *NotifierDescribeEventsDefault) IsClientError() bool

IsClientError returns true when this notifier describe events default response has a 4xx status code

func (*NotifierDescribeEventsDefault) IsCode

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

IsCode returns true when this notifier describe events default response a status code equal to that given

func (*NotifierDescribeEventsDefault) IsRedirect

func (o *NotifierDescribeEventsDefault) IsRedirect() bool

IsRedirect returns true when this notifier describe events default response has a 3xx status code

func (*NotifierDescribeEventsDefault) IsServerError

func (o *NotifierDescribeEventsDefault) IsServerError() bool

IsServerError returns true when this notifier describe events default response has a 5xx status code

func (*NotifierDescribeEventsDefault) IsSuccess

func (o *NotifierDescribeEventsDefault) IsSuccess() bool

IsSuccess returns true when this notifier describe events default response has a 2xx status code

func (*NotifierDescribeEventsDefault) String

type NotifierDescribeEventsOK

type NotifierDescribeEventsOK struct {
	Payload *models.NewbillingDescribeEventsResponse
}

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

A successful response.

func NewNotifierDescribeEventsOK

func NewNotifierDescribeEventsOK() *NotifierDescribeEventsOK

NewNotifierDescribeEventsOK creates a NotifierDescribeEventsOK with default headers values

func (*NotifierDescribeEventsOK) Error

func (o *NotifierDescribeEventsOK) Error() string

func (*NotifierDescribeEventsOK) GetPayload

func (*NotifierDescribeEventsOK) IsClientError

func (o *NotifierDescribeEventsOK) IsClientError() bool

IsClientError returns true when this notifier describe events o k response has a 4xx status code

func (*NotifierDescribeEventsOK) IsCode

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

IsCode returns true when this notifier describe events o k response a status code equal to that given

func (*NotifierDescribeEventsOK) IsRedirect

func (o *NotifierDescribeEventsOK) IsRedirect() bool

IsRedirect returns true when this notifier describe events o k response has a 3xx status code

func (*NotifierDescribeEventsOK) IsServerError

func (o *NotifierDescribeEventsOK) IsServerError() bool

IsServerError returns true when this notifier describe events o k response has a 5xx status code

func (*NotifierDescribeEventsOK) IsSuccess

func (o *NotifierDescribeEventsOK) IsSuccess() bool

IsSuccess returns true when this notifier describe events o k response has a 2xx status code

func (*NotifierDescribeEventsOK) String

func (o *NotifierDescribeEventsOK) String() string

type NotifierDescribeEventsParams

type NotifierDescribeEventsParams struct {

	/* AccessSysID.

	   接入系统ID.
	*/
	AccessSysID *string

	/* CustomerID.

	   客户ID.
	*/
	CustomerID []string

	/* Event.

	   事件.
	*/
	Event []string

	/* EventID.

	   事件ID.
	*/
	EventID []string

	/* EventTime.

	   事件发生时间.

	   Format: date-time
	*/
	EventTime *strfmt.DateTime

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* ProdID.

	   产品ID.
	*/
	ProdID []string

	/* ProdInstIDExt.

	   外部产品实例ID.
	*/
	ProdInstIDExt []string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	/* Status.

	   事件状态.
	*/
	Status []string

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

NotifierDescribeEventsParams contains all the parameters to send to the API endpoint

for the notifier describe events operation.

Typically these are written to a http.Request.

func NewNotifierDescribeEventsParams

func NewNotifierDescribeEventsParams() *NotifierDescribeEventsParams

NewNotifierDescribeEventsParams creates a new NotifierDescribeEventsParams 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 NewNotifierDescribeEventsParamsWithContext

func NewNotifierDescribeEventsParamsWithContext(ctx context.Context) *NotifierDescribeEventsParams

NewNotifierDescribeEventsParamsWithContext creates a new NotifierDescribeEventsParams object with the ability to set a context for a request.

func NewNotifierDescribeEventsParamsWithHTTPClient

func NewNotifierDescribeEventsParamsWithHTTPClient(client *http.Client) *NotifierDescribeEventsParams

NewNotifierDescribeEventsParamsWithHTTPClient creates a new NotifierDescribeEventsParams object with the ability to set a custom HTTPClient for a request.

func NewNotifierDescribeEventsParamsWithTimeout

func NewNotifierDescribeEventsParamsWithTimeout(timeout time.Duration) *NotifierDescribeEventsParams

NewNotifierDescribeEventsParamsWithTimeout creates a new NotifierDescribeEventsParams object with the ability to set a timeout on a request.

func (*NotifierDescribeEventsParams) SetAccessSysID

func (o *NotifierDescribeEventsParams) SetAccessSysID(accessSysID *string)

SetAccessSysID adds the accessSysId to the notifier describe events params

func (*NotifierDescribeEventsParams) SetContext

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

SetContext adds the context to the notifier describe events params

func (*NotifierDescribeEventsParams) SetCustomerID

func (o *NotifierDescribeEventsParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the notifier describe events params

func (*NotifierDescribeEventsParams) SetDefaults

func (o *NotifierDescribeEventsParams) SetDefaults()

SetDefaults hydrates default values in the notifier describe events params (not the query body).

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

func (*NotifierDescribeEventsParams) SetEvent

func (o *NotifierDescribeEventsParams) SetEvent(event []string)

SetEvent adds the event to the notifier describe events params

func (*NotifierDescribeEventsParams) SetEventID

func (o *NotifierDescribeEventsParams) SetEventID(eventID []string)

SetEventID adds the eventId to the notifier describe events params

func (*NotifierDescribeEventsParams) SetEventTime

func (o *NotifierDescribeEventsParams) SetEventTime(eventTime *strfmt.DateTime)

SetEventTime adds the eventTime to the notifier describe events params

func (*NotifierDescribeEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notifier describe events params

func (*NotifierDescribeEventsParams) SetLimit

func (o *NotifierDescribeEventsParams) SetLimit(limit *string)

SetLimit adds the limit to the notifier describe events params

func (*NotifierDescribeEventsParams) SetOffset

func (o *NotifierDescribeEventsParams) SetOffset(offset *string)

SetOffset adds the offset to the notifier describe events params

func (*NotifierDescribeEventsParams) SetProdID

func (o *NotifierDescribeEventsParams) SetProdID(prodID []string)

SetProdID adds the prodId to the notifier describe events params

func (*NotifierDescribeEventsParams) SetProdInstIDExt

func (o *NotifierDescribeEventsParams) SetProdInstIDExt(prodInstIDExt []string)

SetProdInstIDExt adds the prodInstIdExt to the notifier describe events params

func (*NotifierDescribeEventsParams) SetReverse

func (o *NotifierDescribeEventsParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the notifier describe events params

func (*NotifierDescribeEventsParams) SetSearchWord

func (o *NotifierDescribeEventsParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the notifier describe events params

func (*NotifierDescribeEventsParams) SetSortKey

func (o *NotifierDescribeEventsParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the notifier describe events params

func (*NotifierDescribeEventsParams) SetStatus

func (o *NotifierDescribeEventsParams) SetStatus(status []string)

SetStatus adds the status to the notifier describe events params

func (*NotifierDescribeEventsParams) SetTimeout

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

SetTimeout adds the timeout to the notifier describe events params

func (*NotifierDescribeEventsParams) WithAccessSysID

func (o *NotifierDescribeEventsParams) WithAccessSysID(accessSysID *string) *NotifierDescribeEventsParams

WithAccessSysID adds the accessSysID to the notifier describe events params

func (*NotifierDescribeEventsParams) WithContext

WithContext adds the context to the notifier describe events params

func (*NotifierDescribeEventsParams) WithCustomerID

func (o *NotifierDescribeEventsParams) WithCustomerID(customerID []string) *NotifierDescribeEventsParams

WithCustomerID adds the customerID to the notifier describe events params

func (*NotifierDescribeEventsParams) WithDefaults

WithDefaults hydrates default values in the notifier describe events params (not the query body).

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

func (*NotifierDescribeEventsParams) WithEvent

WithEvent adds the event to the notifier describe events params

func (*NotifierDescribeEventsParams) WithEventID

WithEventID adds the eventID to the notifier describe events params

func (*NotifierDescribeEventsParams) WithEventTime

WithEventTime adds the eventTime to the notifier describe events params

func (*NotifierDescribeEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notifier describe events params

func (*NotifierDescribeEventsParams) WithLimit

WithLimit adds the limit to the notifier describe events params

func (*NotifierDescribeEventsParams) WithOffset

WithOffset adds the offset to the notifier describe events params

func (*NotifierDescribeEventsParams) WithProdID

WithProdID adds the prodID to the notifier describe events params

func (*NotifierDescribeEventsParams) WithProdInstIDExt

func (o *NotifierDescribeEventsParams) WithProdInstIDExt(prodInstIDExt []string) *NotifierDescribeEventsParams

WithProdInstIDExt adds the prodInstIDExt to the notifier describe events params

func (*NotifierDescribeEventsParams) WithReverse

WithReverse adds the reverse to the notifier describe events params

func (*NotifierDescribeEventsParams) WithSearchWord

func (o *NotifierDescribeEventsParams) WithSearchWord(searchWord *string) *NotifierDescribeEventsParams

WithSearchWord adds the searchWord to the notifier describe events params

func (*NotifierDescribeEventsParams) WithSortKey

WithSortKey adds the sortKey to the notifier describe events params

func (*NotifierDescribeEventsParams) WithStatus

WithStatus adds the status to the notifier describe events params

func (*NotifierDescribeEventsParams) WithTimeout

WithTimeout adds the timeout to the notifier describe events params

func (*NotifierDescribeEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifierDescribeEventsReader

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

NotifierDescribeEventsReader is a Reader for the NotifierDescribeEvents structure.

func (*NotifierDescribeEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotifierGetEmailServiceConfigDefault

type NotifierGetEmailServiceConfigDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response

func NewNotifierGetEmailServiceConfigDefault

func NewNotifierGetEmailServiceConfigDefault(code int) *NotifierGetEmailServiceConfigDefault

NewNotifierGetEmailServiceConfigDefault creates a NotifierGetEmailServiceConfigDefault with default headers values

func (*NotifierGetEmailServiceConfigDefault) Code

Code gets the status code for the notifier get email service config default response

func (*NotifierGetEmailServiceConfigDefault) Error

func (*NotifierGetEmailServiceConfigDefault) GetPayload

func (*NotifierGetEmailServiceConfigDefault) IsClientError

func (o *NotifierGetEmailServiceConfigDefault) IsClientError() bool

IsClientError returns true when this notifier get email service config default response has a 4xx status code

func (*NotifierGetEmailServiceConfigDefault) IsCode

IsCode returns true when this notifier get email service config default response a status code equal to that given

func (*NotifierGetEmailServiceConfigDefault) IsRedirect

IsRedirect returns true when this notifier get email service config default response has a 3xx status code

func (*NotifierGetEmailServiceConfigDefault) IsServerError

func (o *NotifierGetEmailServiceConfigDefault) IsServerError() bool

IsServerError returns true when this notifier get email service config default response has a 5xx status code

func (*NotifierGetEmailServiceConfigDefault) IsSuccess

IsSuccess returns true when this notifier get email service config default response has a 2xx status code

func (*NotifierGetEmailServiceConfigDefault) String

type NotifierGetEmailServiceConfigOK

type NotifierGetEmailServiceConfigOK struct {
	Payload *models.NewbillingGetEmailServiceConfigResponse
}

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

A successful response.

func NewNotifierGetEmailServiceConfigOK

func NewNotifierGetEmailServiceConfigOK() *NotifierGetEmailServiceConfigOK

NewNotifierGetEmailServiceConfigOK creates a NotifierGetEmailServiceConfigOK with default headers values

func (*NotifierGetEmailServiceConfigOK) Error

func (*NotifierGetEmailServiceConfigOK) GetPayload

func (*NotifierGetEmailServiceConfigOK) IsClientError

func (o *NotifierGetEmailServiceConfigOK) IsClientError() bool

IsClientError returns true when this notifier get email service config o k response has a 4xx status code

func (*NotifierGetEmailServiceConfigOK) IsCode

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

IsCode returns true when this notifier get email service config o k response a status code equal to that given

func (*NotifierGetEmailServiceConfigOK) IsRedirect

func (o *NotifierGetEmailServiceConfigOK) IsRedirect() bool

IsRedirect returns true when this notifier get email service config o k response has a 3xx status code

func (*NotifierGetEmailServiceConfigOK) IsServerError

func (o *NotifierGetEmailServiceConfigOK) IsServerError() bool

IsServerError returns true when this notifier get email service config o k response has a 5xx status code

func (*NotifierGetEmailServiceConfigOK) IsSuccess

func (o *NotifierGetEmailServiceConfigOK) IsSuccess() bool

IsSuccess returns true when this notifier get email service config o k response has a 2xx status code

func (*NotifierGetEmailServiceConfigOK) String

type NotifierGetEmailServiceConfigParams

type NotifierGetEmailServiceConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NotifierGetEmailServiceConfigParams contains all the parameters to send to the API endpoint

for the notifier get email service config operation.

Typically these are written to a http.Request.

func NewNotifierGetEmailServiceConfigParams

func NewNotifierGetEmailServiceConfigParams() *NotifierGetEmailServiceConfigParams

NewNotifierGetEmailServiceConfigParams creates a new NotifierGetEmailServiceConfigParams 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 NewNotifierGetEmailServiceConfigParamsWithContext

func NewNotifierGetEmailServiceConfigParamsWithContext(ctx context.Context) *NotifierGetEmailServiceConfigParams

NewNotifierGetEmailServiceConfigParamsWithContext creates a new NotifierGetEmailServiceConfigParams object with the ability to set a context for a request.

func NewNotifierGetEmailServiceConfigParamsWithHTTPClient

func NewNotifierGetEmailServiceConfigParamsWithHTTPClient(client *http.Client) *NotifierGetEmailServiceConfigParams

NewNotifierGetEmailServiceConfigParamsWithHTTPClient creates a new NotifierGetEmailServiceConfigParams object with the ability to set a custom HTTPClient for a request.

func NewNotifierGetEmailServiceConfigParamsWithTimeout

func NewNotifierGetEmailServiceConfigParamsWithTimeout(timeout time.Duration) *NotifierGetEmailServiceConfigParams

NewNotifierGetEmailServiceConfigParamsWithTimeout creates a new NotifierGetEmailServiceConfigParams object with the ability to set a timeout on a request.

func (*NotifierGetEmailServiceConfigParams) SetContext

SetContext adds the context to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) SetDefaults

func (o *NotifierGetEmailServiceConfigParams) SetDefaults()

SetDefaults hydrates default values in the notifier get email service config params (not the query body).

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

func (*NotifierGetEmailServiceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) WithContext

WithContext adds the context to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) WithDefaults

WithDefaults hydrates default values in the notifier get email service config params (not the query body).

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

func (*NotifierGetEmailServiceConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) WithTimeout

WithTimeout adds the timeout to the notifier get email service config params

func (*NotifierGetEmailServiceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifierGetEmailServiceConfigReader

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

NotifierGetEmailServiceConfigReader is a Reader for the NotifierGetEmailServiceConfig structure.

func (*NotifierGetEmailServiceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotifierSendMailsDefault

type NotifierSendMailsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response

func NewNotifierSendMailsDefault

func NewNotifierSendMailsDefault(code int) *NotifierSendMailsDefault

NewNotifierSendMailsDefault creates a NotifierSendMailsDefault with default headers values

func (*NotifierSendMailsDefault) Code

func (o *NotifierSendMailsDefault) Code() int

Code gets the status code for the notifier send mails default response

func (*NotifierSendMailsDefault) Error

func (o *NotifierSendMailsDefault) Error() string

func (*NotifierSendMailsDefault) GetPayload

func (o *NotifierSendMailsDefault) GetPayload() *models.RuntimeError

func (*NotifierSendMailsDefault) IsClientError

func (o *NotifierSendMailsDefault) IsClientError() bool

IsClientError returns true when this notifier send mails default response has a 4xx status code

func (*NotifierSendMailsDefault) IsCode

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

IsCode returns true when this notifier send mails default response a status code equal to that given

func (*NotifierSendMailsDefault) IsRedirect

func (o *NotifierSendMailsDefault) IsRedirect() bool

IsRedirect returns true when this notifier send mails default response has a 3xx status code

func (*NotifierSendMailsDefault) IsServerError

func (o *NotifierSendMailsDefault) IsServerError() bool

IsServerError returns true when this notifier send mails default response has a 5xx status code

func (*NotifierSendMailsDefault) IsSuccess

func (o *NotifierSendMailsDefault) IsSuccess() bool

IsSuccess returns true when this notifier send mails default response has a 2xx status code

func (*NotifierSendMailsDefault) String

func (o *NotifierSendMailsDefault) String() string

type NotifierSendMailsOK

type NotifierSendMailsOK struct {
	Payload *models.NewbillingSendMailsResponse
}

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

A successful response.

func NewNotifierSendMailsOK

func NewNotifierSendMailsOK() *NotifierSendMailsOK

NewNotifierSendMailsOK creates a NotifierSendMailsOK with default headers values

func (*NotifierSendMailsOK) Error

func (o *NotifierSendMailsOK) Error() string

func (*NotifierSendMailsOK) GetPayload

func (*NotifierSendMailsOK) IsClientError

func (o *NotifierSendMailsOK) IsClientError() bool

IsClientError returns true when this notifier send mails o k response has a 4xx status code

func (*NotifierSendMailsOK) IsCode

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

IsCode returns true when this notifier send mails o k response a status code equal to that given

func (*NotifierSendMailsOK) IsRedirect

func (o *NotifierSendMailsOK) IsRedirect() bool

IsRedirect returns true when this notifier send mails o k response has a 3xx status code

func (*NotifierSendMailsOK) IsServerError

func (o *NotifierSendMailsOK) IsServerError() bool

IsServerError returns true when this notifier send mails o k response has a 5xx status code

func (*NotifierSendMailsOK) IsSuccess

func (o *NotifierSendMailsOK) IsSuccess() bool

IsSuccess returns true when this notifier send mails o k response has a 2xx status code

func (*NotifierSendMailsOK) String

func (o *NotifierSendMailsOK) String() string

type NotifierSendMailsParams

type NotifierSendMailsParams struct {

	// Body.
	Body *models.NewbillingSendMailsRequest

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

NotifierSendMailsParams contains all the parameters to send to the API endpoint

for the notifier send mails operation.

Typically these are written to a http.Request.

func NewNotifierSendMailsParams

func NewNotifierSendMailsParams() *NotifierSendMailsParams

NewNotifierSendMailsParams creates a new NotifierSendMailsParams 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 NewNotifierSendMailsParamsWithContext

func NewNotifierSendMailsParamsWithContext(ctx context.Context) *NotifierSendMailsParams

NewNotifierSendMailsParamsWithContext creates a new NotifierSendMailsParams object with the ability to set a context for a request.

func NewNotifierSendMailsParamsWithHTTPClient

func NewNotifierSendMailsParamsWithHTTPClient(client *http.Client) *NotifierSendMailsParams

NewNotifierSendMailsParamsWithHTTPClient creates a new NotifierSendMailsParams object with the ability to set a custom HTTPClient for a request.

func NewNotifierSendMailsParamsWithTimeout

func NewNotifierSendMailsParamsWithTimeout(timeout time.Duration) *NotifierSendMailsParams

NewNotifierSendMailsParamsWithTimeout creates a new NotifierSendMailsParams object with the ability to set a timeout on a request.

func (*NotifierSendMailsParams) SetBody

SetBody adds the body to the notifier send mails params

func (*NotifierSendMailsParams) SetContext

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

SetContext adds the context to the notifier send mails params

func (*NotifierSendMailsParams) SetDefaults

func (o *NotifierSendMailsParams) SetDefaults()

SetDefaults hydrates default values in the notifier send mails params (not the query body).

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

func (*NotifierSendMailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notifier send mails params

func (*NotifierSendMailsParams) SetTimeout

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

SetTimeout adds the timeout to the notifier send mails params

func (*NotifierSendMailsParams) WithBody

WithBody adds the body to the notifier send mails params

func (*NotifierSendMailsParams) WithContext

WithContext adds the context to the notifier send mails params

func (*NotifierSendMailsParams) WithDefaults

WithDefaults hydrates default values in the notifier send mails params (not the query body).

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

func (*NotifierSendMailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the notifier send mails params

func (*NotifierSendMailsParams) WithTimeout

WithTimeout adds the timeout to the notifier send mails params

func (*NotifierSendMailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifierSendMailsReader

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

NotifierSendMailsReader is a Reader for the NotifierSendMails structure.

func (*NotifierSendMailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotifierSetEmailServiceConfigDefault

type NotifierSetEmailServiceConfigDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response

func NewNotifierSetEmailServiceConfigDefault

func NewNotifierSetEmailServiceConfigDefault(code int) *NotifierSetEmailServiceConfigDefault

NewNotifierSetEmailServiceConfigDefault creates a NotifierSetEmailServiceConfigDefault with default headers values

func (*NotifierSetEmailServiceConfigDefault) Code

Code gets the status code for the notifier set email service config default response

func (*NotifierSetEmailServiceConfigDefault) Error

func (*NotifierSetEmailServiceConfigDefault) GetPayload

func (*NotifierSetEmailServiceConfigDefault) IsClientError

func (o *NotifierSetEmailServiceConfigDefault) IsClientError() bool

IsClientError returns true when this notifier set email service config default response has a 4xx status code

func (*NotifierSetEmailServiceConfigDefault) IsCode

IsCode returns true when this notifier set email service config default response a status code equal to that given

func (*NotifierSetEmailServiceConfigDefault) IsRedirect

IsRedirect returns true when this notifier set email service config default response has a 3xx status code

func (*NotifierSetEmailServiceConfigDefault) IsServerError

func (o *NotifierSetEmailServiceConfigDefault) IsServerError() bool

IsServerError returns true when this notifier set email service config default response has a 5xx status code

func (*NotifierSetEmailServiceConfigDefault) IsSuccess

IsSuccess returns true when this notifier set email service config default response has a 2xx status code

func (*NotifierSetEmailServiceConfigDefault) String

type NotifierSetEmailServiceConfigOK

type NotifierSetEmailServiceConfigOK struct {
	Payload *models.NewbillingSetEmailServiceConfigResponse
}

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

A successful response.

func NewNotifierSetEmailServiceConfigOK

func NewNotifierSetEmailServiceConfigOK() *NotifierSetEmailServiceConfigOK

NewNotifierSetEmailServiceConfigOK creates a NotifierSetEmailServiceConfigOK with default headers values

func (*NotifierSetEmailServiceConfigOK) Error

func (*NotifierSetEmailServiceConfigOK) GetPayload

func (*NotifierSetEmailServiceConfigOK) IsClientError

func (o *NotifierSetEmailServiceConfigOK) IsClientError() bool

IsClientError returns true when this notifier set email service config o k response has a 4xx status code

func (*NotifierSetEmailServiceConfigOK) IsCode

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

IsCode returns true when this notifier set email service config o k response a status code equal to that given

func (*NotifierSetEmailServiceConfigOK) IsRedirect

func (o *NotifierSetEmailServiceConfigOK) IsRedirect() bool

IsRedirect returns true when this notifier set email service config o k response has a 3xx status code

func (*NotifierSetEmailServiceConfigOK) IsServerError

func (o *NotifierSetEmailServiceConfigOK) IsServerError() bool

IsServerError returns true when this notifier set email service config o k response has a 5xx status code

func (*NotifierSetEmailServiceConfigOK) IsSuccess

func (o *NotifierSetEmailServiceConfigOK) IsSuccess() bool

IsSuccess returns true when this notifier set email service config o k response has a 2xx status code

func (*NotifierSetEmailServiceConfigOK) String

type NotifierSetEmailServiceConfigParams

type NotifierSetEmailServiceConfigParams struct {

	// Body.
	Body *models.NewbillingSetEmailServiceConfigRequest

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

NotifierSetEmailServiceConfigParams contains all the parameters to send to the API endpoint

for the notifier set email service config operation.

Typically these are written to a http.Request.

func NewNotifierSetEmailServiceConfigParams

func NewNotifierSetEmailServiceConfigParams() *NotifierSetEmailServiceConfigParams

NewNotifierSetEmailServiceConfigParams creates a new NotifierSetEmailServiceConfigParams 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 NewNotifierSetEmailServiceConfigParamsWithContext

func NewNotifierSetEmailServiceConfigParamsWithContext(ctx context.Context) *NotifierSetEmailServiceConfigParams

NewNotifierSetEmailServiceConfigParamsWithContext creates a new NotifierSetEmailServiceConfigParams object with the ability to set a context for a request.

func NewNotifierSetEmailServiceConfigParamsWithHTTPClient

func NewNotifierSetEmailServiceConfigParamsWithHTTPClient(client *http.Client) *NotifierSetEmailServiceConfigParams

NewNotifierSetEmailServiceConfigParamsWithHTTPClient creates a new NotifierSetEmailServiceConfigParams object with the ability to set a custom HTTPClient for a request.

func NewNotifierSetEmailServiceConfigParamsWithTimeout

func NewNotifierSetEmailServiceConfigParamsWithTimeout(timeout time.Duration) *NotifierSetEmailServiceConfigParams

NewNotifierSetEmailServiceConfigParamsWithTimeout creates a new NotifierSetEmailServiceConfigParams object with the ability to set a timeout on a request.

func (*NotifierSetEmailServiceConfigParams) SetBody

SetBody adds the body to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) SetContext

SetContext adds the context to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) SetDefaults

func (o *NotifierSetEmailServiceConfigParams) SetDefaults()

SetDefaults hydrates default values in the notifier set email service config params (not the query body).

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

func (*NotifierSetEmailServiceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) WithBody

WithBody adds the body to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) WithContext

WithContext adds the context to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) WithDefaults

WithDefaults hydrates default values in the notifier set email service config params (not the query body).

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

func (*NotifierSetEmailServiceConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) WithTimeout

WithTimeout adds the timeout to the notifier set email service config params

func (*NotifierSetEmailServiceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotifierSetEmailServiceConfigReader

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

NotifierSetEmailServiceConfigReader is a Reader for the NotifierSetEmailServiceConfig structure.

func (*NotifierSetEmailServiceConfigReader) ReadResponse

func (o *NotifierSetEmailServiceConfigReader) 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