overdue

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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 overdue API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new overdue API client.

func (*Client) GetOverdueConfigJSON

func (a *Client) GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error)

GetOverdueConfigJSON retrieves the overdue config as JSON

func (*Client) GetOverdueConfigXML

func (a *Client) GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)

GetOverdueConfigXML retrieves the overdue config as XML

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadOverdueConfigJSON

func (a *Client) UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error)

UploadOverdueConfigJSON uploads the full overdue config as JSON

func (*Client) UploadOverdueConfigXML

func (a *Client) UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)

UploadOverdueConfigXML uploads the full overdue config as XML

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error)

	GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)

	UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error)

	UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type GetOverdueConfigJSONOK

type GetOverdueConfigJSONOK struct {
	Payload      *kbmodel.Overdue
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetOverdueConfigJSONOK

func NewGetOverdueConfigJSONOK() *GetOverdueConfigJSONOK

NewGetOverdueConfigJSONOK creates a GetOverdueConfigJSONOK with default headers values

func (*GetOverdueConfigJSONOK) Code

func (o *GetOverdueConfigJSONOK) Code() int

Code gets the status code for the get overdue config Json o k response

func (*GetOverdueConfigJSONOK) Error

func (o *GetOverdueConfigJSONOK) Error() string

func (*GetOverdueConfigJSONOK) GetPayload

func (o *GetOverdueConfigJSONOK) GetPayload() *kbmodel.Overdue

func (*GetOverdueConfigJSONOK) IsClientError

func (o *GetOverdueConfigJSONOK) IsClientError() bool

IsClientError returns true when this get overdue config Json o k response has a 4xx status code

func (*GetOverdueConfigJSONOK) IsCode

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

IsCode returns true when this get overdue config Json o k response a status code equal to that given

func (*GetOverdueConfigJSONOK) IsRedirect

func (o *GetOverdueConfigJSONOK) IsRedirect() bool

IsRedirect returns true when this get overdue config Json o k response has a 3xx status code

func (*GetOverdueConfigJSONOK) IsServerError

func (o *GetOverdueConfigJSONOK) IsServerError() bool

IsServerError returns true when this get overdue config Json o k response has a 5xx status code

func (*GetOverdueConfigJSONOK) IsSuccess

func (o *GetOverdueConfigJSONOK) IsSuccess() bool

IsSuccess returns true when this get overdue config Json o k response has a 2xx status code

func (*GetOverdueConfigJSONOK) String

func (o *GetOverdueConfigJSONOK) String() string

type GetOverdueConfigJSONParams

type GetOverdueConfigJSONParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetOverdueConfigJSONParams contains all the parameters to send to the API endpoint

for the get overdue config Json operation.

Typically these are written to a http.Request.

func NewGetOverdueConfigJSONParams

func NewGetOverdueConfigJSONParams() *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParams creates a new GetOverdueConfigJSONParams 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 NewGetOverdueConfigJSONParamsWithContext

func NewGetOverdueConfigJSONParamsWithContext(ctx context.Context) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithContext creates a new GetOverdueConfigJSONParams object with the ability to set a context for a request.

func NewGetOverdueConfigJSONParamsWithHTTPClient

func NewGetOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithHTTPClient creates a new GetOverdueConfigJSONParams object with the ability to set a custom HTTPClient for a request.

func NewGetOverdueConfigJSONParamsWithTimeout

func NewGetOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *GetOverdueConfigJSONParams

NewGetOverdueConfigJSONParamsWithTimeout creates a new GetOverdueConfigJSONParams object with the ability to set a timeout on a request.

func (*GetOverdueConfigJSONParams) SetContext

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

SetContext adds the context to the get overdue config Json params

func (*GetOverdueConfigJSONParams) SetDefaults

func (o *GetOverdueConfigJSONParams) SetDefaults()

SetDefaults hydrates default values in the get overdue config Json params (not the query body).

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

func (*GetOverdueConfigJSONParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get overdue config Json params

func (*GetOverdueConfigJSONParams) SetTimeout

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

SetTimeout adds the timeout to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithContext

WithContext adds the context to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithDefaults

WithDefaults hydrates default values in the get overdue config Json params (not the query body).

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

func (*GetOverdueConfigJSONParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WithTimeout

WithTimeout adds the timeout to the get overdue config Json params

func (*GetOverdueConfigJSONParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueConfigJSONReader

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

GetOverdueConfigJSONReader is a Reader for the GetOverdueConfigJSON structure.

func (*GetOverdueConfigJSONReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOverdueConfigXMLOK

type GetOverdueConfigXMLOK struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetOverdueConfigXMLOK

func NewGetOverdueConfigXMLOK() *GetOverdueConfigXMLOK

NewGetOverdueConfigXMLOK creates a GetOverdueConfigXMLOK with default headers values

func (*GetOverdueConfigXMLOK) Code

func (o *GetOverdueConfigXMLOK) Code() int

Code gets the status code for the get overdue config Xml o k response

func (*GetOverdueConfigXMLOK) Error

func (o *GetOverdueConfigXMLOK) Error() string

func (*GetOverdueConfigXMLOK) GetPayload

func (o *GetOverdueConfigXMLOK) GetPayload() string

func (*GetOverdueConfigXMLOK) IsClientError

func (o *GetOverdueConfigXMLOK) IsClientError() bool

IsClientError returns true when this get overdue config Xml o k response has a 4xx status code

func (*GetOverdueConfigXMLOK) IsCode

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

IsCode returns true when this get overdue config Xml o k response a status code equal to that given

func (*GetOverdueConfigXMLOK) IsRedirect

func (o *GetOverdueConfigXMLOK) IsRedirect() bool

IsRedirect returns true when this get overdue config Xml o k response has a 3xx status code

func (*GetOverdueConfigXMLOK) IsServerError

func (o *GetOverdueConfigXMLOK) IsServerError() bool

IsServerError returns true when this get overdue config Xml o k response has a 5xx status code

func (*GetOverdueConfigXMLOK) IsSuccess

func (o *GetOverdueConfigXMLOK) IsSuccess() bool

IsSuccess returns true when this get overdue config Xml o k response has a 2xx status code

func (*GetOverdueConfigXMLOK) String

func (o *GetOverdueConfigXMLOK) String() string

type GetOverdueConfigXMLParams

type GetOverdueConfigXMLParams struct {
	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetOverdueConfigXMLParams contains all the parameters to send to the API endpoint

for the get overdue config Xml operation.

Typically these are written to a http.Request.

func NewGetOverdueConfigXMLParams

func NewGetOverdueConfigXMLParams() *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParams creates a new GetOverdueConfigXMLParams 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 NewGetOverdueConfigXMLParamsWithContext

func NewGetOverdueConfigXMLParamsWithContext(ctx context.Context) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithContext creates a new GetOverdueConfigXMLParams object with the ability to set a context for a request.

func NewGetOverdueConfigXMLParamsWithHTTPClient

func NewGetOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithHTTPClient creates a new GetOverdueConfigXMLParams object with the ability to set a custom HTTPClient for a request.

func NewGetOverdueConfigXMLParamsWithTimeout

func NewGetOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *GetOverdueConfigXMLParams

NewGetOverdueConfigXMLParamsWithTimeout creates a new GetOverdueConfigXMLParams object with the ability to set a timeout on a request.

func (*GetOverdueConfigXMLParams) SetContext

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

SetContext adds the context to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) SetDefaults

func (o *GetOverdueConfigXMLParams) SetDefaults()

SetDefaults hydrates default values in the get overdue config Xml params (not the query body).

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

func (*GetOverdueConfigXMLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) SetTimeout

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

SetTimeout adds the timeout to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithContext

WithContext adds the context to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithDefaults

WithDefaults hydrates default values in the get overdue config Xml params (not the query body).

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

func (*GetOverdueConfigXMLParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WithTimeout

WithTimeout adds the timeout to the get overdue config Xml params

func (*GetOverdueConfigXMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueConfigXMLReader

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

GetOverdueConfigXMLReader is a Reader for the GetOverdueConfigXML structure.

func (*GetOverdueConfigXMLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type UploadOverdueConfigJSONBadRequest

type UploadOverdueConfigJSONBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid node command supplied

func NewUploadOverdueConfigJSONBadRequest

func NewUploadOverdueConfigJSONBadRequest() *UploadOverdueConfigJSONBadRequest

NewUploadOverdueConfigJSONBadRequest creates a UploadOverdueConfigJSONBadRequest with default headers values

func (*UploadOverdueConfigJSONBadRequest) Code

Code gets the status code for the upload overdue config Json bad request response

func (*UploadOverdueConfigJSONBadRequest) Error

func (*UploadOverdueConfigJSONBadRequest) IsClientError

func (o *UploadOverdueConfigJSONBadRequest) IsClientError() bool

IsClientError returns true when this upload overdue config Json bad request response has a 4xx status code

func (*UploadOverdueConfigJSONBadRequest) IsCode

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

IsCode returns true when this upload overdue config Json bad request response a status code equal to that given

func (*UploadOverdueConfigJSONBadRequest) IsRedirect

func (o *UploadOverdueConfigJSONBadRequest) IsRedirect() bool

IsRedirect returns true when this upload overdue config Json bad request response has a 3xx status code

func (*UploadOverdueConfigJSONBadRequest) IsServerError

func (o *UploadOverdueConfigJSONBadRequest) IsServerError() bool

IsServerError returns true when this upload overdue config Json bad request response has a 5xx status code

func (*UploadOverdueConfigJSONBadRequest) IsSuccess

func (o *UploadOverdueConfigJSONBadRequest) IsSuccess() bool

IsSuccess returns true when this upload overdue config Json bad request response has a 2xx status code

func (*UploadOverdueConfigJSONBadRequest) String

type UploadOverdueConfigJSONCreated

type UploadOverdueConfigJSONCreated struct {
	Payload      *kbmodel.Overdue
	HttpResponse runtime.ClientResponse
}

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

Successfully uploaded overdue config

func NewUploadOverdueConfigJSONCreated

func NewUploadOverdueConfigJSONCreated() *UploadOverdueConfigJSONCreated

NewUploadOverdueConfigJSONCreated creates a UploadOverdueConfigJSONCreated with default headers values

func (*UploadOverdueConfigJSONCreated) Code

Code gets the status code for the upload overdue config Json created response

func (*UploadOverdueConfigJSONCreated) Error

func (*UploadOverdueConfigJSONCreated) GetPayload

func (*UploadOverdueConfigJSONCreated) IsClientError

func (o *UploadOverdueConfigJSONCreated) IsClientError() bool

IsClientError returns true when this upload overdue config Json created response has a 4xx status code

func (*UploadOverdueConfigJSONCreated) IsCode

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

IsCode returns true when this upload overdue config Json created response a status code equal to that given

func (*UploadOverdueConfigJSONCreated) IsRedirect

func (o *UploadOverdueConfigJSONCreated) IsRedirect() bool

IsRedirect returns true when this upload overdue config Json created response has a 3xx status code

func (*UploadOverdueConfigJSONCreated) IsServerError

func (o *UploadOverdueConfigJSONCreated) IsServerError() bool

IsServerError returns true when this upload overdue config Json created response has a 5xx status code

func (*UploadOverdueConfigJSONCreated) IsSuccess

func (o *UploadOverdueConfigJSONCreated) IsSuccess() bool

IsSuccess returns true when this upload overdue config Json created response has a 2xx status code

func (*UploadOverdueConfigJSONCreated) String

type UploadOverdueConfigJSONParams

type UploadOverdueConfigJSONParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.Overdue

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

UploadOverdueConfigJSONParams contains all the parameters to send to the API endpoint

for the upload overdue config Json operation.

Typically these are written to a http.Request.

func NewUploadOverdueConfigJSONParams

func NewUploadOverdueConfigJSONParams() *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParams creates a new UploadOverdueConfigJSONParams 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 NewUploadOverdueConfigJSONParamsWithContext

func NewUploadOverdueConfigJSONParamsWithContext(ctx context.Context) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithContext creates a new UploadOverdueConfigJSONParams object with the ability to set a context for a request.

func NewUploadOverdueConfigJSONParamsWithHTTPClient

func NewUploadOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithHTTPClient creates a new UploadOverdueConfigJSONParams object with the ability to set a custom HTTPClient for a request.

func NewUploadOverdueConfigJSONParamsWithTimeout

func NewUploadOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigJSONParams

NewUploadOverdueConfigJSONParamsWithTimeout creates a new UploadOverdueConfigJSONParams object with the ability to set a timeout on a request.

func (*UploadOverdueConfigJSONParams) SetBody

func (o *UploadOverdueConfigJSONParams) SetBody(body *kbmodel.Overdue)

SetBody adds the body to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetContext

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

SetContext adds the context to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetDefaults

func (o *UploadOverdueConfigJSONParams) SetDefaults()

SetDefaults hydrates default values in the upload overdue config Json params (not the query body).

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

func (*UploadOverdueConfigJSONParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetTimeout

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

SetTimeout adds the timeout to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillComment

func (o *UploadOverdueConfigJSONParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillCreatedBy

func (o *UploadOverdueConfigJSONParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) SetXKillbillReason

func (o *UploadOverdueConfigJSONParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithBody

WithBody adds the body to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithContext

WithContext adds the context to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithDefaults

WithDefaults hydrates default values in the upload overdue config Json params (not the query body).

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

func (*UploadOverdueConfigJSONParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithTimeout

WithTimeout adds the timeout to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillComment

func (o *UploadOverdueConfigJSONParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigJSONParams

WithXKillbillComment adds the xKillbillComment to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillCreatedBy

func (o *UploadOverdueConfigJSONParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigJSONParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WithXKillbillReason

func (o *UploadOverdueConfigJSONParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigJSONParams

WithXKillbillReason adds the xKillbillReason to the upload overdue config Json params

func (*UploadOverdueConfigJSONParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadOverdueConfigJSONReader

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

UploadOverdueConfigJSONReader is a Reader for the UploadOverdueConfigJSON structure.

func (*UploadOverdueConfigJSONReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadOverdueConfigXMLBadRequest

type UploadOverdueConfigXMLBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid node command supplied

func NewUploadOverdueConfigXMLBadRequest

func NewUploadOverdueConfigXMLBadRequest() *UploadOverdueConfigXMLBadRequest

NewUploadOverdueConfigXMLBadRequest creates a UploadOverdueConfigXMLBadRequest with default headers values

func (*UploadOverdueConfigXMLBadRequest) Code

Code gets the status code for the upload overdue config Xml bad request response

func (*UploadOverdueConfigXMLBadRequest) Error

func (*UploadOverdueConfigXMLBadRequest) IsClientError

func (o *UploadOverdueConfigXMLBadRequest) IsClientError() bool

IsClientError returns true when this upload overdue config Xml bad request response has a 4xx status code

func (*UploadOverdueConfigXMLBadRequest) IsCode

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

IsCode returns true when this upload overdue config Xml bad request response a status code equal to that given

func (*UploadOverdueConfigXMLBadRequest) IsRedirect

func (o *UploadOverdueConfigXMLBadRequest) IsRedirect() bool

IsRedirect returns true when this upload overdue config Xml bad request response has a 3xx status code

func (*UploadOverdueConfigXMLBadRequest) IsServerError

func (o *UploadOverdueConfigXMLBadRequest) IsServerError() bool

IsServerError returns true when this upload overdue config Xml bad request response has a 5xx status code

func (*UploadOverdueConfigXMLBadRequest) IsSuccess

func (o *UploadOverdueConfigXMLBadRequest) IsSuccess() bool

IsSuccess returns true when this upload overdue config Xml bad request response has a 2xx status code

func (*UploadOverdueConfigXMLBadRequest) String

type UploadOverdueConfigXMLCreated

type UploadOverdueConfigXMLCreated struct {
	Payload      string
	HttpResponse runtime.ClientResponse
}

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

Successfully uploaded overdue config

func NewUploadOverdueConfigXMLCreated

func NewUploadOverdueConfigXMLCreated() *UploadOverdueConfigXMLCreated

NewUploadOverdueConfigXMLCreated creates a UploadOverdueConfigXMLCreated with default headers values

func (*UploadOverdueConfigXMLCreated) Code

Code gets the status code for the upload overdue config Xml created response

func (*UploadOverdueConfigXMLCreated) Error

func (*UploadOverdueConfigXMLCreated) GetPayload

func (o *UploadOverdueConfigXMLCreated) GetPayload() string

func (*UploadOverdueConfigXMLCreated) IsClientError

func (o *UploadOverdueConfigXMLCreated) IsClientError() bool

IsClientError returns true when this upload overdue config Xml created response has a 4xx status code

func (*UploadOverdueConfigXMLCreated) IsCode

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

IsCode returns true when this upload overdue config Xml created response a status code equal to that given

func (*UploadOverdueConfigXMLCreated) IsRedirect

func (o *UploadOverdueConfigXMLCreated) IsRedirect() bool

IsRedirect returns true when this upload overdue config Xml created response has a 3xx status code

func (*UploadOverdueConfigXMLCreated) IsServerError

func (o *UploadOverdueConfigXMLCreated) IsServerError() bool

IsServerError returns true when this upload overdue config Xml created response has a 5xx status code

func (*UploadOverdueConfigXMLCreated) IsSuccess

func (o *UploadOverdueConfigXMLCreated) IsSuccess() bool

IsSuccess returns true when this upload overdue config Xml created response has a 2xx status code

func (*UploadOverdueConfigXMLCreated) String

type UploadOverdueConfigXMLParams

type UploadOverdueConfigXMLParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

UploadOverdueConfigXMLParams contains all the parameters to send to the API endpoint

for the upload overdue config Xml operation.

Typically these are written to a http.Request.

func NewUploadOverdueConfigXMLParams

func NewUploadOverdueConfigXMLParams() *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParams creates a new UploadOverdueConfigXMLParams 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 NewUploadOverdueConfigXMLParamsWithContext

func NewUploadOverdueConfigXMLParamsWithContext(ctx context.Context) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithContext creates a new UploadOverdueConfigXMLParams object with the ability to set a context for a request.

func NewUploadOverdueConfigXMLParamsWithHTTPClient

func NewUploadOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithHTTPClient creates a new UploadOverdueConfigXMLParams object with the ability to set a custom HTTPClient for a request.

func NewUploadOverdueConfigXMLParamsWithTimeout

func NewUploadOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigXMLParams

NewUploadOverdueConfigXMLParamsWithTimeout creates a new UploadOverdueConfigXMLParams object with the ability to set a timeout on a request.

func (*UploadOverdueConfigXMLParams) SetBody

func (o *UploadOverdueConfigXMLParams) SetBody(body string)

SetBody adds the body to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetContext

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

SetContext adds the context to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetDefaults

func (o *UploadOverdueConfigXMLParams) SetDefaults()

SetDefaults hydrates default values in the upload overdue config Xml params (not the query body).

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

func (*UploadOverdueConfigXMLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetTimeout

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

SetTimeout adds the timeout to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillComment

func (o *UploadOverdueConfigXMLParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillCreatedBy

func (o *UploadOverdueConfigXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) SetXKillbillReason

func (o *UploadOverdueConfigXMLParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithBody

WithBody adds the body to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithContext

WithContext adds the context to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithDefaults

WithDefaults hydrates default values in the upload overdue config Xml params (not the query body).

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

func (*UploadOverdueConfigXMLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithTimeout

WithTimeout adds the timeout to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillComment

func (o *UploadOverdueConfigXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigXMLParams

WithXKillbillComment adds the xKillbillComment to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillCreatedBy

func (o *UploadOverdueConfigXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigXMLParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WithXKillbillReason

func (o *UploadOverdueConfigXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigXMLParams

WithXKillbillReason adds the xKillbillReason to the upload overdue config Xml params

func (*UploadOverdueConfigXMLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadOverdueConfigXMLReader

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

UploadOverdueConfigXMLReader is a Reader for the UploadOverdueConfigXML structure.

func (*UploadOverdueConfigXMLReader) ReadResponse

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