custom_services

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for custom services API

func (*Client) CustomServiceCreateUsingPUT

CustomServiceCreateUsingPUT creates

Create custom service in NSX-T

func (*Client) CustomServiceDeleteUsingDELETE

CustomServiceDeleteUsingDELETE deletes

Delete custom service from NSX-T

func (*Client) CustomServiceGetUsingGET

func (a *Client) CustomServiceGetUsingGET(params *CustomServiceGetUsingGETParams, opts ...ClientOption) (*CustomServiceGetUsingGETOK, error)

CustomServiceGetUsingGET gets

Get custom service from NSX-T

func (*Client) CustomServiceListUsingGET

func (a *Client) CustomServiceListUsingGET(params *CustomServiceListUsingGETParams, opts ...ClientOption) (*CustomServiceListUsingGETOK, error)

CustomServiceListUsingGET lists

List custom services from NSX-T

func (*Client) CustomServiceUpdateUsingPUT

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 ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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 describes a response with status code 400, 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 (*CustomServiceCreateUsingPUTBadRequest) GetPayload added in v1.2.0

type CustomServiceCreateUsingPUTCreated

type CustomServiceCreateUsingPUTCreated struct {
	Payload *models.CreateCustomServiceResponse
}
CustomServiceCreateUsingPUTCreated describes a response with status code 201, 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 (*CustomServiceCreateUsingPUTCreated) GetPayload

type CustomServiceCreateUsingPUTOK

type CustomServiceCreateUsingPUTOK struct {
	Payload *models.CreateCustomServiceResponse
}
CustomServiceCreateUsingPUTOK describes a response with status code 200, with default header values.

OK

func NewCustomServiceCreateUsingPUTOK

func NewCustomServiceCreateUsingPUTOK() *CustomServiceCreateUsingPUTOK

NewCustomServiceCreateUsingPUTOK creates a CustomServiceCreateUsingPUTOK with default headers values

func (*CustomServiceCreateUsingPUTOK) Error

func (*CustomServiceCreateUsingPUTOK) GetPayload

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 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 NewCustomServiceCreateUsingPUTParamsWithContext

func NewCustomServiceCreateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceCreateUsingPUTParams

NewCustomServiceCreateUsingPUTParamsWithContext creates a new CustomServiceCreateUsingPUTParams object with 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 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 ability to set a timeout on a request.

func (*CustomServiceCreateUsingPUTParams) SetContext

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) SetDefaults added in v1.2.4

func (o *CustomServiceCreateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the custom service create using p u t params (not the query body).

All values with no default are reset to their zero value.

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

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) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the custom service create using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*CustomServiceCreateUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom service create using p u t params

func (*CustomServiceCreateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the custom service create using p u t params

func (*CustomServiceCreateUsingPUTParams) WriteToRequest

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 describes a response with status code 400, 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 (*CustomServiceDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

type CustomServiceDeleteUsingDELETECreated

type CustomServiceDeleteUsingDELETECreated struct {
	Payload *models.DeleteCustomServiceResponse
}
CustomServiceDeleteUsingDELETECreated describes a response with status code 201, 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 (*CustomServiceDeleteUsingDELETECreated) GetPayload

type CustomServiceDeleteUsingDELETEOK

type CustomServiceDeleteUsingDELETEOK struct {
	Payload *models.DeleteCustomServiceResponse
}
CustomServiceDeleteUsingDELETEOK describes a response with status code 200, with default header values.

OK

func NewCustomServiceDeleteUsingDELETEOK

func NewCustomServiceDeleteUsingDELETEOK() *CustomServiceDeleteUsingDELETEOK

NewCustomServiceDeleteUsingDELETEOK creates a CustomServiceDeleteUsingDELETEOK with default headers values

func (*CustomServiceDeleteUsingDELETEOK) Error

func (*CustomServiceDeleteUsingDELETEOK) GetPayload

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 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 NewCustomServiceDeleteUsingDELETEParamsWithContext

func NewCustomServiceDeleteUsingDELETEParamsWithContext(ctx context.Context) *CustomServiceDeleteUsingDELETEParams

NewCustomServiceDeleteUsingDELETEParamsWithContext creates a new CustomServiceDeleteUsingDELETEParams object with 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 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 ability to set a timeout on a request.

func (*CustomServiceDeleteUsingDELETEParams) SetContext

SetContext adds the context to the custom service delete using d e l e t e params

func (*CustomServiceDeleteUsingDELETEParams) SetDefaults added in v1.2.4

func (o *CustomServiceDeleteUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the custom service delete using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the custom service delete using d e l e t e params

func (*CustomServiceDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the custom service delete using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*CustomServiceDeleteUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom service delete using d e l e t e params

func (*CustomServiceDeleteUsingDELETEParams) WithServiceID

WithServiceID adds the serviceID to the custom service delete using d e l e t e params

func (*CustomServiceDeleteUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the custom service delete using d e l e t e params

func (*CustomServiceDeleteUsingDELETEParams) WriteToRequest

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 describes a response with status code 400, 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 (*CustomServiceGetUsingGETBadRequest) GetPayload added in v1.2.0

type CustomServiceGetUsingGETNotFound

type CustomServiceGetUsingGETNotFound struct {
}
CustomServiceGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewCustomServiceGetUsingGETNotFound

func NewCustomServiceGetUsingGETNotFound() *CustomServiceGetUsingGETNotFound

NewCustomServiceGetUsingGETNotFound creates a CustomServiceGetUsingGETNotFound with default headers values

func (*CustomServiceGetUsingGETNotFound) Error

type CustomServiceGetUsingGETOK

type CustomServiceGetUsingGETOK struct {
	Payload *models.CustomServiceGetResponse
}
CustomServiceGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewCustomServiceGetUsingGETOK

func NewCustomServiceGetUsingGETOK() *CustomServiceGetUsingGETOK

NewCustomServiceGetUsingGETOK creates a CustomServiceGetUsingGETOK with default headers values

func (*CustomServiceGetUsingGETOK) Error

func (*CustomServiceGetUsingGETOK) GetPayload

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 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 NewCustomServiceGetUsingGETParamsWithContext

func NewCustomServiceGetUsingGETParamsWithContext(ctx context.Context) *CustomServiceGetUsingGETParams

NewCustomServiceGetUsingGETParamsWithContext creates a new CustomServiceGetUsingGETParams object with 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 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 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) SetDefaults added in v1.2.4

func (o *CustomServiceGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the custom service get using g e t params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the custom service get using g e t params

func (*CustomServiceGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the custom service get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*CustomServiceGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom service get using g e t params

func (*CustomServiceGetUsingGETParams) WithServiceID

WithServiceID adds the serviceID to the custom service get using g e t params

func (*CustomServiceGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the custom service get using g e t params

func (*CustomServiceGetUsingGETParams) WriteToRequest

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 describes a response with status code 400, 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 (*CustomServiceListUsingGETBadRequest) GetPayload added in v1.2.0

type CustomServiceListUsingGETOK

type CustomServiceListUsingGETOK struct {
	Payload *models.CustomServiceListResponse
}
CustomServiceListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewCustomServiceListUsingGETOK

func NewCustomServiceListUsingGETOK() *CustomServiceListUsingGETOK

NewCustomServiceListUsingGETOK creates a CustomServiceListUsingGETOK with default headers values

func (*CustomServiceListUsingGETOK) Error

func (*CustomServiceListUsingGETOK) GetPayload

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 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 NewCustomServiceListUsingGETParamsWithContext

func NewCustomServiceListUsingGETParamsWithContext(ctx context.Context) *CustomServiceListUsingGETParams

NewCustomServiceListUsingGETParamsWithContext creates a new CustomServiceListUsingGETParams object with 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 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 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) SetDefaults added in v1.2.4

func (o *CustomServiceListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the custom service list using g e t params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the custom service list using g e t params

func (*CustomServiceListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the custom service list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*CustomServiceListUsingGETParams) WithDisplayName

WithDisplayName adds the displayName to the custom service list using g e t params

func (*CustomServiceListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom service list using g e t params

func (*CustomServiceListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the custom service list using g e t params

func (*CustomServiceListUsingGETParams) WriteToRequest

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 describes a response with status code 400, 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 (*CustomServiceUpdateUsingPUTBadRequest) GetPayload added in v1.2.0

type CustomServiceUpdateUsingPUTCreated

type CustomServiceUpdateUsingPUTCreated struct {
	Payload *models.UpdateCustomServiceResponse
}
CustomServiceUpdateUsingPUTCreated describes a response with status code 201, 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 (*CustomServiceUpdateUsingPUTCreated) GetPayload

type CustomServiceUpdateUsingPUTOK

type CustomServiceUpdateUsingPUTOK struct {
	Payload *models.UpdateCustomServiceResponse
}
CustomServiceUpdateUsingPUTOK describes a response with status code 200, with default header values.

OK

func NewCustomServiceUpdateUsingPUTOK

func NewCustomServiceUpdateUsingPUTOK() *CustomServiceUpdateUsingPUTOK

NewCustomServiceUpdateUsingPUTOK creates a CustomServiceUpdateUsingPUTOK with default headers values

func (*CustomServiceUpdateUsingPUTOK) Error

func (*CustomServiceUpdateUsingPUTOK) GetPayload

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 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 NewCustomServiceUpdateUsingPUTParamsWithContext

func NewCustomServiceUpdateUsingPUTParamsWithContext(ctx context.Context) *CustomServiceUpdateUsingPUTParams

NewCustomServiceUpdateUsingPUTParamsWithContext creates a new CustomServiceUpdateUsingPUTParams object with 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 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 ability to set a timeout on a request.

func (*CustomServiceUpdateUsingPUTParams) SetContext

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) SetDefaults added in v1.2.4

func (o *CustomServiceUpdateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the custom service update using p u t params (not the query body).

All values with no default are reset to their zero value.

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

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) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the custom service update using p u t params (not the query body).

All values with no default are reset to their zero value.

func (*CustomServiceUpdateUsingPUTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom service update using p u t params

func (*CustomServiceUpdateUsingPUTParams) WithServiceID

WithServiceID adds the serviceID to the custom service update using p u t params

func (*CustomServiceUpdateUsingPUTParams) WithTimeout

WithTimeout adds the timeout to the custom service update using p u t params

func (*CustomServiceUpdateUsingPUTParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL