Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error)
- func (a *Client) GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error)
- func (a *Client) UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)
- type GetOverdueConfigJSONOK
- type GetOverdueConfigJSONParams
- func NewGetOverdueConfigJSONParams() *GetOverdueConfigJSONParams
- func NewGetOverdueConfigJSONParamsWithContext(ctx context.Context) *GetOverdueConfigJSONParams
- func NewGetOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *GetOverdueConfigJSONParams
- func NewGetOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *GetOverdueConfigJSONParams
- func (o *GetOverdueConfigJSONParams) SetContext(ctx context.Context)
- func (o *GetOverdueConfigJSONParams) SetHTTPClient(client *http.Client)
- func (o *GetOverdueConfigJSONParams) SetTimeout(timeout time.Duration)
- func (o *GetOverdueConfigJSONParams) WithContext(ctx context.Context) *GetOverdueConfigJSONParams
- func (o *GetOverdueConfigJSONParams) WithHTTPClient(client *http.Client) *GetOverdueConfigJSONParams
- func (o *GetOverdueConfigJSONParams) WithTimeout(timeout time.Duration) *GetOverdueConfigJSONParams
- func (o *GetOverdueConfigJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOverdueConfigJSONReader
- type GetOverdueConfigXMLOK
- type GetOverdueConfigXMLParams
- func NewGetOverdueConfigXMLParams() *GetOverdueConfigXMLParams
- func NewGetOverdueConfigXMLParamsWithContext(ctx context.Context) *GetOverdueConfigXMLParams
- func NewGetOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *GetOverdueConfigXMLParams
- func NewGetOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *GetOverdueConfigXMLParams
- func (o *GetOverdueConfigXMLParams) SetContext(ctx context.Context)
- func (o *GetOverdueConfigXMLParams) SetHTTPClient(client *http.Client)
- func (o *GetOverdueConfigXMLParams) SetTimeout(timeout time.Duration)
- func (o *GetOverdueConfigXMLParams) WithContext(ctx context.Context) *GetOverdueConfigXMLParams
- func (o *GetOverdueConfigXMLParams) WithHTTPClient(client *http.Client) *GetOverdueConfigXMLParams
- func (o *GetOverdueConfigXMLParams) WithTimeout(timeout time.Duration) *GetOverdueConfigXMLParams
- func (o *GetOverdueConfigXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOverdueConfigXMLReader
- type IOverdue
- type KillbillDefaults
- type UploadOverdueConfigJSONBadRequest
- type UploadOverdueConfigJSONCreated
- type UploadOverdueConfigJSONParams
- func NewUploadOverdueConfigJSONParams() *UploadOverdueConfigJSONParams
- func NewUploadOverdueConfigJSONParamsWithContext(ctx context.Context) *UploadOverdueConfigJSONParams
- func NewUploadOverdueConfigJSONParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigJSONParams
- func NewUploadOverdueConfigJSONParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) SetBody(body *kbmodel.Overdue)
- func (o *UploadOverdueConfigJSONParams) SetContext(ctx context.Context)
- func (o *UploadOverdueConfigJSONParams) SetHTTPClient(client *http.Client)
- func (o *UploadOverdueConfigJSONParams) SetTimeout(timeout time.Duration)
- func (o *UploadOverdueConfigJSONParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadOverdueConfigJSONParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadOverdueConfigJSONParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadOverdueConfigJSONParams) WithBody(body *kbmodel.Overdue) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithContext(ctx context.Context) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithHTTPClient(client *http.Client) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithTimeout(timeout time.Duration) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigJSONParams
- func (o *UploadOverdueConfigJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadOverdueConfigJSONReader
- type UploadOverdueConfigXMLBadRequest
- type UploadOverdueConfigXMLCreated
- type UploadOverdueConfigXMLParams
- func NewUploadOverdueConfigXMLParams() *UploadOverdueConfigXMLParams
- func NewUploadOverdueConfigXMLParamsWithContext(ctx context.Context) *UploadOverdueConfigXMLParams
- func NewUploadOverdueConfigXMLParamsWithHTTPClient(client *http.Client) *UploadOverdueConfigXMLParams
- func NewUploadOverdueConfigXMLParamsWithTimeout(timeout time.Duration) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) SetBody(body string)
- func (o *UploadOverdueConfigXMLParams) SetContext(ctx context.Context)
- func (o *UploadOverdueConfigXMLParams) SetHTTPClient(client *http.Client)
- func (o *UploadOverdueConfigXMLParams) SetTimeout(timeout time.Duration)
- func (o *UploadOverdueConfigXMLParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadOverdueConfigXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadOverdueConfigXMLParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadOverdueConfigXMLParams) WithBody(body string) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithContext(ctx context.Context) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithHTTPClient(client *http.Client) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithTimeout(timeout time.Duration) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadOverdueConfigXMLParams
- func (o *UploadOverdueConfigXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadOverdueConfigXMLReader
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
resource description
func (*Client) GetOverdueConfigXML ¶
func (a *Client) GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error)
GetOverdueConfigXML retrieves the overdue config as XML
resource description
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
resource description
func (*Client) UploadOverdueConfigXML ¶
func (a *Client) UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error)
UploadOverdueConfigXML uploads the full overdue config as XML
resource description
type GetOverdueConfigJSONOK ¶
type GetOverdueConfigJSONOK struct { Payload *kbmodel.Overdue HttpResponse runtime.ClientResponse }
GetOverdueConfigJSONOK handles this case with default header values.
successful operation
func NewGetOverdueConfigJSONOK ¶
func NewGetOverdueConfigJSONOK() *GetOverdueConfigJSONOK
NewGetOverdueConfigJSONOK creates a GetOverdueConfigJSONOK with default headers values
func (*GetOverdueConfigJSONOK) Error ¶
func (o *GetOverdueConfigJSONOK) Error() string
func (*GetOverdueConfigJSONOK) GetPayload ¶
func (o *GetOverdueConfigJSONOK) GetPayload() *kbmodel.Overdue
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 values initialized.
func NewGetOverdueConfigJSONParamsWithContext ¶
func NewGetOverdueConfigJSONParamsWithContext(ctx context.Context) *GetOverdueConfigJSONParams
NewGetOverdueConfigJSONParamsWithContext creates a new GetOverdueConfigJSONParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetOverdueConfigJSONParams) WithContext(ctx context.Context) *GetOverdueConfigJSONParams
WithContext adds the context to the get overdue config Json params
func (*GetOverdueConfigJSONParams) WithHTTPClient ¶
func (o *GetOverdueConfigJSONParams) WithHTTPClient(client *http.Client) *GetOverdueConfigJSONParams
WithHTTPClient adds the HTTPClient to the get overdue config Json params
func (*GetOverdueConfigJSONParams) WithTimeout ¶
func (o *GetOverdueConfigJSONParams) WithTimeout(timeout time.Duration) *GetOverdueConfigJSONParams
WithTimeout adds the timeout to the get overdue config Json params
func (*GetOverdueConfigJSONParams) WriteToRequest ¶
func (o *GetOverdueConfigJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case with default header values.
successful operation
func NewGetOverdueConfigXMLOK ¶
func NewGetOverdueConfigXMLOK() *GetOverdueConfigXMLOK
NewGetOverdueConfigXMLOK creates a GetOverdueConfigXMLOK with default headers values
func (*GetOverdueConfigXMLOK) Error ¶
func (o *GetOverdueConfigXMLOK) Error() string
func (*GetOverdueConfigXMLOK) GetPayload ¶
func (o *GetOverdueConfigXMLOK) GetPayload() 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 values initialized.
func NewGetOverdueConfigXMLParamsWithContext ¶
func NewGetOverdueConfigXMLParamsWithContext(ctx context.Context) *GetOverdueConfigXMLParams
NewGetOverdueConfigXMLParamsWithContext creates a new GetOverdueConfigXMLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetOverdueConfigXMLParams) WithContext(ctx context.Context) *GetOverdueConfigXMLParams
WithContext adds the context to the get overdue config Xml params
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 ¶
func (o *GetOverdueConfigXMLParams) WithTimeout(timeout time.Duration) *GetOverdueConfigXMLParams
WithTimeout adds the timeout to the get overdue config Xml params
func (*GetOverdueConfigXMLParams) WriteToRequest ¶
func (o *GetOverdueConfigXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 IOverdue ¶
type IOverdue interface { /* GetOverdueConfigJSON retrieves the overdue config as JSON resource description */ GetOverdueConfigJSON(ctx context.Context, params *GetOverdueConfigJSONParams) (*GetOverdueConfigJSONOK, error) /* GetOverdueConfigXML retrieves the overdue config as XML resource description */ GetOverdueConfigXML(ctx context.Context, params *GetOverdueConfigXMLParams) (*GetOverdueConfigXMLOK, error) /* UploadOverdueConfigJSON uploads the full overdue config as JSON resource description */ UploadOverdueConfigJSON(ctx context.Context, params *UploadOverdueConfigJSONParams) (*UploadOverdueConfigJSONCreated, error) /* UploadOverdueConfigXML uploads the full overdue config as XML resource description */ UploadOverdueConfigXML(ctx context.Context, params *UploadOverdueConfigXMLParams) (*UploadOverdueConfigXMLCreated, error) }
IOverdue - interface for Overdue client.
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 handles this case with default header values.
Invalid node command supplied
func NewUploadOverdueConfigJSONBadRequest ¶
func NewUploadOverdueConfigJSONBadRequest() *UploadOverdueConfigJSONBadRequest
NewUploadOverdueConfigJSONBadRequest creates a UploadOverdueConfigJSONBadRequest with default headers values
func (*UploadOverdueConfigJSONBadRequest) Error ¶
func (o *UploadOverdueConfigJSONBadRequest) Error() string
type UploadOverdueConfigJSONCreated ¶
type UploadOverdueConfigJSONCreated struct { Payload *kbmodel.Overdue HttpResponse runtime.ClientResponse }
UploadOverdueConfigJSONCreated handles this case with default header values.
Successfully uploaded overdue config
func NewUploadOverdueConfigJSONCreated ¶
func NewUploadOverdueConfigJSONCreated() *UploadOverdueConfigJSONCreated
NewUploadOverdueConfigJSONCreated creates a UploadOverdueConfigJSONCreated with default headers values
func (*UploadOverdueConfigJSONCreated) Error ¶
func (o *UploadOverdueConfigJSONCreated) Error() string
func (*UploadOverdueConfigJSONCreated) GetPayload ¶
func (o *UploadOverdueConfigJSONCreated) GetPayload() *kbmodel.Overdue
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 values initialized.
func NewUploadOverdueConfigJSONParamsWithContext ¶
func NewUploadOverdueConfigJSONParamsWithContext(ctx context.Context) *UploadOverdueConfigJSONParams
NewUploadOverdueConfigJSONParamsWithContext creates a new UploadOverdueConfigJSONParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *UploadOverdueConfigJSONParams) WithBody(body *kbmodel.Overdue) *UploadOverdueConfigJSONParams
WithBody adds the body to the upload overdue config Json params
func (*UploadOverdueConfigJSONParams) WithContext ¶
func (o *UploadOverdueConfigJSONParams) WithContext(ctx context.Context) *UploadOverdueConfigJSONParams
WithContext adds the context to the upload overdue config Json params
func (*UploadOverdueConfigJSONParams) WithHTTPClient ¶
func (o *UploadOverdueConfigJSONParams) WithHTTPClient(client *http.Client) *UploadOverdueConfigJSONParams
WithHTTPClient adds the HTTPClient to the upload overdue config Json params
func (*UploadOverdueConfigJSONParams) WithTimeout ¶
func (o *UploadOverdueConfigJSONParams) WithTimeout(timeout time.Duration) *UploadOverdueConfigJSONParams
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 ¶
func (o *UploadOverdueConfigJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case with default header values.
Invalid node command supplied
func NewUploadOverdueConfigXMLBadRequest ¶
func NewUploadOverdueConfigXMLBadRequest() *UploadOverdueConfigXMLBadRequest
NewUploadOverdueConfigXMLBadRequest creates a UploadOverdueConfigXMLBadRequest with default headers values
func (*UploadOverdueConfigXMLBadRequest) Error ¶
func (o *UploadOverdueConfigXMLBadRequest) Error() string
type UploadOverdueConfigXMLCreated ¶
type UploadOverdueConfigXMLCreated struct { Payload string HttpResponse runtime.ClientResponse }
UploadOverdueConfigXMLCreated handles this case with default header values.
Successfully uploaded overdue config
func NewUploadOverdueConfigXMLCreated ¶
func NewUploadOverdueConfigXMLCreated() *UploadOverdueConfigXMLCreated
NewUploadOverdueConfigXMLCreated creates a UploadOverdueConfigXMLCreated with default headers values
func (*UploadOverdueConfigXMLCreated) Error ¶
func (o *UploadOverdueConfigXMLCreated) Error() string
func (*UploadOverdueConfigXMLCreated) GetPayload ¶
func (o *UploadOverdueConfigXMLCreated) GetPayload() 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 values initialized.
func NewUploadOverdueConfigXMLParamsWithContext ¶
func NewUploadOverdueConfigXMLParamsWithContext(ctx context.Context) *UploadOverdueConfigXMLParams
NewUploadOverdueConfigXMLParamsWithContext creates a new UploadOverdueConfigXMLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *UploadOverdueConfigXMLParams) WithBody(body string) *UploadOverdueConfigXMLParams
WithBody adds the body to the upload overdue config Xml params
func (*UploadOverdueConfigXMLParams) WithContext ¶
func (o *UploadOverdueConfigXMLParams) WithContext(ctx context.Context) *UploadOverdueConfigXMLParams
WithContext adds the context to the upload overdue config Xml params
func (*UploadOverdueConfigXMLParams) WithHTTPClient ¶
func (o *UploadOverdueConfigXMLParams) WithHTTPClient(client *http.Client) *UploadOverdueConfigXMLParams
WithHTTPClient adds the HTTPClient to the upload overdue config Xml params
func (*UploadOverdueConfigXMLParams) WithTimeout ¶
func (o *UploadOverdueConfigXMLParams) WithTimeout(timeout time.Duration) *UploadOverdueConfigXMLParams
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 ¶
func (o *UploadOverdueConfigXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- get_overdue_config_json_parameters.go
- get_overdue_config_json_responses.go
- get_overdue_config_xml_parameters.go
- get_overdue_config_xml_responses.go
- overdue_client.go
- upload_overdue_config_json_parameters.go
- upload_overdue_config_json_responses.go
- upload_overdue_config_xml_parameters.go
- upload_overdue_config_xml_responses.go