Documentation
¶
Index ¶
- type Client
- func (a *Client) CustomServiceCreateUsingPUT(params *CustomServiceCreateUsingPUTParams) (*CustomServiceCreateUsingPUTOK, *CustomServiceCreateUsingPUTCreated, error)
- func (a *Client) CustomServiceDeleteUsingDELETE(params *CustomServiceDeleteUsingDELETEParams) (*CustomServiceDeleteUsingDELETEOK, *CustomServiceDeleteUsingDELETECreated, ...)
- func (a *Client) CustomServiceGetUsingGET(params *CustomServiceGetUsingGETParams) (*CustomServiceGetUsingGETOK, error)
- func (a *Client) CustomServiceListUsingGET(params *CustomServiceListUsingGETParams) (*CustomServiceListUsingGETOK, error)
- func (a *Client) CustomServiceUpdateUsingPUT(params *CustomServiceUpdateUsingPUTParams) (*CustomServiceUpdateUsingPUTOK, *CustomServiceUpdateUsingPUTCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CustomServiceCreateUsingPUTBadRequest
- type CustomServiceCreateUsingPUTCreated
- type CustomServiceCreateUsingPUTOK
- type CustomServiceCreateUsingPUTParams
- func NewCustomServiceCreateUsingPUTParams() *CustomServiceCreateUsingPUTParams
- func NewCustomServiceCreateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceCreateUsingPUTParams
- func NewCustomServiceCreateUsingPUTParamsWithHTTPClient(client *http.Client) *CustomServiceCreateUsingPUTParams
- func NewCustomServiceCreateUsingPUTParamsWithTimeout(timeout time.Duration) *CustomServiceCreateUsingPUTParams
- func (o *CustomServiceCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *CustomServiceCreateUsingPUTParams) SetCustomServiceInstance(customServiceInstance *models.CustomServiceInstance)
- func (o *CustomServiceCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *CustomServiceCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *CustomServiceCreateUsingPUTParams) WithContext(ctx context.Context) *CustomServiceCreateUsingPUTParams
- func (o *CustomServiceCreateUsingPUTParams) WithCustomServiceInstance(customServiceInstance *models.CustomServiceInstance) *CustomServiceCreateUsingPUTParams
- func (o *CustomServiceCreateUsingPUTParams) WithHTTPClient(client *http.Client) *CustomServiceCreateUsingPUTParams
- func (o *CustomServiceCreateUsingPUTParams) WithTimeout(timeout time.Duration) *CustomServiceCreateUsingPUTParams
- func (o *CustomServiceCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomServiceCreateUsingPUTReader
- type CustomServiceDeleteUsingDELETEBadRequest
- type CustomServiceDeleteUsingDELETECreated
- type CustomServiceDeleteUsingDELETEOK
- type CustomServiceDeleteUsingDELETEParams
- func NewCustomServiceDeleteUsingDELETEParams() *CustomServiceDeleteUsingDELETEParams
- func NewCustomServiceDeleteUsingDELETEParamsWithContext(ctx context.Context) *CustomServiceDeleteUsingDELETEParams
- func NewCustomServiceDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *CustomServiceDeleteUsingDELETEParams
- func NewCustomServiceDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *CustomServiceDeleteUsingDELETEParams
- func (o *CustomServiceDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *CustomServiceDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *CustomServiceDeleteUsingDELETEParams) SetServiceID(serviceID string)
- func (o *CustomServiceDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *CustomServiceDeleteUsingDELETEParams) WithContext(ctx context.Context) *CustomServiceDeleteUsingDELETEParams
- func (o *CustomServiceDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *CustomServiceDeleteUsingDELETEParams
- func (o *CustomServiceDeleteUsingDELETEParams) WithServiceID(serviceID string) *CustomServiceDeleteUsingDELETEParams
- func (o *CustomServiceDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *CustomServiceDeleteUsingDELETEParams
- func (o *CustomServiceDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomServiceDeleteUsingDELETEReader
- type CustomServiceGetUsingGETBadRequest
- type CustomServiceGetUsingGETNotFound
- type CustomServiceGetUsingGETOK
- type CustomServiceGetUsingGETParams
- func NewCustomServiceGetUsingGETParams() *CustomServiceGetUsingGETParams
- func NewCustomServiceGetUsingGETParamsWithContext(ctx context.Context) *CustomServiceGetUsingGETParams
- func NewCustomServiceGetUsingGETParamsWithHTTPClient(client *http.Client) *CustomServiceGetUsingGETParams
- func NewCustomServiceGetUsingGETParamsWithTimeout(timeout time.Duration) *CustomServiceGetUsingGETParams
- func (o *CustomServiceGetUsingGETParams) SetContext(ctx context.Context)
- func (o *CustomServiceGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *CustomServiceGetUsingGETParams) SetServiceID(serviceID string)
- func (o *CustomServiceGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *CustomServiceGetUsingGETParams) WithContext(ctx context.Context) *CustomServiceGetUsingGETParams
- func (o *CustomServiceGetUsingGETParams) WithHTTPClient(client *http.Client) *CustomServiceGetUsingGETParams
- func (o *CustomServiceGetUsingGETParams) WithServiceID(serviceID string) *CustomServiceGetUsingGETParams
- func (o *CustomServiceGetUsingGETParams) WithTimeout(timeout time.Duration) *CustomServiceGetUsingGETParams
- func (o *CustomServiceGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomServiceGetUsingGETReader
- type CustomServiceListUsingGETBadRequest
- type CustomServiceListUsingGETOK
- type CustomServiceListUsingGETParams
- func NewCustomServiceListUsingGETParams() *CustomServiceListUsingGETParams
- func NewCustomServiceListUsingGETParamsWithContext(ctx context.Context) *CustomServiceListUsingGETParams
- func NewCustomServiceListUsingGETParamsWithHTTPClient(client *http.Client) *CustomServiceListUsingGETParams
- func NewCustomServiceListUsingGETParamsWithTimeout(timeout time.Duration) *CustomServiceListUsingGETParams
- func (o *CustomServiceListUsingGETParams) SetContext(ctx context.Context)
- func (o *CustomServiceListUsingGETParams) SetDisplayName(displayName *string)
- func (o *CustomServiceListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *CustomServiceListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *CustomServiceListUsingGETParams) WithContext(ctx context.Context) *CustomServiceListUsingGETParams
- func (o *CustomServiceListUsingGETParams) WithDisplayName(displayName *string) *CustomServiceListUsingGETParams
- func (o *CustomServiceListUsingGETParams) WithHTTPClient(client *http.Client) *CustomServiceListUsingGETParams
- func (o *CustomServiceListUsingGETParams) WithTimeout(timeout time.Duration) *CustomServiceListUsingGETParams
- func (o *CustomServiceListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomServiceListUsingGETReader
- type CustomServiceUpdateUsingPUTBadRequest
- type CustomServiceUpdateUsingPUTCreated
- type CustomServiceUpdateUsingPUTOK
- type CustomServiceUpdateUsingPUTParams
- func NewCustomServiceUpdateUsingPUTParams() *CustomServiceUpdateUsingPUTParams
- func NewCustomServiceUpdateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceUpdateUsingPUTParams
- func NewCustomServiceUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *CustomServiceUpdateUsingPUTParams
- func NewCustomServiceUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *CustomServiceUpdateUsingPUTParams) SetCustomServiceInstance(customServiceInstance *models.CustomServiceInstance)
- func (o *CustomServiceUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *CustomServiceUpdateUsingPUTParams) SetServiceID(serviceID string)
- func (o *CustomServiceUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *CustomServiceUpdateUsingPUTParams) WithContext(ctx context.Context) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) WithCustomServiceInstance(customServiceInstance *models.CustomServiceInstance) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) WithServiceID(serviceID string) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *CustomServiceUpdateUsingPUTParams
- func (o *CustomServiceUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomServiceUpdateUsingPUTReader
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 custom services API
func (*Client) CustomServiceCreateUsingPUT ¶
func (a *Client) CustomServiceCreateUsingPUT(params *CustomServiceCreateUsingPUTParams) (*CustomServiceCreateUsingPUTOK, *CustomServiceCreateUsingPUTCreated, error)
CustomServiceCreateUsingPUT creates
Create custom service in NSX-T
func (*Client) CustomServiceDeleteUsingDELETE ¶
func (a *Client) CustomServiceDeleteUsingDELETE(params *CustomServiceDeleteUsingDELETEParams) (*CustomServiceDeleteUsingDELETEOK, *CustomServiceDeleteUsingDELETECreated, error)
CustomServiceDeleteUsingDELETE deletes
Delete custom service from NSX-T
func (*Client) CustomServiceGetUsingGET ¶
func (a *Client) CustomServiceGetUsingGET(params *CustomServiceGetUsingGETParams) (*CustomServiceGetUsingGETOK, error)
CustomServiceGetUsingGET gets
Get custom service from NSX-T
func (*Client) CustomServiceListUsingGET ¶
func (a *Client) CustomServiceListUsingGET(params *CustomServiceListUsingGETParams) (*CustomServiceListUsingGETOK, error)
CustomServiceListUsingGET lists
List custom services from NSX-T
func (*Client) CustomServiceUpdateUsingPUT ¶
func (a *Client) CustomServiceUpdateUsingPUT(params *CustomServiceUpdateUsingPUTParams) (*CustomServiceUpdateUsingPUTOK, *CustomServiceUpdateUsingPUTCreated, error)
CustomServiceUpdateUsingPUT updates
Update custom service from NSX-T
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CustomServiceCreateUsingPUT(params *CustomServiceCreateUsingPUTParams) (*CustomServiceCreateUsingPUTOK, *CustomServiceCreateUsingPUTCreated, error) CustomServiceDeleteUsingDELETE(params *CustomServiceDeleteUsingDELETEParams) (*CustomServiceDeleteUsingDELETEOK, *CustomServiceDeleteUsingDELETECreated, error) CustomServiceGetUsingGET(params *CustomServiceGetUsingGETParams) (*CustomServiceGetUsingGETOK, error) CustomServiceListUsingGET(params *CustomServiceListUsingGETParams) (*CustomServiceListUsingGETOK, error) CustomServiceUpdateUsingPUT(params *CustomServiceUpdateUsingPUTParams) (*CustomServiceUpdateUsingPUTOK, *CustomServiceUpdateUsingPUTCreated, 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 custom services API client.
type CustomServiceCreateUsingPUTBadRequest ¶
type CustomServiceCreateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
CustomServiceCreateUsingPUTBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewCustomServiceCreateUsingPUTBadRequest ¶
func NewCustomServiceCreateUsingPUTBadRequest() *CustomServiceCreateUsingPUTBadRequest
NewCustomServiceCreateUsingPUTBadRequest creates a CustomServiceCreateUsingPUTBadRequest with default headers values
func (*CustomServiceCreateUsingPUTBadRequest) Error ¶
func (o *CustomServiceCreateUsingPUTBadRequest) Error() string
func (*CustomServiceCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *CustomServiceCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type CustomServiceCreateUsingPUTCreated ¶
type CustomServiceCreateUsingPUTCreated struct {
Payload *models.CreateCustomServiceResponse
}
CustomServiceCreateUsingPUTCreated handles this case with default header values.
Entity has been created
func NewCustomServiceCreateUsingPUTCreated ¶
func NewCustomServiceCreateUsingPUTCreated() *CustomServiceCreateUsingPUTCreated
NewCustomServiceCreateUsingPUTCreated creates a CustomServiceCreateUsingPUTCreated with default headers values
func (*CustomServiceCreateUsingPUTCreated) Error ¶
func (o *CustomServiceCreateUsingPUTCreated) Error() string
func (*CustomServiceCreateUsingPUTCreated) GetPayload ¶
func (o *CustomServiceCreateUsingPUTCreated) GetPayload() *models.CreateCustomServiceResponse
type CustomServiceCreateUsingPUTOK ¶
type CustomServiceCreateUsingPUTOK struct {
Payload *models.CreateCustomServiceResponse
}
CustomServiceCreateUsingPUTOK handles this case with default header values.
OK
func NewCustomServiceCreateUsingPUTOK ¶
func NewCustomServiceCreateUsingPUTOK() *CustomServiceCreateUsingPUTOK
NewCustomServiceCreateUsingPUTOK creates a CustomServiceCreateUsingPUTOK with default headers values
func (*CustomServiceCreateUsingPUTOK) Error ¶
func (o *CustomServiceCreateUsingPUTOK) Error() string
func (*CustomServiceCreateUsingPUTOK) GetPayload ¶
func (o *CustomServiceCreateUsingPUTOK) GetPayload() *models.CreateCustomServiceResponse
type CustomServiceCreateUsingPUTParams ¶
type CustomServiceCreateUsingPUTParams struct { /*CustomServiceInstance customServiceInstance */ CustomServiceInstance *models.CustomServiceInstance Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomServiceCreateUsingPUTParams contains all the parameters to send to the API endpoint for the custom service create using p u t operation typically these are written to a http.Request
func NewCustomServiceCreateUsingPUTParams ¶
func NewCustomServiceCreateUsingPUTParams() *CustomServiceCreateUsingPUTParams
NewCustomServiceCreateUsingPUTParams creates a new CustomServiceCreateUsingPUTParams object with the default values initialized.
func NewCustomServiceCreateUsingPUTParamsWithContext ¶
func NewCustomServiceCreateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceCreateUsingPUTParams
NewCustomServiceCreateUsingPUTParamsWithContext creates a new CustomServiceCreateUsingPUTParams object with the default values initialized, and the ability to set a context for a request
func NewCustomServiceCreateUsingPUTParamsWithHTTPClient ¶
func NewCustomServiceCreateUsingPUTParamsWithHTTPClient(client *http.Client) *CustomServiceCreateUsingPUTParams
NewCustomServiceCreateUsingPUTParamsWithHTTPClient creates a new CustomServiceCreateUsingPUTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomServiceCreateUsingPUTParamsWithTimeout ¶
func NewCustomServiceCreateUsingPUTParamsWithTimeout(timeout time.Duration) *CustomServiceCreateUsingPUTParams
NewCustomServiceCreateUsingPUTParamsWithTimeout creates a new CustomServiceCreateUsingPUTParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomServiceCreateUsingPUTParams) SetContext ¶
func (o *CustomServiceCreateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) SetCustomServiceInstance ¶
func (o *CustomServiceCreateUsingPUTParams) SetCustomServiceInstance(customServiceInstance *models.CustomServiceInstance)
SetCustomServiceInstance adds the customServiceInstance to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) SetHTTPClient ¶
func (o *CustomServiceCreateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) SetTimeout ¶
func (o *CustomServiceCreateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) WithContext ¶
func (o *CustomServiceCreateUsingPUTParams) WithContext(ctx context.Context) *CustomServiceCreateUsingPUTParams
WithContext adds the context to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) WithCustomServiceInstance ¶
func (o *CustomServiceCreateUsingPUTParams) WithCustomServiceInstance(customServiceInstance *models.CustomServiceInstance) *CustomServiceCreateUsingPUTParams
WithCustomServiceInstance adds the customServiceInstance to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) WithHTTPClient ¶
func (o *CustomServiceCreateUsingPUTParams) WithHTTPClient(client *http.Client) *CustomServiceCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) WithTimeout ¶
func (o *CustomServiceCreateUsingPUTParams) WithTimeout(timeout time.Duration) *CustomServiceCreateUsingPUTParams
WithTimeout adds the timeout to the custom service create using p u t params
func (*CustomServiceCreateUsingPUTParams) WriteToRequest ¶
func (o *CustomServiceCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomServiceCreateUsingPUTReader ¶
type CustomServiceCreateUsingPUTReader struct {
// contains filtered or unexported fields
}
CustomServiceCreateUsingPUTReader is a Reader for the CustomServiceCreateUsingPUT structure.
func (*CustomServiceCreateUsingPUTReader) ReadResponse ¶
func (o *CustomServiceCreateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomServiceDeleteUsingDELETEBadRequest ¶
type CustomServiceDeleteUsingDELETEBadRequest struct {
Payload *models.ProxyResponseMessage
}
CustomServiceDeleteUsingDELETEBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewCustomServiceDeleteUsingDELETEBadRequest ¶
func NewCustomServiceDeleteUsingDELETEBadRequest() *CustomServiceDeleteUsingDELETEBadRequest
NewCustomServiceDeleteUsingDELETEBadRequest creates a CustomServiceDeleteUsingDELETEBadRequest with default headers values
func (*CustomServiceDeleteUsingDELETEBadRequest) Error ¶
func (o *CustomServiceDeleteUsingDELETEBadRequest) Error() string
func (*CustomServiceDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *CustomServiceDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
type CustomServiceDeleteUsingDELETECreated ¶
type CustomServiceDeleteUsingDELETECreated struct {
Payload *models.DeleteCustomServiceResponse
}
CustomServiceDeleteUsingDELETECreated handles this case with default header values.
Entity has been deleted
func NewCustomServiceDeleteUsingDELETECreated ¶
func NewCustomServiceDeleteUsingDELETECreated() *CustomServiceDeleteUsingDELETECreated
NewCustomServiceDeleteUsingDELETECreated creates a CustomServiceDeleteUsingDELETECreated with default headers values
func (*CustomServiceDeleteUsingDELETECreated) Error ¶
func (o *CustomServiceDeleteUsingDELETECreated) Error() string
func (*CustomServiceDeleteUsingDELETECreated) GetPayload ¶
func (o *CustomServiceDeleteUsingDELETECreated) GetPayload() *models.DeleteCustomServiceResponse
type CustomServiceDeleteUsingDELETEOK ¶
type CustomServiceDeleteUsingDELETEOK struct {
Payload *models.DeleteCustomServiceResponse
}
CustomServiceDeleteUsingDELETEOK handles this case with default header values.
OK
func NewCustomServiceDeleteUsingDELETEOK ¶
func NewCustomServiceDeleteUsingDELETEOK() *CustomServiceDeleteUsingDELETEOK
NewCustomServiceDeleteUsingDELETEOK creates a CustomServiceDeleteUsingDELETEOK with default headers values
func (*CustomServiceDeleteUsingDELETEOK) Error ¶
func (o *CustomServiceDeleteUsingDELETEOK) Error() string
func (*CustomServiceDeleteUsingDELETEOK) GetPayload ¶
func (o *CustomServiceDeleteUsingDELETEOK) GetPayload() *models.DeleteCustomServiceResponse
type CustomServiceDeleteUsingDELETEParams ¶
type CustomServiceDeleteUsingDELETEParams struct { /*ServiceID serviceId */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomServiceDeleteUsingDELETEParams contains all the parameters to send to the API endpoint for the custom service delete using d e l e t e operation typically these are written to a http.Request
func NewCustomServiceDeleteUsingDELETEParams ¶
func NewCustomServiceDeleteUsingDELETEParams() *CustomServiceDeleteUsingDELETEParams
NewCustomServiceDeleteUsingDELETEParams creates a new CustomServiceDeleteUsingDELETEParams object with the default values initialized.
func NewCustomServiceDeleteUsingDELETEParamsWithContext ¶
func NewCustomServiceDeleteUsingDELETEParamsWithContext(ctx context.Context) *CustomServiceDeleteUsingDELETEParams
NewCustomServiceDeleteUsingDELETEParamsWithContext creates a new CustomServiceDeleteUsingDELETEParams object with the default values initialized, and the ability to set a context for a request
func NewCustomServiceDeleteUsingDELETEParamsWithHTTPClient ¶
func NewCustomServiceDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *CustomServiceDeleteUsingDELETEParams
NewCustomServiceDeleteUsingDELETEParamsWithHTTPClient creates a new CustomServiceDeleteUsingDELETEParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomServiceDeleteUsingDELETEParamsWithTimeout ¶
func NewCustomServiceDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *CustomServiceDeleteUsingDELETEParams
NewCustomServiceDeleteUsingDELETEParamsWithTimeout creates a new CustomServiceDeleteUsingDELETEParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomServiceDeleteUsingDELETEParams) SetContext ¶
func (o *CustomServiceDeleteUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) SetHTTPClient ¶
func (o *CustomServiceDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) SetServiceID ¶
func (o *CustomServiceDeleteUsingDELETEParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) SetTimeout ¶
func (o *CustomServiceDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) WithContext ¶
func (o *CustomServiceDeleteUsingDELETEParams) WithContext(ctx context.Context) *CustomServiceDeleteUsingDELETEParams
WithContext adds the context to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) WithHTTPClient ¶
func (o *CustomServiceDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *CustomServiceDeleteUsingDELETEParams
WithHTTPClient adds the HTTPClient to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) WithServiceID ¶
func (o *CustomServiceDeleteUsingDELETEParams) WithServiceID(serviceID string) *CustomServiceDeleteUsingDELETEParams
WithServiceID adds the serviceID to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) WithTimeout ¶
func (o *CustomServiceDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *CustomServiceDeleteUsingDELETEParams
WithTimeout adds the timeout to the custom service delete using d e l e t e params
func (*CustomServiceDeleteUsingDELETEParams) WriteToRequest ¶
func (o *CustomServiceDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomServiceDeleteUsingDELETEReader ¶
type CustomServiceDeleteUsingDELETEReader struct {
// contains filtered or unexported fields
}
CustomServiceDeleteUsingDELETEReader is a Reader for the CustomServiceDeleteUsingDELETE structure.
func (*CustomServiceDeleteUsingDELETEReader) ReadResponse ¶
func (o *CustomServiceDeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomServiceGetUsingGETBadRequest ¶
type CustomServiceGetUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
CustomServiceGetUsingGETBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewCustomServiceGetUsingGETBadRequest ¶
func NewCustomServiceGetUsingGETBadRequest() *CustomServiceGetUsingGETBadRequest
NewCustomServiceGetUsingGETBadRequest creates a CustomServiceGetUsingGETBadRequest with default headers values
func (*CustomServiceGetUsingGETBadRequest) Error ¶
func (o *CustomServiceGetUsingGETBadRequest) Error() string
func (*CustomServiceGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *CustomServiceGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type CustomServiceGetUsingGETNotFound ¶
type CustomServiceGetUsingGETNotFound struct { }
CustomServiceGetUsingGETNotFound handles this case with default header values.
Entity not found.
func NewCustomServiceGetUsingGETNotFound ¶
func NewCustomServiceGetUsingGETNotFound() *CustomServiceGetUsingGETNotFound
NewCustomServiceGetUsingGETNotFound creates a CustomServiceGetUsingGETNotFound with default headers values
func (*CustomServiceGetUsingGETNotFound) Error ¶
func (o *CustomServiceGetUsingGETNotFound) Error() string
type CustomServiceGetUsingGETOK ¶
type CustomServiceGetUsingGETOK struct {
Payload *models.CustomServiceGetResponse
}
CustomServiceGetUsingGETOK handles this case with default header values.
OK
func NewCustomServiceGetUsingGETOK ¶
func NewCustomServiceGetUsingGETOK() *CustomServiceGetUsingGETOK
NewCustomServiceGetUsingGETOK creates a CustomServiceGetUsingGETOK with default headers values
func (*CustomServiceGetUsingGETOK) Error ¶
func (o *CustomServiceGetUsingGETOK) Error() string
func (*CustomServiceGetUsingGETOK) GetPayload ¶
func (o *CustomServiceGetUsingGETOK) GetPayload() *models.CustomServiceGetResponse
type CustomServiceGetUsingGETParams ¶
type CustomServiceGetUsingGETParams struct { /*ServiceID serviceId */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomServiceGetUsingGETParams contains all the parameters to send to the API endpoint for the custom service get using g e t operation typically these are written to a http.Request
func NewCustomServiceGetUsingGETParams ¶
func NewCustomServiceGetUsingGETParams() *CustomServiceGetUsingGETParams
NewCustomServiceGetUsingGETParams creates a new CustomServiceGetUsingGETParams object with the default values initialized.
func NewCustomServiceGetUsingGETParamsWithContext ¶
func NewCustomServiceGetUsingGETParamsWithContext(ctx context.Context) *CustomServiceGetUsingGETParams
NewCustomServiceGetUsingGETParamsWithContext creates a new CustomServiceGetUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewCustomServiceGetUsingGETParamsWithHTTPClient ¶
func NewCustomServiceGetUsingGETParamsWithHTTPClient(client *http.Client) *CustomServiceGetUsingGETParams
NewCustomServiceGetUsingGETParamsWithHTTPClient creates a new CustomServiceGetUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomServiceGetUsingGETParamsWithTimeout ¶
func NewCustomServiceGetUsingGETParamsWithTimeout(timeout time.Duration) *CustomServiceGetUsingGETParams
NewCustomServiceGetUsingGETParamsWithTimeout creates a new CustomServiceGetUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomServiceGetUsingGETParams) SetContext ¶
func (o *CustomServiceGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) SetHTTPClient ¶
func (o *CustomServiceGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) SetServiceID ¶
func (o *CustomServiceGetUsingGETParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) SetTimeout ¶
func (o *CustomServiceGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) WithContext ¶
func (o *CustomServiceGetUsingGETParams) WithContext(ctx context.Context) *CustomServiceGetUsingGETParams
WithContext adds the context to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) WithHTTPClient ¶
func (o *CustomServiceGetUsingGETParams) WithHTTPClient(client *http.Client) *CustomServiceGetUsingGETParams
WithHTTPClient adds the HTTPClient to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) WithServiceID ¶
func (o *CustomServiceGetUsingGETParams) WithServiceID(serviceID string) *CustomServiceGetUsingGETParams
WithServiceID adds the serviceID to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) WithTimeout ¶
func (o *CustomServiceGetUsingGETParams) WithTimeout(timeout time.Duration) *CustomServiceGetUsingGETParams
WithTimeout adds the timeout to the custom service get using g e t params
func (*CustomServiceGetUsingGETParams) WriteToRequest ¶
func (o *CustomServiceGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomServiceGetUsingGETReader ¶
type CustomServiceGetUsingGETReader struct {
// contains filtered or unexported fields
}
CustomServiceGetUsingGETReader is a Reader for the CustomServiceGetUsingGET structure.
func (*CustomServiceGetUsingGETReader) ReadResponse ¶
func (o *CustomServiceGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomServiceListUsingGETBadRequest ¶
type CustomServiceListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
CustomServiceListUsingGETBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewCustomServiceListUsingGETBadRequest ¶
func NewCustomServiceListUsingGETBadRequest() *CustomServiceListUsingGETBadRequest
NewCustomServiceListUsingGETBadRequest creates a CustomServiceListUsingGETBadRequest with default headers values
func (*CustomServiceListUsingGETBadRequest) Error ¶
func (o *CustomServiceListUsingGETBadRequest) Error() string
func (*CustomServiceListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *CustomServiceListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type CustomServiceListUsingGETOK ¶
type CustomServiceListUsingGETOK struct {
Payload *models.CustomServiceListResponse
}
CustomServiceListUsingGETOK handles this case with default header values.
OK
func NewCustomServiceListUsingGETOK ¶
func NewCustomServiceListUsingGETOK() *CustomServiceListUsingGETOK
NewCustomServiceListUsingGETOK creates a CustomServiceListUsingGETOK with default headers values
func (*CustomServiceListUsingGETOK) Error ¶
func (o *CustomServiceListUsingGETOK) Error() string
func (*CustomServiceListUsingGETOK) GetPayload ¶
func (o *CustomServiceListUsingGETOK) GetPayload() *models.CustomServiceListResponse
type CustomServiceListUsingGETParams ¶
type CustomServiceListUsingGETParams struct { /*DisplayName displayName */ DisplayName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomServiceListUsingGETParams contains all the parameters to send to the API endpoint for the custom service list using g e t operation typically these are written to a http.Request
func NewCustomServiceListUsingGETParams ¶
func NewCustomServiceListUsingGETParams() *CustomServiceListUsingGETParams
NewCustomServiceListUsingGETParams creates a new CustomServiceListUsingGETParams object with the default values initialized.
func NewCustomServiceListUsingGETParamsWithContext ¶
func NewCustomServiceListUsingGETParamsWithContext(ctx context.Context) *CustomServiceListUsingGETParams
NewCustomServiceListUsingGETParamsWithContext creates a new CustomServiceListUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewCustomServiceListUsingGETParamsWithHTTPClient ¶
func NewCustomServiceListUsingGETParamsWithHTTPClient(client *http.Client) *CustomServiceListUsingGETParams
NewCustomServiceListUsingGETParamsWithHTTPClient creates a new CustomServiceListUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomServiceListUsingGETParamsWithTimeout ¶
func NewCustomServiceListUsingGETParamsWithTimeout(timeout time.Duration) *CustomServiceListUsingGETParams
NewCustomServiceListUsingGETParamsWithTimeout creates a new CustomServiceListUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomServiceListUsingGETParams) SetContext ¶
func (o *CustomServiceListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) SetDisplayName ¶
func (o *CustomServiceListUsingGETParams) SetDisplayName(displayName *string)
SetDisplayName adds the displayName to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) SetHTTPClient ¶
func (o *CustomServiceListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) SetTimeout ¶
func (o *CustomServiceListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) WithContext ¶
func (o *CustomServiceListUsingGETParams) WithContext(ctx context.Context) *CustomServiceListUsingGETParams
WithContext adds the context to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) WithDisplayName ¶
func (o *CustomServiceListUsingGETParams) WithDisplayName(displayName *string) *CustomServiceListUsingGETParams
WithDisplayName adds the displayName to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) WithHTTPClient ¶
func (o *CustomServiceListUsingGETParams) WithHTTPClient(client *http.Client) *CustomServiceListUsingGETParams
WithHTTPClient adds the HTTPClient to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) WithTimeout ¶
func (o *CustomServiceListUsingGETParams) WithTimeout(timeout time.Duration) *CustomServiceListUsingGETParams
WithTimeout adds the timeout to the custom service list using g e t params
func (*CustomServiceListUsingGETParams) WriteToRequest ¶
func (o *CustomServiceListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomServiceListUsingGETReader ¶
type CustomServiceListUsingGETReader struct {
// contains filtered or unexported fields
}
CustomServiceListUsingGETReader is a Reader for the CustomServiceListUsingGET structure.
func (*CustomServiceListUsingGETReader) ReadResponse ¶
func (o *CustomServiceListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomServiceUpdateUsingPUTBadRequest ¶
type CustomServiceUpdateUsingPUTBadRequest struct {
Payload *models.ProxyResponseMessage
}
CustomServiceUpdateUsingPUTBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewCustomServiceUpdateUsingPUTBadRequest ¶
func NewCustomServiceUpdateUsingPUTBadRequest() *CustomServiceUpdateUsingPUTBadRequest
NewCustomServiceUpdateUsingPUTBadRequest creates a CustomServiceUpdateUsingPUTBadRequest with default headers values
func (*CustomServiceUpdateUsingPUTBadRequest) Error ¶
func (o *CustomServiceUpdateUsingPUTBadRequest) Error() string
func (*CustomServiceUpdateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *CustomServiceUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type CustomServiceUpdateUsingPUTCreated ¶
type CustomServiceUpdateUsingPUTCreated struct {
Payload *models.UpdateCustomServiceResponse
}
CustomServiceUpdateUsingPUTCreated handles this case with default header values.
Entity has been updated
func NewCustomServiceUpdateUsingPUTCreated ¶
func NewCustomServiceUpdateUsingPUTCreated() *CustomServiceUpdateUsingPUTCreated
NewCustomServiceUpdateUsingPUTCreated creates a CustomServiceUpdateUsingPUTCreated with default headers values
func (*CustomServiceUpdateUsingPUTCreated) Error ¶
func (o *CustomServiceUpdateUsingPUTCreated) Error() string
func (*CustomServiceUpdateUsingPUTCreated) GetPayload ¶
func (o *CustomServiceUpdateUsingPUTCreated) GetPayload() *models.UpdateCustomServiceResponse
type CustomServiceUpdateUsingPUTOK ¶
type CustomServiceUpdateUsingPUTOK struct {
Payload *models.UpdateCustomServiceResponse
}
CustomServiceUpdateUsingPUTOK handles this case with default header values.
OK
func NewCustomServiceUpdateUsingPUTOK ¶
func NewCustomServiceUpdateUsingPUTOK() *CustomServiceUpdateUsingPUTOK
NewCustomServiceUpdateUsingPUTOK creates a CustomServiceUpdateUsingPUTOK with default headers values
func (*CustomServiceUpdateUsingPUTOK) Error ¶
func (o *CustomServiceUpdateUsingPUTOK) Error() string
func (*CustomServiceUpdateUsingPUTOK) GetPayload ¶
func (o *CustomServiceUpdateUsingPUTOK) GetPayload() *models.UpdateCustomServiceResponse
type CustomServiceUpdateUsingPUTParams ¶
type CustomServiceUpdateUsingPUTParams struct { /*CustomServiceInstance customServiceInstance */ CustomServiceInstance *models.CustomServiceInstance /*ServiceID serviceId */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomServiceUpdateUsingPUTParams contains all the parameters to send to the API endpoint for the custom service update using p u t operation typically these are written to a http.Request
func NewCustomServiceUpdateUsingPUTParams ¶
func NewCustomServiceUpdateUsingPUTParams() *CustomServiceUpdateUsingPUTParams
NewCustomServiceUpdateUsingPUTParams creates a new CustomServiceUpdateUsingPUTParams object with the default values initialized.
func NewCustomServiceUpdateUsingPUTParamsWithContext ¶
func NewCustomServiceUpdateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceUpdateUsingPUTParams
NewCustomServiceUpdateUsingPUTParamsWithContext creates a new CustomServiceUpdateUsingPUTParams object with the default values initialized, and the ability to set a context for a request
func NewCustomServiceUpdateUsingPUTParamsWithHTTPClient ¶
func NewCustomServiceUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *CustomServiceUpdateUsingPUTParams
NewCustomServiceUpdateUsingPUTParamsWithHTTPClient creates a new CustomServiceUpdateUsingPUTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomServiceUpdateUsingPUTParamsWithTimeout ¶
func NewCustomServiceUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *CustomServiceUpdateUsingPUTParams
NewCustomServiceUpdateUsingPUTParamsWithTimeout creates a new CustomServiceUpdateUsingPUTParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomServiceUpdateUsingPUTParams) SetContext ¶
func (o *CustomServiceUpdateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) SetCustomServiceInstance ¶
func (o *CustomServiceUpdateUsingPUTParams) SetCustomServiceInstance(customServiceInstance *models.CustomServiceInstance)
SetCustomServiceInstance adds the customServiceInstance to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) SetHTTPClient ¶
func (o *CustomServiceUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) SetServiceID ¶
func (o *CustomServiceUpdateUsingPUTParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) SetTimeout ¶
func (o *CustomServiceUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WithContext ¶
func (o *CustomServiceUpdateUsingPUTParams) WithContext(ctx context.Context) *CustomServiceUpdateUsingPUTParams
WithContext adds the context to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WithCustomServiceInstance ¶
func (o *CustomServiceUpdateUsingPUTParams) WithCustomServiceInstance(customServiceInstance *models.CustomServiceInstance) *CustomServiceUpdateUsingPUTParams
WithCustomServiceInstance adds the customServiceInstance to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WithHTTPClient ¶
func (o *CustomServiceUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *CustomServiceUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WithServiceID ¶
func (o *CustomServiceUpdateUsingPUTParams) WithServiceID(serviceID string) *CustomServiceUpdateUsingPUTParams
WithServiceID adds the serviceID to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WithTimeout ¶
func (o *CustomServiceUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *CustomServiceUpdateUsingPUTParams
WithTimeout adds the timeout to the custom service update using p u t params
func (*CustomServiceUpdateUsingPUTParams) WriteToRequest ¶
func (o *CustomServiceUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomServiceUpdateUsingPUTReader ¶
type CustomServiceUpdateUsingPUTReader struct {
// contains filtered or unexported fields
}
CustomServiceUpdateUsingPUTReader is a Reader for the CustomServiceUpdateUsingPUT structure.
func (*CustomServiceUpdateUsingPUTReader) ReadResponse ¶
func (o *CustomServiceUpdateUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- custom_service_create_using_p_u_t_parameters.go
- custom_service_create_using_p_u_t_responses.go
- custom_service_delete_using_d_e_l_e_t_e_parameters.go
- custom_service_delete_using_d_e_l_e_t_e_responses.go
- custom_service_get_using_g_e_t_parameters.go
- custom_service_get_using_g_e_t_responses.go
- custom_service_list_using_g_e_t_parameters.go
- custom_service_list_using_g_e_t_responses.go
- custom_service_update_using_p_u_t_parameters.go
- custom_service_update_using_p_u_t_responses.go
- custom_services_client.go