Documentation
¶
Index ¶
- type Client
- func (a *Client) ServiceLinkResourcePostPost(params *ServiceLinkResourcePostPostParams, ...) (*ServiceLinkResourcePostPostOK, error)
- func (a *Client) ServiceResourceGetGet(params *ServiceResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceResourceGetGetOK, error)
- func (a *Client) ServiceSyncResourcePostPost(params *ServiceSyncResourcePostPostParams, ...) (*ServiceSyncResourcePostPostNoContent, error)
- func (a *Client) ServiceUnlinkResourcePostPost(params *ServiceUnlinkResourcePostPostParams, ...) (*ServiceUnlinkResourcePostPostNoContent, error)
- func (a *Client) ServicesResourceGetGet(params *ServicesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServicesResourceGetGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ServiceLinkResourcePostPostBadRequest
- func (o *ServiceLinkResourcePostPostBadRequest) Code() int
- func (o *ServiceLinkResourcePostPostBadRequest) Error() string
- func (o *ServiceLinkResourcePostPostBadRequest) IsClientError() bool
- func (o *ServiceLinkResourcePostPostBadRequest) IsCode(code int) bool
- func (o *ServiceLinkResourcePostPostBadRequest) IsRedirect() bool
- func (o *ServiceLinkResourcePostPostBadRequest) IsServerError() bool
- func (o *ServiceLinkResourcePostPostBadRequest) IsSuccess() bool
- func (o *ServiceLinkResourcePostPostBadRequest) String() string
- type ServiceLinkResourcePostPostOK
- func (o *ServiceLinkResourcePostPostOK) Code() int
- func (o *ServiceLinkResourcePostPostOK) Error() string
- func (o *ServiceLinkResourcePostPostOK) GetPayload() string
- func (o *ServiceLinkResourcePostPostOK) IsClientError() bool
- func (o *ServiceLinkResourcePostPostOK) IsCode(code int) bool
- func (o *ServiceLinkResourcePostPostOK) IsRedirect() bool
- func (o *ServiceLinkResourcePostPostOK) IsServerError() bool
- func (o *ServiceLinkResourcePostPostOK) IsSuccess() bool
- func (o *ServiceLinkResourcePostPostOK) String() string
- type ServiceLinkResourcePostPostParams
- func NewServiceLinkResourcePostPostParams() *ServiceLinkResourcePostPostParams
- func NewServiceLinkResourcePostPostParamsWithContext(ctx context.Context) *ServiceLinkResourcePostPostParams
- func NewServiceLinkResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceLinkResourcePostPostParams
- func NewServiceLinkResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) SetContext(ctx context.Context)
- func (o *ServiceLinkResourcePostPostParams) SetDefaults()
- func (o *ServiceLinkResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceLinkResourcePostPostParams) SetServiceID(serviceID string)
- func (o *ServiceLinkResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceLinkResourcePostPostParams) WithContext(ctx context.Context) *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) WithDefaults() *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) WithServiceID(serviceID string) *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceLinkResourcePostPostParams
- func (o *ServiceLinkResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceLinkResourcePostPostReader
- type ServiceLinkResourcePostPostUnauthorized
- func (o *ServiceLinkResourcePostPostUnauthorized) Code() int
- func (o *ServiceLinkResourcePostPostUnauthorized) Error() string
- func (o *ServiceLinkResourcePostPostUnauthorized) IsClientError() bool
- func (o *ServiceLinkResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *ServiceLinkResourcePostPostUnauthorized) IsRedirect() bool
- func (o *ServiceLinkResourcePostPostUnauthorized) IsServerError() bool
- func (o *ServiceLinkResourcePostPostUnauthorized) IsSuccess() bool
- func (o *ServiceLinkResourcePostPostUnauthorized) String() string
- type ServiceResourceGetGetOK
- func (o *ServiceResourceGetGetOK) Code() int
- func (o *ServiceResourceGetGetOK) Error() string
- func (o *ServiceResourceGetGetOK) GetPayload() *models.Service
- func (o *ServiceResourceGetGetOK) IsClientError() bool
- func (o *ServiceResourceGetGetOK) IsCode(code int) bool
- func (o *ServiceResourceGetGetOK) IsRedirect() bool
- func (o *ServiceResourceGetGetOK) IsServerError() bool
- func (o *ServiceResourceGetGetOK) IsSuccess() bool
- func (o *ServiceResourceGetGetOK) String() string
- type ServiceResourceGetGetParams
- func NewServiceResourceGetGetParams() *ServiceResourceGetGetParams
- func NewServiceResourceGetGetParamsWithContext(ctx context.Context) *ServiceResourceGetGetParams
- func NewServiceResourceGetGetParamsWithHTTPClient(client *http.Client) *ServiceResourceGetGetParams
- func NewServiceResourceGetGetParamsWithTimeout(timeout time.Duration) *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) SetContext(ctx context.Context)
- func (o *ServiceResourceGetGetParams) SetDefaults()
- func (o *ServiceResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceResourceGetGetParams) SetServiceID(serviceID string)
- func (o *ServiceResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceResourceGetGetParams) WithContext(ctx context.Context) *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) WithDefaults() *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) WithHTTPClient(client *http.Client) *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) WithServiceID(serviceID string) *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) WithTimeout(timeout time.Duration) *ServiceResourceGetGetParams
- func (o *ServiceResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceResourceGetGetReader
- type ServiceResourceGetGetUnauthorized
- func (o *ServiceResourceGetGetUnauthorized) Code() int
- func (o *ServiceResourceGetGetUnauthorized) Error() string
- func (o *ServiceResourceGetGetUnauthorized) IsClientError() bool
- func (o *ServiceResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *ServiceResourceGetGetUnauthorized) IsRedirect() bool
- func (o *ServiceResourceGetGetUnauthorized) IsServerError() bool
- func (o *ServiceResourceGetGetUnauthorized) IsSuccess() bool
- func (o *ServiceResourceGetGetUnauthorized) String() string
- type ServiceSyncResourcePostPostBadRequest
- func (o *ServiceSyncResourcePostPostBadRequest) Code() int
- func (o *ServiceSyncResourcePostPostBadRequest) Error() string
- func (o *ServiceSyncResourcePostPostBadRequest) IsClientError() bool
- func (o *ServiceSyncResourcePostPostBadRequest) IsCode(code int) bool
- func (o *ServiceSyncResourcePostPostBadRequest) IsRedirect() bool
- func (o *ServiceSyncResourcePostPostBadRequest) IsServerError() bool
- func (o *ServiceSyncResourcePostPostBadRequest) IsSuccess() bool
- func (o *ServiceSyncResourcePostPostBadRequest) String() string
- type ServiceSyncResourcePostPostNoContent
- func (o *ServiceSyncResourcePostPostNoContent) Code() int
- func (o *ServiceSyncResourcePostPostNoContent) Error() string
- func (o *ServiceSyncResourcePostPostNoContent) IsClientError() bool
- func (o *ServiceSyncResourcePostPostNoContent) IsCode(code int) bool
- func (o *ServiceSyncResourcePostPostNoContent) IsRedirect() bool
- func (o *ServiceSyncResourcePostPostNoContent) IsServerError() bool
- func (o *ServiceSyncResourcePostPostNoContent) IsSuccess() bool
- func (o *ServiceSyncResourcePostPostNoContent) String() string
- type ServiceSyncResourcePostPostParams
- func NewServiceSyncResourcePostPostParams() *ServiceSyncResourcePostPostParams
- func NewServiceSyncResourcePostPostParamsWithContext(ctx context.Context) *ServiceSyncResourcePostPostParams
- func NewServiceSyncResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceSyncResourcePostPostParams
- func NewServiceSyncResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) SetContext(ctx context.Context)
- func (o *ServiceSyncResourcePostPostParams) SetDefaults()
- func (o *ServiceSyncResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceSyncResourcePostPostParams) SetServiceID(serviceID string)
- func (o *ServiceSyncResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceSyncResourcePostPostParams) WithContext(ctx context.Context) *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) WithDefaults() *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) WithServiceID(serviceID string) *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceSyncResourcePostPostParams
- func (o *ServiceSyncResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceSyncResourcePostPostReader
- type ServiceSyncResourcePostPostUnauthorized
- func (o *ServiceSyncResourcePostPostUnauthorized) Code() int
- func (o *ServiceSyncResourcePostPostUnauthorized) Error() string
- func (o *ServiceSyncResourcePostPostUnauthorized) IsClientError() bool
- func (o *ServiceSyncResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *ServiceSyncResourcePostPostUnauthorized) IsRedirect() bool
- func (o *ServiceSyncResourcePostPostUnauthorized) IsServerError() bool
- func (o *ServiceSyncResourcePostPostUnauthorized) IsSuccess() bool
- func (o *ServiceSyncResourcePostPostUnauthorized) String() string
- type ServiceUnlinkResourcePostPostBadRequest
- func (o *ServiceUnlinkResourcePostPostBadRequest) Code() int
- func (o *ServiceUnlinkResourcePostPostBadRequest) Error() string
- func (o *ServiceUnlinkResourcePostPostBadRequest) IsClientError() bool
- func (o *ServiceUnlinkResourcePostPostBadRequest) IsCode(code int) bool
- func (o *ServiceUnlinkResourcePostPostBadRequest) IsRedirect() bool
- func (o *ServiceUnlinkResourcePostPostBadRequest) IsServerError() bool
- func (o *ServiceUnlinkResourcePostPostBadRequest) IsSuccess() bool
- func (o *ServiceUnlinkResourcePostPostBadRequest) String() string
- type ServiceUnlinkResourcePostPostNoContent
- func (o *ServiceUnlinkResourcePostPostNoContent) Code() int
- func (o *ServiceUnlinkResourcePostPostNoContent) Error() string
- func (o *ServiceUnlinkResourcePostPostNoContent) IsClientError() bool
- func (o *ServiceUnlinkResourcePostPostNoContent) IsCode(code int) bool
- func (o *ServiceUnlinkResourcePostPostNoContent) IsRedirect() bool
- func (o *ServiceUnlinkResourcePostPostNoContent) IsServerError() bool
- func (o *ServiceUnlinkResourcePostPostNoContent) IsSuccess() bool
- func (o *ServiceUnlinkResourcePostPostNoContent) String() string
- type ServiceUnlinkResourcePostPostParams
- func NewServiceUnlinkResourcePostPostParams() *ServiceUnlinkResourcePostPostParams
- func NewServiceUnlinkResourcePostPostParamsWithContext(ctx context.Context) *ServiceUnlinkResourcePostPostParams
- func NewServiceUnlinkResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceUnlinkResourcePostPostParams
- func NewServiceUnlinkResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) SetContext(ctx context.Context)
- func (o *ServiceUnlinkResourcePostPostParams) SetDefaults()
- func (o *ServiceUnlinkResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceUnlinkResourcePostPostParams) SetServiceID(serviceID string)
- func (o *ServiceUnlinkResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceUnlinkResourcePostPostParams) WithContext(ctx context.Context) *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) WithDefaults() *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) WithServiceID(serviceID string) *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceUnlinkResourcePostPostParams
- func (o *ServiceUnlinkResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceUnlinkResourcePostPostReader
- type ServiceUnlinkResourcePostPostUnauthorized
- func (o *ServiceUnlinkResourcePostPostUnauthorized) Code() int
- func (o *ServiceUnlinkResourcePostPostUnauthorized) Error() string
- func (o *ServiceUnlinkResourcePostPostUnauthorized) IsClientError() bool
- func (o *ServiceUnlinkResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *ServiceUnlinkResourcePostPostUnauthorized) IsRedirect() bool
- func (o *ServiceUnlinkResourcePostPostUnauthorized) IsServerError() bool
- func (o *ServiceUnlinkResourcePostPostUnauthorized) IsSuccess() bool
- func (o *ServiceUnlinkResourcePostPostUnauthorized) String() string
- type ServicesResourceGetGetOK
- func (o *ServicesResourceGetGetOK) Code() int
- func (o *ServicesResourceGetGetOK) Error() string
- func (o *ServicesResourceGetGetOK) GetPayload() []*models.Service
- func (o *ServicesResourceGetGetOK) IsClientError() bool
- func (o *ServicesResourceGetGetOK) IsCode(code int) bool
- func (o *ServicesResourceGetGetOK) IsRedirect() bool
- func (o *ServicesResourceGetGetOK) IsServerError() bool
- func (o *ServicesResourceGetGetOK) IsSuccess() bool
- func (o *ServicesResourceGetGetOK) String() string
- type ServicesResourceGetGetParams
- func NewServicesResourceGetGetParams() *ServicesResourceGetGetParams
- func NewServicesResourceGetGetParamsWithContext(ctx context.Context) *ServicesResourceGetGetParams
- func NewServicesResourceGetGetParamsWithHTTPClient(client *http.Client) *ServicesResourceGetGetParams
- func NewServicesResourceGetGetParamsWithTimeout(timeout time.Duration) *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) SetContext(ctx context.Context)
- func (o *ServicesResourceGetGetParams) SetDefaults()
- func (o *ServicesResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *ServicesResourceGetGetParams) SetServiceIds(serviceIds *string)
- func (o *ServicesResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *ServicesResourceGetGetParams) WithContext(ctx context.Context) *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) WithDefaults() *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) WithHTTPClient(client *http.Client) *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) WithServiceIds(serviceIds *string) *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) WithTimeout(timeout time.Duration) *ServicesResourceGetGetParams
- func (o *ServicesResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServicesResourceGetGetReader
- type ServicesResourceGetGetUnauthorized
- func (o *ServicesResourceGetGetUnauthorized) Code() int
- func (o *ServicesResourceGetGetUnauthorized) Error() string
- func (o *ServicesResourceGetGetUnauthorized) IsClientError() bool
- func (o *ServicesResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *ServicesResourceGetGetUnauthorized) IsRedirect() bool
- func (o *ServicesResourceGetGetUnauthorized) IsServerError() bool
- func (o *ServicesResourceGetGetUnauthorized) IsSuccess() bool
- func (o *ServicesResourceGetGetUnauthorized) String() string
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 API
func (*Client) ServiceLinkResourcePostPost ¶
func (a *Client) ServiceLinkResourcePostPost(params *ServiceLinkResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceLinkResourcePostPostOK, error)
ServiceLinkResourcePostPost links a service
func (*Client) ServiceResourceGetGet ¶
func (a *Client) ServiceResourceGetGet(params *ServiceResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceResourceGetGetOK, error)
ServiceResourceGetGet gets a service
func (*Client) ServiceSyncResourcePostPost ¶
func (a *Client) ServiceSyncResourcePostPost(params *ServiceSyncResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceSyncResourcePostPostNoContent, error)
ServiceSyncResourcePostPost syncs a service
func (*Client) ServiceUnlinkResourcePostPost ¶
func (a *Client) ServiceUnlinkResourcePostPost(params *ServiceUnlinkResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceUnlinkResourcePostPostNoContent, error)
ServiceUnlinkResourcePostPost unlinks a service
func (*Client) ServicesResourceGetGet ¶
func (a *Client) ServicesResourceGetGet(params *ServicesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicesResourceGetGetOK, error)
ServicesResourceGetGet gets a list of 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 { ServiceLinkResourcePostPost(params *ServiceLinkResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceLinkResourcePostPostOK, error) ServiceResourceGetGet(params *ServiceResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceResourceGetGetOK, error) ServiceSyncResourcePostPost(params *ServiceSyncResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceSyncResourcePostPostNoContent, error) ServiceUnlinkResourcePostPost(params *ServiceUnlinkResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceUnlinkResourcePostPostNoContent, error) ServicesResourceGetGet(params *ServicesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicesResourceGetGetOK, 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 API client.
type ServiceLinkResourcePostPostBadRequest ¶
type ServiceLinkResourcePostPostBadRequest struct { }
ServiceLinkResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewServiceLinkResourcePostPostBadRequest ¶
func NewServiceLinkResourcePostPostBadRequest() *ServiceLinkResourcePostPostBadRequest
NewServiceLinkResourcePostPostBadRequest creates a ServiceLinkResourcePostPostBadRequest with default headers values
func (*ServiceLinkResourcePostPostBadRequest) Code ¶
func (o *ServiceLinkResourcePostPostBadRequest) Code() int
Code gets the status code for the service link resource post post bad request response
func (*ServiceLinkResourcePostPostBadRequest) Error ¶
func (o *ServiceLinkResourcePostPostBadRequest) Error() string
func (*ServiceLinkResourcePostPostBadRequest) IsClientError ¶
func (o *ServiceLinkResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this service link resource post post bad request response has a 4xx status code
func (*ServiceLinkResourcePostPostBadRequest) IsCode ¶
func (o *ServiceLinkResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this service link resource post post bad request response a status code equal to that given
func (*ServiceLinkResourcePostPostBadRequest) IsRedirect ¶
func (o *ServiceLinkResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this service link resource post post bad request response has a 3xx status code
func (*ServiceLinkResourcePostPostBadRequest) IsServerError ¶
func (o *ServiceLinkResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this service link resource post post bad request response has a 5xx status code
func (*ServiceLinkResourcePostPostBadRequest) IsSuccess ¶
func (o *ServiceLinkResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this service link resource post post bad request response has a 2xx status code
func (*ServiceLinkResourcePostPostBadRequest) String ¶
func (o *ServiceLinkResourcePostPostBadRequest) String() string
type ServiceLinkResourcePostPostOK ¶
type ServiceLinkResourcePostPostOK struct {
Payload string
}
ServiceLinkResourcePostPostOK describes a response with status code 200, with default header values.
Ok
func NewServiceLinkResourcePostPostOK ¶
func NewServiceLinkResourcePostPostOK() *ServiceLinkResourcePostPostOK
NewServiceLinkResourcePostPostOK creates a ServiceLinkResourcePostPostOK with default headers values
func (*ServiceLinkResourcePostPostOK) Code ¶
func (o *ServiceLinkResourcePostPostOK) Code() int
Code gets the status code for the service link resource post post o k response
func (*ServiceLinkResourcePostPostOK) Error ¶
func (o *ServiceLinkResourcePostPostOK) Error() string
func (*ServiceLinkResourcePostPostOK) GetPayload ¶
func (o *ServiceLinkResourcePostPostOK) GetPayload() string
func (*ServiceLinkResourcePostPostOK) IsClientError ¶
func (o *ServiceLinkResourcePostPostOK) IsClientError() bool
IsClientError returns true when this service link resource post post o k response has a 4xx status code
func (*ServiceLinkResourcePostPostOK) IsCode ¶
func (o *ServiceLinkResourcePostPostOK) IsCode(code int) bool
IsCode returns true when this service link resource post post o k response a status code equal to that given
func (*ServiceLinkResourcePostPostOK) IsRedirect ¶
func (o *ServiceLinkResourcePostPostOK) IsRedirect() bool
IsRedirect returns true when this service link resource post post o k response has a 3xx status code
func (*ServiceLinkResourcePostPostOK) IsServerError ¶
func (o *ServiceLinkResourcePostPostOK) IsServerError() bool
IsServerError returns true when this service link resource post post o k response has a 5xx status code
func (*ServiceLinkResourcePostPostOK) IsSuccess ¶
func (o *ServiceLinkResourcePostPostOK) IsSuccess() bool
IsSuccess returns true when this service link resource post post o k response has a 2xx status code
func (*ServiceLinkResourcePostPostOK) String ¶
func (o *ServiceLinkResourcePostPostOK) String() string
type ServiceLinkResourcePostPostParams ¶
type ServiceLinkResourcePostPostParams struct { /* ServiceID. The service id */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceLinkResourcePostPostParams contains all the parameters to send to the API endpoint
for the service link resource post post operation. Typically these are written to a http.Request.
func NewServiceLinkResourcePostPostParams ¶
func NewServiceLinkResourcePostPostParams() *ServiceLinkResourcePostPostParams
NewServiceLinkResourcePostPostParams creates a new ServiceLinkResourcePostPostParams 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 NewServiceLinkResourcePostPostParamsWithContext ¶
func NewServiceLinkResourcePostPostParamsWithContext(ctx context.Context) *ServiceLinkResourcePostPostParams
NewServiceLinkResourcePostPostParamsWithContext creates a new ServiceLinkResourcePostPostParams object with the ability to set a context for a request.
func NewServiceLinkResourcePostPostParamsWithHTTPClient ¶
func NewServiceLinkResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceLinkResourcePostPostParams
NewServiceLinkResourcePostPostParamsWithHTTPClient creates a new ServiceLinkResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewServiceLinkResourcePostPostParamsWithTimeout ¶
func NewServiceLinkResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceLinkResourcePostPostParams
NewServiceLinkResourcePostPostParamsWithTimeout creates a new ServiceLinkResourcePostPostParams object with the ability to set a timeout on a request.
func (*ServiceLinkResourcePostPostParams) SetContext ¶
func (o *ServiceLinkResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) SetDefaults ¶
func (o *ServiceLinkResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the service link resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceLinkResourcePostPostParams) SetHTTPClient ¶
func (o *ServiceLinkResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) SetServiceID ¶
func (o *ServiceLinkResourcePostPostParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) SetTimeout ¶
func (o *ServiceLinkResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) WithContext ¶
func (o *ServiceLinkResourcePostPostParams) WithContext(ctx context.Context) *ServiceLinkResourcePostPostParams
WithContext adds the context to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) WithDefaults ¶
func (o *ServiceLinkResourcePostPostParams) WithDefaults() *ServiceLinkResourcePostPostParams
WithDefaults hydrates default values in the service link resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceLinkResourcePostPostParams) WithHTTPClient ¶
func (o *ServiceLinkResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceLinkResourcePostPostParams
WithHTTPClient adds the HTTPClient to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) WithServiceID ¶
func (o *ServiceLinkResourcePostPostParams) WithServiceID(serviceID string) *ServiceLinkResourcePostPostParams
WithServiceID adds the serviceID to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) WithTimeout ¶
func (o *ServiceLinkResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceLinkResourcePostPostParams
WithTimeout adds the timeout to the service link resource post post params
func (*ServiceLinkResourcePostPostParams) WriteToRequest ¶
func (o *ServiceLinkResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceLinkResourcePostPostReader ¶
type ServiceLinkResourcePostPostReader struct {
// contains filtered or unexported fields
}
ServiceLinkResourcePostPostReader is a Reader for the ServiceLinkResourcePostPost structure.
func (*ServiceLinkResourcePostPostReader) ReadResponse ¶
func (o *ServiceLinkResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceLinkResourcePostPostUnauthorized ¶
type ServiceLinkResourcePostPostUnauthorized struct { }
ServiceLinkResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewServiceLinkResourcePostPostUnauthorized ¶
func NewServiceLinkResourcePostPostUnauthorized() *ServiceLinkResourcePostPostUnauthorized
NewServiceLinkResourcePostPostUnauthorized creates a ServiceLinkResourcePostPostUnauthorized with default headers values
func (*ServiceLinkResourcePostPostUnauthorized) Code ¶
func (o *ServiceLinkResourcePostPostUnauthorized) Code() int
Code gets the status code for the service link resource post post unauthorized response
func (*ServiceLinkResourcePostPostUnauthorized) Error ¶
func (o *ServiceLinkResourcePostPostUnauthorized) Error() string
func (*ServiceLinkResourcePostPostUnauthorized) IsClientError ¶
func (o *ServiceLinkResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this service link resource post post unauthorized response has a 4xx status code
func (*ServiceLinkResourcePostPostUnauthorized) IsCode ¶
func (o *ServiceLinkResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this service link resource post post unauthorized response a status code equal to that given
func (*ServiceLinkResourcePostPostUnauthorized) IsRedirect ¶
func (o *ServiceLinkResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this service link resource post post unauthorized response has a 3xx status code
func (*ServiceLinkResourcePostPostUnauthorized) IsServerError ¶
func (o *ServiceLinkResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this service link resource post post unauthorized response has a 5xx status code
func (*ServiceLinkResourcePostPostUnauthorized) IsSuccess ¶
func (o *ServiceLinkResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this service link resource post post unauthorized response has a 2xx status code
func (*ServiceLinkResourcePostPostUnauthorized) String ¶
func (o *ServiceLinkResourcePostPostUnauthorized) String() string
type ServiceResourceGetGetOK ¶
ServiceResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewServiceResourceGetGetOK ¶
func NewServiceResourceGetGetOK() *ServiceResourceGetGetOK
NewServiceResourceGetGetOK creates a ServiceResourceGetGetOK with default headers values
func (*ServiceResourceGetGetOK) Code ¶
func (o *ServiceResourceGetGetOK) Code() int
Code gets the status code for the service resource get get o k response
func (*ServiceResourceGetGetOK) Error ¶
func (o *ServiceResourceGetGetOK) Error() string
func (*ServiceResourceGetGetOK) GetPayload ¶
func (o *ServiceResourceGetGetOK) GetPayload() *models.Service
func (*ServiceResourceGetGetOK) IsClientError ¶
func (o *ServiceResourceGetGetOK) IsClientError() bool
IsClientError returns true when this service resource get get o k response has a 4xx status code
func (*ServiceResourceGetGetOK) IsCode ¶
func (o *ServiceResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this service resource get get o k response a status code equal to that given
func (*ServiceResourceGetGetOK) IsRedirect ¶
func (o *ServiceResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this service resource get get o k response has a 3xx status code
func (*ServiceResourceGetGetOK) IsServerError ¶
func (o *ServiceResourceGetGetOK) IsServerError() bool
IsServerError returns true when this service resource get get o k response has a 5xx status code
func (*ServiceResourceGetGetOK) IsSuccess ¶
func (o *ServiceResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this service resource get get o k response has a 2xx status code
func (*ServiceResourceGetGetOK) String ¶
func (o *ServiceResourceGetGetOK) String() string
type ServiceResourceGetGetParams ¶
type ServiceResourceGetGetParams struct { /* ServiceID. The service id */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceResourceGetGetParams contains all the parameters to send to the API endpoint
for the service resource get get operation. Typically these are written to a http.Request.
func NewServiceResourceGetGetParams ¶
func NewServiceResourceGetGetParams() *ServiceResourceGetGetParams
NewServiceResourceGetGetParams creates a new ServiceResourceGetGetParams 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 NewServiceResourceGetGetParamsWithContext ¶
func NewServiceResourceGetGetParamsWithContext(ctx context.Context) *ServiceResourceGetGetParams
NewServiceResourceGetGetParamsWithContext creates a new ServiceResourceGetGetParams object with the ability to set a context for a request.
func NewServiceResourceGetGetParamsWithHTTPClient ¶
func NewServiceResourceGetGetParamsWithHTTPClient(client *http.Client) *ServiceResourceGetGetParams
NewServiceResourceGetGetParamsWithHTTPClient creates a new ServiceResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceResourceGetGetParamsWithTimeout ¶
func NewServiceResourceGetGetParamsWithTimeout(timeout time.Duration) *ServiceResourceGetGetParams
NewServiceResourceGetGetParamsWithTimeout creates a new ServiceResourceGetGetParams object with the ability to set a timeout on a request.
func (*ServiceResourceGetGetParams) SetContext ¶
func (o *ServiceResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service resource get get params
func (*ServiceResourceGetGetParams) SetDefaults ¶
func (o *ServiceResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the service resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceResourceGetGetParams) SetHTTPClient ¶
func (o *ServiceResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service resource get get params
func (*ServiceResourceGetGetParams) SetServiceID ¶
func (o *ServiceResourceGetGetParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the service resource get get params
func (*ServiceResourceGetGetParams) SetTimeout ¶
func (o *ServiceResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service resource get get params
func (*ServiceResourceGetGetParams) WithContext ¶
func (o *ServiceResourceGetGetParams) WithContext(ctx context.Context) *ServiceResourceGetGetParams
WithContext adds the context to the service resource get get params
func (*ServiceResourceGetGetParams) WithDefaults ¶
func (o *ServiceResourceGetGetParams) WithDefaults() *ServiceResourceGetGetParams
WithDefaults hydrates default values in the service resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceResourceGetGetParams) WithHTTPClient ¶
func (o *ServiceResourceGetGetParams) WithHTTPClient(client *http.Client) *ServiceResourceGetGetParams
WithHTTPClient adds the HTTPClient to the service resource get get params
func (*ServiceResourceGetGetParams) WithServiceID ¶
func (o *ServiceResourceGetGetParams) WithServiceID(serviceID string) *ServiceResourceGetGetParams
WithServiceID adds the serviceID to the service resource get get params
func (*ServiceResourceGetGetParams) WithTimeout ¶
func (o *ServiceResourceGetGetParams) WithTimeout(timeout time.Duration) *ServiceResourceGetGetParams
WithTimeout adds the timeout to the service resource get get params
func (*ServiceResourceGetGetParams) WriteToRequest ¶
func (o *ServiceResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceResourceGetGetReader ¶
type ServiceResourceGetGetReader struct {
// contains filtered or unexported fields
}
ServiceResourceGetGetReader is a Reader for the ServiceResourceGetGet structure.
func (*ServiceResourceGetGetReader) ReadResponse ¶
func (o *ServiceResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceResourceGetGetUnauthorized ¶
type ServiceResourceGetGetUnauthorized struct { }
ServiceResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewServiceResourceGetGetUnauthorized ¶
func NewServiceResourceGetGetUnauthorized() *ServiceResourceGetGetUnauthorized
NewServiceResourceGetGetUnauthorized creates a ServiceResourceGetGetUnauthorized with default headers values
func (*ServiceResourceGetGetUnauthorized) Code ¶
func (o *ServiceResourceGetGetUnauthorized) Code() int
Code gets the status code for the service resource get get unauthorized response
func (*ServiceResourceGetGetUnauthorized) Error ¶
func (o *ServiceResourceGetGetUnauthorized) Error() string
func (*ServiceResourceGetGetUnauthorized) IsClientError ¶
func (o *ServiceResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this service resource get get unauthorized response has a 4xx status code
func (*ServiceResourceGetGetUnauthorized) IsCode ¶
func (o *ServiceResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this service resource get get unauthorized response a status code equal to that given
func (*ServiceResourceGetGetUnauthorized) IsRedirect ¶
func (o *ServiceResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this service resource get get unauthorized response has a 3xx status code
func (*ServiceResourceGetGetUnauthorized) IsServerError ¶
func (o *ServiceResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this service resource get get unauthorized response has a 5xx status code
func (*ServiceResourceGetGetUnauthorized) IsSuccess ¶
func (o *ServiceResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this service resource get get unauthorized response has a 2xx status code
func (*ServiceResourceGetGetUnauthorized) String ¶
func (o *ServiceResourceGetGetUnauthorized) String() string
type ServiceSyncResourcePostPostBadRequest ¶
type ServiceSyncResourcePostPostBadRequest struct { }
ServiceSyncResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewServiceSyncResourcePostPostBadRequest ¶
func NewServiceSyncResourcePostPostBadRequest() *ServiceSyncResourcePostPostBadRequest
NewServiceSyncResourcePostPostBadRequest creates a ServiceSyncResourcePostPostBadRequest with default headers values
func (*ServiceSyncResourcePostPostBadRequest) Code ¶
func (o *ServiceSyncResourcePostPostBadRequest) Code() int
Code gets the status code for the service sync resource post post bad request response
func (*ServiceSyncResourcePostPostBadRequest) Error ¶
func (o *ServiceSyncResourcePostPostBadRequest) Error() string
func (*ServiceSyncResourcePostPostBadRequest) IsClientError ¶
func (o *ServiceSyncResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this service sync resource post post bad request response has a 4xx status code
func (*ServiceSyncResourcePostPostBadRequest) IsCode ¶
func (o *ServiceSyncResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this service sync resource post post bad request response a status code equal to that given
func (*ServiceSyncResourcePostPostBadRequest) IsRedirect ¶
func (o *ServiceSyncResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this service sync resource post post bad request response has a 3xx status code
func (*ServiceSyncResourcePostPostBadRequest) IsServerError ¶
func (o *ServiceSyncResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this service sync resource post post bad request response has a 5xx status code
func (*ServiceSyncResourcePostPostBadRequest) IsSuccess ¶
func (o *ServiceSyncResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this service sync resource post post bad request response has a 2xx status code
func (*ServiceSyncResourcePostPostBadRequest) String ¶
func (o *ServiceSyncResourcePostPostBadRequest) String() string
type ServiceSyncResourcePostPostNoContent ¶
type ServiceSyncResourcePostPostNoContent struct { }
ServiceSyncResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewServiceSyncResourcePostPostNoContent ¶
func NewServiceSyncResourcePostPostNoContent() *ServiceSyncResourcePostPostNoContent
NewServiceSyncResourcePostPostNoContent creates a ServiceSyncResourcePostPostNoContent with default headers values
func (*ServiceSyncResourcePostPostNoContent) Code ¶
func (o *ServiceSyncResourcePostPostNoContent) Code() int
Code gets the status code for the service sync resource post post no content response
func (*ServiceSyncResourcePostPostNoContent) Error ¶
func (o *ServiceSyncResourcePostPostNoContent) Error() string
func (*ServiceSyncResourcePostPostNoContent) IsClientError ¶
func (o *ServiceSyncResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this service sync resource post post no content response has a 4xx status code
func (*ServiceSyncResourcePostPostNoContent) IsCode ¶
func (o *ServiceSyncResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this service sync resource post post no content response a status code equal to that given
func (*ServiceSyncResourcePostPostNoContent) IsRedirect ¶
func (o *ServiceSyncResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this service sync resource post post no content response has a 3xx status code
func (*ServiceSyncResourcePostPostNoContent) IsServerError ¶
func (o *ServiceSyncResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this service sync resource post post no content response has a 5xx status code
func (*ServiceSyncResourcePostPostNoContent) IsSuccess ¶
func (o *ServiceSyncResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this service sync resource post post no content response has a 2xx status code
func (*ServiceSyncResourcePostPostNoContent) String ¶
func (o *ServiceSyncResourcePostPostNoContent) String() string
type ServiceSyncResourcePostPostParams ¶
type ServiceSyncResourcePostPostParams struct { /* ServiceID. The service id */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceSyncResourcePostPostParams contains all the parameters to send to the API endpoint
for the service sync resource post post operation. Typically these are written to a http.Request.
func NewServiceSyncResourcePostPostParams ¶
func NewServiceSyncResourcePostPostParams() *ServiceSyncResourcePostPostParams
NewServiceSyncResourcePostPostParams creates a new ServiceSyncResourcePostPostParams 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 NewServiceSyncResourcePostPostParamsWithContext ¶
func NewServiceSyncResourcePostPostParamsWithContext(ctx context.Context) *ServiceSyncResourcePostPostParams
NewServiceSyncResourcePostPostParamsWithContext creates a new ServiceSyncResourcePostPostParams object with the ability to set a context for a request.
func NewServiceSyncResourcePostPostParamsWithHTTPClient ¶
func NewServiceSyncResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceSyncResourcePostPostParams
NewServiceSyncResourcePostPostParamsWithHTTPClient creates a new ServiceSyncResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewServiceSyncResourcePostPostParamsWithTimeout ¶
func NewServiceSyncResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceSyncResourcePostPostParams
NewServiceSyncResourcePostPostParamsWithTimeout creates a new ServiceSyncResourcePostPostParams object with the ability to set a timeout on a request.
func (*ServiceSyncResourcePostPostParams) SetContext ¶
func (o *ServiceSyncResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) SetDefaults ¶
func (o *ServiceSyncResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the service sync resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceSyncResourcePostPostParams) SetHTTPClient ¶
func (o *ServiceSyncResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) SetServiceID ¶
func (o *ServiceSyncResourcePostPostParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) SetTimeout ¶
func (o *ServiceSyncResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) WithContext ¶
func (o *ServiceSyncResourcePostPostParams) WithContext(ctx context.Context) *ServiceSyncResourcePostPostParams
WithContext adds the context to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) WithDefaults ¶
func (o *ServiceSyncResourcePostPostParams) WithDefaults() *ServiceSyncResourcePostPostParams
WithDefaults hydrates default values in the service sync resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceSyncResourcePostPostParams) WithHTTPClient ¶
func (o *ServiceSyncResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceSyncResourcePostPostParams
WithHTTPClient adds the HTTPClient to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) WithServiceID ¶
func (o *ServiceSyncResourcePostPostParams) WithServiceID(serviceID string) *ServiceSyncResourcePostPostParams
WithServiceID adds the serviceID to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) WithTimeout ¶
func (o *ServiceSyncResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceSyncResourcePostPostParams
WithTimeout adds the timeout to the service sync resource post post params
func (*ServiceSyncResourcePostPostParams) WriteToRequest ¶
func (o *ServiceSyncResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceSyncResourcePostPostReader ¶
type ServiceSyncResourcePostPostReader struct {
// contains filtered or unexported fields
}
ServiceSyncResourcePostPostReader is a Reader for the ServiceSyncResourcePostPost structure.
func (*ServiceSyncResourcePostPostReader) ReadResponse ¶
func (o *ServiceSyncResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceSyncResourcePostPostUnauthorized ¶
type ServiceSyncResourcePostPostUnauthorized struct { }
ServiceSyncResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewServiceSyncResourcePostPostUnauthorized ¶
func NewServiceSyncResourcePostPostUnauthorized() *ServiceSyncResourcePostPostUnauthorized
NewServiceSyncResourcePostPostUnauthorized creates a ServiceSyncResourcePostPostUnauthorized with default headers values
func (*ServiceSyncResourcePostPostUnauthorized) Code ¶
func (o *ServiceSyncResourcePostPostUnauthorized) Code() int
Code gets the status code for the service sync resource post post unauthorized response
func (*ServiceSyncResourcePostPostUnauthorized) Error ¶
func (o *ServiceSyncResourcePostPostUnauthorized) Error() string
func (*ServiceSyncResourcePostPostUnauthorized) IsClientError ¶
func (o *ServiceSyncResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this service sync resource post post unauthorized response has a 4xx status code
func (*ServiceSyncResourcePostPostUnauthorized) IsCode ¶
func (o *ServiceSyncResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this service sync resource post post unauthorized response a status code equal to that given
func (*ServiceSyncResourcePostPostUnauthorized) IsRedirect ¶
func (o *ServiceSyncResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this service sync resource post post unauthorized response has a 3xx status code
func (*ServiceSyncResourcePostPostUnauthorized) IsServerError ¶
func (o *ServiceSyncResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this service sync resource post post unauthorized response has a 5xx status code
func (*ServiceSyncResourcePostPostUnauthorized) IsSuccess ¶
func (o *ServiceSyncResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this service sync resource post post unauthorized response has a 2xx status code
func (*ServiceSyncResourcePostPostUnauthorized) String ¶
func (o *ServiceSyncResourcePostPostUnauthorized) String() string
type ServiceUnlinkResourcePostPostBadRequest ¶
type ServiceUnlinkResourcePostPostBadRequest struct { }
ServiceUnlinkResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewServiceUnlinkResourcePostPostBadRequest ¶
func NewServiceUnlinkResourcePostPostBadRequest() *ServiceUnlinkResourcePostPostBadRequest
NewServiceUnlinkResourcePostPostBadRequest creates a ServiceUnlinkResourcePostPostBadRequest with default headers values
func (*ServiceUnlinkResourcePostPostBadRequest) Code ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) Code() int
Code gets the status code for the service unlink resource post post bad request response
func (*ServiceUnlinkResourcePostPostBadRequest) Error ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) Error() string
func (*ServiceUnlinkResourcePostPostBadRequest) IsClientError ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this service unlink resource post post bad request response has a 4xx status code
func (*ServiceUnlinkResourcePostPostBadRequest) IsCode ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this service unlink resource post post bad request response a status code equal to that given
func (*ServiceUnlinkResourcePostPostBadRequest) IsRedirect ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this service unlink resource post post bad request response has a 3xx status code
func (*ServiceUnlinkResourcePostPostBadRequest) IsServerError ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this service unlink resource post post bad request response has a 5xx status code
func (*ServiceUnlinkResourcePostPostBadRequest) IsSuccess ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this service unlink resource post post bad request response has a 2xx status code
func (*ServiceUnlinkResourcePostPostBadRequest) String ¶
func (o *ServiceUnlinkResourcePostPostBadRequest) String() string
type ServiceUnlinkResourcePostPostNoContent ¶
type ServiceUnlinkResourcePostPostNoContent struct { }
ServiceUnlinkResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewServiceUnlinkResourcePostPostNoContent ¶
func NewServiceUnlinkResourcePostPostNoContent() *ServiceUnlinkResourcePostPostNoContent
NewServiceUnlinkResourcePostPostNoContent creates a ServiceUnlinkResourcePostPostNoContent with default headers values
func (*ServiceUnlinkResourcePostPostNoContent) Code ¶
func (o *ServiceUnlinkResourcePostPostNoContent) Code() int
Code gets the status code for the service unlink resource post post no content response
func (*ServiceUnlinkResourcePostPostNoContent) Error ¶
func (o *ServiceUnlinkResourcePostPostNoContent) Error() string
func (*ServiceUnlinkResourcePostPostNoContent) IsClientError ¶
func (o *ServiceUnlinkResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this service unlink resource post post no content response has a 4xx status code
func (*ServiceUnlinkResourcePostPostNoContent) IsCode ¶
func (o *ServiceUnlinkResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this service unlink resource post post no content response a status code equal to that given
func (*ServiceUnlinkResourcePostPostNoContent) IsRedirect ¶
func (o *ServiceUnlinkResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this service unlink resource post post no content response has a 3xx status code
func (*ServiceUnlinkResourcePostPostNoContent) IsServerError ¶
func (o *ServiceUnlinkResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this service unlink resource post post no content response has a 5xx status code
func (*ServiceUnlinkResourcePostPostNoContent) IsSuccess ¶
func (o *ServiceUnlinkResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this service unlink resource post post no content response has a 2xx status code
func (*ServiceUnlinkResourcePostPostNoContent) String ¶
func (o *ServiceUnlinkResourcePostPostNoContent) String() string
type ServiceUnlinkResourcePostPostParams ¶
type ServiceUnlinkResourcePostPostParams struct { /* ServiceID. The service id */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceUnlinkResourcePostPostParams contains all the parameters to send to the API endpoint
for the service unlink resource post post operation. Typically these are written to a http.Request.
func NewServiceUnlinkResourcePostPostParams ¶
func NewServiceUnlinkResourcePostPostParams() *ServiceUnlinkResourcePostPostParams
NewServiceUnlinkResourcePostPostParams creates a new ServiceUnlinkResourcePostPostParams 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 NewServiceUnlinkResourcePostPostParamsWithContext ¶
func NewServiceUnlinkResourcePostPostParamsWithContext(ctx context.Context) *ServiceUnlinkResourcePostPostParams
NewServiceUnlinkResourcePostPostParamsWithContext creates a new ServiceUnlinkResourcePostPostParams object with the ability to set a context for a request.
func NewServiceUnlinkResourcePostPostParamsWithHTTPClient ¶
func NewServiceUnlinkResourcePostPostParamsWithHTTPClient(client *http.Client) *ServiceUnlinkResourcePostPostParams
NewServiceUnlinkResourcePostPostParamsWithHTTPClient creates a new ServiceUnlinkResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewServiceUnlinkResourcePostPostParamsWithTimeout ¶
func NewServiceUnlinkResourcePostPostParamsWithTimeout(timeout time.Duration) *ServiceUnlinkResourcePostPostParams
NewServiceUnlinkResourcePostPostParamsWithTimeout creates a new ServiceUnlinkResourcePostPostParams object with the ability to set a timeout on a request.
func (*ServiceUnlinkResourcePostPostParams) SetContext ¶
func (o *ServiceUnlinkResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) SetDefaults ¶
func (o *ServiceUnlinkResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the service unlink resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceUnlinkResourcePostPostParams) SetHTTPClient ¶
func (o *ServiceUnlinkResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) SetServiceID ¶
func (o *ServiceUnlinkResourcePostPostParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) SetTimeout ¶
func (o *ServiceUnlinkResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) WithContext ¶
func (o *ServiceUnlinkResourcePostPostParams) WithContext(ctx context.Context) *ServiceUnlinkResourcePostPostParams
WithContext adds the context to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) WithDefaults ¶
func (o *ServiceUnlinkResourcePostPostParams) WithDefaults() *ServiceUnlinkResourcePostPostParams
WithDefaults hydrates default values in the service unlink resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceUnlinkResourcePostPostParams) WithHTTPClient ¶
func (o *ServiceUnlinkResourcePostPostParams) WithHTTPClient(client *http.Client) *ServiceUnlinkResourcePostPostParams
WithHTTPClient adds the HTTPClient to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) WithServiceID ¶
func (o *ServiceUnlinkResourcePostPostParams) WithServiceID(serviceID string) *ServiceUnlinkResourcePostPostParams
WithServiceID adds the serviceID to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) WithTimeout ¶
func (o *ServiceUnlinkResourcePostPostParams) WithTimeout(timeout time.Duration) *ServiceUnlinkResourcePostPostParams
WithTimeout adds the timeout to the service unlink resource post post params
func (*ServiceUnlinkResourcePostPostParams) WriteToRequest ¶
func (o *ServiceUnlinkResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceUnlinkResourcePostPostReader ¶
type ServiceUnlinkResourcePostPostReader struct {
// contains filtered or unexported fields
}
ServiceUnlinkResourcePostPostReader is a Reader for the ServiceUnlinkResourcePostPost structure.
func (*ServiceUnlinkResourcePostPostReader) ReadResponse ¶
func (o *ServiceUnlinkResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceUnlinkResourcePostPostUnauthorized ¶
type ServiceUnlinkResourcePostPostUnauthorized struct { }
ServiceUnlinkResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewServiceUnlinkResourcePostPostUnauthorized ¶
func NewServiceUnlinkResourcePostPostUnauthorized() *ServiceUnlinkResourcePostPostUnauthorized
NewServiceUnlinkResourcePostPostUnauthorized creates a ServiceUnlinkResourcePostPostUnauthorized with default headers values
func (*ServiceUnlinkResourcePostPostUnauthorized) Code ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) Code() int
Code gets the status code for the service unlink resource post post unauthorized response
func (*ServiceUnlinkResourcePostPostUnauthorized) Error ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) Error() string
func (*ServiceUnlinkResourcePostPostUnauthorized) IsClientError ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this service unlink resource post post unauthorized response has a 4xx status code
func (*ServiceUnlinkResourcePostPostUnauthorized) IsCode ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this service unlink resource post post unauthorized response a status code equal to that given
func (*ServiceUnlinkResourcePostPostUnauthorized) IsRedirect ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this service unlink resource post post unauthorized response has a 3xx status code
func (*ServiceUnlinkResourcePostPostUnauthorized) IsServerError ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this service unlink resource post post unauthorized response has a 5xx status code
func (*ServiceUnlinkResourcePostPostUnauthorized) IsSuccess ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this service unlink resource post post unauthorized response has a 2xx status code
func (*ServiceUnlinkResourcePostPostUnauthorized) String ¶
func (o *ServiceUnlinkResourcePostPostUnauthorized) String() string
type ServicesResourceGetGetOK ¶
ServicesResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewServicesResourceGetGetOK ¶
func NewServicesResourceGetGetOK() *ServicesResourceGetGetOK
NewServicesResourceGetGetOK creates a ServicesResourceGetGetOK with default headers values
func (*ServicesResourceGetGetOK) Code ¶
func (o *ServicesResourceGetGetOK) Code() int
Code gets the status code for the services resource get get o k response
func (*ServicesResourceGetGetOK) Error ¶
func (o *ServicesResourceGetGetOK) Error() string
func (*ServicesResourceGetGetOK) GetPayload ¶
func (o *ServicesResourceGetGetOK) GetPayload() []*models.Service
func (*ServicesResourceGetGetOK) IsClientError ¶
func (o *ServicesResourceGetGetOK) IsClientError() bool
IsClientError returns true when this services resource get get o k response has a 4xx status code
func (*ServicesResourceGetGetOK) IsCode ¶
func (o *ServicesResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this services resource get get o k response a status code equal to that given
func (*ServicesResourceGetGetOK) IsRedirect ¶
func (o *ServicesResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this services resource get get o k response has a 3xx status code
func (*ServicesResourceGetGetOK) IsServerError ¶
func (o *ServicesResourceGetGetOK) IsServerError() bool
IsServerError returns true when this services resource get get o k response has a 5xx status code
func (*ServicesResourceGetGetOK) IsSuccess ¶
func (o *ServicesResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this services resource get get o k response has a 2xx status code
func (*ServicesResourceGetGetOK) String ¶
func (o *ServicesResourceGetGetOK) String() string
type ServicesResourceGetGetParams ¶
type ServicesResourceGetGetParams struct { /* ServiceIds. Filter for service IDs (comma-separated eg: airbnb,guesty,smoobu) */ ServiceIds *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServicesResourceGetGetParams contains all the parameters to send to the API endpoint
for the services resource get get operation. Typically these are written to a http.Request.
func NewServicesResourceGetGetParams ¶
func NewServicesResourceGetGetParams() *ServicesResourceGetGetParams
NewServicesResourceGetGetParams creates a new ServicesResourceGetGetParams 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 NewServicesResourceGetGetParamsWithContext ¶
func NewServicesResourceGetGetParamsWithContext(ctx context.Context) *ServicesResourceGetGetParams
NewServicesResourceGetGetParamsWithContext creates a new ServicesResourceGetGetParams object with the ability to set a context for a request.
func NewServicesResourceGetGetParamsWithHTTPClient ¶
func NewServicesResourceGetGetParamsWithHTTPClient(client *http.Client) *ServicesResourceGetGetParams
NewServicesResourceGetGetParamsWithHTTPClient creates a new ServicesResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewServicesResourceGetGetParamsWithTimeout ¶
func NewServicesResourceGetGetParamsWithTimeout(timeout time.Duration) *ServicesResourceGetGetParams
NewServicesResourceGetGetParamsWithTimeout creates a new ServicesResourceGetGetParams object with the ability to set a timeout on a request.
func (*ServicesResourceGetGetParams) SetContext ¶
func (o *ServicesResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the services resource get get params
func (*ServicesResourceGetGetParams) SetDefaults ¶
func (o *ServicesResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the services resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*ServicesResourceGetGetParams) SetHTTPClient ¶
func (o *ServicesResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the services resource get get params
func (*ServicesResourceGetGetParams) SetServiceIds ¶
func (o *ServicesResourceGetGetParams) SetServiceIds(serviceIds *string)
SetServiceIds adds the serviceIds to the services resource get get params
func (*ServicesResourceGetGetParams) SetTimeout ¶
func (o *ServicesResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the services resource get get params
func (*ServicesResourceGetGetParams) WithContext ¶
func (o *ServicesResourceGetGetParams) WithContext(ctx context.Context) *ServicesResourceGetGetParams
WithContext adds the context to the services resource get get params
func (*ServicesResourceGetGetParams) WithDefaults ¶
func (o *ServicesResourceGetGetParams) WithDefaults() *ServicesResourceGetGetParams
WithDefaults hydrates default values in the services resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*ServicesResourceGetGetParams) WithHTTPClient ¶
func (o *ServicesResourceGetGetParams) WithHTTPClient(client *http.Client) *ServicesResourceGetGetParams
WithHTTPClient adds the HTTPClient to the services resource get get params
func (*ServicesResourceGetGetParams) WithServiceIds ¶
func (o *ServicesResourceGetGetParams) WithServiceIds(serviceIds *string) *ServicesResourceGetGetParams
WithServiceIds adds the serviceIds to the services resource get get params
func (*ServicesResourceGetGetParams) WithTimeout ¶
func (o *ServicesResourceGetGetParams) WithTimeout(timeout time.Duration) *ServicesResourceGetGetParams
WithTimeout adds the timeout to the services resource get get params
func (*ServicesResourceGetGetParams) WriteToRequest ¶
func (o *ServicesResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServicesResourceGetGetReader ¶
type ServicesResourceGetGetReader struct {
// contains filtered or unexported fields
}
ServicesResourceGetGetReader is a Reader for the ServicesResourceGetGet structure.
func (*ServicesResourceGetGetReader) ReadResponse ¶
func (o *ServicesResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServicesResourceGetGetUnauthorized ¶
type ServicesResourceGetGetUnauthorized struct { }
ServicesResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewServicesResourceGetGetUnauthorized ¶
func NewServicesResourceGetGetUnauthorized() *ServicesResourceGetGetUnauthorized
NewServicesResourceGetGetUnauthorized creates a ServicesResourceGetGetUnauthorized with default headers values
func (*ServicesResourceGetGetUnauthorized) Code ¶
func (o *ServicesResourceGetGetUnauthorized) Code() int
Code gets the status code for the services resource get get unauthorized response
func (*ServicesResourceGetGetUnauthorized) Error ¶
func (o *ServicesResourceGetGetUnauthorized) Error() string
func (*ServicesResourceGetGetUnauthorized) IsClientError ¶
func (o *ServicesResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this services resource get get unauthorized response has a 4xx status code
func (*ServicesResourceGetGetUnauthorized) IsCode ¶
func (o *ServicesResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this services resource get get unauthorized response a status code equal to that given
func (*ServicesResourceGetGetUnauthorized) IsRedirect ¶
func (o *ServicesResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this services resource get get unauthorized response has a 3xx status code
func (*ServicesResourceGetGetUnauthorized) IsServerError ¶
func (o *ServicesResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this services resource get get unauthorized response has a 5xx status code
func (*ServicesResourceGetGetUnauthorized) IsSuccess ¶
func (o *ServicesResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this services resource get get unauthorized response has a 2xx status code
func (*ServicesResourceGetGetUnauthorized) String ¶
func (o *ServicesResourceGetGetUnauthorized) String() string
Source Files
¶
- service_client.go
- service_link_resource_post_post_parameters.go
- service_link_resource_post_post_responses.go
- service_resource_get_get_parameters.go
- service_resource_get_get_responses.go
- service_sync_resource_post_post_parameters.go
- service_sync_resource_post_post_responses.go
- service_unlink_resource_post_post_parameters.go
- service_unlink_resource_post_post_responses.go
- services_resource_get_get_parameters.go
- services_resource_get_get_responses.go