agreement_reports

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 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 agreement reports API

func (*Client) GetAgreementReports added in v1.1.0

func (a *Client) GetAgreementReports(params *GetAgreementReportsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAgreementReportsOK, error)

GetAgreementReports get agreement reports API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Update

func (a *Client) Update(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOK, error)

Update update API

type ClientService

type ClientService interface {
	GetAgreementReports(params *GetAgreementReportsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAgreementReportsOK, error)

	Update(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOK, 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 agreement reports API client.

type GetAgreementReportsOK added in v1.1.0

type GetAgreementReportsOK struct {
	Payload *models.APICollectionOfAgreementReport
}

GetAgreementReportsOK handles this case with default header values.

Success

func NewGetAgreementReportsOK added in v1.1.0

func NewGetAgreementReportsOK() *GetAgreementReportsOK

NewGetAgreementReportsOK creates a GetAgreementReportsOK with default headers values

func (*GetAgreementReportsOK) Error added in v1.1.0

func (o *GetAgreementReportsOK) Error() string

func (*GetAgreementReportsOK) GetPayload added in v1.1.0

type GetAgreementReportsParams added in v1.1.0

type GetAgreementReportsParams struct {

	/*ProductContainerID*/
	ProductContainerID int32

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

GetAgreementReportsParams contains all the parameters to send to the API endpoint for the get agreement reports operation typically these are written to a http.Request

func NewGetAgreementReportsParams added in v1.1.0

func NewGetAgreementReportsParams() *GetAgreementReportsParams

NewGetAgreementReportsParams creates a new GetAgreementReportsParams object with the default values initialized.

func NewGetAgreementReportsParamsWithContext added in v1.1.0

func NewGetAgreementReportsParamsWithContext(ctx context.Context) *GetAgreementReportsParams

NewGetAgreementReportsParamsWithContext creates a new GetAgreementReportsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAgreementReportsParamsWithHTTPClient added in v1.1.0

func NewGetAgreementReportsParamsWithHTTPClient(client *http.Client) *GetAgreementReportsParams

NewGetAgreementReportsParamsWithHTTPClient creates a new GetAgreementReportsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAgreementReportsParamsWithTimeout added in v1.1.0

func NewGetAgreementReportsParamsWithTimeout(timeout time.Duration) *GetAgreementReportsParams

NewGetAgreementReportsParamsWithTimeout creates a new GetAgreementReportsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAgreementReportsParams) SetContext added in v1.1.0

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

SetContext adds the context to the get agreement reports params

func (*GetAgreementReportsParams) SetHTTPClient added in v1.1.0

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

SetHTTPClient adds the HTTPClient to the get agreement reports params

func (*GetAgreementReportsParams) SetProductContainerID added in v1.1.0

func (o *GetAgreementReportsParams) SetProductContainerID(productContainerID int32)

SetProductContainerID adds the productContainerId to the get agreement reports params

func (*GetAgreementReportsParams) SetTimeout added in v1.1.0

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

SetTimeout adds the timeout to the get agreement reports params

func (*GetAgreementReportsParams) WithContext added in v1.1.0

WithContext adds the context to the get agreement reports params

func (*GetAgreementReportsParams) WithHTTPClient added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the get agreement reports params

func (*GetAgreementReportsParams) WithProductContainerID added in v1.1.0

func (o *GetAgreementReportsParams) WithProductContainerID(productContainerID int32) *GetAgreementReportsParams

WithProductContainerID adds the productContainerID to the get agreement reports params

func (*GetAgreementReportsParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the get agreement reports params

func (*GetAgreementReportsParams) WriteToRequest added in v1.1.0

WriteToRequest writes these params to a swagger request

type GetAgreementReportsReader added in v1.1.0

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

GetAgreementReportsReader is a Reader for the GetAgreementReports structure.

func (*GetAgreementReportsReader) ReadResponse added in v1.1.0

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

ReadResponse reads a server response into the received o.

type UpdateOK

type UpdateOK struct {
	Payload *models.AgreementReport
}

UpdateOK handles this case with default header values.

Success

func NewUpdateOK

func NewUpdateOK() *UpdateOK

NewUpdateOK creates a UpdateOK with default headers values

func (*UpdateOK) Error

func (o *UpdateOK) Error() string

func (*UpdateOK) GetPayload

func (o *UpdateOK) GetPayload() *models.AgreementReport

type UpdateParams

type UpdateParams struct {

	/*AgreementID*/
	AgreementID int32
	/*AgreementReport*/
	AgreementReport *models.AgreementReport

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

UpdateParams contains all the parameters to send to the API endpoint for the update operation typically these are written to a http.Request

func NewUpdateParams

func NewUpdateParams() *UpdateParams

NewUpdateParams creates a new UpdateParams object with the default values initialized.

func NewUpdateParamsWithContext

func NewUpdateParamsWithContext(ctx context.Context) *UpdateParams

NewUpdateParamsWithContext creates a new UpdateParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateParamsWithHTTPClient

func NewUpdateParamsWithHTTPClient(client *http.Client) *UpdateParams

NewUpdateParamsWithHTTPClient creates a new UpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateParamsWithTimeout

func NewUpdateParamsWithTimeout(timeout time.Duration) *UpdateParams

NewUpdateParamsWithTimeout creates a new UpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateParams) SetAgreementID

func (o *UpdateParams) SetAgreementID(agreementID int32)

SetAgreementID adds the agreementId to the update params

func (*UpdateParams) SetAgreementReport

func (o *UpdateParams) SetAgreementReport(agreementReport *models.AgreementReport)

SetAgreementReport adds the agreementReport to the update params

func (*UpdateParams) SetContext

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

SetContext adds the context to the update params

func (*UpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update params

func (*UpdateParams) SetTimeout

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

SetTimeout adds the timeout to the update params

func (*UpdateParams) WithAgreementID

func (o *UpdateParams) WithAgreementID(agreementID int32) *UpdateParams

WithAgreementID adds the agreementID to the update params

func (*UpdateParams) WithAgreementReport

func (o *UpdateParams) WithAgreementReport(agreementReport *models.AgreementReport) *UpdateParams

WithAgreementReport adds the agreementReport to the update params

func (*UpdateParams) WithContext

func (o *UpdateParams) WithContext(ctx context.Context) *UpdateParams

WithContext adds the context to the update params

func (*UpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update params

func (*UpdateParams) WithTimeout

func (o *UpdateParams) WithTimeout(timeout time.Duration) *UpdateParams

WithTimeout adds the timeout to the update params

func (*UpdateParams) WriteToRequest

func (o *UpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateReader

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

UpdateReader is a Reader for the Update structure.

func (*UpdateReader) ReadResponse

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