Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1ServiceDependenciesServiceDependencyID(params *DeleteV1ServiceDependenciesServiceDependencyIDParams, ...) (*DeleteV1ServiceDependenciesServiceDependencyIDOK, error)
- func (a *Client) GetV1ServiceDependenciesServiceDependencyID(params *GetV1ServiceDependenciesServiceDependencyIDParams, ...) (*GetV1ServiceDependenciesServiceDependencyIDOK, error)
- func (a *Client) PatchV1ServiceDependenciesServiceDependencyID(params *PatchV1ServiceDependenciesServiceDependencyIDParams, ...) (*PatchV1ServiceDependenciesServiceDependencyIDOK, error)
- func (a *Client) PostV1ServiceDependencies(params *PostV1ServiceDependenciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1ServiceDependenciesCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1ServiceDependenciesServiceDependencyIDOK
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) Error() string
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) String() string
- type DeleteV1ServiceDependenciesServiceDependencyIDParams
- func NewDeleteV1ServiceDependenciesServiceDependencyIDParams() *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *DeleteV1ServiceDependenciesServiceDependencyIDParams
- func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1ServiceDependenciesServiceDependencyIDReader
- type GetV1ServiceDependenciesServiceDependencyIDOK
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) Error() string
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
- func (o *GetV1ServiceDependenciesServiceDependencyIDOK) String() string
- type GetV1ServiceDependenciesServiceDependencyIDParams
- func NewGetV1ServiceDependenciesServiceDependencyIDParams() *GetV1ServiceDependenciesServiceDependencyIDParams
- func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *GetV1ServiceDependenciesServiceDependencyIDParams
- func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *GetV1ServiceDependenciesServiceDependencyIDParams
- func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *GetV1ServiceDependenciesServiceDependencyIDParams
- func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ServiceDependenciesServiceDependencyIDReader
- type PatchV1ServiceDependenciesServiceDependencyIDOK
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) Error() string
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
- func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) String() string
- type PatchV1ServiceDependenciesServiceDependencyIDParams
- func NewPatchV1ServiceDependenciesServiceDependencyIDParams() *PatchV1ServiceDependenciesServiceDependencyIDParams
- func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetPatchV1ServiceDependenciesServiceDependencyID(...)
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithPatchV1ServiceDependenciesServiceDependencyID(...) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *PatchV1ServiceDependenciesServiceDependencyIDParams
- func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1ServiceDependenciesServiceDependencyIDReader
- type PostV1ServiceDependenciesCreated
- func (o *PostV1ServiceDependenciesCreated) Error() string
- func (o *PostV1ServiceDependenciesCreated) GetPayload() *models.ServiceDependencyEntity
- func (o *PostV1ServiceDependenciesCreated) IsClientError() bool
- func (o *PostV1ServiceDependenciesCreated) IsCode(code int) bool
- func (o *PostV1ServiceDependenciesCreated) IsRedirect() bool
- func (o *PostV1ServiceDependenciesCreated) IsServerError() bool
- func (o *PostV1ServiceDependenciesCreated) IsSuccess() bool
- func (o *PostV1ServiceDependenciesCreated) String() string
- type PostV1ServiceDependenciesParams
- func NewPostV1ServiceDependenciesParams() *PostV1ServiceDependenciesParams
- func NewPostV1ServiceDependenciesParamsWithContext(ctx context.Context) *PostV1ServiceDependenciesParams
- func NewPostV1ServiceDependenciesParamsWithHTTPClient(client *http.Client) *PostV1ServiceDependenciesParams
- func NewPostV1ServiceDependenciesParamsWithTimeout(timeout time.Duration) *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) SetContext(ctx context.Context)
- func (o *PostV1ServiceDependenciesParams) SetDefaults()
- func (o *PostV1ServiceDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *PostV1ServiceDependenciesParams) SetPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies)
- func (o *PostV1ServiceDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *PostV1ServiceDependenciesParams) WithContext(ctx context.Context) *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) WithDefaults() *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) WithHTTPClient(client *http.Client) *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) WithPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies) *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) WithTimeout(timeout time.Duration) *PostV1ServiceDependenciesParams
- func (o *PostV1ServiceDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1ServiceDependenciesReader
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 service dependencies API
func (*Client) DeleteV1ServiceDependenciesServiceDependencyID ¶
func (a *Client) DeleteV1ServiceDependenciesServiceDependencyID(params *DeleteV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1ServiceDependenciesServiceDependencyIDOK, error)
DeleteV1ServiceDependenciesServiceDependencyID deletes a service dependency
Deletes a single service dependency
func (*Client) GetV1ServiceDependenciesServiceDependencyID ¶
func (a *Client) GetV1ServiceDependenciesServiceDependencyID(params *GetV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ServiceDependenciesServiceDependencyIDOK, error)
GetV1ServiceDependenciesServiceDependencyID retrieves a single service dependency
Retrieves a single service dependency by ID
func (*Client) PatchV1ServiceDependenciesServiceDependencyID ¶
func (a *Client) PatchV1ServiceDependenciesServiceDependencyID(params *PatchV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1ServiceDependenciesServiceDependencyIDOK, error)
PatchV1ServiceDependenciesServiceDependencyID updates a service dependency
Update the notes of the service dependency
func (*Client) PostV1ServiceDependencies ¶
func (a *Client) PostV1ServiceDependencies(params *PostV1ServiceDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ServiceDependenciesCreated, error)
PostV1ServiceDependencies creates a service dependency
Creates a service dependency relationship between two services
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteV1ServiceDependenciesServiceDependencyID(params *DeleteV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1ServiceDependenciesServiceDependencyIDOK, error) GetV1ServiceDependenciesServiceDependencyID(params *GetV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ServiceDependenciesServiceDependencyIDOK, error) PatchV1ServiceDependenciesServiceDependencyID(params *PatchV1ServiceDependenciesServiceDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1ServiceDependenciesServiceDependencyIDOK, error) PostV1ServiceDependencies(params *PostV1ServiceDependenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1ServiceDependenciesCreated, 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 service dependencies API client.
type DeleteV1ServiceDependenciesServiceDependencyIDOK ¶
type DeleteV1ServiceDependenciesServiceDependencyIDOK struct {
Payload *models.ServiceDependencyEntity
}
DeleteV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.
Deletes a single service dependency
func NewDeleteV1ServiceDependenciesServiceDependencyIDOK ¶
func NewDeleteV1ServiceDependenciesServiceDependencyIDOK() *DeleteV1ServiceDependenciesServiceDependencyIDOK
NewDeleteV1ServiceDependenciesServiceDependencyIDOK creates a DeleteV1ServiceDependenciesServiceDependencyIDOK with default headers values
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) Error ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) Error() string
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) GetPayload ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsClientError ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
IsClientError returns true when this delete v1 service dependencies service dependency Id o k response has a 4xx status code
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsCode ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
IsCode returns true when this delete v1 service dependencies service dependency Id o k response a status code equal to that given
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsRedirect ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 service dependencies service dependency Id o k response has a 3xx status code
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsServerError ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
IsServerError returns true when this delete v1 service dependencies service dependency Id o k response has a 5xx status code
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) IsSuccess ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 service dependencies service dependency Id o k response has a 2xx status code
func (*DeleteV1ServiceDependenciesServiceDependencyIDOK) String ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDOK) String() string
type DeleteV1ServiceDependenciesServiceDependencyIDParams ¶
type DeleteV1ServiceDependenciesServiceDependencyIDParams struct { // ServiceDependencyID. ServiceDependencyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint
for the delete v1 service dependencies service dependency Id operation. Typically these are written to a http.Request.
func NewDeleteV1ServiceDependenciesServiceDependencyIDParams ¶
func NewDeleteV1ServiceDependenciesServiceDependencyIDParams() *DeleteV1ServiceDependenciesServiceDependencyIDParams
NewDeleteV1ServiceDependenciesServiceDependencyIDParams creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams 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 NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext ¶
func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *DeleteV1ServiceDependenciesServiceDependencyIDParams
NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.
func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient ¶
func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *DeleteV1ServiceDependenciesServiceDependencyIDParams
NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout ¶
func NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *DeleteV1ServiceDependenciesServiceDependencyIDParams
NewDeleteV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new DeleteV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetContext ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetDefaults ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
SetServiceDependencyID adds the serviceDependencyId to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) SetTimeout ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithContext ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *DeleteV1ServiceDependenciesServiceDependencyIDParams
WithContext adds the context to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithDefaults ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *DeleteV1ServiceDependenciesServiceDependencyIDParams
WithDefaults hydrates default values in the delete v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *DeleteV1ServiceDependenciesServiceDependencyIDParams
WithHTTPClient adds the HTTPClient to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *DeleteV1ServiceDependenciesServiceDependencyIDParams
WithServiceDependencyID adds the serviceDependencyID to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WithTimeout ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *DeleteV1ServiceDependenciesServiceDependencyIDParams
WithTimeout adds the timeout to the delete v1 service dependencies service dependency Id params
func (*DeleteV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1ServiceDependenciesServiceDependencyIDReader ¶
type DeleteV1ServiceDependenciesServiceDependencyIDReader struct {
// contains filtered or unexported fields
}
DeleteV1ServiceDependenciesServiceDependencyIDReader is a Reader for the DeleteV1ServiceDependenciesServiceDependencyID structure.
func (*DeleteV1ServiceDependenciesServiceDependencyIDReader) ReadResponse ¶
func (o *DeleteV1ServiceDependenciesServiceDependencyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ServiceDependenciesServiceDependencyIDOK ¶
type GetV1ServiceDependenciesServiceDependencyIDOK struct {
Payload *models.ServiceDependencyEntity
}
GetV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.
Retrieves a single service dependency by ID
func NewGetV1ServiceDependenciesServiceDependencyIDOK ¶
func NewGetV1ServiceDependenciesServiceDependencyIDOK() *GetV1ServiceDependenciesServiceDependencyIDOK
NewGetV1ServiceDependenciesServiceDependencyIDOK creates a GetV1ServiceDependenciesServiceDependencyIDOK with default headers values
func (*GetV1ServiceDependenciesServiceDependencyIDOK) Error ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) Error() string
func (*GetV1ServiceDependenciesServiceDependencyIDOK) GetPayload ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsClientError ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
IsClientError returns true when this get v1 service dependencies service dependency Id o k response has a 4xx status code
func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsCode ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
IsCode returns true when this get v1 service dependencies service dependency Id o k response a status code equal to that given
func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsRedirect ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 service dependencies service dependency Id o k response has a 3xx status code
func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsServerError ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
IsServerError returns true when this get v1 service dependencies service dependency Id o k response has a 5xx status code
func (*GetV1ServiceDependenciesServiceDependencyIDOK) IsSuccess ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 service dependencies service dependency Id o k response has a 2xx status code
func (*GetV1ServiceDependenciesServiceDependencyIDOK) String ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDOK) String() string
type GetV1ServiceDependenciesServiceDependencyIDParams ¶
type GetV1ServiceDependenciesServiceDependencyIDParams struct { // ServiceDependencyID. ServiceDependencyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint
for the get v1 service dependencies service dependency Id operation. Typically these are written to a http.Request.
func NewGetV1ServiceDependenciesServiceDependencyIDParams ¶
func NewGetV1ServiceDependenciesServiceDependencyIDParams() *GetV1ServiceDependenciesServiceDependencyIDParams
NewGetV1ServiceDependenciesServiceDependencyIDParams creates a new GetV1ServiceDependenciesServiceDependencyIDParams 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 NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext ¶
func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *GetV1ServiceDependenciesServiceDependencyIDParams
NewGetV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.
func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient ¶
func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *GetV1ServiceDependenciesServiceDependencyIDParams
NewGetV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout ¶
func NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *GetV1ServiceDependenciesServiceDependencyIDParams
NewGetV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new GetV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.
func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetContext ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetDefaults ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
SetServiceDependencyID adds the serviceDependencyId to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) SetTimeout ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithContext ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *GetV1ServiceDependenciesServiceDependencyIDParams
WithContext adds the context to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithDefaults ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *GetV1ServiceDependenciesServiceDependencyIDParams
WithDefaults hydrates default values in the get v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *GetV1ServiceDependenciesServiceDependencyIDParams
WithHTTPClient adds the HTTPClient to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *GetV1ServiceDependenciesServiceDependencyIDParams
WithServiceDependencyID adds the serviceDependencyID to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WithTimeout ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *GetV1ServiceDependenciesServiceDependencyIDParams
WithTimeout adds the timeout to the get v1 service dependencies service dependency Id params
func (*GetV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ServiceDependenciesServiceDependencyIDReader ¶
type GetV1ServiceDependenciesServiceDependencyIDReader struct {
// contains filtered or unexported fields
}
GetV1ServiceDependenciesServiceDependencyIDReader is a Reader for the GetV1ServiceDependenciesServiceDependencyID structure.
func (*GetV1ServiceDependenciesServiceDependencyIDReader) ReadResponse ¶
func (o *GetV1ServiceDependenciesServiceDependencyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1ServiceDependenciesServiceDependencyIDOK ¶
type PatchV1ServiceDependenciesServiceDependencyIDOK struct {
Payload *models.ServiceDependencyEntity
}
PatchV1ServiceDependenciesServiceDependencyIDOK describes a response with status code 200, with default header values.
Update the notes of the service dependency
func NewPatchV1ServiceDependenciesServiceDependencyIDOK ¶
func NewPatchV1ServiceDependenciesServiceDependencyIDOK() *PatchV1ServiceDependenciesServiceDependencyIDOK
NewPatchV1ServiceDependenciesServiceDependencyIDOK creates a PatchV1ServiceDependenciesServiceDependencyIDOK with default headers values
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) Error ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) Error() string
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) GetPayload ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) GetPayload() *models.ServiceDependencyEntity
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsClientError ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsClientError() bool
IsClientError returns true when this patch v1 service dependencies service dependency Id o k response has a 4xx status code
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsCode ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 service dependencies service dependency Id o k response a status code equal to that given
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsRedirect ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 service dependencies service dependency Id o k response has a 3xx status code
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsServerError ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsServerError() bool
IsServerError returns true when this patch v1 service dependencies service dependency Id o k response has a 5xx status code
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) IsSuccess ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 service dependencies service dependency Id o k response has a 2xx status code
func (*PatchV1ServiceDependenciesServiceDependencyIDOK) String ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDOK) String() string
type PatchV1ServiceDependenciesServiceDependencyIDParams ¶
type PatchV1ServiceDependenciesServiceDependencyIDParams struct { // PatchV1ServiceDependenciesServiceDependencyID. PatchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID // ServiceDependencyID. ServiceDependencyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchV1ServiceDependenciesServiceDependencyIDParams contains all the parameters to send to the API endpoint
for the patch v1 service dependencies service dependency Id operation. Typically these are written to a http.Request.
func NewPatchV1ServiceDependenciesServiceDependencyIDParams ¶
func NewPatchV1ServiceDependenciesServiceDependencyIDParams() *PatchV1ServiceDependenciesServiceDependencyIDParams
NewPatchV1ServiceDependenciesServiceDependencyIDParams creates a new PatchV1ServiceDependenciesServiceDependencyIDParams 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 NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext ¶
func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext(ctx context.Context) *PatchV1ServiceDependenciesServiceDependencyIDParams
NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithContext creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a context for a request.
func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient ¶
func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient(client *http.Client) *PatchV1ServiceDependenciesServiceDependencyIDParams
NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithHTTPClient creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout ¶
func NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout(timeout time.Duration) *PatchV1ServiceDependenciesServiceDependencyIDParams
NewPatchV1ServiceDependenciesServiceDependencyIDParamsWithTimeout creates a new PatchV1ServiceDependenciesServiceDependencyIDParams object with the ability to set a timeout on a request.
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetContext ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetDefaults ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetPatchV1ServiceDependenciesServiceDependencyID ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetPatchV1ServiceDependenciesServiceDependencyID(patchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID)
SetPatchV1ServiceDependenciesServiceDependencyID adds the patchV1ServiceDependenciesServiceDependencyId to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetServiceDependencyID(serviceDependencyID string)
SetServiceDependencyID adds the serviceDependencyId to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) SetTimeout ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithContext ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithContext(ctx context.Context) *PatchV1ServiceDependenciesServiceDependencyIDParams
WithContext adds the context to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithDefaults ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithDefaults() *PatchV1ServiceDependenciesServiceDependencyIDParams
WithDefaults hydrates default values in the patch v1 service dependencies service dependency Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithHTTPClient(client *http.Client) *PatchV1ServiceDependenciesServiceDependencyIDParams
WithHTTPClient adds the HTTPClient to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithPatchV1ServiceDependenciesServiceDependencyID ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithPatchV1ServiceDependenciesServiceDependencyID(patchV1ServiceDependenciesServiceDependencyID *models.PatchV1ServiceDependenciesServiceDependencyID) *PatchV1ServiceDependenciesServiceDependencyIDParams
WithPatchV1ServiceDependenciesServiceDependencyID adds the patchV1ServiceDependenciesServiceDependencyID to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithServiceDependencyID(serviceDependencyID string) *PatchV1ServiceDependenciesServiceDependencyIDParams
WithServiceDependencyID adds the serviceDependencyID to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WithTimeout ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WithTimeout(timeout time.Duration) *PatchV1ServiceDependenciesServiceDependencyIDParams
WithTimeout adds the timeout to the patch v1 service dependencies service dependency Id params
func (*PatchV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1ServiceDependenciesServiceDependencyIDReader ¶
type PatchV1ServiceDependenciesServiceDependencyIDReader struct {
// contains filtered or unexported fields
}
PatchV1ServiceDependenciesServiceDependencyIDReader is a Reader for the PatchV1ServiceDependenciesServiceDependencyID structure.
func (*PatchV1ServiceDependenciesServiceDependencyIDReader) ReadResponse ¶
func (o *PatchV1ServiceDependenciesServiceDependencyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1ServiceDependenciesCreated ¶
type PostV1ServiceDependenciesCreated struct {
Payload *models.ServiceDependencyEntity
}
PostV1ServiceDependenciesCreated describes a response with status code 201, with default header values.
Creates a service dependency relationship between two services
func NewPostV1ServiceDependenciesCreated ¶
func NewPostV1ServiceDependenciesCreated() *PostV1ServiceDependenciesCreated
NewPostV1ServiceDependenciesCreated creates a PostV1ServiceDependenciesCreated with default headers values
func (*PostV1ServiceDependenciesCreated) Error ¶
func (o *PostV1ServiceDependenciesCreated) Error() string
func (*PostV1ServiceDependenciesCreated) GetPayload ¶
func (o *PostV1ServiceDependenciesCreated) GetPayload() *models.ServiceDependencyEntity
func (*PostV1ServiceDependenciesCreated) IsClientError ¶
func (o *PostV1ServiceDependenciesCreated) IsClientError() bool
IsClientError returns true when this post v1 service dependencies created response has a 4xx status code
func (*PostV1ServiceDependenciesCreated) IsCode ¶
func (o *PostV1ServiceDependenciesCreated) IsCode(code int) bool
IsCode returns true when this post v1 service dependencies created response a status code equal to that given
func (*PostV1ServiceDependenciesCreated) IsRedirect ¶
func (o *PostV1ServiceDependenciesCreated) IsRedirect() bool
IsRedirect returns true when this post v1 service dependencies created response has a 3xx status code
func (*PostV1ServiceDependenciesCreated) IsServerError ¶
func (o *PostV1ServiceDependenciesCreated) IsServerError() bool
IsServerError returns true when this post v1 service dependencies created response has a 5xx status code
func (*PostV1ServiceDependenciesCreated) IsSuccess ¶
func (o *PostV1ServiceDependenciesCreated) IsSuccess() bool
IsSuccess returns true when this post v1 service dependencies created response has a 2xx status code
func (*PostV1ServiceDependenciesCreated) String ¶
func (o *PostV1ServiceDependenciesCreated) String() string
type PostV1ServiceDependenciesParams ¶
type PostV1ServiceDependenciesParams struct { // PostV1ServiceDependencies. PostV1ServiceDependencies *models.PostV1ServiceDependencies Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1ServiceDependenciesParams contains all the parameters to send to the API endpoint
for the post v1 service dependencies operation. Typically these are written to a http.Request.
func NewPostV1ServiceDependenciesParams ¶
func NewPostV1ServiceDependenciesParams() *PostV1ServiceDependenciesParams
NewPostV1ServiceDependenciesParams creates a new PostV1ServiceDependenciesParams 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 NewPostV1ServiceDependenciesParamsWithContext ¶
func NewPostV1ServiceDependenciesParamsWithContext(ctx context.Context) *PostV1ServiceDependenciesParams
NewPostV1ServiceDependenciesParamsWithContext creates a new PostV1ServiceDependenciesParams object with the ability to set a context for a request.
func NewPostV1ServiceDependenciesParamsWithHTTPClient ¶
func NewPostV1ServiceDependenciesParamsWithHTTPClient(client *http.Client) *PostV1ServiceDependenciesParams
NewPostV1ServiceDependenciesParamsWithHTTPClient creates a new PostV1ServiceDependenciesParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1ServiceDependenciesParamsWithTimeout ¶
func NewPostV1ServiceDependenciesParamsWithTimeout(timeout time.Duration) *PostV1ServiceDependenciesParams
NewPostV1ServiceDependenciesParamsWithTimeout creates a new PostV1ServiceDependenciesParams object with the ability to set a timeout on a request.
func (*PostV1ServiceDependenciesParams) SetContext ¶
func (o *PostV1ServiceDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) SetDefaults ¶
func (o *PostV1ServiceDependenciesParams) SetDefaults()
SetDefaults hydrates default values in the post v1 service dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1ServiceDependenciesParams) SetHTTPClient ¶
func (o *PostV1ServiceDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) SetPostV1ServiceDependencies ¶
func (o *PostV1ServiceDependenciesParams) SetPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies)
SetPostV1ServiceDependencies adds the postV1ServiceDependencies to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) SetTimeout ¶
func (o *PostV1ServiceDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) WithContext ¶
func (o *PostV1ServiceDependenciesParams) WithContext(ctx context.Context) *PostV1ServiceDependenciesParams
WithContext adds the context to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) WithDefaults ¶
func (o *PostV1ServiceDependenciesParams) WithDefaults() *PostV1ServiceDependenciesParams
WithDefaults hydrates default values in the post v1 service dependencies params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1ServiceDependenciesParams) WithHTTPClient ¶
func (o *PostV1ServiceDependenciesParams) WithHTTPClient(client *http.Client) *PostV1ServiceDependenciesParams
WithHTTPClient adds the HTTPClient to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) WithPostV1ServiceDependencies ¶
func (o *PostV1ServiceDependenciesParams) WithPostV1ServiceDependencies(postV1ServiceDependencies *models.PostV1ServiceDependencies) *PostV1ServiceDependenciesParams
WithPostV1ServiceDependencies adds the postV1ServiceDependencies to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) WithTimeout ¶
func (o *PostV1ServiceDependenciesParams) WithTimeout(timeout time.Duration) *PostV1ServiceDependenciesParams
WithTimeout adds the timeout to the post v1 service dependencies params
func (*PostV1ServiceDependenciesParams) WriteToRequest ¶
func (o *PostV1ServiceDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1ServiceDependenciesReader ¶
type PostV1ServiceDependenciesReader struct {
// contains filtered or unexported fields
}
PostV1ServiceDependenciesReader is a Reader for the PostV1ServiceDependencies structure.
func (*PostV1ServiceDependenciesReader) ReadResponse ¶
func (o *PostV1ServiceDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_v1_service_dependencies_service_dependency_id_parameters.go
- delete_v1_service_dependencies_service_dependency_id_responses.go
- get_v1_service_dependencies_service_dependency_id_parameters.go
- get_v1_service_dependencies_service_dependency_id_responses.go
- patch_v1_service_dependencies_service_dependency_id_parameters.go
- patch_v1_service_dependencies_service_dependency_id_responses.go
- post_v1_service_dependencies_parameters.go
- post_v1_service_dependencies_responses.go
- service_dependencies_client.go