hub

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT 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 hub API

func (*Client) HubCreate

func (a *Client) HubCreate(params *HubCreateParams) (*HubCreateCreated, error)

HubCreate registers a listener

Sets the communication endpoint address the service instance must use to deliver information about its health state, execution state, failures and metrics

func (*Client) HubDelete

func (a *Client) HubDelete(params *HubDeleteParams) (*HubDeleteNoContent, error)

HubDelete unregisters a listener

Clears the communication endpoint address that was set by creating the Hub

func (*Client) HubFind

func (a *Client) HubFind(params *HubFindParams) (*HubFindOK, error)

HubFind lists hub

Retrieve hub(s)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	HubCreate(params *HubCreateParams) (*HubCreateCreated, error)

	HubDelete(params *HubDeleteParams) (*HubDeleteNoContent, error)

	HubFind(params *HubFindParams) (*HubFindOK, 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 hub API client.

type HubCreateBadRequest

type HubCreateBadRequest struct {
	Payload *models.ErrorRepresentation
}

HubCreateBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewHubCreateBadRequest

func NewHubCreateBadRequest() *HubCreateBadRequest

NewHubCreateBadRequest creates a HubCreateBadRequest with default headers values

func (*HubCreateBadRequest) Error

func (o *HubCreateBadRequest) Error() string

func (*HubCreateBadRequest) GetPayload

type HubCreateCreated

type HubCreateCreated struct {
	Payload *models.Hub
}

HubCreateCreated handles this case with default header values.

Created

func NewHubCreateCreated

func NewHubCreateCreated() *HubCreateCreated

NewHubCreateCreated creates a HubCreateCreated with default headers values

func (*HubCreateCreated) Error

func (o *HubCreateCreated) Error() string

func (*HubCreateCreated) GetPayload

func (o *HubCreateCreated) GetPayload() *models.Hub

type HubCreateForbidden

type HubCreateForbidden struct {
	Payload *models.ErrorRepresentation
}

HubCreateForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewHubCreateForbidden

func NewHubCreateForbidden() *HubCreateForbidden

NewHubCreateForbidden creates a HubCreateForbidden with default headers values

func (*HubCreateForbidden) Error

func (o *HubCreateForbidden) Error() string

func (*HubCreateForbidden) GetPayload

type HubCreateInternalServerError

type HubCreateInternalServerError struct {
	Payload *models.ErrorRepresentation
}

HubCreateInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewHubCreateInternalServerError

func NewHubCreateInternalServerError() *HubCreateInternalServerError

NewHubCreateInternalServerError creates a HubCreateInternalServerError with default headers values

func (*HubCreateInternalServerError) Error

func (*HubCreateInternalServerError) GetPayload

type HubCreateMethodNotAllowed

type HubCreateMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

HubCreateMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewHubCreateMethodNotAllowed

func NewHubCreateMethodNotAllowed() *HubCreateMethodNotAllowed

NewHubCreateMethodNotAllowed creates a HubCreateMethodNotAllowed with default headers values

func (*HubCreateMethodNotAllowed) Error

func (o *HubCreateMethodNotAllowed) Error() string

func (*HubCreateMethodNotAllowed) GetPayload

type HubCreateNotFound

type HubCreateNotFound struct {
	Payload *models.ErrorRepresentation
}

HubCreateNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewHubCreateNotFound

func NewHubCreateNotFound() *HubCreateNotFound

NewHubCreateNotFound creates a HubCreateNotFound with default headers values

func (*HubCreateNotFound) Error

func (o *HubCreateNotFound) Error() string

func (*HubCreateNotFound) GetPayload

func (o *HubCreateNotFound) GetPayload() *models.ErrorRepresentation

type HubCreateParams

type HubCreateParams struct {

	/*Hub*/
	Hub *models.HubInput

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

HubCreateParams contains all the parameters to send to the API endpoint for the hub create operation typically these are written to a http.Request

func NewHubCreateParams

func NewHubCreateParams() *HubCreateParams

NewHubCreateParams creates a new HubCreateParams object with the default values initialized.

func NewHubCreateParamsWithContext

func NewHubCreateParamsWithContext(ctx context.Context) *HubCreateParams

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

func NewHubCreateParamsWithHTTPClient

func NewHubCreateParamsWithHTTPClient(client *http.Client) *HubCreateParams

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

func NewHubCreateParamsWithTimeout

func NewHubCreateParamsWithTimeout(timeout time.Duration) *HubCreateParams

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

func (*HubCreateParams) SetContext

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

SetContext adds the context to the hub create params

func (*HubCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hub create params

func (*HubCreateParams) SetHub

func (o *HubCreateParams) SetHub(hub *models.HubInput)

SetHub adds the hub to the hub create params

func (*HubCreateParams) SetTimeout

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

SetTimeout adds the timeout to the hub create params

func (*HubCreateParams) WithContext

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

WithContext adds the context to the hub create params

func (*HubCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the hub create params

func (*HubCreateParams) WithHub

func (o *HubCreateParams) WithHub(hub *models.HubInput) *HubCreateParams

WithHub adds the hub to the hub create params

func (*HubCreateParams) WithTimeout

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

WithTimeout adds the timeout to the hub create params

func (*HubCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HubCreateReader

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

HubCreateReader is a Reader for the HubCreate structure.

func (*HubCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HubCreateServiceUnavailable

type HubCreateServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

HubCreateServiceUnavailable handles this case with default header values.

Service Unavailable

func NewHubCreateServiceUnavailable

func NewHubCreateServiceUnavailable() *HubCreateServiceUnavailable

NewHubCreateServiceUnavailable creates a HubCreateServiceUnavailable with default headers values

func (*HubCreateServiceUnavailable) Error

func (*HubCreateServiceUnavailable) GetPayload

type HubCreateUnauthorized

type HubCreateUnauthorized struct {
	Payload *models.ErrorRepresentation
}

HubCreateUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewHubCreateUnauthorized

func NewHubCreateUnauthorized() *HubCreateUnauthorized

NewHubCreateUnauthorized creates a HubCreateUnauthorized with default headers values

func (*HubCreateUnauthorized) Error

func (o *HubCreateUnauthorized) Error() string

func (*HubCreateUnauthorized) GetPayload

type HubCreateUnprocessableEntity

type HubCreateUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

HubCreateUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewHubCreateUnprocessableEntity

func NewHubCreateUnprocessableEntity() *HubCreateUnprocessableEntity

NewHubCreateUnprocessableEntity creates a HubCreateUnprocessableEntity with default headers values

func (*HubCreateUnprocessableEntity) Error

func (*HubCreateUnprocessableEntity) GetPayload

type HubDeleteBadRequest

type HubDeleteBadRequest struct {
	Payload *models.ErrorRepresentation
}

HubDeleteBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewHubDeleteBadRequest

func NewHubDeleteBadRequest() *HubDeleteBadRequest

NewHubDeleteBadRequest creates a HubDeleteBadRequest with default headers values

func (*HubDeleteBadRequest) Error

func (o *HubDeleteBadRequest) Error() string

func (*HubDeleteBadRequest) GetPayload

type HubDeleteForbidden

type HubDeleteForbidden struct {
	Payload *models.ErrorRepresentation
}

HubDeleteForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewHubDeleteForbidden

func NewHubDeleteForbidden() *HubDeleteForbidden

NewHubDeleteForbidden creates a HubDeleteForbidden with default headers values

func (*HubDeleteForbidden) Error

func (o *HubDeleteForbidden) Error() string

func (*HubDeleteForbidden) GetPayload

type HubDeleteInternalServerError

type HubDeleteInternalServerError struct {
	Payload *models.ErrorRepresentation
}

HubDeleteInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewHubDeleteInternalServerError

func NewHubDeleteInternalServerError() *HubDeleteInternalServerError

NewHubDeleteInternalServerError creates a HubDeleteInternalServerError with default headers values

func (*HubDeleteInternalServerError) Error

func (*HubDeleteInternalServerError) GetPayload

type HubDeleteMethodNotAllowed

type HubDeleteMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

HubDeleteMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewHubDeleteMethodNotAllowed

func NewHubDeleteMethodNotAllowed() *HubDeleteMethodNotAllowed

NewHubDeleteMethodNotAllowed creates a HubDeleteMethodNotAllowed with default headers values

func (*HubDeleteMethodNotAllowed) Error

func (o *HubDeleteMethodNotAllowed) Error() string

func (*HubDeleteMethodNotAllowed) GetPayload

type HubDeleteNoContent

type HubDeleteNoContent struct {
}

HubDeleteNoContent handles this case with default header values.

No Content

func NewHubDeleteNoContent

func NewHubDeleteNoContent() *HubDeleteNoContent

NewHubDeleteNoContent creates a HubDeleteNoContent with default headers values

func (*HubDeleteNoContent) Error

func (o *HubDeleteNoContent) Error() string

type HubDeleteNotFound

type HubDeleteNotFound struct {
	Payload *models.ErrorRepresentation
}

HubDeleteNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewHubDeleteNotFound

func NewHubDeleteNotFound() *HubDeleteNotFound

NewHubDeleteNotFound creates a HubDeleteNotFound with default headers values

func (*HubDeleteNotFound) Error

func (o *HubDeleteNotFound) Error() string

func (*HubDeleteNotFound) GetPayload

func (o *HubDeleteNotFound) GetPayload() *models.ErrorRepresentation

type HubDeleteParams

type HubDeleteParams struct {

	/*HubID*/
	HubID string

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

HubDeleteParams contains all the parameters to send to the API endpoint for the hub delete operation typically these are written to a http.Request

func NewHubDeleteParams

func NewHubDeleteParams() *HubDeleteParams

NewHubDeleteParams creates a new HubDeleteParams object with the default values initialized.

func NewHubDeleteParamsWithContext

func NewHubDeleteParamsWithContext(ctx context.Context) *HubDeleteParams

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

func NewHubDeleteParamsWithHTTPClient

func NewHubDeleteParamsWithHTTPClient(client *http.Client) *HubDeleteParams

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

func NewHubDeleteParamsWithTimeout

func NewHubDeleteParamsWithTimeout(timeout time.Duration) *HubDeleteParams

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

func (*HubDeleteParams) SetContext

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

SetContext adds the context to the hub delete params

func (*HubDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hub delete params

func (*HubDeleteParams) SetHubID

func (o *HubDeleteParams) SetHubID(hubID string)

SetHubID adds the hubId to the hub delete params

func (*HubDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the hub delete params

func (*HubDeleteParams) WithContext

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

WithContext adds the context to the hub delete params

func (*HubDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the hub delete params

func (*HubDeleteParams) WithHubID

func (o *HubDeleteParams) WithHubID(hubID string) *HubDeleteParams

WithHubID adds the hubID to the hub delete params

func (*HubDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the hub delete params

func (*HubDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HubDeleteReader

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

HubDeleteReader is a Reader for the HubDelete structure.

func (*HubDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HubDeleteServiceUnavailable

type HubDeleteServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

HubDeleteServiceUnavailable handles this case with default header values.

Service Unavailable

func NewHubDeleteServiceUnavailable

func NewHubDeleteServiceUnavailable() *HubDeleteServiceUnavailable

NewHubDeleteServiceUnavailable creates a HubDeleteServiceUnavailable with default headers values

func (*HubDeleteServiceUnavailable) Error

func (*HubDeleteServiceUnavailable) GetPayload

type HubDeleteUnauthorized

type HubDeleteUnauthorized struct {
	Payload *models.ErrorRepresentation
}

HubDeleteUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewHubDeleteUnauthorized

func NewHubDeleteUnauthorized() *HubDeleteUnauthorized

NewHubDeleteUnauthorized creates a HubDeleteUnauthorized with default headers values

func (*HubDeleteUnauthorized) Error

func (o *HubDeleteUnauthorized) Error() string

func (*HubDeleteUnauthorized) GetPayload

type HubDeleteUnprocessableEntity

type HubDeleteUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

HubDeleteUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewHubDeleteUnprocessableEntity

func NewHubDeleteUnprocessableEntity() *HubDeleteUnprocessableEntity

NewHubDeleteUnprocessableEntity creates a HubDeleteUnprocessableEntity with default headers values

func (*HubDeleteUnprocessableEntity) Error

func (*HubDeleteUnprocessableEntity) GetPayload

type HubFindBadRequest

type HubFindBadRequest struct {
	Payload *models.ErrorRepresentation
}

HubFindBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewHubFindBadRequest

func NewHubFindBadRequest() *HubFindBadRequest

NewHubFindBadRequest creates a HubFindBadRequest with default headers values

func (*HubFindBadRequest) Error

func (o *HubFindBadRequest) Error() string

func (*HubFindBadRequest) GetPayload

func (o *HubFindBadRequest) GetPayload() *models.ErrorRepresentation

type HubFindForbidden

type HubFindForbidden struct {
	Payload *models.ErrorRepresentation
}

HubFindForbidden handles this case with default header values.

Forbidden

List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests

func NewHubFindForbidden

func NewHubFindForbidden() *HubFindForbidden

NewHubFindForbidden creates a HubFindForbidden with default headers values

func (*HubFindForbidden) Error

func (o *HubFindForbidden) Error() string

func (*HubFindForbidden) GetPayload

func (o *HubFindForbidden) GetPayload() *models.ErrorRepresentation

type HubFindInternalServerError

type HubFindInternalServerError struct {
	Payload *models.ErrorRepresentation
}

HubFindInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewHubFindInternalServerError

func NewHubFindInternalServerError() *HubFindInternalServerError

NewHubFindInternalServerError creates a HubFindInternalServerError with default headers values

func (*HubFindInternalServerError) Error

func (*HubFindInternalServerError) GetPayload

type HubFindMethodNotAllowed

type HubFindMethodNotAllowed struct {
	Payload *models.ErrorRepresentation
}

HubFindMethodNotAllowed handles this case with default header values.

Method Not Allowed

List of supported error codes: - 61: Method not allowed

func NewHubFindMethodNotAllowed

func NewHubFindMethodNotAllowed() *HubFindMethodNotAllowed

NewHubFindMethodNotAllowed creates a HubFindMethodNotAllowed with default headers values

func (*HubFindMethodNotAllowed) Error

func (o *HubFindMethodNotAllowed) Error() string

func (*HubFindMethodNotAllowed) GetPayload

type HubFindNotFound

type HubFindNotFound struct {
	Payload *models.ErrorRepresentation
}

HubFindNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewHubFindNotFound

func NewHubFindNotFound() *HubFindNotFound

NewHubFindNotFound creates a HubFindNotFound with default headers values

func (*HubFindNotFound) Error

func (o *HubFindNotFound) Error() string

func (*HubFindNotFound) GetPayload

func (o *HubFindNotFound) GetPayload() *models.ErrorRepresentation

type HubFindOK

type HubFindOK struct {
	Payload []*models.Hub
}

HubFindOK handles this case with default header values.

Ok

func NewHubFindOK

func NewHubFindOK() *HubFindOK

NewHubFindOK creates a HubFindOK with default headers values

func (*HubFindOK) Error

func (o *HubFindOK) Error() string

func (*HubFindOK) GetPayload

func (o *HubFindOK) GetPayload() []*models.Hub

type HubFindParams

type HubFindParams struct {

	/*Fields*/
	Fields *string

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

HubFindParams contains all the parameters to send to the API endpoint for the hub find operation typically these are written to a http.Request

func NewHubFindParams

func NewHubFindParams() *HubFindParams

NewHubFindParams creates a new HubFindParams object with the default values initialized.

func NewHubFindParamsWithContext

func NewHubFindParamsWithContext(ctx context.Context) *HubFindParams

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

func NewHubFindParamsWithHTTPClient

func NewHubFindParamsWithHTTPClient(client *http.Client) *HubFindParams

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

func NewHubFindParamsWithTimeout

func NewHubFindParamsWithTimeout(timeout time.Duration) *HubFindParams

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

func (*HubFindParams) SetContext

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

SetContext adds the context to the hub find params

func (*HubFindParams) SetFields

func (o *HubFindParams) SetFields(fields *string)

SetFields adds the fields to the hub find params

func (*HubFindParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hub find params

func (*HubFindParams) SetTimeout

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

SetTimeout adds the timeout to the hub find params

func (*HubFindParams) WithContext

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

WithContext adds the context to the hub find params

func (*HubFindParams) WithFields

func (o *HubFindParams) WithFields(fields *string) *HubFindParams

WithFields adds the fields to the hub find params

func (*HubFindParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the hub find params

func (*HubFindParams) WithTimeout

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

WithTimeout adds the timeout to the hub find params

func (*HubFindParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HubFindReader

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

HubFindReader is a Reader for the HubFind structure.

func (*HubFindReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HubFindServiceUnavailable

type HubFindServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

HubFindServiceUnavailable handles this case with default header values.

Service Unavailable

func NewHubFindServiceUnavailable

func NewHubFindServiceUnavailable() *HubFindServiceUnavailable

NewHubFindServiceUnavailable creates a HubFindServiceUnavailable with default headers values

func (*HubFindServiceUnavailable) Error

func (o *HubFindServiceUnavailable) Error() string

func (*HubFindServiceUnavailable) GetPayload

type HubFindUnauthorized

type HubFindUnauthorized struct {
	Payload *models.ErrorRepresentation
}

HubFindUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewHubFindUnauthorized

func NewHubFindUnauthorized() *HubFindUnauthorized

NewHubFindUnauthorized creates a HubFindUnauthorized with default headers values

func (*HubFindUnauthorized) Error

func (o *HubFindUnauthorized) Error() string

func (*HubFindUnauthorized) GetPayload

type HubFindUnprocessableEntity

type HubFindUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

HubFindUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewHubFindUnprocessableEntity

func NewHubFindUnprocessableEntity() *HubFindUnprocessableEntity

NewHubFindUnprocessableEntity creates a HubFindUnprocessableEntity with default headers values

func (*HubFindUnprocessableEntity) Error

func (*HubFindUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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