Documentation
¶
Index ¶
- type Client
- func (a *Client) GetOverdueConfigJSON(params *GetOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOverdueConfigJSONOK, error)
- func (a *Client) GetOverdueConfigXML(params *GetOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOverdueConfigXMLOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadOverdueConfigJSON(params *UploadOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadOverdueConfigJSONCreated, error)
- func (a *Client) UploadOverdueConfigXML(params *UploadOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadOverdueConfigXMLCreated, error)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 (*Client) GetOverdueConfigJSON ¶
func (a *Client) GetOverdueConfigJSON(params *GetOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOverdueConfigJSONOK, error)
GetOverdueConfigJSON retrieves the overdue config as JSON
func (*Client) GetOverdueConfigXML ¶
func (a *Client) GetOverdueConfigXML(params *GetOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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(params *UploadOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadOverdueConfigJSONCreated, error)
UploadOverdueConfigJSON uploads the full overdue config as JSON
func (*Client) UploadOverdueConfigXML ¶
func (a *Client) UploadOverdueConfigXML(params *UploadOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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(params *GetOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOverdueConfigJSONOK, error) GetOverdueConfigXML(params *GetOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOverdueConfigXMLOK, error) UploadOverdueConfigJSON(params *UploadOverdueConfigJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadOverdueConfigJSONCreated, error) UploadOverdueConfigXML(params *UploadOverdueConfigXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadOverdueConfigXMLCreated, 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 overdue API client.
type GetOverdueConfigJSONOK ¶
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) Error ¶
func (o *GetOverdueConfigJSONOK) Error() string
func (*GetOverdueConfigJSONOK) GetPayload ¶
func (o *GetOverdueConfigJSONOK) GetPayload() *kbmodel.Overdue
type GetOverdueConfigJSONParams ¶
type GetOverdueConfigJSONParams struct { Context context.Context HTTPClient *http.Client // 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 ¶
func (o *GetOverdueConfigJSONParams) WithContext(ctx context.Context) *GetOverdueConfigJSONParams
WithContext adds the context to the get overdue config Json params
func (*GetOverdueConfigJSONParams) WithDefaults ¶
func (o *GetOverdueConfigJSONParams) WithDefaults() *GetOverdueConfigJSONParams
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 ¶
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
}
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) Error ¶
func (o *GetOverdueConfigXMLOK) Error() string
func (*GetOverdueConfigXMLOK) GetPayload ¶
func (o *GetOverdueConfigXMLOK) GetPayload() string
type GetOverdueConfigXMLParams ¶
type GetOverdueConfigXMLParams struct { Context context.Context HTTPClient *http.Client // 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 ¶
func (o *GetOverdueConfigXMLParams) WithContext(ctx context.Context) *GetOverdueConfigXMLParams
WithContext adds the context to the get overdue config Xml params
func (*GetOverdueConfigXMLParams) WithDefaults ¶
func (o *GetOverdueConfigXMLParams) WithDefaults() *GetOverdueConfigXMLParams
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 ¶
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 UploadOverdueConfigJSONBadRequest ¶
type UploadOverdueConfigJSONBadRequest struct { }
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) Error ¶
func (o *UploadOverdueConfigJSONBadRequest) Error() string
type UploadOverdueConfigJSONCreated ¶
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) 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 Context context.Context HTTPClient *http.Client // 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 ¶
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) WithDefaults ¶
func (o *UploadOverdueConfigJSONParams) WithDefaults() *UploadOverdueConfigJSONParams
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 ¶
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 { }
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) Error ¶
func (o *UploadOverdueConfigXMLBadRequest) Error() string
type UploadOverdueConfigXMLCreated ¶
type UploadOverdueConfigXMLCreated struct {
Payload string
}
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) 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 Context context.Context HTTPClient *http.Client // 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 ¶
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) WithDefaults ¶
func (o *UploadOverdueConfigXMLParams) WithDefaults() *UploadOverdueConfigXMLParams
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 ¶
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