Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServiceCreated, error)
- func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServiceNoContent, error)
- func (a *Client) GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServiceOK, error)
- func (a *Client) ImportSpecificationFromFile(params *ImportSpecificationFromFileParams, ...) (*ImportSpecificationFromFileOK, error)
- func (a *Client) ImportSpecificationFromText(params *ImportSpecificationFromTextParams, ...) (*ImportSpecificationFromTextOK, error)
- func (a *Client) ImportSpecificationFromURL(params *ImportSpecificationFromURLParams, ...) (*ImportSpecificationFromURLOK, error)
- func (a *Client) ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServicesOK, error)
- func (a *Client) RemoveSpecification(params *RemoveSpecificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveSpecificationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServiceOK, error)
- type ClientOption
- type ClientService
- type CreateServiceBadRequest
- func (o *CreateServiceBadRequest) Code() int
- func (o *CreateServiceBadRequest) Error() string
- func (o *CreateServiceBadRequest) GetPayload() *models.Error
- func (o *CreateServiceBadRequest) IsClientError() bool
- func (o *CreateServiceBadRequest) IsCode(code int) bool
- func (o *CreateServiceBadRequest) IsRedirect() bool
- func (o *CreateServiceBadRequest) IsServerError() bool
- func (o *CreateServiceBadRequest) IsSuccess() bool
- func (o *CreateServiceBadRequest) String() string
- type CreateServiceConflict
- func (o *CreateServiceConflict) Code() int
- func (o *CreateServiceConflict) Error() string
- func (o *CreateServiceConflict) GetPayload() *models.Error
- func (o *CreateServiceConflict) IsClientError() bool
- func (o *CreateServiceConflict) IsCode(code int) bool
- func (o *CreateServiceConflict) IsRedirect() bool
- func (o *CreateServiceConflict) IsServerError() bool
- func (o *CreateServiceConflict) IsSuccess() bool
- func (o *CreateServiceConflict) String() string
- type CreateServiceCreated
- func (o *CreateServiceCreated) Code() int
- func (o *CreateServiceCreated) Error() string
- func (o *CreateServiceCreated) GetPayload() *models.ServiceWithAudience
- func (o *CreateServiceCreated) IsClientError() bool
- func (o *CreateServiceCreated) IsCode(code int) bool
- func (o *CreateServiceCreated) IsRedirect() bool
- func (o *CreateServiceCreated) IsServerError() bool
- func (o *CreateServiceCreated) IsSuccess() bool
- func (o *CreateServiceCreated) String() string
- type CreateServiceForbidden
- func (o *CreateServiceForbidden) Code() int
- func (o *CreateServiceForbidden) Error() string
- func (o *CreateServiceForbidden) GetPayload() *models.Error
- func (o *CreateServiceForbidden) IsClientError() bool
- func (o *CreateServiceForbidden) IsCode(code int) bool
- func (o *CreateServiceForbidden) IsRedirect() bool
- func (o *CreateServiceForbidden) IsServerError() bool
- func (o *CreateServiceForbidden) IsSuccess() bool
- func (o *CreateServiceForbidden) String() string
- type CreateServiceNotFound
- func (o *CreateServiceNotFound) Code() int
- func (o *CreateServiceNotFound) Error() string
- func (o *CreateServiceNotFound) GetPayload() *models.Error
- func (o *CreateServiceNotFound) IsClientError() bool
- func (o *CreateServiceNotFound) IsCode(code int) bool
- func (o *CreateServiceNotFound) IsRedirect() bool
- func (o *CreateServiceNotFound) IsServerError() bool
- func (o *CreateServiceNotFound) IsSuccess() bool
- func (o *CreateServiceNotFound) String() string
- type CreateServiceParams
- func (o *CreateServiceParams) SetContext(ctx context.Context)
- func (o *CreateServiceParams) SetDefaults()
- func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceParams) SetIfMatch(ifMatch *string)
- func (o *CreateServiceParams) SetService(service *models.Service)
- func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
- func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
- func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
- func (o *CreateServiceParams) WithIfMatch(ifMatch *string) *CreateServiceParams
- func (o *CreateServiceParams) WithService(service *models.Service) *CreateServiceParams
- func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
- func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceReader
- type CreateServiceTooManyRequests
- func (o *CreateServiceTooManyRequests) Code() int
- func (o *CreateServiceTooManyRequests) Error() string
- func (o *CreateServiceTooManyRequests) GetPayload() *models.Error
- func (o *CreateServiceTooManyRequests) IsClientError() bool
- func (o *CreateServiceTooManyRequests) IsCode(code int) bool
- func (o *CreateServiceTooManyRequests) IsRedirect() bool
- func (o *CreateServiceTooManyRequests) IsServerError() bool
- func (o *CreateServiceTooManyRequests) IsSuccess() bool
- func (o *CreateServiceTooManyRequests) String() string
- type CreateServiceUnauthorized
- func (o *CreateServiceUnauthorized) Code() int
- func (o *CreateServiceUnauthorized) Error() string
- func (o *CreateServiceUnauthorized) GetPayload() *models.Error
- func (o *CreateServiceUnauthorized) IsClientError() bool
- func (o *CreateServiceUnauthorized) IsCode(code int) bool
- func (o *CreateServiceUnauthorized) IsRedirect() bool
- func (o *CreateServiceUnauthorized) IsServerError() bool
- func (o *CreateServiceUnauthorized) IsSuccess() bool
- func (o *CreateServiceUnauthorized) String() string
- type CreateServiceUnprocessableEntity
- func (o *CreateServiceUnprocessableEntity) Code() int
- func (o *CreateServiceUnprocessableEntity) Error() string
- func (o *CreateServiceUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateServiceUnprocessableEntity) IsClientError() bool
- func (o *CreateServiceUnprocessableEntity) IsCode(code int) bool
- func (o *CreateServiceUnprocessableEntity) IsRedirect() bool
- func (o *CreateServiceUnprocessableEntity) IsServerError() bool
- func (o *CreateServiceUnprocessableEntity) IsSuccess() bool
- func (o *CreateServiceUnprocessableEntity) String() string
- type DeleteServiceBadRequest
- func (o *DeleteServiceBadRequest) Code() int
- func (o *DeleteServiceBadRequest) Error() string
- func (o *DeleteServiceBadRequest) GetPayload() *models.Error
- func (o *DeleteServiceBadRequest) IsClientError() bool
- func (o *DeleteServiceBadRequest) IsCode(code int) bool
- func (o *DeleteServiceBadRequest) IsRedirect() bool
- func (o *DeleteServiceBadRequest) IsServerError() bool
- func (o *DeleteServiceBadRequest) IsSuccess() bool
- func (o *DeleteServiceBadRequest) String() string
- type DeleteServiceForbidden
- func (o *DeleteServiceForbidden) Code() int
- func (o *DeleteServiceForbidden) Error() string
- func (o *DeleteServiceForbidden) GetPayload() *models.Error
- func (o *DeleteServiceForbidden) IsClientError() bool
- func (o *DeleteServiceForbidden) IsCode(code int) bool
- func (o *DeleteServiceForbidden) IsRedirect() bool
- func (o *DeleteServiceForbidden) IsServerError() bool
- func (o *DeleteServiceForbidden) IsSuccess() bool
- func (o *DeleteServiceForbidden) String() string
- type DeleteServiceNoContent
- func (o *DeleteServiceNoContent) Code() int
- func (o *DeleteServiceNoContent) Error() string
- func (o *DeleteServiceNoContent) IsClientError() bool
- func (o *DeleteServiceNoContent) IsCode(code int) bool
- func (o *DeleteServiceNoContent) IsRedirect() bool
- func (o *DeleteServiceNoContent) IsServerError() bool
- func (o *DeleteServiceNoContent) IsSuccess() bool
- func (o *DeleteServiceNoContent) String() string
- type DeleteServiceNotFound
- func (o *DeleteServiceNotFound) Code() int
- func (o *DeleteServiceNotFound) Error() string
- func (o *DeleteServiceNotFound) GetPayload() *models.Error
- func (o *DeleteServiceNotFound) IsClientError() bool
- func (o *DeleteServiceNotFound) IsCode(code int) bool
- func (o *DeleteServiceNotFound) IsRedirect() bool
- func (o *DeleteServiceNotFound) IsServerError() bool
- func (o *DeleteServiceNotFound) IsSuccess() bool
- func (o *DeleteServiceNotFound) String() string
- type DeleteServiceParams
- func (o *DeleteServiceParams) SetContext(ctx context.Context)
- func (o *DeleteServiceParams) SetDefaults()
- func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceParams) SetIfMatch(ifMatch *string)
- func (o *DeleteServiceParams) SetSid(sid string)
- func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
- func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
- func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
- func (o *DeleteServiceParams) WithIfMatch(ifMatch *string) *DeleteServiceParams
- func (o *DeleteServiceParams) WithSid(sid string) *DeleteServiceParams
- func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
- func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceReader
- type DeleteServiceTooManyRequests
- func (o *DeleteServiceTooManyRequests) Code() int
- func (o *DeleteServiceTooManyRequests) Error() string
- func (o *DeleteServiceTooManyRequests) GetPayload() *models.Error
- func (o *DeleteServiceTooManyRequests) IsClientError() bool
- func (o *DeleteServiceTooManyRequests) IsCode(code int) bool
- func (o *DeleteServiceTooManyRequests) IsRedirect() bool
- func (o *DeleteServiceTooManyRequests) IsServerError() bool
- func (o *DeleteServiceTooManyRequests) IsSuccess() bool
- func (o *DeleteServiceTooManyRequests) String() string
- type DeleteServiceUnauthorized
- func (o *DeleteServiceUnauthorized) Code() int
- func (o *DeleteServiceUnauthorized) Error() string
- func (o *DeleteServiceUnauthorized) GetPayload() *models.Error
- func (o *DeleteServiceUnauthorized) IsClientError() bool
- func (o *DeleteServiceUnauthorized) IsCode(code int) bool
- func (o *DeleteServiceUnauthorized) IsRedirect() bool
- func (o *DeleteServiceUnauthorized) IsServerError() bool
- func (o *DeleteServiceUnauthorized) IsSuccess() bool
- func (o *DeleteServiceUnauthorized) String() string
- type GetServiceForbidden
- func (o *GetServiceForbidden) Code() int
- func (o *GetServiceForbidden) Error() string
- func (o *GetServiceForbidden) GetPayload() *models.Error
- func (o *GetServiceForbidden) IsClientError() bool
- func (o *GetServiceForbidden) IsCode(code int) bool
- func (o *GetServiceForbidden) IsRedirect() bool
- func (o *GetServiceForbidden) IsServerError() bool
- func (o *GetServiceForbidden) IsSuccess() bool
- func (o *GetServiceForbidden) String() string
- type GetServiceNotFound
- func (o *GetServiceNotFound) Code() int
- func (o *GetServiceNotFound) Error() string
- func (o *GetServiceNotFound) GetPayload() *models.Error
- func (o *GetServiceNotFound) IsClientError() bool
- func (o *GetServiceNotFound) IsCode(code int) bool
- func (o *GetServiceNotFound) IsRedirect() bool
- func (o *GetServiceNotFound) IsServerError() bool
- func (o *GetServiceNotFound) IsSuccess() bool
- func (o *GetServiceNotFound) String() string
- type GetServiceOK
- func (o *GetServiceOK) Code() int
- func (o *GetServiceOK) Error() string
- func (o *GetServiceOK) GetPayload() *models.ServiceWithScopesResponse
- func (o *GetServiceOK) IsClientError() bool
- func (o *GetServiceOK) IsCode(code int) bool
- func (o *GetServiceOK) IsRedirect() bool
- func (o *GetServiceOK) IsServerError() bool
- func (o *GetServiceOK) IsSuccess() bool
- func (o *GetServiceOK) String() string
- type GetServiceParams
- func (o *GetServiceParams) SetContext(ctx context.Context)
- func (o *GetServiceParams) SetDefaults()
- func (o *GetServiceParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceParams) SetIfMatch(ifMatch *string)
- func (o *GetServiceParams) SetSid(sid string)
- func (o *GetServiceParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceParams) WithContext(ctx context.Context) *GetServiceParams
- func (o *GetServiceParams) WithDefaults() *GetServiceParams
- func (o *GetServiceParams) WithHTTPClient(client *http.Client) *GetServiceParams
- func (o *GetServiceParams) WithIfMatch(ifMatch *string) *GetServiceParams
- func (o *GetServiceParams) WithSid(sid string) *GetServiceParams
- func (o *GetServiceParams) WithTimeout(timeout time.Duration) *GetServiceParams
- func (o *GetServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceReader
- type GetServiceTooManyRequests
- func (o *GetServiceTooManyRequests) Code() int
- func (o *GetServiceTooManyRequests) Error() string
- func (o *GetServiceTooManyRequests) GetPayload() *models.Error
- func (o *GetServiceTooManyRequests) IsClientError() bool
- func (o *GetServiceTooManyRequests) IsCode(code int) bool
- func (o *GetServiceTooManyRequests) IsRedirect() bool
- func (o *GetServiceTooManyRequests) IsServerError() bool
- func (o *GetServiceTooManyRequests) IsSuccess() bool
- func (o *GetServiceTooManyRequests) String() string
- type GetServiceUnauthorized
- func (o *GetServiceUnauthorized) Code() int
- func (o *GetServiceUnauthorized) Error() string
- func (o *GetServiceUnauthorized) GetPayload() *models.Error
- func (o *GetServiceUnauthorized) IsClientError() bool
- func (o *GetServiceUnauthorized) IsCode(code int) bool
- func (o *GetServiceUnauthorized) IsRedirect() bool
- func (o *GetServiceUnauthorized) IsServerError() bool
- func (o *GetServiceUnauthorized) IsSuccess() bool
- func (o *GetServiceUnauthorized) String() string
- type ImportSpecificationFromFileBadRequest
- func (o *ImportSpecificationFromFileBadRequest) Code() int
- func (o *ImportSpecificationFromFileBadRequest) Error() string
- func (o *ImportSpecificationFromFileBadRequest) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileBadRequest) IsClientError() bool
- func (o *ImportSpecificationFromFileBadRequest) IsCode(code int) bool
- func (o *ImportSpecificationFromFileBadRequest) IsRedirect() bool
- func (o *ImportSpecificationFromFileBadRequest) IsServerError() bool
- func (o *ImportSpecificationFromFileBadRequest) IsSuccess() bool
- func (o *ImportSpecificationFromFileBadRequest) String() string
- type ImportSpecificationFromFileConflict
- func (o *ImportSpecificationFromFileConflict) Code() int
- func (o *ImportSpecificationFromFileConflict) Error() string
- func (o *ImportSpecificationFromFileConflict) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileConflict) IsClientError() bool
- func (o *ImportSpecificationFromFileConflict) IsCode(code int) bool
- func (o *ImportSpecificationFromFileConflict) IsRedirect() bool
- func (o *ImportSpecificationFromFileConflict) IsServerError() bool
- func (o *ImportSpecificationFromFileConflict) IsSuccess() bool
- func (o *ImportSpecificationFromFileConflict) String() string
- type ImportSpecificationFromFileForbidden
- func (o *ImportSpecificationFromFileForbidden) Code() int
- func (o *ImportSpecificationFromFileForbidden) Error() string
- func (o *ImportSpecificationFromFileForbidden) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileForbidden) IsClientError() bool
- func (o *ImportSpecificationFromFileForbidden) IsCode(code int) bool
- func (o *ImportSpecificationFromFileForbidden) IsRedirect() bool
- func (o *ImportSpecificationFromFileForbidden) IsServerError() bool
- func (o *ImportSpecificationFromFileForbidden) IsSuccess() bool
- func (o *ImportSpecificationFromFileForbidden) String() string
- type ImportSpecificationFromFileNotFound
- func (o *ImportSpecificationFromFileNotFound) Code() int
- func (o *ImportSpecificationFromFileNotFound) Error() string
- func (o *ImportSpecificationFromFileNotFound) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileNotFound) IsClientError() bool
- func (o *ImportSpecificationFromFileNotFound) IsCode(code int) bool
- func (o *ImportSpecificationFromFileNotFound) IsRedirect() bool
- func (o *ImportSpecificationFromFileNotFound) IsServerError() bool
- func (o *ImportSpecificationFromFileNotFound) IsSuccess() bool
- func (o *ImportSpecificationFromFileNotFound) String() string
- type ImportSpecificationFromFileOK
- func (o *ImportSpecificationFromFileOK) Code() int
- func (o *ImportSpecificationFromFileOK) Error() string
- func (o *ImportSpecificationFromFileOK) GetPayload() *models.ImportServiceConfigurationResult
- func (o *ImportSpecificationFromFileOK) IsClientError() bool
- func (o *ImportSpecificationFromFileOK) IsCode(code int) bool
- func (o *ImportSpecificationFromFileOK) IsRedirect() bool
- func (o *ImportSpecificationFromFileOK) IsServerError() bool
- func (o *ImportSpecificationFromFileOK) IsSuccess() bool
- func (o *ImportSpecificationFromFileOK) String() string
- type ImportSpecificationFromFileParams
- func NewImportSpecificationFromFileParams() *ImportSpecificationFromFileParams
- func NewImportSpecificationFromFileParamsWithContext(ctx context.Context) *ImportSpecificationFromFileParams
- func NewImportSpecificationFromFileParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromFileParams
- func NewImportSpecificationFromFileParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) SetContext(ctx context.Context)
- func (o *ImportSpecificationFromFileParams) SetDefaults()
- func (o *ImportSpecificationFromFileParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportSpecificationFromFileParams) SetGatewayType(gatewayType *string)
- func (o *ImportSpecificationFromFileParams) SetHTTPClient(client *http.Client)
- func (o *ImportSpecificationFromFileParams) SetIfMatch(ifMatch *string)
- func (o *ImportSpecificationFromFileParams) SetSid(sid string)
- func (o *ImportSpecificationFromFileParams) SetTimeout(timeout time.Duration)
- func (o *ImportSpecificationFromFileParams) WithContext(ctx context.Context) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithDefaults() *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithFile(file runtime.NamedReadCloser) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithGatewayType(gatewayType *string) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithSid(sid string) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromFileParams
- func (o *ImportSpecificationFromFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportSpecificationFromFileReader
- type ImportSpecificationFromFileTooManyRequests
- func (o *ImportSpecificationFromFileTooManyRequests) Code() int
- func (o *ImportSpecificationFromFileTooManyRequests) Error() string
- func (o *ImportSpecificationFromFileTooManyRequests) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileTooManyRequests) IsClientError() bool
- func (o *ImportSpecificationFromFileTooManyRequests) IsCode(code int) bool
- func (o *ImportSpecificationFromFileTooManyRequests) IsRedirect() bool
- func (o *ImportSpecificationFromFileTooManyRequests) IsServerError() bool
- func (o *ImportSpecificationFromFileTooManyRequests) IsSuccess() bool
- func (o *ImportSpecificationFromFileTooManyRequests) String() string
- type ImportSpecificationFromFileUnauthorized
- func (o *ImportSpecificationFromFileUnauthorized) Code() int
- func (o *ImportSpecificationFromFileUnauthorized) Error() string
- func (o *ImportSpecificationFromFileUnauthorized) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileUnauthorized) IsClientError() bool
- func (o *ImportSpecificationFromFileUnauthorized) IsCode(code int) bool
- func (o *ImportSpecificationFromFileUnauthorized) IsRedirect() bool
- func (o *ImportSpecificationFromFileUnauthorized) IsServerError() bool
- func (o *ImportSpecificationFromFileUnauthorized) IsSuccess() bool
- func (o *ImportSpecificationFromFileUnauthorized) String() string
- type ImportSpecificationFromFileUnprocessableEntity
- func (o *ImportSpecificationFromFileUnprocessableEntity) Code() int
- func (o *ImportSpecificationFromFileUnprocessableEntity) Error() string
- func (o *ImportSpecificationFromFileUnprocessableEntity) GetPayload() *models.Error
- func (o *ImportSpecificationFromFileUnprocessableEntity) IsClientError() bool
- func (o *ImportSpecificationFromFileUnprocessableEntity) IsCode(code int) bool
- func (o *ImportSpecificationFromFileUnprocessableEntity) IsRedirect() bool
- func (o *ImportSpecificationFromFileUnprocessableEntity) IsServerError() bool
- func (o *ImportSpecificationFromFileUnprocessableEntity) IsSuccess() bool
- func (o *ImportSpecificationFromFileUnprocessableEntity) String() string
- type ImportSpecificationFromTextBadRequest
- func (o *ImportSpecificationFromTextBadRequest) Code() int
- func (o *ImportSpecificationFromTextBadRequest) Error() string
- func (o *ImportSpecificationFromTextBadRequest) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextBadRequest) IsClientError() bool
- func (o *ImportSpecificationFromTextBadRequest) IsCode(code int) bool
- func (o *ImportSpecificationFromTextBadRequest) IsRedirect() bool
- func (o *ImportSpecificationFromTextBadRequest) IsServerError() bool
- func (o *ImportSpecificationFromTextBadRequest) IsSuccess() bool
- func (o *ImportSpecificationFromTextBadRequest) String() string
- type ImportSpecificationFromTextConflict
- func (o *ImportSpecificationFromTextConflict) Code() int
- func (o *ImportSpecificationFromTextConflict) Error() string
- func (o *ImportSpecificationFromTextConflict) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextConflict) IsClientError() bool
- func (o *ImportSpecificationFromTextConflict) IsCode(code int) bool
- func (o *ImportSpecificationFromTextConflict) IsRedirect() bool
- func (o *ImportSpecificationFromTextConflict) IsServerError() bool
- func (o *ImportSpecificationFromTextConflict) IsSuccess() bool
- func (o *ImportSpecificationFromTextConflict) String() string
- type ImportSpecificationFromTextForbidden
- func (o *ImportSpecificationFromTextForbidden) Code() int
- func (o *ImportSpecificationFromTextForbidden) Error() string
- func (o *ImportSpecificationFromTextForbidden) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextForbidden) IsClientError() bool
- func (o *ImportSpecificationFromTextForbidden) IsCode(code int) bool
- func (o *ImportSpecificationFromTextForbidden) IsRedirect() bool
- func (o *ImportSpecificationFromTextForbidden) IsServerError() bool
- func (o *ImportSpecificationFromTextForbidden) IsSuccess() bool
- func (o *ImportSpecificationFromTextForbidden) String() string
- type ImportSpecificationFromTextNotFound
- func (o *ImportSpecificationFromTextNotFound) Code() int
- func (o *ImportSpecificationFromTextNotFound) Error() string
- func (o *ImportSpecificationFromTextNotFound) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextNotFound) IsClientError() bool
- func (o *ImportSpecificationFromTextNotFound) IsCode(code int) bool
- func (o *ImportSpecificationFromTextNotFound) IsRedirect() bool
- func (o *ImportSpecificationFromTextNotFound) IsServerError() bool
- func (o *ImportSpecificationFromTextNotFound) IsSuccess() bool
- func (o *ImportSpecificationFromTextNotFound) String() string
- type ImportSpecificationFromTextOK
- func (o *ImportSpecificationFromTextOK) Code() int
- func (o *ImportSpecificationFromTextOK) Error() string
- func (o *ImportSpecificationFromTextOK) GetPayload() *models.ImportServiceConfigurationResult
- func (o *ImportSpecificationFromTextOK) IsClientError() bool
- func (o *ImportSpecificationFromTextOK) IsCode(code int) bool
- func (o *ImportSpecificationFromTextOK) IsRedirect() bool
- func (o *ImportSpecificationFromTextOK) IsServerError() bool
- func (o *ImportSpecificationFromTextOK) IsSuccess() bool
- func (o *ImportSpecificationFromTextOK) String() string
- type ImportSpecificationFromTextParams
- func NewImportSpecificationFromTextParams() *ImportSpecificationFromTextParams
- func NewImportSpecificationFromTextParamsWithContext(ctx context.Context) *ImportSpecificationFromTextParams
- func NewImportSpecificationFromTextParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromTextParams
- func NewImportSpecificationFromTextParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) SetContext(ctx context.Context)
- func (o *ImportSpecificationFromTextParams) SetDefaults()
- func (o *ImportSpecificationFromTextParams) SetHTTPClient(client *http.Client)
- func (o *ImportSpecificationFromTextParams) SetIfMatch(ifMatch *string)
- func (o *ImportSpecificationFromTextParams) SetSid(sid string)
- func (o *ImportSpecificationFromTextParams) SetText(text string)
- func (o *ImportSpecificationFromTextParams) SetTimeout(timeout time.Duration)
- func (o *ImportSpecificationFromTextParams) WithContext(ctx context.Context) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithDefaults() *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithSid(sid string) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithText(text string) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromTextParams
- func (o *ImportSpecificationFromTextParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportSpecificationFromTextReader
- type ImportSpecificationFromTextTooManyRequests
- func (o *ImportSpecificationFromTextTooManyRequests) Code() int
- func (o *ImportSpecificationFromTextTooManyRequests) Error() string
- func (o *ImportSpecificationFromTextTooManyRequests) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextTooManyRequests) IsClientError() bool
- func (o *ImportSpecificationFromTextTooManyRequests) IsCode(code int) bool
- func (o *ImportSpecificationFromTextTooManyRequests) IsRedirect() bool
- func (o *ImportSpecificationFromTextTooManyRequests) IsServerError() bool
- func (o *ImportSpecificationFromTextTooManyRequests) IsSuccess() bool
- func (o *ImportSpecificationFromTextTooManyRequests) String() string
- type ImportSpecificationFromTextUnauthorized
- func (o *ImportSpecificationFromTextUnauthorized) Code() int
- func (o *ImportSpecificationFromTextUnauthorized) Error() string
- func (o *ImportSpecificationFromTextUnauthorized) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextUnauthorized) IsClientError() bool
- func (o *ImportSpecificationFromTextUnauthorized) IsCode(code int) bool
- func (o *ImportSpecificationFromTextUnauthorized) IsRedirect() bool
- func (o *ImportSpecificationFromTextUnauthorized) IsServerError() bool
- func (o *ImportSpecificationFromTextUnauthorized) IsSuccess() bool
- func (o *ImportSpecificationFromTextUnauthorized) String() string
- type ImportSpecificationFromTextUnprocessableEntity
- func (o *ImportSpecificationFromTextUnprocessableEntity) Code() int
- func (o *ImportSpecificationFromTextUnprocessableEntity) Error() string
- func (o *ImportSpecificationFromTextUnprocessableEntity) GetPayload() *models.Error
- func (o *ImportSpecificationFromTextUnprocessableEntity) IsClientError() bool
- func (o *ImportSpecificationFromTextUnprocessableEntity) IsCode(code int) bool
- func (o *ImportSpecificationFromTextUnprocessableEntity) IsRedirect() bool
- func (o *ImportSpecificationFromTextUnprocessableEntity) IsServerError() bool
- func (o *ImportSpecificationFromTextUnprocessableEntity) IsSuccess() bool
- func (o *ImportSpecificationFromTextUnprocessableEntity) String() string
- type ImportSpecificationFromURLBadRequest
- func (o *ImportSpecificationFromURLBadRequest) Code() int
- func (o *ImportSpecificationFromURLBadRequest) Error() string
- func (o *ImportSpecificationFromURLBadRequest) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLBadRequest) IsClientError() bool
- func (o *ImportSpecificationFromURLBadRequest) IsCode(code int) bool
- func (o *ImportSpecificationFromURLBadRequest) IsRedirect() bool
- func (o *ImportSpecificationFromURLBadRequest) IsServerError() bool
- func (o *ImportSpecificationFromURLBadRequest) IsSuccess() bool
- func (o *ImportSpecificationFromURLBadRequest) String() string
- type ImportSpecificationFromURLConflict
- func (o *ImportSpecificationFromURLConflict) Code() int
- func (o *ImportSpecificationFromURLConflict) Error() string
- func (o *ImportSpecificationFromURLConflict) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLConflict) IsClientError() bool
- func (o *ImportSpecificationFromURLConflict) IsCode(code int) bool
- func (o *ImportSpecificationFromURLConflict) IsRedirect() bool
- func (o *ImportSpecificationFromURLConflict) IsServerError() bool
- func (o *ImportSpecificationFromURLConflict) IsSuccess() bool
- func (o *ImportSpecificationFromURLConflict) String() string
- type ImportSpecificationFromURLForbidden
- func (o *ImportSpecificationFromURLForbidden) Code() int
- func (o *ImportSpecificationFromURLForbidden) Error() string
- func (o *ImportSpecificationFromURLForbidden) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLForbidden) IsClientError() bool
- func (o *ImportSpecificationFromURLForbidden) IsCode(code int) bool
- func (o *ImportSpecificationFromURLForbidden) IsRedirect() bool
- func (o *ImportSpecificationFromURLForbidden) IsServerError() bool
- func (o *ImportSpecificationFromURLForbidden) IsSuccess() bool
- func (o *ImportSpecificationFromURLForbidden) String() string
- type ImportSpecificationFromURLNotFound
- func (o *ImportSpecificationFromURLNotFound) Code() int
- func (o *ImportSpecificationFromURLNotFound) Error() string
- func (o *ImportSpecificationFromURLNotFound) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLNotFound) IsClientError() bool
- func (o *ImportSpecificationFromURLNotFound) IsCode(code int) bool
- func (o *ImportSpecificationFromURLNotFound) IsRedirect() bool
- func (o *ImportSpecificationFromURLNotFound) IsServerError() bool
- func (o *ImportSpecificationFromURLNotFound) IsSuccess() bool
- func (o *ImportSpecificationFromURLNotFound) String() string
- type ImportSpecificationFromURLOK
- func (o *ImportSpecificationFromURLOK) Code() int
- func (o *ImportSpecificationFromURLOK) Error() string
- func (o *ImportSpecificationFromURLOK) GetPayload() *models.ImportServiceConfigurationResult
- func (o *ImportSpecificationFromURLOK) IsClientError() bool
- func (o *ImportSpecificationFromURLOK) IsCode(code int) bool
- func (o *ImportSpecificationFromURLOK) IsRedirect() bool
- func (o *ImportSpecificationFromURLOK) IsServerError() bool
- func (o *ImportSpecificationFromURLOK) IsSuccess() bool
- func (o *ImportSpecificationFromURLOK) String() string
- type ImportSpecificationFromURLParams
- func NewImportSpecificationFromURLParams() *ImportSpecificationFromURLParams
- func NewImportSpecificationFromURLParamsWithContext(ctx context.Context) *ImportSpecificationFromURLParams
- func NewImportSpecificationFromURLParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromURLParams
- func NewImportSpecificationFromURLParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) SetContext(ctx context.Context)
- func (o *ImportSpecificationFromURLParams) SetDefaults()
- func (o *ImportSpecificationFromURLParams) SetGatewayType(gatewayType *string)
- func (o *ImportSpecificationFromURLParams) SetHTTPClient(client *http.Client)
- func (o *ImportSpecificationFromURLParams) SetIfMatch(ifMatch *string)
- func (o *ImportSpecificationFromURLParams) SetSid(sid string)
- func (o *ImportSpecificationFromURLParams) SetTimeout(timeout time.Duration)
- func (o *ImportSpecificationFromURLParams) SetURL(url *string)
- func (o *ImportSpecificationFromURLParams) WithContext(ctx context.Context) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithDefaults() *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithGatewayType(gatewayType *string) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithSid(sid string) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WithURL(url *string) *ImportSpecificationFromURLParams
- func (o *ImportSpecificationFromURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportSpecificationFromURLReader
- type ImportSpecificationFromURLTooManyRequests
- func (o *ImportSpecificationFromURLTooManyRequests) Code() int
- func (o *ImportSpecificationFromURLTooManyRequests) Error() string
- func (o *ImportSpecificationFromURLTooManyRequests) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLTooManyRequests) IsClientError() bool
- func (o *ImportSpecificationFromURLTooManyRequests) IsCode(code int) bool
- func (o *ImportSpecificationFromURLTooManyRequests) IsRedirect() bool
- func (o *ImportSpecificationFromURLTooManyRequests) IsServerError() bool
- func (o *ImportSpecificationFromURLTooManyRequests) IsSuccess() bool
- func (o *ImportSpecificationFromURLTooManyRequests) String() string
- type ImportSpecificationFromURLUnauthorized
- func (o *ImportSpecificationFromURLUnauthorized) Code() int
- func (o *ImportSpecificationFromURLUnauthorized) Error() string
- func (o *ImportSpecificationFromURLUnauthorized) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLUnauthorized) IsClientError() bool
- func (o *ImportSpecificationFromURLUnauthorized) IsCode(code int) bool
- func (o *ImportSpecificationFromURLUnauthorized) IsRedirect() bool
- func (o *ImportSpecificationFromURLUnauthorized) IsServerError() bool
- func (o *ImportSpecificationFromURLUnauthorized) IsSuccess() bool
- func (o *ImportSpecificationFromURLUnauthorized) String() string
- type ImportSpecificationFromURLUnprocessableEntity
- func (o *ImportSpecificationFromURLUnprocessableEntity) Code() int
- func (o *ImportSpecificationFromURLUnprocessableEntity) Error() string
- func (o *ImportSpecificationFromURLUnprocessableEntity) GetPayload() *models.Error
- func (o *ImportSpecificationFromURLUnprocessableEntity) IsClientError() bool
- func (o *ImportSpecificationFromURLUnprocessableEntity) IsCode(code int) bool
- func (o *ImportSpecificationFromURLUnprocessableEntity) IsRedirect() bool
- func (o *ImportSpecificationFromURLUnprocessableEntity) IsServerError() bool
- func (o *ImportSpecificationFromURLUnprocessableEntity) IsSuccess() bool
- func (o *ImportSpecificationFromURLUnprocessableEntity) String() string
- type ListServicesBadRequest
- func (o *ListServicesBadRequest) Code() int
- func (o *ListServicesBadRequest) Error() string
- func (o *ListServicesBadRequest) GetPayload() *models.Error
- func (o *ListServicesBadRequest) IsClientError() bool
- func (o *ListServicesBadRequest) IsCode(code int) bool
- func (o *ListServicesBadRequest) IsRedirect() bool
- func (o *ListServicesBadRequest) IsServerError() bool
- func (o *ListServicesBadRequest) IsSuccess() bool
- func (o *ListServicesBadRequest) String() string
- type ListServicesForbidden
- func (o *ListServicesForbidden) Code() int
- func (o *ListServicesForbidden) Error() string
- func (o *ListServicesForbidden) GetPayload() *models.Error
- func (o *ListServicesForbidden) IsClientError() bool
- func (o *ListServicesForbidden) IsCode(code int) bool
- func (o *ListServicesForbidden) IsRedirect() bool
- func (o *ListServicesForbidden) IsServerError() bool
- func (o *ListServicesForbidden) IsSuccess() bool
- func (o *ListServicesForbidden) String() string
- type ListServicesNotFound
- func (o *ListServicesNotFound) Code() int
- func (o *ListServicesNotFound) Error() string
- func (o *ListServicesNotFound) GetPayload() *models.Error
- func (o *ListServicesNotFound) IsClientError() bool
- func (o *ListServicesNotFound) IsCode(code int) bool
- func (o *ListServicesNotFound) IsRedirect() bool
- func (o *ListServicesNotFound) IsServerError() bool
- func (o *ListServicesNotFound) IsSuccess() bool
- func (o *ListServicesNotFound) String() string
- type ListServicesOK
- func (o *ListServicesOK) Code() int
- func (o *ListServicesOK) Error() string
- func (o *ListServicesOK) GetPayload() *models.ServicesResponse
- func (o *ListServicesOK) IsClientError() bool
- func (o *ListServicesOK) IsCode(code int) bool
- func (o *ListServicesOK) IsRedirect() bool
- func (o *ListServicesOK) IsServerError() bool
- func (o *ListServicesOK) IsSuccess() bool
- func (o *ListServicesOK) String() string
- type ListServicesParams
- func (o *ListServicesParams) SetAfterServiceID(afterServiceID *string)
- func (o *ListServicesParams) SetBeforeServiceID(beforeServiceID *string)
- func (o *ListServicesParams) SetContext(ctx context.Context)
- func (o *ListServicesParams) SetDefaults()
- func (o *ListServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicesParams) SetIfMatch(ifMatch *string)
- func (o *ListServicesParams) SetLimit(limit *int64)
- func (o *ListServicesParams) SetOrder(order *string)
- func (o *ListServicesParams) SetSearchPhrase(searchPhrase *string)
- func (o *ListServicesParams) SetServiceTypes(serviceTypes *string)
- func (o *ListServicesParams) SetSort(sort *string)
- func (o *ListServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicesParams) SetWid(wid string)
- func (o *ListServicesParams) WithAfterServiceID(afterServiceID *string) *ListServicesParams
- func (o *ListServicesParams) WithBeforeServiceID(beforeServiceID *string) *ListServicesParams
- func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
- func (o *ListServicesParams) WithDefaults() *ListServicesParams
- func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
- func (o *ListServicesParams) WithIfMatch(ifMatch *string) *ListServicesParams
- func (o *ListServicesParams) WithLimit(limit *int64) *ListServicesParams
- func (o *ListServicesParams) WithOrder(order *string) *ListServicesParams
- func (o *ListServicesParams) WithSearchPhrase(searchPhrase *string) *ListServicesParams
- func (o *ListServicesParams) WithServiceTypes(serviceTypes *string) *ListServicesParams
- func (o *ListServicesParams) WithSort(sort *string) *ListServicesParams
- func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
- func (o *ListServicesParams) WithWid(wid string) *ListServicesParams
- func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicesReader
- type ListServicesTooManyRequests
- func (o *ListServicesTooManyRequests) Code() int
- func (o *ListServicesTooManyRequests) Error() string
- func (o *ListServicesTooManyRequests) GetPayload() *models.Error
- func (o *ListServicesTooManyRequests) IsClientError() bool
- func (o *ListServicesTooManyRequests) IsCode(code int) bool
- func (o *ListServicesTooManyRequests) IsRedirect() bool
- func (o *ListServicesTooManyRequests) IsServerError() bool
- func (o *ListServicesTooManyRequests) IsSuccess() bool
- func (o *ListServicesTooManyRequests) String() string
- type ListServicesUnauthorized
- func (o *ListServicesUnauthorized) Code() int
- func (o *ListServicesUnauthorized) Error() string
- func (o *ListServicesUnauthorized) GetPayload() *models.Error
- func (o *ListServicesUnauthorized) IsClientError() bool
- func (o *ListServicesUnauthorized) IsCode(code int) bool
- func (o *ListServicesUnauthorized) IsRedirect() bool
- func (o *ListServicesUnauthorized) IsServerError() bool
- func (o *ListServicesUnauthorized) IsSuccess() bool
- func (o *ListServicesUnauthorized) String() string
- type RemoveSpecificationBadRequest
- func (o *RemoveSpecificationBadRequest) Code() int
- func (o *RemoveSpecificationBadRequest) Error() string
- func (o *RemoveSpecificationBadRequest) GetPayload() *models.Error
- func (o *RemoveSpecificationBadRequest) IsClientError() bool
- func (o *RemoveSpecificationBadRequest) IsCode(code int) bool
- func (o *RemoveSpecificationBadRequest) IsRedirect() bool
- func (o *RemoveSpecificationBadRequest) IsServerError() bool
- func (o *RemoveSpecificationBadRequest) IsSuccess() bool
- func (o *RemoveSpecificationBadRequest) String() string
- type RemoveSpecificationConflict
- func (o *RemoveSpecificationConflict) Code() int
- func (o *RemoveSpecificationConflict) Error() string
- func (o *RemoveSpecificationConflict) GetPayload() *models.Error
- func (o *RemoveSpecificationConflict) IsClientError() bool
- func (o *RemoveSpecificationConflict) IsCode(code int) bool
- func (o *RemoveSpecificationConflict) IsRedirect() bool
- func (o *RemoveSpecificationConflict) IsServerError() bool
- func (o *RemoveSpecificationConflict) IsSuccess() bool
- func (o *RemoveSpecificationConflict) String() string
- type RemoveSpecificationForbidden
- func (o *RemoveSpecificationForbidden) Code() int
- func (o *RemoveSpecificationForbidden) Error() string
- func (o *RemoveSpecificationForbidden) GetPayload() *models.Error
- func (o *RemoveSpecificationForbidden) IsClientError() bool
- func (o *RemoveSpecificationForbidden) IsCode(code int) bool
- func (o *RemoveSpecificationForbidden) IsRedirect() bool
- func (o *RemoveSpecificationForbidden) IsServerError() bool
- func (o *RemoveSpecificationForbidden) IsSuccess() bool
- func (o *RemoveSpecificationForbidden) String() string
- type RemoveSpecificationNotFound
- func (o *RemoveSpecificationNotFound) Code() int
- func (o *RemoveSpecificationNotFound) Error() string
- func (o *RemoveSpecificationNotFound) GetPayload() *models.Error
- func (o *RemoveSpecificationNotFound) IsClientError() bool
- func (o *RemoveSpecificationNotFound) IsCode(code int) bool
- func (o *RemoveSpecificationNotFound) IsRedirect() bool
- func (o *RemoveSpecificationNotFound) IsServerError() bool
- func (o *RemoveSpecificationNotFound) IsSuccess() bool
- func (o *RemoveSpecificationNotFound) String() string
- type RemoveSpecificationOK
- func (o *RemoveSpecificationOK) Code() int
- func (o *RemoveSpecificationOK) Error() string
- func (o *RemoveSpecificationOK) GetPayload() *models.RemoveServiceConfigurationResult
- func (o *RemoveSpecificationOK) IsClientError() bool
- func (o *RemoveSpecificationOK) IsCode(code int) bool
- func (o *RemoveSpecificationOK) IsRedirect() bool
- func (o *RemoveSpecificationOK) IsServerError() bool
- func (o *RemoveSpecificationOK) IsSuccess() bool
- func (o *RemoveSpecificationOK) String() string
- type RemoveSpecificationParams
- func NewRemoveSpecificationParams() *RemoveSpecificationParams
- func NewRemoveSpecificationParamsWithContext(ctx context.Context) *RemoveSpecificationParams
- func NewRemoveSpecificationParamsWithHTTPClient(client *http.Client) *RemoveSpecificationParams
- func NewRemoveSpecificationParamsWithTimeout(timeout time.Duration) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) SetContext(ctx context.Context)
- func (o *RemoveSpecificationParams) SetDefaults()
- func (o *RemoveSpecificationParams) SetHTTPClient(client *http.Client)
- func (o *RemoveSpecificationParams) SetIfMatch(ifMatch *string)
- func (o *RemoveSpecificationParams) SetSid(sid string)
- func (o *RemoveSpecificationParams) SetTimeout(timeout time.Duration)
- func (o *RemoveSpecificationParams) WithContext(ctx context.Context) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WithDefaults() *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WithHTTPClient(client *http.Client) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WithIfMatch(ifMatch *string) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WithSid(sid string) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WithTimeout(timeout time.Duration) *RemoveSpecificationParams
- func (o *RemoveSpecificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveSpecificationReader
- type RemoveSpecificationTooManyRequests
- func (o *RemoveSpecificationTooManyRequests) Code() int
- func (o *RemoveSpecificationTooManyRequests) Error() string
- func (o *RemoveSpecificationTooManyRequests) GetPayload() *models.Error
- func (o *RemoveSpecificationTooManyRequests) IsClientError() bool
- func (o *RemoveSpecificationTooManyRequests) IsCode(code int) bool
- func (o *RemoveSpecificationTooManyRequests) IsRedirect() bool
- func (o *RemoveSpecificationTooManyRequests) IsServerError() bool
- func (o *RemoveSpecificationTooManyRequests) IsSuccess() bool
- func (o *RemoveSpecificationTooManyRequests) String() string
- type RemoveSpecificationUnauthorized
- func (o *RemoveSpecificationUnauthorized) Code() int
- func (o *RemoveSpecificationUnauthorized) Error() string
- func (o *RemoveSpecificationUnauthorized) GetPayload() *models.Error
- func (o *RemoveSpecificationUnauthorized) IsClientError() bool
- func (o *RemoveSpecificationUnauthorized) IsCode(code int) bool
- func (o *RemoveSpecificationUnauthorized) IsRedirect() bool
- func (o *RemoveSpecificationUnauthorized) IsServerError() bool
- func (o *RemoveSpecificationUnauthorized) IsSuccess() bool
- func (o *RemoveSpecificationUnauthorized) String() string
- type RemoveSpecificationUnprocessableEntity
- func (o *RemoveSpecificationUnprocessableEntity) Code() int
- func (o *RemoveSpecificationUnprocessableEntity) Error() string
- func (o *RemoveSpecificationUnprocessableEntity) GetPayload() *models.Error
- func (o *RemoveSpecificationUnprocessableEntity) IsClientError() bool
- func (o *RemoveSpecificationUnprocessableEntity) IsCode(code int) bool
- func (o *RemoveSpecificationUnprocessableEntity) IsRedirect() bool
- func (o *RemoveSpecificationUnprocessableEntity) IsServerError() bool
- func (o *RemoveSpecificationUnprocessableEntity) IsSuccess() bool
- func (o *RemoveSpecificationUnprocessableEntity) String() string
- type UpdateServiceBadRequest
- func (o *UpdateServiceBadRequest) Code() int
- func (o *UpdateServiceBadRequest) Error() string
- func (o *UpdateServiceBadRequest) GetPayload() *models.Error
- func (o *UpdateServiceBadRequest) IsClientError() bool
- func (o *UpdateServiceBadRequest) IsCode(code int) bool
- func (o *UpdateServiceBadRequest) IsRedirect() bool
- func (o *UpdateServiceBadRequest) IsServerError() bool
- func (o *UpdateServiceBadRequest) IsSuccess() bool
- func (o *UpdateServiceBadRequest) String() string
- type UpdateServiceForbidden
- func (o *UpdateServiceForbidden) Code() int
- func (o *UpdateServiceForbidden) Error() string
- func (o *UpdateServiceForbidden) GetPayload() *models.Error
- func (o *UpdateServiceForbidden) IsClientError() bool
- func (o *UpdateServiceForbidden) IsCode(code int) bool
- func (o *UpdateServiceForbidden) IsRedirect() bool
- func (o *UpdateServiceForbidden) IsServerError() bool
- func (o *UpdateServiceForbidden) IsSuccess() bool
- func (o *UpdateServiceForbidden) String() string
- type UpdateServiceNotFound
- func (o *UpdateServiceNotFound) Code() int
- func (o *UpdateServiceNotFound) Error() string
- func (o *UpdateServiceNotFound) GetPayload() *models.Error
- func (o *UpdateServiceNotFound) IsClientError() bool
- func (o *UpdateServiceNotFound) IsCode(code int) bool
- func (o *UpdateServiceNotFound) IsRedirect() bool
- func (o *UpdateServiceNotFound) IsServerError() bool
- func (o *UpdateServiceNotFound) IsSuccess() bool
- func (o *UpdateServiceNotFound) String() string
- type UpdateServiceOK
- func (o *UpdateServiceOK) Code() int
- func (o *UpdateServiceOK) Error() string
- func (o *UpdateServiceOK) GetPayload() *models.ServiceWithAudience
- func (o *UpdateServiceOK) IsClientError() bool
- func (o *UpdateServiceOK) IsCode(code int) bool
- func (o *UpdateServiceOK) IsRedirect() bool
- func (o *UpdateServiceOK) IsServerError() bool
- func (o *UpdateServiceOK) IsSuccess() bool
- func (o *UpdateServiceOK) String() string
- type UpdateServiceParams
- func (o *UpdateServiceParams) SetContext(ctx context.Context)
- func (o *UpdateServiceParams) SetDefaults()
- func (o *UpdateServiceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceParams) SetIfMatch(ifMatch *string)
- func (o *UpdateServiceParams) SetService(service *models.Service)
- func (o *UpdateServiceParams) SetSid(sid string)
- func (o *UpdateServiceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceParams) WithContext(ctx context.Context) *UpdateServiceParams
- func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams
- func (o *UpdateServiceParams) WithHTTPClient(client *http.Client) *UpdateServiceParams
- func (o *UpdateServiceParams) WithIfMatch(ifMatch *string) *UpdateServiceParams
- func (o *UpdateServiceParams) WithService(service *models.Service) *UpdateServiceParams
- func (o *UpdateServiceParams) WithSid(sid string) *UpdateServiceParams
- func (o *UpdateServiceParams) WithTimeout(timeout time.Duration) *UpdateServiceParams
- func (o *UpdateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceReader
- type UpdateServiceTooManyRequests
- func (o *UpdateServiceTooManyRequests) Code() int
- func (o *UpdateServiceTooManyRequests) Error() string
- func (o *UpdateServiceTooManyRequests) GetPayload() *models.Error
- func (o *UpdateServiceTooManyRequests) IsClientError() bool
- func (o *UpdateServiceTooManyRequests) IsCode(code int) bool
- func (o *UpdateServiceTooManyRequests) IsRedirect() bool
- func (o *UpdateServiceTooManyRequests) IsServerError() bool
- func (o *UpdateServiceTooManyRequests) IsSuccess() bool
- func (o *UpdateServiceTooManyRequests) String() string
- type UpdateServiceUnauthorized
- func (o *UpdateServiceUnauthorized) Code() int
- func (o *UpdateServiceUnauthorized) Error() string
- func (o *UpdateServiceUnauthorized) GetPayload() *models.Error
- func (o *UpdateServiceUnauthorized) IsClientError() bool
- func (o *UpdateServiceUnauthorized) IsCode(code int) bool
- func (o *UpdateServiceUnauthorized) IsRedirect() bool
- func (o *UpdateServiceUnauthorized) IsServerError() bool
- func (o *UpdateServiceUnauthorized) IsSuccess() bool
- func (o *UpdateServiceUnauthorized) String() string
- type UpdateServiceUnprocessableEntity
- func (o *UpdateServiceUnprocessableEntity) Code() int
- func (o *UpdateServiceUnprocessableEntity) Error() string
- func (o *UpdateServiceUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateServiceUnprocessableEntity) IsClientError() bool
- func (o *UpdateServiceUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateServiceUnprocessableEntity) IsRedirect() bool
- func (o *UpdateServiceUnprocessableEntity) IsServerError() bool
- func (o *UpdateServiceUnprocessableEntity) IsSuccess() bool
- func (o *UpdateServiceUnprocessableEntity) 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 services API
func (*Client) CreateService ¶
func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error)
CreateService creates service
Service name is required. Service id will be generated if not provided.
func (*Client) DeleteService ¶
func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceNoContent, error)
DeleteService deletes service
Delete service.
func (*Client) GetService ¶
func (a *Client) GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error)
GetService gets service
Get service.
func (*Client) ImportSpecificationFromFile ¶
func (a *Client) ImportSpecificationFromFile(params *ImportSpecificationFromFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromFileOK, error)
ImportSpecificationFromFile imports open API specification from file
It removes all apis before import.
func (*Client) ImportSpecificationFromText ¶
func (a *Client) ImportSpecificationFromText(params *ImportSpecificationFromTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromTextOK, error)
ImportSpecificationFromText imports open API specification from text
It removes all apis and policies (created by previous import) before import.
func (*Client) ImportSpecificationFromURL ¶
func (a *Client) ImportSpecificationFromURL(params *ImportSpecificationFromURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromURLOK, error)
ImportSpecificationFromURL imports open API specification from url
It removes all apis before import.
func (*Client) ListServices ¶
func (a *Client) ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error)
ListServices lists services
List services.
func (*Client) RemoveSpecification ¶
func (a *Client) RemoveSpecification(params *RemoveSpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveSpecificationOK, error)
RemoveSpecification removes imported apis and policies Remove all apis and policies created during import for a service.
If policy is used by another service it will not be removed.
If service is connected to a gateway, it will be disconnected.
If a gateway api group is connected to this service, it will be disconnected.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateService ¶
func (a *Client) UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceOK, error)
UpdateService updates service
Update service.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceNoContent, error) GetService(params *GetServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceOK, error) ImportSpecificationFromFile(params *ImportSpecificationFromFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromFileOK, error) ImportSpecificationFromText(params *ImportSpecificationFromTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromTextOK, error) ImportSpecificationFromURL(params *ImportSpecificationFromURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSpecificationFromURLOK, error) ListServices(params *ListServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicesOK, error) RemoveSpecification(params *RemoveSpecificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveSpecificationOK, error) UpdateService(params *UpdateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceOK, 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 services API client.
type CreateServiceBadRequest ¶
CreateServiceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateServiceBadRequest ¶
func NewCreateServiceBadRequest() *CreateServiceBadRequest
NewCreateServiceBadRequest creates a CreateServiceBadRequest with default headers values
func (*CreateServiceBadRequest) Code ¶
func (o *CreateServiceBadRequest) Code() int
Code gets the status code for the create service bad request response
func (*CreateServiceBadRequest) Error ¶
func (o *CreateServiceBadRequest) Error() string
func (*CreateServiceBadRequest) GetPayload ¶
func (o *CreateServiceBadRequest) GetPayload() *models.Error
func (*CreateServiceBadRequest) IsClientError ¶
func (o *CreateServiceBadRequest) IsClientError() bool
IsClientError returns true when this create service bad request response has a 4xx status code
func (*CreateServiceBadRequest) IsCode ¶
func (o *CreateServiceBadRequest) IsCode(code int) bool
IsCode returns true when this create service bad request response a status code equal to that given
func (*CreateServiceBadRequest) IsRedirect ¶
func (o *CreateServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this create service bad request response has a 3xx status code
func (*CreateServiceBadRequest) IsServerError ¶
func (o *CreateServiceBadRequest) IsServerError() bool
IsServerError returns true when this create service bad request response has a 5xx status code
func (*CreateServiceBadRequest) IsSuccess ¶
func (o *CreateServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this create service bad request response has a 2xx status code
func (*CreateServiceBadRequest) String ¶
func (o *CreateServiceBadRequest) String() string
type CreateServiceConflict ¶
CreateServiceConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateServiceConflict ¶
func NewCreateServiceConflict() *CreateServiceConflict
NewCreateServiceConflict creates a CreateServiceConflict with default headers values
func (*CreateServiceConflict) Code ¶
func (o *CreateServiceConflict) Code() int
Code gets the status code for the create service conflict response
func (*CreateServiceConflict) Error ¶
func (o *CreateServiceConflict) Error() string
func (*CreateServiceConflict) GetPayload ¶
func (o *CreateServiceConflict) GetPayload() *models.Error
func (*CreateServiceConflict) IsClientError ¶
func (o *CreateServiceConflict) IsClientError() bool
IsClientError returns true when this create service conflict response has a 4xx status code
func (*CreateServiceConflict) IsCode ¶
func (o *CreateServiceConflict) IsCode(code int) bool
IsCode returns true when this create service conflict response a status code equal to that given
func (*CreateServiceConflict) IsRedirect ¶
func (o *CreateServiceConflict) IsRedirect() bool
IsRedirect returns true when this create service conflict response has a 3xx status code
func (*CreateServiceConflict) IsServerError ¶
func (o *CreateServiceConflict) IsServerError() bool
IsServerError returns true when this create service conflict response has a 5xx status code
func (*CreateServiceConflict) IsSuccess ¶
func (o *CreateServiceConflict) IsSuccess() bool
IsSuccess returns true when this create service conflict response has a 2xx status code
func (*CreateServiceConflict) String ¶
func (o *CreateServiceConflict) String() string
type CreateServiceCreated ¶
type CreateServiceCreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServiceWithAudience }
CreateServiceCreated describes a response with status code 201, with default header values.
Service
func NewCreateServiceCreated ¶
func NewCreateServiceCreated() *CreateServiceCreated
NewCreateServiceCreated creates a CreateServiceCreated with default headers values
func (*CreateServiceCreated) Code ¶
func (o *CreateServiceCreated) Code() int
Code gets the status code for the create service created response
func (*CreateServiceCreated) Error ¶
func (o *CreateServiceCreated) Error() string
func (*CreateServiceCreated) GetPayload ¶
func (o *CreateServiceCreated) GetPayload() *models.ServiceWithAudience
func (*CreateServiceCreated) IsClientError ¶
func (o *CreateServiceCreated) IsClientError() bool
IsClientError returns true when this create service created response has a 4xx status code
func (*CreateServiceCreated) IsCode ¶
func (o *CreateServiceCreated) IsCode(code int) bool
IsCode returns true when this create service created response a status code equal to that given
func (*CreateServiceCreated) IsRedirect ¶
func (o *CreateServiceCreated) IsRedirect() bool
IsRedirect returns true when this create service created response has a 3xx status code
func (*CreateServiceCreated) IsServerError ¶
func (o *CreateServiceCreated) IsServerError() bool
IsServerError returns true when this create service created response has a 5xx status code
func (*CreateServiceCreated) IsSuccess ¶
func (o *CreateServiceCreated) IsSuccess() bool
IsSuccess returns true when this create service created response has a 2xx status code
func (*CreateServiceCreated) String ¶
func (o *CreateServiceCreated) String() string
type CreateServiceForbidden ¶
CreateServiceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateServiceForbidden ¶
func NewCreateServiceForbidden() *CreateServiceForbidden
NewCreateServiceForbidden creates a CreateServiceForbidden with default headers values
func (*CreateServiceForbidden) Code ¶
func (o *CreateServiceForbidden) Code() int
Code gets the status code for the create service forbidden response
func (*CreateServiceForbidden) Error ¶
func (o *CreateServiceForbidden) Error() string
func (*CreateServiceForbidden) GetPayload ¶
func (o *CreateServiceForbidden) GetPayload() *models.Error
func (*CreateServiceForbidden) IsClientError ¶
func (o *CreateServiceForbidden) IsClientError() bool
IsClientError returns true when this create service forbidden response has a 4xx status code
func (*CreateServiceForbidden) IsCode ¶
func (o *CreateServiceForbidden) IsCode(code int) bool
IsCode returns true when this create service forbidden response a status code equal to that given
func (*CreateServiceForbidden) IsRedirect ¶
func (o *CreateServiceForbidden) IsRedirect() bool
IsRedirect returns true when this create service forbidden response has a 3xx status code
func (*CreateServiceForbidden) IsServerError ¶
func (o *CreateServiceForbidden) IsServerError() bool
IsServerError returns true when this create service forbidden response has a 5xx status code
func (*CreateServiceForbidden) IsSuccess ¶
func (o *CreateServiceForbidden) IsSuccess() bool
IsSuccess returns true when this create service forbidden response has a 2xx status code
func (*CreateServiceForbidden) String ¶
func (o *CreateServiceForbidden) String() string
type CreateServiceNotFound ¶
CreateServiceNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateServiceNotFound ¶
func NewCreateServiceNotFound() *CreateServiceNotFound
NewCreateServiceNotFound creates a CreateServiceNotFound with default headers values
func (*CreateServiceNotFound) Code ¶
func (o *CreateServiceNotFound) Code() int
Code gets the status code for the create service not found response
func (*CreateServiceNotFound) Error ¶
func (o *CreateServiceNotFound) Error() string
func (*CreateServiceNotFound) GetPayload ¶
func (o *CreateServiceNotFound) GetPayload() *models.Error
func (*CreateServiceNotFound) IsClientError ¶
func (o *CreateServiceNotFound) IsClientError() bool
IsClientError returns true when this create service not found response has a 4xx status code
func (*CreateServiceNotFound) IsCode ¶
func (o *CreateServiceNotFound) IsCode(code int) bool
IsCode returns true when this create service not found response a status code equal to that given
func (*CreateServiceNotFound) IsRedirect ¶
func (o *CreateServiceNotFound) IsRedirect() bool
IsRedirect returns true when this create service not found response has a 3xx status code
func (*CreateServiceNotFound) IsServerError ¶
func (o *CreateServiceNotFound) IsServerError() bool
IsServerError returns true when this create service not found response has a 5xx status code
func (*CreateServiceNotFound) IsSuccess ¶
func (o *CreateServiceNotFound) IsSuccess() bool
IsSuccess returns true when this create service not found response has a 2xx status code
func (*CreateServiceNotFound) String ¶
func (o *CreateServiceNotFound) String() string
type CreateServiceParams ¶
type CreateServiceParams struct { // Service. Service *models.Service /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServiceParams contains all the parameters to send to the API endpoint
for the create service operation. Typically these are written to a http.Request.
func NewCreateServiceParams ¶
func NewCreateServiceParams() *CreateServiceParams
NewCreateServiceParams creates a new CreateServiceParams 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 NewCreateServiceParamsWithContext ¶
func NewCreateServiceParamsWithContext(ctx context.Context) *CreateServiceParams
NewCreateServiceParamsWithContext creates a new CreateServiceParams object with the ability to set a context for a request.
func NewCreateServiceParamsWithHTTPClient ¶
func NewCreateServiceParamsWithHTTPClient(client *http.Client) *CreateServiceParams
NewCreateServiceParamsWithHTTPClient creates a new CreateServiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServiceParamsWithTimeout ¶
func NewCreateServiceParamsWithTimeout(timeout time.Duration) *CreateServiceParams
NewCreateServiceParamsWithTimeout creates a new CreateServiceParams object with the ability to set a timeout on a request.
func (*CreateServiceParams) SetContext ¶
func (o *CreateServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create service params
func (*CreateServiceParams) SetDefaults ¶
func (o *CreateServiceParams) SetDefaults()
SetDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) SetHTTPClient ¶
func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) SetIfMatch ¶
func (o *CreateServiceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create service params
func (*CreateServiceParams) SetService ¶
func (o *CreateServiceParams) SetService(service *models.Service)
SetService adds the service to the create service params
func (*CreateServiceParams) SetTimeout ¶
func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service params
func (*CreateServiceParams) WithContext ¶
func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
WithContext adds the context to the create service params
func (*CreateServiceParams) WithDefaults ¶
func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
WithDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) WithHTTPClient ¶
func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
WithHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) WithIfMatch ¶
func (o *CreateServiceParams) WithIfMatch(ifMatch *string) *CreateServiceParams
WithIfMatch adds the ifMatch to the create service params
func (*CreateServiceParams) WithService ¶
func (o *CreateServiceParams) WithService(service *models.Service) *CreateServiceParams
WithService adds the service to the create service params
func (*CreateServiceParams) WithTimeout ¶
func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
WithTimeout adds the timeout to the create service params
func (*CreateServiceParams) WriteToRequest ¶
func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServiceReader ¶
type CreateServiceReader struct {
// contains filtered or unexported fields
}
CreateServiceReader is a Reader for the CreateService structure.
func (*CreateServiceReader) ReadResponse ¶
func (o *CreateServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateServiceTooManyRequests ¶
CreateServiceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateServiceTooManyRequests ¶
func NewCreateServiceTooManyRequests() *CreateServiceTooManyRequests
NewCreateServiceTooManyRequests creates a CreateServiceTooManyRequests with default headers values
func (*CreateServiceTooManyRequests) Code ¶
func (o *CreateServiceTooManyRequests) Code() int
Code gets the status code for the create service too many requests response
func (*CreateServiceTooManyRequests) Error ¶
func (o *CreateServiceTooManyRequests) Error() string
func (*CreateServiceTooManyRequests) GetPayload ¶
func (o *CreateServiceTooManyRequests) GetPayload() *models.Error
func (*CreateServiceTooManyRequests) IsClientError ¶
func (o *CreateServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this create service too many requests response has a 4xx status code
func (*CreateServiceTooManyRequests) IsCode ¶
func (o *CreateServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this create service too many requests response a status code equal to that given
func (*CreateServiceTooManyRequests) IsRedirect ¶
func (o *CreateServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create service too many requests response has a 3xx status code
func (*CreateServiceTooManyRequests) IsServerError ¶
func (o *CreateServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this create service too many requests response has a 5xx status code
func (*CreateServiceTooManyRequests) IsSuccess ¶
func (o *CreateServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create service too many requests response has a 2xx status code
func (*CreateServiceTooManyRequests) String ¶
func (o *CreateServiceTooManyRequests) String() string
type CreateServiceUnauthorized ¶
type CreateServiceUnauthorized struct {
}CreateServiceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateServiceUnauthorized ¶
func NewCreateServiceUnauthorized() *CreateServiceUnauthorized
NewCreateServiceUnauthorized creates a CreateServiceUnauthorized with default headers values
func (*CreateServiceUnauthorized) Code ¶
func (o *CreateServiceUnauthorized) Code() int
Code gets the status code for the create service unauthorized response
func (*CreateServiceUnauthorized) Error ¶
func (o *CreateServiceUnauthorized) Error() string
func (*CreateServiceUnauthorized) GetPayload ¶
func (o *CreateServiceUnauthorized) GetPayload() *models.Error
func (*CreateServiceUnauthorized) IsClientError ¶
func (o *CreateServiceUnauthorized) IsClientError() bool
IsClientError returns true when this create service unauthorized response has a 4xx status code
func (*CreateServiceUnauthorized) IsCode ¶
func (o *CreateServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this create service unauthorized response a status code equal to that given
func (*CreateServiceUnauthorized) IsRedirect ¶
func (o *CreateServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this create service unauthorized response has a 3xx status code
func (*CreateServiceUnauthorized) IsServerError ¶
func (o *CreateServiceUnauthorized) IsServerError() bool
IsServerError returns true when this create service unauthorized response has a 5xx status code
func (*CreateServiceUnauthorized) IsSuccess ¶
func (o *CreateServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this create service unauthorized response has a 2xx status code
func (*CreateServiceUnauthorized) String ¶
func (o *CreateServiceUnauthorized) String() string
type CreateServiceUnprocessableEntity ¶
CreateServiceUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateServiceUnprocessableEntity ¶
func NewCreateServiceUnprocessableEntity() *CreateServiceUnprocessableEntity
NewCreateServiceUnprocessableEntity creates a CreateServiceUnprocessableEntity with default headers values
func (*CreateServiceUnprocessableEntity) Code ¶
func (o *CreateServiceUnprocessableEntity) Code() int
Code gets the status code for the create service unprocessable entity response
func (*CreateServiceUnprocessableEntity) Error ¶
func (o *CreateServiceUnprocessableEntity) Error() string
func (*CreateServiceUnprocessableEntity) GetPayload ¶
func (o *CreateServiceUnprocessableEntity) GetPayload() *models.Error
func (*CreateServiceUnprocessableEntity) IsClientError ¶
func (o *CreateServiceUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create service unprocessable entity response has a 4xx status code
func (*CreateServiceUnprocessableEntity) IsCode ¶
func (o *CreateServiceUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create service unprocessable entity response a status code equal to that given
func (*CreateServiceUnprocessableEntity) IsRedirect ¶
func (o *CreateServiceUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create service unprocessable entity response has a 3xx status code
func (*CreateServiceUnprocessableEntity) IsServerError ¶
func (o *CreateServiceUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create service unprocessable entity response has a 5xx status code
func (*CreateServiceUnprocessableEntity) IsSuccess ¶
func (o *CreateServiceUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create service unprocessable entity response has a 2xx status code
func (*CreateServiceUnprocessableEntity) String ¶
func (o *CreateServiceUnprocessableEntity) String() string
type DeleteServiceBadRequest ¶
DeleteServiceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteServiceBadRequest ¶
func NewDeleteServiceBadRequest() *DeleteServiceBadRequest
NewDeleteServiceBadRequest creates a DeleteServiceBadRequest with default headers values
func (*DeleteServiceBadRequest) Code ¶
func (o *DeleteServiceBadRequest) Code() int
Code gets the status code for the delete service bad request response
func (*DeleteServiceBadRequest) Error ¶
func (o *DeleteServiceBadRequest) Error() string
func (*DeleteServiceBadRequest) GetPayload ¶
func (o *DeleteServiceBadRequest) GetPayload() *models.Error
func (*DeleteServiceBadRequest) IsClientError ¶
func (o *DeleteServiceBadRequest) IsClientError() bool
IsClientError returns true when this delete service bad request response has a 4xx status code
func (*DeleteServiceBadRequest) IsCode ¶
func (o *DeleteServiceBadRequest) IsCode(code int) bool
IsCode returns true when this delete service bad request response a status code equal to that given
func (*DeleteServiceBadRequest) IsRedirect ¶
func (o *DeleteServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this delete service bad request response has a 3xx status code
func (*DeleteServiceBadRequest) IsServerError ¶
func (o *DeleteServiceBadRequest) IsServerError() bool
IsServerError returns true when this delete service bad request response has a 5xx status code
func (*DeleteServiceBadRequest) IsSuccess ¶
func (o *DeleteServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this delete service bad request response has a 2xx status code
func (*DeleteServiceBadRequest) String ¶
func (o *DeleteServiceBadRequest) String() string
type DeleteServiceForbidden ¶
DeleteServiceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteServiceForbidden ¶
func NewDeleteServiceForbidden() *DeleteServiceForbidden
NewDeleteServiceForbidden creates a DeleteServiceForbidden with default headers values
func (*DeleteServiceForbidden) Code ¶
func (o *DeleteServiceForbidden) Code() int
Code gets the status code for the delete service forbidden response
func (*DeleteServiceForbidden) Error ¶
func (o *DeleteServiceForbidden) Error() string
func (*DeleteServiceForbidden) GetPayload ¶
func (o *DeleteServiceForbidden) GetPayload() *models.Error
func (*DeleteServiceForbidden) IsClientError ¶
func (o *DeleteServiceForbidden) IsClientError() bool
IsClientError returns true when this delete service forbidden response has a 4xx status code
func (*DeleteServiceForbidden) IsCode ¶
func (o *DeleteServiceForbidden) IsCode(code int) bool
IsCode returns true when this delete service forbidden response a status code equal to that given
func (*DeleteServiceForbidden) IsRedirect ¶
func (o *DeleteServiceForbidden) IsRedirect() bool
IsRedirect returns true when this delete service forbidden response has a 3xx status code
func (*DeleteServiceForbidden) IsServerError ¶
func (o *DeleteServiceForbidden) IsServerError() bool
IsServerError returns true when this delete service forbidden response has a 5xx status code
func (*DeleteServiceForbidden) IsSuccess ¶
func (o *DeleteServiceForbidden) IsSuccess() bool
IsSuccess returns true when this delete service forbidden response has a 2xx status code
func (*DeleteServiceForbidden) String ¶
func (o *DeleteServiceForbidden) String() string
type DeleteServiceNoContent ¶
type DeleteServiceNoContent struct { }
DeleteServiceNoContent describes a response with status code 204, with default header values.
Service has been deleted
func NewDeleteServiceNoContent ¶
func NewDeleteServiceNoContent() *DeleteServiceNoContent
NewDeleteServiceNoContent creates a DeleteServiceNoContent with default headers values
func (*DeleteServiceNoContent) Code ¶
func (o *DeleteServiceNoContent) Code() int
Code gets the status code for the delete service no content response
func (*DeleteServiceNoContent) Error ¶
func (o *DeleteServiceNoContent) Error() string
func (*DeleteServiceNoContent) IsClientError ¶
func (o *DeleteServiceNoContent) IsClientError() bool
IsClientError returns true when this delete service no content response has a 4xx status code
func (*DeleteServiceNoContent) IsCode ¶
func (o *DeleteServiceNoContent) IsCode(code int) bool
IsCode returns true when this delete service no content response a status code equal to that given
func (*DeleteServiceNoContent) IsRedirect ¶
func (o *DeleteServiceNoContent) IsRedirect() bool
IsRedirect returns true when this delete service no content response has a 3xx status code
func (*DeleteServiceNoContent) IsServerError ¶
func (o *DeleteServiceNoContent) IsServerError() bool
IsServerError returns true when this delete service no content response has a 5xx status code
func (*DeleteServiceNoContent) IsSuccess ¶
func (o *DeleteServiceNoContent) IsSuccess() bool
IsSuccess returns true when this delete service no content response has a 2xx status code
func (*DeleteServiceNoContent) String ¶
func (o *DeleteServiceNoContent) String() string
type DeleteServiceNotFound ¶
DeleteServiceNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteServiceNotFound ¶
func NewDeleteServiceNotFound() *DeleteServiceNotFound
NewDeleteServiceNotFound creates a DeleteServiceNotFound with default headers values
func (*DeleteServiceNotFound) Code ¶
func (o *DeleteServiceNotFound) Code() int
Code gets the status code for the delete service not found response
func (*DeleteServiceNotFound) Error ¶
func (o *DeleteServiceNotFound) Error() string
func (*DeleteServiceNotFound) GetPayload ¶
func (o *DeleteServiceNotFound) GetPayload() *models.Error
func (*DeleteServiceNotFound) IsClientError ¶
func (o *DeleteServiceNotFound) IsClientError() bool
IsClientError returns true when this delete service not found response has a 4xx status code
func (*DeleteServiceNotFound) IsCode ¶
func (o *DeleteServiceNotFound) IsCode(code int) bool
IsCode returns true when this delete service not found response a status code equal to that given
func (*DeleteServiceNotFound) IsRedirect ¶
func (o *DeleteServiceNotFound) IsRedirect() bool
IsRedirect returns true when this delete service not found response has a 3xx status code
func (*DeleteServiceNotFound) IsServerError ¶
func (o *DeleteServiceNotFound) IsServerError() bool
IsServerError returns true when this delete service not found response has a 5xx status code
func (*DeleteServiceNotFound) IsSuccess ¶
func (o *DeleteServiceNotFound) IsSuccess() bool
IsSuccess returns true when this delete service not found response has a 2xx status code
func (*DeleteServiceNotFound) String ¶
func (o *DeleteServiceNotFound) String() string
type DeleteServiceParams ¶
type DeleteServiceParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServiceParams contains all the parameters to send to the API endpoint
for the delete service operation. Typically these are written to a http.Request.
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() *DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams 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 NewDeleteServiceParamsWithContext ¶
func NewDeleteServiceParamsWithContext(ctx context.Context) *DeleteServiceParams
NewDeleteServiceParamsWithContext creates a new DeleteServiceParams object with the ability to set a context for a request.
func NewDeleteServiceParamsWithHTTPClient ¶
func NewDeleteServiceParamsWithHTTPClient(client *http.Client) *DeleteServiceParams
NewDeleteServiceParamsWithHTTPClient creates a new DeleteServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServiceParamsWithTimeout ¶
func NewDeleteServiceParamsWithTimeout(timeout time.Duration) *DeleteServiceParams
NewDeleteServiceParamsWithTimeout creates a new DeleteServiceParams object with the ability to set a timeout on a request.
func (*DeleteServiceParams) SetContext ¶
func (o *DeleteServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service params
func (*DeleteServiceParams) SetDefaults ¶
func (o *DeleteServiceParams) SetDefaults()
SetDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) SetHTTPClient ¶
func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) SetIfMatch ¶
func (o *DeleteServiceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete service params
func (*DeleteServiceParams) SetSid ¶
func (o *DeleteServiceParams) SetSid(sid string)
SetSid adds the sid to the delete service params
func (*DeleteServiceParams) SetTimeout ¶
func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WithContext ¶
func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
WithContext adds the context to the delete service params
func (*DeleteServiceParams) WithDefaults ¶
func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
WithDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) WithHTTPClient ¶
func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
WithHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) WithIfMatch ¶
func (o *DeleteServiceParams) WithIfMatch(ifMatch *string) *DeleteServiceParams
WithIfMatch adds the ifMatch to the delete service params
func (*DeleteServiceParams) WithSid ¶
func (o *DeleteServiceParams) WithSid(sid string) *DeleteServiceParams
WithSid adds the sid to the delete service params
func (*DeleteServiceParams) WithTimeout ¶
func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
WithTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WriteToRequest ¶
func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceReader ¶
type DeleteServiceReader struct {
// contains filtered or unexported fields
}
DeleteServiceReader is a Reader for the DeleteService structure.
func (*DeleteServiceReader) ReadResponse ¶
func (o *DeleteServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServiceTooManyRequests ¶
DeleteServiceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteServiceTooManyRequests ¶
func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests
NewDeleteServiceTooManyRequests creates a DeleteServiceTooManyRequests with default headers values
func (*DeleteServiceTooManyRequests) Code ¶
func (o *DeleteServiceTooManyRequests) Code() int
Code gets the status code for the delete service too many requests response
func (*DeleteServiceTooManyRequests) Error ¶
func (o *DeleteServiceTooManyRequests) Error() string
func (*DeleteServiceTooManyRequests) GetPayload ¶
func (o *DeleteServiceTooManyRequests) GetPayload() *models.Error
func (*DeleteServiceTooManyRequests) IsClientError ¶
func (o *DeleteServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this delete service too many requests response has a 4xx status code
func (*DeleteServiceTooManyRequests) IsCode ¶
func (o *DeleteServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete service too many requests response a status code equal to that given
func (*DeleteServiceTooManyRequests) IsRedirect ¶
func (o *DeleteServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete service too many requests response has a 3xx status code
func (*DeleteServiceTooManyRequests) IsServerError ¶
func (o *DeleteServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this delete service too many requests response has a 5xx status code
func (*DeleteServiceTooManyRequests) IsSuccess ¶
func (o *DeleteServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete service too many requests response has a 2xx status code
func (*DeleteServiceTooManyRequests) String ¶
func (o *DeleteServiceTooManyRequests) String() string
type DeleteServiceUnauthorized ¶
type DeleteServiceUnauthorized struct {
}DeleteServiceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteServiceUnauthorized ¶
func NewDeleteServiceUnauthorized() *DeleteServiceUnauthorized
NewDeleteServiceUnauthorized creates a DeleteServiceUnauthorized with default headers values
func (*DeleteServiceUnauthorized) Code ¶
func (o *DeleteServiceUnauthorized) Code() int
Code gets the status code for the delete service unauthorized response
func (*DeleteServiceUnauthorized) Error ¶
func (o *DeleteServiceUnauthorized) Error() string
func (*DeleteServiceUnauthorized) GetPayload ¶
func (o *DeleteServiceUnauthorized) GetPayload() *models.Error
func (*DeleteServiceUnauthorized) IsClientError ¶
func (o *DeleteServiceUnauthorized) IsClientError() bool
IsClientError returns true when this delete service unauthorized response has a 4xx status code
func (*DeleteServiceUnauthorized) IsCode ¶
func (o *DeleteServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this delete service unauthorized response a status code equal to that given
func (*DeleteServiceUnauthorized) IsRedirect ¶
func (o *DeleteServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete service unauthorized response has a 3xx status code
func (*DeleteServiceUnauthorized) IsServerError ¶
func (o *DeleteServiceUnauthorized) IsServerError() bool
IsServerError returns true when this delete service unauthorized response has a 5xx status code
func (*DeleteServiceUnauthorized) IsSuccess ¶
func (o *DeleteServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete service unauthorized response has a 2xx status code
func (*DeleteServiceUnauthorized) String ¶
func (o *DeleteServiceUnauthorized) String() string
type GetServiceForbidden ¶
GetServiceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetServiceForbidden ¶
func NewGetServiceForbidden() *GetServiceForbidden
NewGetServiceForbidden creates a GetServiceForbidden with default headers values
func (*GetServiceForbidden) Code ¶
func (o *GetServiceForbidden) Code() int
Code gets the status code for the get service forbidden response
func (*GetServiceForbidden) Error ¶
func (o *GetServiceForbidden) Error() string
func (*GetServiceForbidden) GetPayload ¶
func (o *GetServiceForbidden) GetPayload() *models.Error
func (*GetServiceForbidden) IsClientError ¶
func (o *GetServiceForbidden) IsClientError() bool
IsClientError returns true when this get service forbidden response has a 4xx status code
func (*GetServiceForbidden) IsCode ¶
func (o *GetServiceForbidden) IsCode(code int) bool
IsCode returns true when this get service forbidden response a status code equal to that given
func (*GetServiceForbidden) IsRedirect ¶
func (o *GetServiceForbidden) IsRedirect() bool
IsRedirect returns true when this get service forbidden response has a 3xx status code
func (*GetServiceForbidden) IsServerError ¶
func (o *GetServiceForbidden) IsServerError() bool
IsServerError returns true when this get service forbidden response has a 5xx status code
func (*GetServiceForbidden) IsSuccess ¶
func (o *GetServiceForbidden) IsSuccess() bool
IsSuccess returns true when this get service forbidden response has a 2xx status code
func (*GetServiceForbidden) String ¶
func (o *GetServiceForbidden) String() string
type GetServiceNotFound ¶
GetServiceNotFound describes a response with status code 404, with default header values.
Not found
func NewGetServiceNotFound ¶
func NewGetServiceNotFound() *GetServiceNotFound
NewGetServiceNotFound creates a GetServiceNotFound with default headers values
func (*GetServiceNotFound) Code ¶
func (o *GetServiceNotFound) Code() int
Code gets the status code for the get service not found response
func (*GetServiceNotFound) Error ¶
func (o *GetServiceNotFound) Error() string
func (*GetServiceNotFound) GetPayload ¶
func (o *GetServiceNotFound) GetPayload() *models.Error
func (*GetServiceNotFound) IsClientError ¶
func (o *GetServiceNotFound) IsClientError() bool
IsClientError returns true when this get service not found response has a 4xx status code
func (*GetServiceNotFound) IsCode ¶
func (o *GetServiceNotFound) IsCode(code int) bool
IsCode returns true when this get service not found response a status code equal to that given
func (*GetServiceNotFound) IsRedirect ¶
func (o *GetServiceNotFound) IsRedirect() bool
IsRedirect returns true when this get service not found response has a 3xx status code
func (*GetServiceNotFound) IsServerError ¶
func (o *GetServiceNotFound) IsServerError() bool
IsServerError returns true when this get service not found response has a 5xx status code
func (*GetServiceNotFound) IsSuccess ¶
func (o *GetServiceNotFound) IsSuccess() bool
IsSuccess returns true when this get service not found response has a 2xx status code
func (*GetServiceNotFound) String ¶
func (o *GetServiceNotFound) String() string
type GetServiceOK ¶
type GetServiceOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServiceWithScopesResponse }
GetServiceOK describes a response with status code 200, with default header values.
Service with scopes
func NewGetServiceOK ¶
func NewGetServiceOK() *GetServiceOK
NewGetServiceOK creates a GetServiceOK with default headers values
func (*GetServiceOK) Code ¶
func (o *GetServiceOK) Code() int
Code gets the status code for the get service o k response
func (*GetServiceOK) Error ¶
func (o *GetServiceOK) Error() string
func (*GetServiceOK) GetPayload ¶
func (o *GetServiceOK) GetPayload() *models.ServiceWithScopesResponse
func (*GetServiceOK) IsClientError ¶
func (o *GetServiceOK) IsClientError() bool
IsClientError returns true when this get service o k response has a 4xx status code
func (*GetServiceOK) IsCode ¶
func (o *GetServiceOK) IsCode(code int) bool
IsCode returns true when this get service o k response a status code equal to that given
func (*GetServiceOK) IsRedirect ¶
func (o *GetServiceOK) IsRedirect() bool
IsRedirect returns true when this get service o k response has a 3xx status code
func (*GetServiceOK) IsServerError ¶
func (o *GetServiceOK) IsServerError() bool
IsServerError returns true when this get service o k response has a 5xx status code
func (*GetServiceOK) IsSuccess ¶
func (o *GetServiceOK) IsSuccess() bool
IsSuccess returns true when this get service o k response has a 2xx status code
func (*GetServiceOK) String ¶
func (o *GetServiceOK) String() string
type GetServiceParams ¶
type GetServiceParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceParams contains all the parameters to send to the API endpoint
for the get service operation. Typically these are written to a http.Request.
func NewGetServiceParams ¶
func NewGetServiceParams() *GetServiceParams
NewGetServiceParams creates a new GetServiceParams 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 NewGetServiceParamsWithContext ¶
func NewGetServiceParamsWithContext(ctx context.Context) *GetServiceParams
NewGetServiceParamsWithContext creates a new GetServiceParams object with the ability to set a context for a request.
func NewGetServiceParamsWithHTTPClient ¶
func NewGetServiceParamsWithHTTPClient(client *http.Client) *GetServiceParams
NewGetServiceParamsWithHTTPClient creates a new GetServiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetServiceParamsWithTimeout ¶
func NewGetServiceParamsWithTimeout(timeout time.Duration) *GetServiceParams
NewGetServiceParamsWithTimeout creates a new GetServiceParams object with the ability to set a timeout on a request.
func (*GetServiceParams) SetContext ¶
func (o *GetServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get service params
func (*GetServiceParams) SetDefaults ¶
func (o *GetServiceParams) SetDefaults()
SetDefaults hydrates default values in the get service params (not the query body).
All values with no default are reset to their zero value.
func (*GetServiceParams) SetHTTPClient ¶
func (o *GetServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service params
func (*GetServiceParams) SetIfMatch ¶
func (o *GetServiceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get service params
func (*GetServiceParams) SetSid ¶
func (o *GetServiceParams) SetSid(sid string)
SetSid adds the sid to the get service params
func (*GetServiceParams) SetTimeout ¶
func (o *GetServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service params
func (*GetServiceParams) WithContext ¶
func (o *GetServiceParams) WithContext(ctx context.Context) *GetServiceParams
WithContext adds the context to the get service params
func (*GetServiceParams) WithDefaults ¶
func (o *GetServiceParams) WithDefaults() *GetServiceParams
WithDefaults hydrates default values in the get service params (not the query body).
All values with no default are reset to their zero value.
func (*GetServiceParams) WithHTTPClient ¶
func (o *GetServiceParams) WithHTTPClient(client *http.Client) *GetServiceParams
WithHTTPClient adds the HTTPClient to the get service params
func (*GetServiceParams) WithIfMatch ¶
func (o *GetServiceParams) WithIfMatch(ifMatch *string) *GetServiceParams
WithIfMatch adds the ifMatch to the get service params
func (*GetServiceParams) WithSid ¶
func (o *GetServiceParams) WithSid(sid string) *GetServiceParams
WithSid adds the sid to the get service params
func (*GetServiceParams) WithTimeout ¶
func (o *GetServiceParams) WithTimeout(timeout time.Duration) *GetServiceParams
WithTimeout adds the timeout to the get service params
func (*GetServiceParams) WriteToRequest ¶
func (o *GetServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceReader ¶
type GetServiceReader struct {
// contains filtered or unexported fields
}
GetServiceReader is a Reader for the GetService structure.
func (*GetServiceReader) ReadResponse ¶
func (o *GetServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceTooManyRequests ¶
GetServiceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetServiceTooManyRequests ¶
func NewGetServiceTooManyRequests() *GetServiceTooManyRequests
NewGetServiceTooManyRequests creates a GetServiceTooManyRequests with default headers values
func (*GetServiceTooManyRequests) Code ¶
func (o *GetServiceTooManyRequests) Code() int
Code gets the status code for the get service too many requests response
func (*GetServiceTooManyRequests) Error ¶
func (o *GetServiceTooManyRequests) Error() string
func (*GetServiceTooManyRequests) GetPayload ¶
func (o *GetServiceTooManyRequests) GetPayload() *models.Error
func (*GetServiceTooManyRequests) IsClientError ¶
func (o *GetServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this get service too many requests response has a 4xx status code
func (*GetServiceTooManyRequests) IsCode ¶
func (o *GetServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this get service too many requests response a status code equal to that given
func (*GetServiceTooManyRequests) IsRedirect ¶
func (o *GetServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get service too many requests response has a 3xx status code
func (*GetServiceTooManyRequests) IsServerError ¶
func (o *GetServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this get service too many requests response has a 5xx status code
func (*GetServiceTooManyRequests) IsSuccess ¶
func (o *GetServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get service too many requests response has a 2xx status code
func (*GetServiceTooManyRequests) String ¶
func (o *GetServiceTooManyRequests) String() string
type GetServiceUnauthorized ¶
type GetServiceUnauthorized struct {
}GetServiceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetServiceUnauthorized ¶
func NewGetServiceUnauthorized() *GetServiceUnauthorized
NewGetServiceUnauthorized creates a GetServiceUnauthorized with default headers values
func (*GetServiceUnauthorized) Code ¶
func (o *GetServiceUnauthorized) Code() int
Code gets the status code for the get service unauthorized response
func (*GetServiceUnauthorized) Error ¶
func (o *GetServiceUnauthorized) Error() string
func (*GetServiceUnauthorized) GetPayload ¶
func (o *GetServiceUnauthorized) GetPayload() *models.Error
func (*GetServiceUnauthorized) IsClientError ¶
func (o *GetServiceUnauthorized) IsClientError() bool
IsClientError returns true when this get service unauthorized response has a 4xx status code
func (*GetServiceUnauthorized) IsCode ¶
func (o *GetServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this get service unauthorized response a status code equal to that given
func (*GetServiceUnauthorized) IsRedirect ¶
func (o *GetServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get service unauthorized response has a 3xx status code
func (*GetServiceUnauthorized) IsServerError ¶
func (o *GetServiceUnauthorized) IsServerError() bool
IsServerError returns true when this get service unauthorized response has a 5xx status code
func (*GetServiceUnauthorized) IsSuccess ¶
func (o *GetServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get service unauthorized response has a 2xx status code
func (*GetServiceUnauthorized) String ¶
func (o *GetServiceUnauthorized) String() string
type ImportSpecificationFromFileBadRequest ¶
ImportSpecificationFromFileBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportSpecificationFromFileBadRequest ¶
func NewImportSpecificationFromFileBadRequest() *ImportSpecificationFromFileBadRequest
NewImportSpecificationFromFileBadRequest creates a ImportSpecificationFromFileBadRequest with default headers values
func (*ImportSpecificationFromFileBadRequest) Code ¶
func (o *ImportSpecificationFromFileBadRequest) Code() int
Code gets the status code for the import specification from file bad request response
func (*ImportSpecificationFromFileBadRequest) Error ¶
func (o *ImportSpecificationFromFileBadRequest) Error() string
func (*ImportSpecificationFromFileBadRequest) GetPayload ¶
func (o *ImportSpecificationFromFileBadRequest) GetPayload() *models.Error
func (*ImportSpecificationFromFileBadRequest) IsClientError ¶
func (o *ImportSpecificationFromFileBadRequest) IsClientError() bool
IsClientError returns true when this import specification from file bad request response has a 4xx status code
func (*ImportSpecificationFromFileBadRequest) IsCode ¶
func (o *ImportSpecificationFromFileBadRequest) IsCode(code int) bool
IsCode returns true when this import specification from file bad request response a status code equal to that given
func (*ImportSpecificationFromFileBadRequest) IsRedirect ¶
func (o *ImportSpecificationFromFileBadRequest) IsRedirect() bool
IsRedirect returns true when this import specification from file bad request response has a 3xx status code
func (*ImportSpecificationFromFileBadRequest) IsServerError ¶
func (o *ImportSpecificationFromFileBadRequest) IsServerError() bool
IsServerError returns true when this import specification from file bad request response has a 5xx status code
func (*ImportSpecificationFromFileBadRequest) IsSuccess ¶
func (o *ImportSpecificationFromFileBadRequest) IsSuccess() bool
IsSuccess returns true when this import specification from file bad request response has a 2xx status code
func (*ImportSpecificationFromFileBadRequest) String ¶
func (o *ImportSpecificationFromFileBadRequest) String() string
type ImportSpecificationFromFileConflict ¶
ImportSpecificationFromFileConflict describes a response with status code 409, with default header values.
Conflict
func NewImportSpecificationFromFileConflict ¶
func NewImportSpecificationFromFileConflict() *ImportSpecificationFromFileConflict
NewImportSpecificationFromFileConflict creates a ImportSpecificationFromFileConflict with default headers values
func (*ImportSpecificationFromFileConflict) Code ¶
func (o *ImportSpecificationFromFileConflict) Code() int
Code gets the status code for the import specification from file conflict response
func (*ImportSpecificationFromFileConflict) Error ¶
func (o *ImportSpecificationFromFileConflict) Error() string
func (*ImportSpecificationFromFileConflict) GetPayload ¶
func (o *ImportSpecificationFromFileConflict) GetPayload() *models.Error
func (*ImportSpecificationFromFileConflict) IsClientError ¶
func (o *ImportSpecificationFromFileConflict) IsClientError() bool
IsClientError returns true when this import specification from file conflict response has a 4xx status code
func (*ImportSpecificationFromFileConflict) IsCode ¶
func (o *ImportSpecificationFromFileConflict) IsCode(code int) bool
IsCode returns true when this import specification from file conflict response a status code equal to that given
func (*ImportSpecificationFromFileConflict) IsRedirect ¶
func (o *ImportSpecificationFromFileConflict) IsRedirect() bool
IsRedirect returns true when this import specification from file conflict response has a 3xx status code
func (*ImportSpecificationFromFileConflict) IsServerError ¶
func (o *ImportSpecificationFromFileConflict) IsServerError() bool
IsServerError returns true when this import specification from file conflict response has a 5xx status code
func (*ImportSpecificationFromFileConflict) IsSuccess ¶
func (o *ImportSpecificationFromFileConflict) IsSuccess() bool
IsSuccess returns true when this import specification from file conflict response has a 2xx status code
func (*ImportSpecificationFromFileConflict) String ¶
func (o *ImportSpecificationFromFileConflict) String() string
type ImportSpecificationFromFileForbidden ¶
ImportSpecificationFromFileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewImportSpecificationFromFileForbidden ¶
func NewImportSpecificationFromFileForbidden() *ImportSpecificationFromFileForbidden
NewImportSpecificationFromFileForbidden creates a ImportSpecificationFromFileForbidden with default headers values
func (*ImportSpecificationFromFileForbidden) Code ¶
func (o *ImportSpecificationFromFileForbidden) Code() int
Code gets the status code for the import specification from file forbidden response
func (*ImportSpecificationFromFileForbidden) Error ¶
func (o *ImportSpecificationFromFileForbidden) Error() string
func (*ImportSpecificationFromFileForbidden) GetPayload ¶
func (o *ImportSpecificationFromFileForbidden) GetPayload() *models.Error
func (*ImportSpecificationFromFileForbidden) IsClientError ¶
func (o *ImportSpecificationFromFileForbidden) IsClientError() bool
IsClientError returns true when this import specification from file forbidden response has a 4xx status code
func (*ImportSpecificationFromFileForbidden) IsCode ¶
func (o *ImportSpecificationFromFileForbidden) IsCode(code int) bool
IsCode returns true when this import specification from file forbidden response a status code equal to that given
func (*ImportSpecificationFromFileForbidden) IsRedirect ¶
func (o *ImportSpecificationFromFileForbidden) IsRedirect() bool
IsRedirect returns true when this import specification from file forbidden response has a 3xx status code
func (*ImportSpecificationFromFileForbidden) IsServerError ¶
func (o *ImportSpecificationFromFileForbidden) IsServerError() bool
IsServerError returns true when this import specification from file forbidden response has a 5xx status code
func (*ImportSpecificationFromFileForbidden) IsSuccess ¶
func (o *ImportSpecificationFromFileForbidden) IsSuccess() bool
IsSuccess returns true when this import specification from file forbidden response has a 2xx status code
func (*ImportSpecificationFromFileForbidden) String ¶
func (o *ImportSpecificationFromFileForbidden) String() string
type ImportSpecificationFromFileNotFound ¶
ImportSpecificationFromFileNotFound describes a response with status code 404, with default header values.
Not found
func NewImportSpecificationFromFileNotFound ¶
func NewImportSpecificationFromFileNotFound() *ImportSpecificationFromFileNotFound
NewImportSpecificationFromFileNotFound creates a ImportSpecificationFromFileNotFound with default headers values
func (*ImportSpecificationFromFileNotFound) Code ¶
func (o *ImportSpecificationFromFileNotFound) Code() int
Code gets the status code for the import specification from file not found response
func (*ImportSpecificationFromFileNotFound) Error ¶
func (o *ImportSpecificationFromFileNotFound) Error() string
func (*ImportSpecificationFromFileNotFound) GetPayload ¶
func (o *ImportSpecificationFromFileNotFound) GetPayload() *models.Error
func (*ImportSpecificationFromFileNotFound) IsClientError ¶
func (o *ImportSpecificationFromFileNotFound) IsClientError() bool
IsClientError returns true when this import specification from file not found response has a 4xx status code
func (*ImportSpecificationFromFileNotFound) IsCode ¶
func (o *ImportSpecificationFromFileNotFound) IsCode(code int) bool
IsCode returns true when this import specification from file not found response a status code equal to that given
func (*ImportSpecificationFromFileNotFound) IsRedirect ¶
func (o *ImportSpecificationFromFileNotFound) IsRedirect() bool
IsRedirect returns true when this import specification from file not found response has a 3xx status code
func (*ImportSpecificationFromFileNotFound) IsServerError ¶
func (o *ImportSpecificationFromFileNotFound) IsServerError() bool
IsServerError returns true when this import specification from file not found response has a 5xx status code
func (*ImportSpecificationFromFileNotFound) IsSuccess ¶
func (o *ImportSpecificationFromFileNotFound) IsSuccess() bool
IsSuccess returns true when this import specification from file not found response has a 2xx status code
func (*ImportSpecificationFromFileNotFound) String ¶
func (o *ImportSpecificationFromFileNotFound) String() string
type ImportSpecificationFromFileOK ¶
type ImportSpecificationFromFileOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ImportServiceConfigurationResult }
ImportSpecificationFromFileOK describes a response with status code 200, with default header values.
Import service configuration result
func NewImportSpecificationFromFileOK ¶
func NewImportSpecificationFromFileOK() *ImportSpecificationFromFileOK
NewImportSpecificationFromFileOK creates a ImportSpecificationFromFileOK with default headers values
func (*ImportSpecificationFromFileOK) Code ¶
func (o *ImportSpecificationFromFileOK) Code() int
Code gets the status code for the import specification from file o k response
func (*ImportSpecificationFromFileOK) Error ¶
func (o *ImportSpecificationFromFileOK) Error() string
func (*ImportSpecificationFromFileOK) GetPayload ¶
func (o *ImportSpecificationFromFileOK) GetPayload() *models.ImportServiceConfigurationResult
func (*ImportSpecificationFromFileOK) IsClientError ¶
func (o *ImportSpecificationFromFileOK) IsClientError() bool
IsClientError returns true when this import specification from file o k response has a 4xx status code
func (*ImportSpecificationFromFileOK) IsCode ¶
func (o *ImportSpecificationFromFileOK) IsCode(code int) bool
IsCode returns true when this import specification from file o k response a status code equal to that given
func (*ImportSpecificationFromFileOK) IsRedirect ¶
func (o *ImportSpecificationFromFileOK) IsRedirect() bool
IsRedirect returns true when this import specification from file o k response has a 3xx status code
func (*ImportSpecificationFromFileOK) IsServerError ¶
func (o *ImportSpecificationFromFileOK) IsServerError() bool
IsServerError returns true when this import specification from file o k response has a 5xx status code
func (*ImportSpecificationFromFileOK) IsSuccess ¶
func (o *ImportSpecificationFromFileOK) IsSuccess() bool
IsSuccess returns true when this import specification from file o k response has a 2xx status code
func (*ImportSpecificationFromFileOK) String ¶
func (o *ImportSpecificationFromFileOK) String() string
type ImportSpecificationFromFileParams ¶
type ImportSpecificationFromFileParams struct { // File. File runtime.NamedReadCloser // GatewayType. GatewayType *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportSpecificationFromFileParams contains all the parameters to send to the API endpoint
for the import specification from file operation. Typically these are written to a http.Request.
func NewImportSpecificationFromFileParams ¶
func NewImportSpecificationFromFileParams() *ImportSpecificationFromFileParams
NewImportSpecificationFromFileParams creates a new ImportSpecificationFromFileParams 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 NewImportSpecificationFromFileParamsWithContext ¶
func NewImportSpecificationFromFileParamsWithContext(ctx context.Context) *ImportSpecificationFromFileParams
NewImportSpecificationFromFileParamsWithContext creates a new ImportSpecificationFromFileParams object with the ability to set a context for a request.
func NewImportSpecificationFromFileParamsWithHTTPClient ¶
func NewImportSpecificationFromFileParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromFileParams
NewImportSpecificationFromFileParamsWithHTTPClient creates a new ImportSpecificationFromFileParams object with the ability to set a custom HTTPClient for a request.
func NewImportSpecificationFromFileParamsWithTimeout ¶
func NewImportSpecificationFromFileParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromFileParams
NewImportSpecificationFromFileParamsWithTimeout creates a new ImportSpecificationFromFileParams object with the ability to set a timeout on a request.
func (*ImportSpecificationFromFileParams) SetContext ¶
func (o *ImportSpecificationFromFileParams) SetContext(ctx context.Context)
SetContext adds the context to the import specification from file params
func (*ImportSpecificationFromFileParams) SetDefaults ¶
func (o *ImportSpecificationFromFileParams) SetDefaults()
SetDefaults hydrates default values in the import specification from file params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromFileParams) SetFile ¶
func (o *ImportSpecificationFromFileParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the import specification from file params
func (*ImportSpecificationFromFileParams) SetGatewayType ¶
func (o *ImportSpecificationFromFileParams) SetGatewayType(gatewayType *string)
SetGatewayType adds the gatewayType to the import specification from file params
func (*ImportSpecificationFromFileParams) SetHTTPClient ¶
func (o *ImportSpecificationFromFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import specification from file params
func (*ImportSpecificationFromFileParams) SetIfMatch ¶
func (o *ImportSpecificationFromFileParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the import specification from file params
func (*ImportSpecificationFromFileParams) SetSid ¶
func (o *ImportSpecificationFromFileParams) SetSid(sid string)
SetSid adds the sid to the import specification from file params
func (*ImportSpecificationFromFileParams) SetTimeout ¶
func (o *ImportSpecificationFromFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import specification from file params
func (*ImportSpecificationFromFileParams) WithContext ¶
func (o *ImportSpecificationFromFileParams) WithContext(ctx context.Context) *ImportSpecificationFromFileParams
WithContext adds the context to the import specification from file params
func (*ImportSpecificationFromFileParams) WithDefaults ¶
func (o *ImportSpecificationFromFileParams) WithDefaults() *ImportSpecificationFromFileParams
WithDefaults hydrates default values in the import specification from file params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromFileParams) WithFile ¶
func (o *ImportSpecificationFromFileParams) WithFile(file runtime.NamedReadCloser) *ImportSpecificationFromFileParams
WithFile adds the file to the import specification from file params
func (*ImportSpecificationFromFileParams) WithGatewayType ¶
func (o *ImportSpecificationFromFileParams) WithGatewayType(gatewayType *string) *ImportSpecificationFromFileParams
WithGatewayType adds the gatewayType to the import specification from file params
func (*ImportSpecificationFromFileParams) WithHTTPClient ¶
func (o *ImportSpecificationFromFileParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromFileParams
WithHTTPClient adds the HTTPClient to the import specification from file params
func (*ImportSpecificationFromFileParams) WithIfMatch ¶
func (o *ImportSpecificationFromFileParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromFileParams
WithIfMatch adds the ifMatch to the import specification from file params
func (*ImportSpecificationFromFileParams) WithSid ¶
func (o *ImportSpecificationFromFileParams) WithSid(sid string) *ImportSpecificationFromFileParams
WithSid adds the sid to the import specification from file params
func (*ImportSpecificationFromFileParams) WithTimeout ¶
func (o *ImportSpecificationFromFileParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromFileParams
WithTimeout adds the timeout to the import specification from file params
func (*ImportSpecificationFromFileParams) WriteToRequest ¶
func (o *ImportSpecificationFromFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportSpecificationFromFileReader ¶
type ImportSpecificationFromFileReader struct {
// contains filtered or unexported fields
}
ImportSpecificationFromFileReader is a Reader for the ImportSpecificationFromFile structure.
func (*ImportSpecificationFromFileReader) ReadResponse ¶
func (o *ImportSpecificationFromFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportSpecificationFromFileTooManyRequests ¶
ImportSpecificationFromFileTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewImportSpecificationFromFileTooManyRequests ¶
func NewImportSpecificationFromFileTooManyRequests() *ImportSpecificationFromFileTooManyRequests
NewImportSpecificationFromFileTooManyRequests creates a ImportSpecificationFromFileTooManyRequests with default headers values
func (*ImportSpecificationFromFileTooManyRequests) Code ¶
func (o *ImportSpecificationFromFileTooManyRequests) Code() int
Code gets the status code for the import specification from file too many requests response
func (*ImportSpecificationFromFileTooManyRequests) Error ¶
func (o *ImportSpecificationFromFileTooManyRequests) Error() string
func (*ImportSpecificationFromFileTooManyRequests) GetPayload ¶
func (o *ImportSpecificationFromFileTooManyRequests) GetPayload() *models.Error
func (*ImportSpecificationFromFileTooManyRequests) IsClientError ¶
func (o *ImportSpecificationFromFileTooManyRequests) IsClientError() bool
IsClientError returns true when this import specification from file too many requests response has a 4xx status code
func (*ImportSpecificationFromFileTooManyRequests) IsCode ¶
func (o *ImportSpecificationFromFileTooManyRequests) IsCode(code int) bool
IsCode returns true when this import specification from file too many requests response a status code equal to that given
func (*ImportSpecificationFromFileTooManyRequests) IsRedirect ¶
func (o *ImportSpecificationFromFileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this import specification from file too many requests response has a 3xx status code
func (*ImportSpecificationFromFileTooManyRequests) IsServerError ¶
func (o *ImportSpecificationFromFileTooManyRequests) IsServerError() bool
IsServerError returns true when this import specification from file too many requests response has a 5xx status code
func (*ImportSpecificationFromFileTooManyRequests) IsSuccess ¶
func (o *ImportSpecificationFromFileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import specification from file too many requests response has a 2xx status code
func (*ImportSpecificationFromFileTooManyRequests) String ¶
func (o *ImportSpecificationFromFileTooManyRequests) String() string
type ImportSpecificationFromFileUnauthorized ¶
type ImportSpecificationFromFileUnauthorized struct {
}ImportSpecificationFromFileUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportSpecificationFromFileUnauthorized ¶
func NewImportSpecificationFromFileUnauthorized() *ImportSpecificationFromFileUnauthorized
NewImportSpecificationFromFileUnauthorized creates a ImportSpecificationFromFileUnauthorized with default headers values
func (*ImportSpecificationFromFileUnauthorized) Code ¶
func (o *ImportSpecificationFromFileUnauthorized) Code() int
Code gets the status code for the import specification from file unauthorized response
func (*ImportSpecificationFromFileUnauthorized) Error ¶
func (o *ImportSpecificationFromFileUnauthorized) Error() string
func (*ImportSpecificationFromFileUnauthorized) GetPayload ¶
func (o *ImportSpecificationFromFileUnauthorized) GetPayload() *models.Error
func (*ImportSpecificationFromFileUnauthorized) IsClientError ¶
func (o *ImportSpecificationFromFileUnauthorized) IsClientError() bool
IsClientError returns true when this import specification from file unauthorized response has a 4xx status code
func (*ImportSpecificationFromFileUnauthorized) IsCode ¶
func (o *ImportSpecificationFromFileUnauthorized) IsCode(code int) bool
IsCode returns true when this import specification from file unauthorized response a status code equal to that given
func (*ImportSpecificationFromFileUnauthorized) IsRedirect ¶
func (o *ImportSpecificationFromFileUnauthorized) IsRedirect() bool
IsRedirect returns true when this import specification from file unauthorized response has a 3xx status code
func (*ImportSpecificationFromFileUnauthorized) IsServerError ¶
func (o *ImportSpecificationFromFileUnauthorized) IsServerError() bool
IsServerError returns true when this import specification from file unauthorized response has a 5xx status code
func (*ImportSpecificationFromFileUnauthorized) IsSuccess ¶
func (o *ImportSpecificationFromFileUnauthorized) IsSuccess() bool
IsSuccess returns true when this import specification from file unauthorized response has a 2xx status code
func (*ImportSpecificationFromFileUnauthorized) String ¶
func (o *ImportSpecificationFromFileUnauthorized) String() string
type ImportSpecificationFromFileUnprocessableEntity ¶
ImportSpecificationFromFileUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewImportSpecificationFromFileUnprocessableEntity ¶
func NewImportSpecificationFromFileUnprocessableEntity() *ImportSpecificationFromFileUnprocessableEntity
NewImportSpecificationFromFileUnprocessableEntity creates a ImportSpecificationFromFileUnprocessableEntity with default headers values
func (*ImportSpecificationFromFileUnprocessableEntity) Code ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) Code() int
Code gets the status code for the import specification from file unprocessable entity response
func (*ImportSpecificationFromFileUnprocessableEntity) Error ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) Error() string
func (*ImportSpecificationFromFileUnprocessableEntity) GetPayload ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) GetPayload() *models.Error
func (*ImportSpecificationFromFileUnprocessableEntity) IsClientError ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import specification from file unprocessable entity response has a 4xx status code
func (*ImportSpecificationFromFileUnprocessableEntity) IsCode ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import specification from file unprocessable entity response a status code equal to that given
func (*ImportSpecificationFromFileUnprocessableEntity) IsRedirect ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import specification from file unprocessable entity response has a 3xx status code
func (*ImportSpecificationFromFileUnprocessableEntity) IsServerError ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import specification from file unprocessable entity response has a 5xx status code
func (*ImportSpecificationFromFileUnprocessableEntity) IsSuccess ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import specification from file unprocessable entity response has a 2xx status code
func (*ImportSpecificationFromFileUnprocessableEntity) String ¶
func (o *ImportSpecificationFromFileUnprocessableEntity) String() string
type ImportSpecificationFromTextBadRequest ¶
ImportSpecificationFromTextBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportSpecificationFromTextBadRequest ¶
func NewImportSpecificationFromTextBadRequest() *ImportSpecificationFromTextBadRequest
NewImportSpecificationFromTextBadRequest creates a ImportSpecificationFromTextBadRequest with default headers values
func (*ImportSpecificationFromTextBadRequest) Code ¶
func (o *ImportSpecificationFromTextBadRequest) Code() int
Code gets the status code for the import specification from text bad request response
func (*ImportSpecificationFromTextBadRequest) Error ¶
func (o *ImportSpecificationFromTextBadRequest) Error() string
func (*ImportSpecificationFromTextBadRequest) GetPayload ¶
func (o *ImportSpecificationFromTextBadRequest) GetPayload() *models.Error
func (*ImportSpecificationFromTextBadRequest) IsClientError ¶
func (o *ImportSpecificationFromTextBadRequest) IsClientError() bool
IsClientError returns true when this import specification from text bad request response has a 4xx status code
func (*ImportSpecificationFromTextBadRequest) IsCode ¶
func (o *ImportSpecificationFromTextBadRequest) IsCode(code int) bool
IsCode returns true when this import specification from text bad request response a status code equal to that given
func (*ImportSpecificationFromTextBadRequest) IsRedirect ¶
func (o *ImportSpecificationFromTextBadRequest) IsRedirect() bool
IsRedirect returns true when this import specification from text bad request response has a 3xx status code
func (*ImportSpecificationFromTextBadRequest) IsServerError ¶
func (o *ImportSpecificationFromTextBadRequest) IsServerError() bool
IsServerError returns true when this import specification from text bad request response has a 5xx status code
func (*ImportSpecificationFromTextBadRequest) IsSuccess ¶
func (o *ImportSpecificationFromTextBadRequest) IsSuccess() bool
IsSuccess returns true when this import specification from text bad request response has a 2xx status code
func (*ImportSpecificationFromTextBadRequest) String ¶
func (o *ImportSpecificationFromTextBadRequest) String() string
type ImportSpecificationFromTextConflict ¶
ImportSpecificationFromTextConflict describes a response with status code 409, with default header values.
Conflict
func NewImportSpecificationFromTextConflict ¶
func NewImportSpecificationFromTextConflict() *ImportSpecificationFromTextConflict
NewImportSpecificationFromTextConflict creates a ImportSpecificationFromTextConflict with default headers values
func (*ImportSpecificationFromTextConflict) Code ¶
func (o *ImportSpecificationFromTextConflict) Code() int
Code gets the status code for the import specification from text conflict response
func (*ImportSpecificationFromTextConflict) Error ¶
func (o *ImportSpecificationFromTextConflict) Error() string
func (*ImportSpecificationFromTextConflict) GetPayload ¶
func (o *ImportSpecificationFromTextConflict) GetPayload() *models.Error
func (*ImportSpecificationFromTextConflict) IsClientError ¶
func (o *ImportSpecificationFromTextConflict) IsClientError() bool
IsClientError returns true when this import specification from text conflict response has a 4xx status code
func (*ImportSpecificationFromTextConflict) IsCode ¶
func (o *ImportSpecificationFromTextConflict) IsCode(code int) bool
IsCode returns true when this import specification from text conflict response a status code equal to that given
func (*ImportSpecificationFromTextConflict) IsRedirect ¶
func (o *ImportSpecificationFromTextConflict) IsRedirect() bool
IsRedirect returns true when this import specification from text conflict response has a 3xx status code
func (*ImportSpecificationFromTextConflict) IsServerError ¶
func (o *ImportSpecificationFromTextConflict) IsServerError() bool
IsServerError returns true when this import specification from text conflict response has a 5xx status code
func (*ImportSpecificationFromTextConflict) IsSuccess ¶
func (o *ImportSpecificationFromTextConflict) IsSuccess() bool
IsSuccess returns true when this import specification from text conflict response has a 2xx status code
func (*ImportSpecificationFromTextConflict) String ¶
func (o *ImportSpecificationFromTextConflict) String() string
type ImportSpecificationFromTextForbidden ¶
ImportSpecificationFromTextForbidden describes a response with status code 403, with default header values.
Forbidden
func NewImportSpecificationFromTextForbidden ¶
func NewImportSpecificationFromTextForbidden() *ImportSpecificationFromTextForbidden
NewImportSpecificationFromTextForbidden creates a ImportSpecificationFromTextForbidden with default headers values
func (*ImportSpecificationFromTextForbidden) Code ¶
func (o *ImportSpecificationFromTextForbidden) Code() int
Code gets the status code for the import specification from text forbidden response
func (*ImportSpecificationFromTextForbidden) Error ¶
func (o *ImportSpecificationFromTextForbidden) Error() string
func (*ImportSpecificationFromTextForbidden) GetPayload ¶
func (o *ImportSpecificationFromTextForbidden) GetPayload() *models.Error
func (*ImportSpecificationFromTextForbidden) IsClientError ¶
func (o *ImportSpecificationFromTextForbidden) IsClientError() bool
IsClientError returns true when this import specification from text forbidden response has a 4xx status code
func (*ImportSpecificationFromTextForbidden) IsCode ¶
func (o *ImportSpecificationFromTextForbidden) IsCode(code int) bool
IsCode returns true when this import specification from text forbidden response a status code equal to that given
func (*ImportSpecificationFromTextForbidden) IsRedirect ¶
func (o *ImportSpecificationFromTextForbidden) IsRedirect() bool
IsRedirect returns true when this import specification from text forbidden response has a 3xx status code
func (*ImportSpecificationFromTextForbidden) IsServerError ¶
func (o *ImportSpecificationFromTextForbidden) IsServerError() bool
IsServerError returns true when this import specification from text forbidden response has a 5xx status code
func (*ImportSpecificationFromTextForbidden) IsSuccess ¶
func (o *ImportSpecificationFromTextForbidden) IsSuccess() bool
IsSuccess returns true when this import specification from text forbidden response has a 2xx status code
func (*ImportSpecificationFromTextForbidden) String ¶
func (o *ImportSpecificationFromTextForbidden) String() string
type ImportSpecificationFromTextNotFound ¶
ImportSpecificationFromTextNotFound describes a response with status code 404, with default header values.
Not found
func NewImportSpecificationFromTextNotFound ¶
func NewImportSpecificationFromTextNotFound() *ImportSpecificationFromTextNotFound
NewImportSpecificationFromTextNotFound creates a ImportSpecificationFromTextNotFound with default headers values
func (*ImportSpecificationFromTextNotFound) Code ¶
func (o *ImportSpecificationFromTextNotFound) Code() int
Code gets the status code for the import specification from text not found response
func (*ImportSpecificationFromTextNotFound) Error ¶
func (o *ImportSpecificationFromTextNotFound) Error() string
func (*ImportSpecificationFromTextNotFound) GetPayload ¶
func (o *ImportSpecificationFromTextNotFound) GetPayload() *models.Error
func (*ImportSpecificationFromTextNotFound) IsClientError ¶
func (o *ImportSpecificationFromTextNotFound) IsClientError() bool
IsClientError returns true when this import specification from text not found response has a 4xx status code
func (*ImportSpecificationFromTextNotFound) IsCode ¶
func (o *ImportSpecificationFromTextNotFound) IsCode(code int) bool
IsCode returns true when this import specification from text not found response a status code equal to that given
func (*ImportSpecificationFromTextNotFound) IsRedirect ¶
func (o *ImportSpecificationFromTextNotFound) IsRedirect() bool
IsRedirect returns true when this import specification from text not found response has a 3xx status code
func (*ImportSpecificationFromTextNotFound) IsServerError ¶
func (o *ImportSpecificationFromTextNotFound) IsServerError() bool
IsServerError returns true when this import specification from text not found response has a 5xx status code
func (*ImportSpecificationFromTextNotFound) IsSuccess ¶
func (o *ImportSpecificationFromTextNotFound) IsSuccess() bool
IsSuccess returns true when this import specification from text not found response has a 2xx status code
func (*ImportSpecificationFromTextNotFound) String ¶
func (o *ImportSpecificationFromTextNotFound) String() string
type ImportSpecificationFromTextOK ¶
type ImportSpecificationFromTextOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ImportServiceConfigurationResult }
ImportSpecificationFromTextOK describes a response with status code 200, with default header values.
Import service configuration result
func NewImportSpecificationFromTextOK ¶
func NewImportSpecificationFromTextOK() *ImportSpecificationFromTextOK
NewImportSpecificationFromTextOK creates a ImportSpecificationFromTextOK with default headers values
func (*ImportSpecificationFromTextOK) Code ¶
func (o *ImportSpecificationFromTextOK) Code() int
Code gets the status code for the import specification from text o k response
func (*ImportSpecificationFromTextOK) Error ¶
func (o *ImportSpecificationFromTextOK) Error() string
func (*ImportSpecificationFromTextOK) GetPayload ¶
func (o *ImportSpecificationFromTextOK) GetPayload() *models.ImportServiceConfigurationResult
func (*ImportSpecificationFromTextOK) IsClientError ¶
func (o *ImportSpecificationFromTextOK) IsClientError() bool
IsClientError returns true when this import specification from text o k response has a 4xx status code
func (*ImportSpecificationFromTextOK) IsCode ¶
func (o *ImportSpecificationFromTextOK) IsCode(code int) bool
IsCode returns true when this import specification from text o k response a status code equal to that given
func (*ImportSpecificationFromTextOK) IsRedirect ¶
func (o *ImportSpecificationFromTextOK) IsRedirect() bool
IsRedirect returns true when this import specification from text o k response has a 3xx status code
func (*ImportSpecificationFromTextOK) IsServerError ¶
func (o *ImportSpecificationFromTextOK) IsServerError() bool
IsServerError returns true when this import specification from text o k response has a 5xx status code
func (*ImportSpecificationFromTextOK) IsSuccess ¶
func (o *ImportSpecificationFromTextOK) IsSuccess() bool
IsSuccess returns true when this import specification from text o k response has a 2xx status code
func (*ImportSpecificationFromTextOK) String ¶
func (o *ImportSpecificationFromTextOK) String() string
type ImportSpecificationFromTextParams ¶
type ImportSpecificationFromTextParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string // Text. Text string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportSpecificationFromTextParams contains all the parameters to send to the API endpoint
for the import specification from text operation. Typically these are written to a http.Request.
func NewImportSpecificationFromTextParams ¶
func NewImportSpecificationFromTextParams() *ImportSpecificationFromTextParams
NewImportSpecificationFromTextParams creates a new ImportSpecificationFromTextParams 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 NewImportSpecificationFromTextParamsWithContext ¶
func NewImportSpecificationFromTextParamsWithContext(ctx context.Context) *ImportSpecificationFromTextParams
NewImportSpecificationFromTextParamsWithContext creates a new ImportSpecificationFromTextParams object with the ability to set a context for a request.
func NewImportSpecificationFromTextParamsWithHTTPClient ¶
func NewImportSpecificationFromTextParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromTextParams
NewImportSpecificationFromTextParamsWithHTTPClient creates a new ImportSpecificationFromTextParams object with the ability to set a custom HTTPClient for a request.
func NewImportSpecificationFromTextParamsWithTimeout ¶
func NewImportSpecificationFromTextParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromTextParams
NewImportSpecificationFromTextParamsWithTimeout creates a new ImportSpecificationFromTextParams object with the ability to set a timeout on a request.
func (*ImportSpecificationFromTextParams) SetContext ¶
func (o *ImportSpecificationFromTextParams) SetContext(ctx context.Context)
SetContext adds the context to the import specification from text params
func (*ImportSpecificationFromTextParams) SetDefaults ¶
func (o *ImportSpecificationFromTextParams) SetDefaults()
SetDefaults hydrates default values in the import specification from text params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromTextParams) SetHTTPClient ¶
func (o *ImportSpecificationFromTextParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import specification from text params
func (*ImportSpecificationFromTextParams) SetIfMatch ¶
func (o *ImportSpecificationFromTextParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the import specification from text params
func (*ImportSpecificationFromTextParams) SetSid ¶
func (o *ImportSpecificationFromTextParams) SetSid(sid string)
SetSid adds the sid to the import specification from text params
func (*ImportSpecificationFromTextParams) SetText ¶
func (o *ImportSpecificationFromTextParams) SetText(text string)
SetText adds the text to the import specification from text params
func (*ImportSpecificationFromTextParams) SetTimeout ¶
func (o *ImportSpecificationFromTextParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import specification from text params
func (*ImportSpecificationFromTextParams) WithContext ¶
func (o *ImportSpecificationFromTextParams) WithContext(ctx context.Context) *ImportSpecificationFromTextParams
WithContext adds the context to the import specification from text params
func (*ImportSpecificationFromTextParams) WithDefaults ¶
func (o *ImportSpecificationFromTextParams) WithDefaults() *ImportSpecificationFromTextParams
WithDefaults hydrates default values in the import specification from text params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromTextParams) WithHTTPClient ¶
func (o *ImportSpecificationFromTextParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromTextParams
WithHTTPClient adds the HTTPClient to the import specification from text params
func (*ImportSpecificationFromTextParams) WithIfMatch ¶
func (o *ImportSpecificationFromTextParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromTextParams
WithIfMatch adds the ifMatch to the import specification from text params
func (*ImportSpecificationFromTextParams) WithSid ¶
func (o *ImportSpecificationFromTextParams) WithSid(sid string) *ImportSpecificationFromTextParams
WithSid adds the sid to the import specification from text params
func (*ImportSpecificationFromTextParams) WithText ¶
func (o *ImportSpecificationFromTextParams) WithText(text string) *ImportSpecificationFromTextParams
WithText adds the text to the import specification from text params
func (*ImportSpecificationFromTextParams) WithTimeout ¶
func (o *ImportSpecificationFromTextParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromTextParams
WithTimeout adds the timeout to the import specification from text params
func (*ImportSpecificationFromTextParams) WriteToRequest ¶
func (o *ImportSpecificationFromTextParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportSpecificationFromTextReader ¶
type ImportSpecificationFromTextReader struct {
// contains filtered or unexported fields
}
ImportSpecificationFromTextReader is a Reader for the ImportSpecificationFromText structure.
func (*ImportSpecificationFromTextReader) ReadResponse ¶
func (o *ImportSpecificationFromTextReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportSpecificationFromTextTooManyRequests ¶
ImportSpecificationFromTextTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewImportSpecificationFromTextTooManyRequests ¶
func NewImportSpecificationFromTextTooManyRequests() *ImportSpecificationFromTextTooManyRequests
NewImportSpecificationFromTextTooManyRequests creates a ImportSpecificationFromTextTooManyRequests with default headers values
func (*ImportSpecificationFromTextTooManyRequests) Code ¶
func (o *ImportSpecificationFromTextTooManyRequests) Code() int
Code gets the status code for the import specification from text too many requests response
func (*ImportSpecificationFromTextTooManyRequests) Error ¶
func (o *ImportSpecificationFromTextTooManyRequests) Error() string
func (*ImportSpecificationFromTextTooManyRequests) GetPayload ¶
func (o *ImportSpecificationFromTextTooManyRequests) GetPayload() *models.Error
func (*ImportSpecificationFromTextTooManyRequests) IsClientError ¶
func (o *ImportSpecificationFromTextTooManyRequests) IsClientError() bool
IsClientError returns true when this import specification from text too many requests response has a 4xx status code
func (*ImportSpecificationFromTextTooManyRequests) IsCode ¶
func (o *ImportSpecificationFromTextTooManyRequests) IsCode(code int) bool
IsCode returns true when this import specification from text too many requests response a status code equal to that given
func (*ImportSpecificationFromTextTooManyRequests) IsRedirect ¶
func (o *ImportSpecificationFromTextTooManyRequests) IsRedirect() bool
IsRedirect returns true when this import specification from text too many requests response has a 3xx status code
func (*ImportSpecificationFromTextTooManyRequests) IsServerError ¶
func (o *ImportSpecificationFromTextTooManyRequests) IsServerError() bool
IsServerError returns true when this import specification from text too many requests response has a 5xx status code
func (*ImportSpecificationFromTextTooManyRequests) IsSuccess ¶
func (o *ImportSpecificationFromTextTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import specification from text too many requests response has a 2xx status code
func (*ImportSpecificationFromTextTooManyRequests) String ¶
func (o *ImportSpecificationFromTextTooManyRequests) String() string
type ImportSpecificationFromTextUnauthorized ¶
type ImportSpecificationFromTextUnauthorized struct {
}ImportSpecificationFromTextUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportSpecificationFromTextUnauthorized ¶
func NewImportSpecificationFromTextUnauthorized() *ImportSpecificationFromTextUnauthorized
NewImportSpecificationFromTextUnauthorized creates a ImportSpecificationFromTextUnauthorized with default headers values
func (*ImportSpecificationFromTextUnauthorized) Code ¶
func (o *ImportSpecificationFromTextUnauthorized) Code() int
Code gets the status code for the import specification from text unauthorized response
func (*ImportSpecificationFromTextUnauthorized) Error ¶
func (o *ImportSpecificationFromTextUnauthorized) Error() string
func (*ImportSpecificationFromTextUnauthorized) GetPayload ¶
func (o *ImportSpecificationFromTextUnauthorized) GetPayload() *models.Error
func (*ImportSpecificationFromTextUnauthorized) IsClientError ¶
func (o *ImportSpecificationFromTextUnauthorized) IsClientError() bool
IsClientError returns true when this import specification from text unauthorized response has a 4xx status code
func (*ImportSpecificationFromTextUnauthorized) IsCode ¶
func (o *ImportSpecificationFromTextUnauthorized) IsCode(code int) bool
IsCode returns true when this import specification from text unauthorized response a status code equal to that given
func (*ImportSpecificationFromTextUnauthorized) IsRedirect ¶
func (o *ImportSpecificationFromTextUnauthorized) IsRedirect() bool
IsRedirect returns true when this import specification from text unauthorized response has a 3xx status code
func (*ImportSpecificationFromTextUnauthorized) IsServerError ¶
func (o *ImportSpecificationFromTextUnauthorized) IsServerError() bool
IsServerError returns true when this import specification from text unauthorized response has a 5xx status code
func (*ImportSpecificationFromTextUnauthorized) IsSuccess ¶
func (o *ImportSpecificationFromTextUnauthorized) IsSuccess() bool
IsSuccess returns true when this import specification from text unauthorized response has a 2xx status code
func (*ImportSpecificationFromTextUnauthorized) String ¶
func (o *ImportSpecificationFromTextUnauthorized) String() string
type ImportSpecificationFromTextUnprocessableEntity ¶
ImportSpecificationFromTextUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewImportSpecificationFromTextUnprocessableEntity ¶
func NewImportSpecificationFromTextUnprocessableEntity() *ImportSpecificationFromTextUnprocessableEntity
NewImportSpecificationFromTextUnprocessableEntity creates a ImportSpecificationFromTextUnprocessableEntity with default headers values
func (*ImportSpecificationFromTextUnprocessableEntity) Code ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) Code() int
Code gets the status code for the import specification from text unprocessable entity response
func (*ImportSpecificationFromTextUnprocessableEntity) Error ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) Error() string
func (*ImportSpecificationFromTextUnprocessableEntity) GetPayload ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) GetPayload() *models.Error
func (*ImportSpecificationFromTextUnprocessableEntity) IsClientError ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import specification from text unprocessable entity response has a 4xx status code
func (*ImportSpecificationFromTextUnprocessableEntity) IsCode ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import specification from text unprocessable entity response a status code equal to that given
func (*ImportSpecificationFromTextUnprocessableEntity) IsRedirect ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import specification from text unprocessable entity response has a 3xx status code
func (*ImportSpecificationFromTextUnprocessableEntity) IsServerError ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import specification from text unprocessable entity response has a 5xx status code
func (*ImportSpecificationFromTextUnprocessableEntity) IsSuccess ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import specification from text unprocessable entity response has a 2xx status code
func (*ImportSpecificationFromTextUnprocessableEntity) String ¶
func (o *ImportSpecificationFromTextUnprocessableEntity) String() string
type ImportSpecificationFromURLBadRequest ¶
ImportSpecificationFromURLBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportSpecificationFromURLBadRequest ¶
func NewImportSpecificationFromURLBadRequest() *ImportSpecificationFromURLBadRequest
NewImportSpecificationFromURLBadRequest creates a ImportSpecificationFromURLBadRequest with default headers values
func (*ImportSpecificationFromURLBadRequest) Code ¶
func (o *ImportSpecificationFromURLBadRequest) Code() int
Code gets the status code for the import specification from Url bad request response
func (*ImportSpecificationFromURLBadRequest) Error ¶
func (o *ImportSpecificationFromURLBadRequest) Error() string
func (*ImportSpecificationFromURLBadRequest) GetPayload ¶
func (o *ImportSpecificationFromURLBadRequest) GetPayload() *models.Error
func (*ImportSpecificationFromURLBadRequest) IsClientError ¶
func (o *ImportSpecificationFromURLBadRequest) IsClientError() bool
IsClientError returns true when this import specification from Url bad request response has a 4xx status code
func (*ImportSpecificationFromURLBadRequest) IsCode ¶
func (o *ImportSpecificationFromURLBadRequest) IsCode(code int) bool
IsCode returns true when this import specification from Url bad request response a status code equal to that given
func (*ImportSpecificationFromURLBadRequest) IsRedirect ¶
func (o *ImportSpecificationFromURLBadRequest) IsRedirect() bool
IsRedirect returns true when this import specification from Url bad request response has a 3xx status code
func (*ImportSpecificationFromURLBadRequest) IsServerError ¶
func (o *ImportSpecificationFromURLBadRequest) IsServerError() bool
IsServerError returns true when this import specification from Url bad request response has a 5xx status code
func (*ImportSpecificationFromURLBadRequest) IsSuccess ¶
func (o *ImportSpecificationFromURLBadRequest) IsSuccess() bool
IsSuccess returns true when this import specification from Url bad request response has a 2xx status code
func (*ImportSpecificationFromURLBadRequest) String ¶
func (o *ImportSpecificationFromURLBadRequest) String() string
type ImportSpecificationFromURLConflict ¶
ImportSpecificationFromURLConflict describes a response with status code 409, with default header values.
Conflict
func NewImportSpecificationFromURLConflict ¶
func NewImportSpecificationFromURLConflict() *ImportSpecificationFromURLConflict
NewImportSpecificationFromURLConflict creates a ImportSpecificationFromURLConflict with default headers values
func (*ImportSpecificationFromURLConflict) Code ¶
func (o *ImportSpecificationFromURLConflict) Code() int
Code gets the status code for the import specification from Url conflict response
func (*ImportSpecificationFromURLConflict) Error ¶
func (o *ImportSpecificationFromURLConflict) Error() string
func (*ImportSpecificationFromURLConflict) GetPayload ¶
func (o *ImportSpecificationFromURLConflict) GetPayload() *models.Error
func (*ImportSpecificationFromURLConflict) IsClientError ¶
func (o *ImportSpecificationFromURLConflict) IsClientError() bool
IsClientError returns true when this import specification from Url conflict response has a 4xx status code
func (*ImportSpecificationFromURLConflict) IsCode ¶
func (o *ImportSpecificationFromURLConflict) IsCode(code int) bool
IsCode returns true when this import specification from Url conflict response a status code equal to that given
func (*ImportSpecificationFromURLConflict) IsRedirect ¶
func (o *ImportSpecificationFromURLConflict) IsRedirect() bool
IsRedirect returns true when this import specification from Url conflict response has a 3xx status code
func (*ImportSpecificationFromURLConflict) IsServerError ¶
func (o *ImportSpecificationFromURLConflict) IsServerError() bool
IsServerError returns true when this import specification from Url conflict response has a 5xx status code
func (*ImportSpecificationFromURLConflict) IsSuccess ¶
func (o *ImportSpecificationFromURLConflict) IsSuccess() bool
IsSuccess returns true when this import specification from Url conflict response has a 2xx status code
func (*ImportSpecificationFromURLConflict) String ¶
func (o *ImportSpecificationFromURLConflict) String() string
type ImportSpecificationFromURLForbidden ¶
ImportSpecificationFromURLForbidden describes a response with status code 403, with default header values.
Forbidden
func NewImportSpecificationFromURLForbidden ¶
func NewImportSpecificationFromURLForbidden() *ImportSpecificationFromURLForbidden
NewImportSpecificationFromURLForbidden creates a ImportSpecificationFromURLForbidden with default headers values
func (*ImportSpecificationFromURLForbidden) Code ¶
func (o *ImportSpecificationFromURLForbidden) Code() int
Code gets the status code for the import specification from Url forbidden response
func (*ImportSpecificationFromURLForbidden) Error ¶
func (o *ImportSpecificationFromURLForbidden) Error() string
func (*ImportSpecificationFromURLForbidden) GetPayload ¶
func (o *ImportSpecificationFromURLForbidden) GetPayload() *models.Error
func (*ImportSpecificationFromURLForbidden) IsClientError ¶
func (o *ImportSpecificationFromURLForbidden) IsClientError() bool
IsClientError returns true when this import specification from Url forbidden response has a 4xx status code
func (*ImportSpecificationFromURLForbidden) IsCode ¶
func (o *ImportSpecificationFromURLForbidden) IsCode(code int) bool
IsCode returns true when this import specification from Url forbidden response a status code equal to that given
func (*ImportSpecificationFromURLForbidden) IsRedirect ¶
func (o *ImportSpecificationFromURLForbidden) IsRedirect() bool
IsRedirect returns true when this import specification from Url forbidden response has a 3xx status code
func (*ImportSpecificationFromURLForbidden) IsServerError ¶
func (o *ImportSpecificationFromURLForbidden) IsServerError() bool
IsServerError returns true when this import specification from Url forbidden response has a 5xx status code
func (*ImportSpecificationFromURLForbidden) IsSuccess ¶
func (o *ImportSpecificationFromURLForbidden) IsSuccess() bool
IsSuccess returns true when this import specification from Url forbidden response has a 2xx status code
func (*ImportSpecificationFromURLForbidden) String ¶
func (o *ImportSpecificationFromURLForbidden) String() string
type ImportSpecificationFromURLNotFound ¶
ImportSpecificationFromURLNotFound describes a response with status code 404, with default header values.
Not found
func NewImportSpecificationFromURLNotFound ¶
func NewImportSpecificationFromURLNotFound() *ImportSpecificationFromURLNotFound
NewImportSpecificationFromURLNotFound creates a ImportSpecificationFromURLNotFound with default headers values
func (*ImportSpecificationFromURLNotFound) Code ¶
func (o *ImportSpecificationFromURLNotFound) Code() int
Code gets the status code for the import specification from Url not found response
func (*ImportSpecificationFromURLNotFound) Error ¶
func (o *ImportSpecificationFromURLNotFound) Error() string
func (*ImportSpecificationFromURLNotFound) GetPayload ¶
func (o *ImportSpecificationFromURLNotFound) GetPayload() *models.Error
func (*ImportSpecificationFromURLNotFound) IsClientError ¶
func (o *ImportSpecificationFromURLNotFound) IsClientError() bool
IsClientError returns true when this import specification from Url not found response has a 4xx status code
func (*ImportSpecificationFromURLNotFound) IsCode ¶
func (o *ImportSpecificationFromURLNotFound) IsCode(code int) bool
IsCode returns true when this import specification from Url not found response a status code equal to that given
func (*ImportSpecificationFromURLNotFound) IsRedirect ¶
func (o *ImportSpecificationFromURLNotFound) IsRedirect() bool
IsRedirect returns true when this import specification from Url not found response has a 3xx status code
func (*ImportSpecificationFromURLNotFound) IsServerError ¶
func (o *ImportSpecificationFromURLNotFound) IsServerError() bool
IsServerError returns true when this import specification from Url not found response has a 5xx status code
func (*ImportSpecificationFromURLNotFound) IsSuccess ¶
func (o *ImportSpecificationFromURLNotFound) IsSuccess() bool
IsSuccess returns true when this import specification from Url not found response has a 2xx status code
func (*ImportSpecificationFromURLNotFound) String ¶
func (o *ImportSpecificationFromURLNotFound) String() string
type ImportSpecificationFromURLOK ¶
type ImportSpecificationFromURLOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ImportServiceConfigurationResult }
ImportSpecificationFromURLOK describes a response with status code 200, with default header values.
Import service configuration result
func NewImportSpecificationFromURLOK ¶
func NewImportSpecificationFromURLOK() *ImportSpecificationFromURLOK
NewImportSpecificationFromURLOK creates a ImportSpecificationFromURLOK with default headers values
func (*ImportSpecificationFromURLOK) Code ¶
func (o *ImportSpecificationFromURLOK) Code() int
Code gets the status code for the import specification from Url o k response
func (*ImportSpecificationFromURLOK) Error ¶
func (o *ImportSpecificationFromURLOK) Error() string
func (*ImportSpecificationFromURLOK) GetPayload ¶
func (o *ImportSpecificationFromURLOK) GetPayload() *models.ImportServiceConfigurationResult
func (*ImportSpecificationFromURLOK) IsClientError ¶
func (o *ImportSpecificationFromURLOK) IsClientError() bool
IsClientError returns true when this import specification from Url o k response has a 4xx status code
func (*ImportSpecificationFromURLOK) IsCode ¶
func (o *ImportSpecificationFromURLOK) IsCode(code int) bool
IsCode returns true when this import specification from Url o k response a status code equal to that given
func (*ImportSpecificationFromURLOK) IsRedirect ¶
func (o *ImportSpecificationFromURLOK) IsRedirect() bool
IsRedirect returns true when this import specification from Url o k response has a 3xx status code
func (*ImportSpecificationFromURLOK) IsServerError ¶
func (o *ImportSpecificationFromURLOK) IsServerError() bool
IsServerError returns true when this import specification from Url o k response has a 5xx status code
func (*ImportSpecificationFromURLOK) IsSuccess ¶
func (o *ImportSpecificationFromURLOK) IsSuccess() bool
IsSuccess returns true when this import specification from Url o k response has a 2xx status code
func (*ImportSpecificationFromURLOK) String ¶
func (o *ImportSpecificationFromURLOK) String() string
type ImportSpecificationFromURLParams ¶
type ImportSpecificationFromURLParams struct { // GatewayType. GatewayType *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string // URL. URL *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportSpecificationFromURLParams contains all the parameters to send to the API endpoint
for the import specification from URL operation. Typically these are written to a http.Request.
func NewImportSpecificationFromURLParams ¶
func NewImportSpecificationFromURLParams() *ImportSpecificationFromURLParams
NewImportSpecificationFromURLParams creates a new ImportSpecificationFromURLParams 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 NewImportSpecificationFromURLParamsWithContext ¶
func NewImportSpecificationFromURLParamsWithContext(ctx context.Context) *ImportSpecificationFromURLParams
NewImportSpecificationFromURLParamsWithContext creates a new ImportSpecificationFromURLParams object with the ability to set a context for a request.
func NewImportSpecificationFromURLParamsWithHTTPClient ¶
func NewImportSpecificationFromURLParamsWithHTTPClient(client *http.Client) *ImportSpecificationFromURLParams
NewImportSpecificationFromURLParamsWithHTTPClient creates a new ImportSpecificationFromURLParams object with the ability to set a custom HTTPClient for a request.
func NewImportSpecificationFromURLParamsWithTimeout ¶
func NewImportSpecificationFromURLParamsWithTimeout(timeout time.Duration) *ImportSpecificationFromURLParams
NewImportSpecificationFromURLParamsWithTimeout creates a new ImportSpecificationFromURLParams object with the ability to set a timeout on a request.
func (*ImportSpecificationFromURLParams) SetContext ¶
func (o *ImportSpecificationFromURLParams) SetContext(ctx context.Context)
SetContext adds the context to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetDefaults ¶
func (o *ImportSpecificationFromURLParams) SetDefaults()
SetDefaults hydrates default values in the import specification from URL params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromURLParams) SetGatewayType ¶
func (o *ImportSpecificationFromURLParams) SetGatewayType(gatewayType *string)
SetGatewayType adds the gatewayType to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetHTTPClient ¶
func (o *ImportSpecificationFromURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetIfMatch ¶
func (o *ImportSpecificationFromURLParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetSid ¶
func (o *ImportSpecificationFromURLParams) SetSid(sid string)
SetSid adds the sid to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetTimeout ¶
func (o *ImportSpecificationFromURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import specification from URL params
func (*ImportSpecificationFromURLParams) SetURL ¶
func (o *ImportSpecificationFromURLParams) SetURL(url *string)
SetURL adds the url to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithContext ¶
func (o *ImportSpecificationFromURLParams) WithContext(ctx context.Context) *ImportSpecificationFromURLParams
WithContext adds the context to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithDefaults ¶
func (o *ImportSpecificationFromURLParams) WithDefaults() *ImportSpecificationFromURLParams
WithDefaults hydrates default values in the import specification from URL params (not the query body).
All values with no default are reset to their zero value.
func (*ImportSpecificationFromURLParams) WithGatewayType ¶
func (o *ImportSpecificationFromURLParams) WithGatewayType(gatewayType *string) *ImportSpecificationFromURLParams
WithGatewayType adds the gatewayType to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithHTTPClient ¶
func (o *ImportSpecificationFromURLParams) WithHTTPClient(client *http.Client) *ImportSpecificationFromURLParams
WithHTTPClient adds the HTTPClient to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithIfMatch ¶
func (o *ImportSpecificationFromURLParams) WithIfMatch(ifMatch *string) *ImportSpecificationFromURLParams
WithIfMatch adds the ifMatch to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithSid ¶
func (o *ImportSpecificationFromURLParams) WithSid(sid string) *ImportSpecificationFromURLParams
WithSid adds the sid to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithTimeout ¶
func (o *ImportSpecificationFromURLParams) WithTimeout(timeout time.Duration) *ImportSpecificationFromURLParams
WithTimeout adds the timeout to the import specification from URL params
func (*ImportSpecificationFromURLParams) WithURL ¶
func (o *ImportSpecificationFromURLParams) WithURL(url *string) *ImportSpecificationFromURLParams
WithURL adds the url to the import specification from URL params
func (*ImportSpecificationFromURLParams) WriteToRequest ¶
func (o *ImportSpecificationFromURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportSpecificationFromURLReader ¶
type ImportSpecificationFromURLReader struct {
// contains filtered or unexported fields
}
ImportSpecificationFromURLReader is a Reader for the ImportSpecificationFromURL structure.
func (*ImportSpecificationFromURLReader) ReadResponse ¶
func (o *ImportSpecificationFromURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportSpecificationFromURLTooManyRequests ¶
ImportSpecificationFromURLTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewImportSpecificationFromURLTooManyRequests ¶
func NewImportSpecificationFromURLTooManyRequests() *ImportSpecificationFromURLTooManyRequests
NewImportSpecificationFromURLTooManyRequests creates a ImportSpecificationFromURLTooManyRequests with default headers values
func (*ImportSpecificationFromURLTooManyRequests) Code ¶
func (o *ImportSpecificationFromURLTooManyRequests) Code() int
Code gets the status code for the import specification from Url too many requests response
func (*ImportSpecificationFromURLTooManyRequests) Error ¶
func (o *ImportSpecificationFromURLTooManyRequests) Error() string
func (*ImportSpecificationFromURLTooManyRequests) GetPayload ¶
func (o *ImportSpecificationFromURLTooManyRequests) GetPayload() *models.Error
func (*ImportSpecificationFromURLTooManyRequests) IsClientError ¶
func (o *ImportSpecificationFromURLTooManyRequests) IsClientError() bool
IsClientError returns true when this import specification from Url too many requests response has a 4xx status code
func (*ImportSpecificationFromURLTooManyRequests) IsCode ¶
func (o *ImportSpecificationFromURLTooManyRequests) IsCode(code int) bool
IsCode returns true when this import specification from Url too many requests response a status code equal to that given
func (*ImportSpecificationFromURLTooManyRequests) IsRedirect ¶
func (o *ImportSpecificationFromURLTooManyRequests) IsRedirect() bool
IsRedirect returns true when this import specification from Url too many requests response has a 3xx status code
func (*ImportSpecificationFromURLTooManyRequests) IsServerError ¶
func (o *ImportSpecificationFromURLTooManyRequests) IsServerError() bool
IsServerError returns true when this import specification from Url too many requests response has a 5xx status code
func (*ImportSpecificationFromURLTooManyRequests) IsSuccess ¶
func (o *ImportSpecificationFromURLTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import specification from Url too many requests response has a 2xx status code
func (*ImportSpecificationFromURLTooManyRequests) String ¶
func (o *ImportSpecificationFromURLTooManyRequests) String() string
type ImportSpecificationFromURLUnauthorized ¶
type ImportSpecificationFromURLUnauthorized struct {
}ImportSpecificationFromURLUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportSpecificationFromURLUnauthorized ¶
func NewImportSpecificationFromURLUnauthorized() *ImportSpecificationFromURLUnauthorized
NewImportSpecificationFromURLUnauthorized creates a ImportSpecificationFromURLUnauthorized with default headers values
func (*ImportSpecificationFromURLUnauthorized) Code ¶
func (o *ImportSpecificationFromURLUnauthorized) Code() int
Code gets the status code for the import specification from Url unauthorized response
func (*ImportSpecificationFromURLUnauthorized) Error ¶
func (o *ImportSpecificationFromURLUnauthorized) Error() string
func (*ImportSpecificationFromURLUnauthorized) GetPayload ¶
func (o *ImportSpecificationFromURLUnauthorized) GetPayload() *models.Error
func (*ImportSpecificationFromURLUnauthorized) IsClientError ¶
func (o *ImportSpecificationFromURLUnauthorized) IsClientError() bool
IsClientError returns true when this import specification from Url unauthorized response has a 4xx status code
func (*ImportSpecificationFromURLUnauthorized) IsCode ¶
func (o *ImportSpecificationFromURLUnauthorized) IsCode(code int) bool
IsCode returns true when this import specification from Url unauthorized response a status code equal to that given
func (*ImportSpecificationFromURLUnauthorized) IsRedirect ¶
func (o *ImportSpecificationFromURLUnauthorized) IsRedirect() bool
IsRedirect returns true when this import specification from Url unauthorized response has a 3xx status code
func (*ImportSpecificationFromURLUnauthorized) IsServerError ¶
func (o *ImportSpecificationFromURLUnauthorized) IsServerError() bool
IsServerError returns true when this import specification from Url unauthorized response has a 5xx status code
func (*ImportSpecificationFromURLUnauthorized) IsSuccess ¶
func (o *ImportSpecificationFromURLUnauthorized) IsSuccess() bool
IsSuccess returns true when this import specification from Url unauthorized response has a 2xx status code
func (*ImportSpecificationFromURLUnauthorized) String ¶
func (o *ImportSpecificationFromURLUnauthorized) String() string
type ImportSpecificationFromURLUnprocessableEntity ¶
ImportSpecificationFromURLUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewImportSpecificationFromURLUnprocessableEntity ¶
func NewImportSpecificationFromURLUnprocessableEntity() *ImportSpecificationFromURLUnprocessableEntity
NewImportSpecificationFromURLUnprocessableEntity creates a ImportSpecificationFromURLUnprocessableEntity with default headers values
func (*ImportSpecificationFromURLUnprocessableEntity) Code ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) Code() int
Code gets the status code for the import specification from Url unprocessable entity response
func (*ImportSpecificationFromURLUnprocessableEntity) Error ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) Error() string
func (*ImportSpecificationFromURLUnprocessableEntity) GetPayload ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) GetPayload() *models.Error
func (*ImportSpecificationFromURLUnprocessableEntity) IsClientError ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) IsClientError() bool
IsClientError returns true when this import specification from Url unprocessable entity response has a 4xx status code
func (*ImportSpecificationFromURLUnprocessableEntity) IsCode ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this import specification from Url unprocessable entity response a status code equal to that given
func (*ImportSpecificationFromURLUnprocessableEntity) IsRedirect ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this import specification from Url unprocessable entity response has a 3xx status code
func (*ImportSpecificationFromURLUnprocessableEntity) IsServerError ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) IsServerError() bool
IsServerError returns true when this import specification from Url unprocessable entity response has a 5xx status code
func (*ImportSpecificationFromURLUnprocessableEntity) IsSuccess ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this import specification from Url unprocessable entity response has a 2xx status code
func (*ImportSpecificationFromURLUnprocessableEntity) String ¶
func (o *ImportSpecificationFromURLUnprocessableEntity) String() string
type ListServicesBadRequest ¶
ListServicesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListServicesBadRequest ¶
func NewListServicesBadRequest() *ListServicesBadRequest
NewListServicesBadRequest creates a ListServicesBadRequest with default headers values
func (*ListServicesBadRequest) Code ¶
func (o *ListServicesBadRequest) Code() int
Code gets the status code for the list services bad request response
func (*ListServicesBadRequest) Error ¶
func (o *ListServicesBadRequest) Error() string
func (*ListServicesBadRequest) GetPayload ¶
func (o *ListServicesBadRequest) GetPayload() *models.Error
func (*ListServicesBadRequest) IsClientError ¶
func (o *ListServicesBadRequest) IsClientError() bool
IsClientError returns true when this list services bad request response has a 4xx status code
func (*ListServicesBadRequest) IsCode ¶
func (o *ListServicesBadRequest) IsCode(code int) bool
IsCode returns true when this list services bad request response a status code equal to that given
func (*ListServicesBadRequest) IsRedirect ¶
func (o *ListServicesBadRequest) IsRedirect() bool
IsRedirect returns true when this list services bad request response has a 3xx status code
func (*ListServicesBadRequest) IsServerError ¶
func (o *ListServicesBadRequest) IsServerError() bool
IsServerError returns true when this list services bad request response has a 5xx status code
func (*ListServicesBadRequest) IsSuccess ¶
func (o *ListServicesBadRequest) IsSuccess() bool
IsSuccess returns true when this list services bad request response has a 2xx status code
func (*ListServicesBadRequest) String ¶
func (o *ListServicesBadRequest) String() string
type ListServicesForbidden ¶
ListServicesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListServicesForbidden ¶
func NewListServicesForbidden() *ListServicesForbidden
NewListServicesForbidden creates a ListServicesForbidden with default headers values
func (*ListServicesForbidden) Code ¶
func (o *ListServicesForbidden) Code() int
Code gets the status code for the list services forbidden response
func (*ListServicesForbidden) Error ¶
func (o *ListServicesForbidden) Error() string
func (*ListServicesForbidden) GetPayload ¶
func (o *ListServicesForbidden) GetPayload() *models.Error
func (*ListServicesForbidden) IsClientError ¶
func (o *ListServicesForbidden) IsClientError() bool
IsClientError returns true when this list services forbidden response has a 4xx status code
func (*ListServicesForbidden) IsCode ¶
func (o *ListServicesForbidden) IsCode(code int) bool
IsCode returns true when this list services forbidden response a status code equal to that given
func (*ListServicesForbidden) IsRedirect ¶
func (o *ListServicesForbidden) IsRedirect() bool
IsRedirect returns true when this list services forbidden response has a 3xx status code
func (*ListServicesForbidden) IsServerError ¶
func (o *ListServicesForbidden) IsServerError() bool
IsServerError returns true when this list services forbidden response has a 5xx status code
func (*ListServicesForbidden) IsSuccess ¶
func (o *ListServicesForbidden) IsSuccess() bool
IsSuccess returns true when this list services forbidden response has a 2xx status code
func (*ListServicesForbidden) String ¶
func (o *ListServicesForbidden) String() string
type ListServicesNotFound ¶
ListServicesNotFound describes a response with status code 404, with default header values.
Not found
func NewListServicesNotFound ¶
func NewListServicesNotFound() *ListServicesNotFound
NewListServicesNotFound creates a ListServicesNotFound with default headers values
func (*ListServicesNotFound) Code ¶
func (o *ListServicesNotFound) Code() int
Code gets the status code for the list services not found response
func (*ListServicesNotFound) Error ¶
func (o *ListServicesNotFound) Error() string
func (*ListServicesNotFound) GetPayload ¶
func (o *ListServicesNotFound) GetPayload() *models.Error
func (*ListServicesNotFound) IsClientError ¶
func (o *ListServicesNotFound) IsClientError() bool
IsClientError returns true when this list services not found response has a 4xx status code
func (*ListServicesNotFound) IsCode ¶
func (o *ListServicesNotFound) IsCode(code int) bool
IsCode returns true when this list services not found response a status code equal to that given
func (*ListServicesNotFound) IsRedirect ¶
func (o *ListServicesNotFound) IsRedirect() bool
IsRedirect returns true when this list services not found response has a 3xx status code
func (*ListServicesNotFound) IsServerError ¶
func (o *ListServicesNotFound) IsServerError() bool
IsServerError returns true when this list services not found response has a 5xx status code
func (*ListServicesNotFound) IsSuccess ¶
func (o *ListServicesNotFound) IsSuccess() bool
IsSuccess returns true when this list services not found response has a 2xx status code
func (*ListServicesNotFound) String ¶
func (o *ListServicesNotFound) String() string
type ListServicesOK ¶
type ListServicesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServicesResponse }
ListServicesOK describes a response with status code 200, with default header values.
Services
func NewListServicesOK ¶
func NewListServicesOK() *ListServicesOK
NewListServicesOK creates a ListServicesOK with default headers values
func (*ListServicesOK) Code ¶
func (o *ListServicesOK) Code() int
Code gets the status code for the list services o k response
func (*ListServicesOK) Error ¶
func (o *ListServicesOK) Error() string
func (*ListServicesOK) GetPayload ¶
func (o *ListServicesOK) GetPayload() *models.ServicesResponse
func (*ListServicesOK) IsClientError ¶
func (o *ListServicesOK) IsClientError() bool
IsClientError returns true when this list services o k response has a 4xx status code
func (*ListServicesOK) IsCode ¶
func (o *ListServicesOK) IsCode(code int) bool
IsCode returns true when this list services o k response a status code equal to that given
func (*ListServicesOK) IsRedirect ¶
func (o *ListServicesOK) IsRedirect() bool
IsRedirect returns true when this list services o k response has a 3xx status code
func (*ListServicesOK) IsServerError ¶
func (o *ListServicesOK) IsServerError() bool
IsServerError returns true when this list services o k response has a 5xx status code
func (*ListServicesOK) IsSuccess ¶
func (o *ListServicesOK) IsSuccess() bool
IsSuccess returns true when this list services o k response has a 2xx status code
func (*ListServicesOK) String ¶
func (o *ListServicesOK) String() string
type ListServicesParams ¶
type ListServicesParams struct { /* AfterServiceID. optional list services after given id AfterServiceID */ AfterServiceID *string /* BeforeServiceID. optional list services before given id BeforeServiceID */ BeforeServiceID *string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Limit. optional limit results Limit Format: int64 Default: 20 */ Limit *int64 /* Order. optional order services by given direction Order */ Order *string /* SearchPhrase. Optional search phrase: service id OR service name substring (case insensitive) SearchPhrase */ SearchPhrase *string /* ServiceTypes. comma separated service types that are to be filtered out Default: "user,oauth2,oidc,system,openbanking" */ ServiceTypes *string /* Sort. optional sort services by given field Sort */ Sort *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicesParams contains all the parameters to send to the API endpoint
for the list services operation. Typically these are written to a http.Request.
func NewListServicesParams ¶
func NewListServicesParams() *ListServicesParams
NewListServicesParams creates a new ListServicesParams 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 NewListServicesParamsWithContext ¶
func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams
NewListServicesParamsWithContext creates a new ListServicesParams object with the ability to set a context for a request.
func NewListServicesParamsWithHTTPClient ¶
func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams
NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the ability to set a custom HTTPClient for a request.
func NewListServicesParamsWithTimeout ¶
func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams
NewListServicesParamsWithTimeout creates a new ListServicesParams object with the ability to set a timeout on a request.
func (*ListServicesParams) SetAfterServiceID ¶
func (o *ListServicesParams) SetAfterServiceID(afterServiceID *string)
SetAfterServiceID adds the afterServiceId to the list services params
func (*ListServicesParams) SetBeforeServiceID ¶
func (o *ListServicesParams) SetBeforeServiceID(beforeServiceID *string)
SetBeforeServiceID adds the beforeServiceId to the list services params
func (*ListServicesParams) SetContext ¶
func (o *ListServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list services params
func (*ListServicesParams) SetDefaults ¶
func (o *ListServicesParams) SetDefaults()
SetDefaults hydrates default values in the list services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicesParams) SetHTTPClient ¶
func (o *ListServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) SetIfMatch ¶
func (o *ListServicesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list services params
func (*ListServicesParams) SetLimit ¶
func (o *ListServicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list services params
func (*ListServicesParams) SetOrder ¶
func (o *ListServicesParams) SetOrder(order *string)
SetOrder adds the order to the list services params
func (*ListServicesParams) SetSearchPhrase ¶
func (o *ListServicesParams) SetSearchPhrase(searchPhrase *string)
SetSearchPhrase adds the searchPhrase to the list services params
func (*ListServicesParams) SetServiceTypes ¶
func (o *ListServicesParams) SetServiceTypes(serviceTypes *string)
SetServiceTypes adds the serviceTypes to the list services params
func (*ListServicesParams) SetSort ¶
func (o *ListServicesParams) SetSort(sort *string)
SetSort adds the sort to the list services params
func (*ListServicesParams) SetTimeout ¶
func (o *ListServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list services params
func (*ListServicesParams) SetWid ¶
func (o *ListServicesParams) SetWid(wid string)
SetWid adds the wid to the list services params
func (*ListServicesParams) WithAfterServiceID ¶
func (o *ListServicesParams) WithAfterServiceID(afterServiceID *string) *ListServicesParams
WithAfterServiceID adds the afterServiceID to the list services params
func (*ListServicesParams) WithBeforeServiceID ¶
func (o *ListServicesParams) WithBeforeServiceID(beforeServiceID *string) *ListServicesParams
WithBeforeServiceID adds the beforeServiceID to the list services params
func (*ListServicesParams) WithContext ¶
func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
WithContext adds the context to the list services params
func (*ListServicesParams) WithDefaults ¶
func (o *ListServicesParams) WithDefaults() *ListServicesParams
WithDefaults hydrates default values in the list services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicesParams) WithHTTPClient ¶
func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
WithHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) WithIfMatch ¶
func (o *ListServicesParams) WithIfMatch(ifMatch *string) *ListServicesParams
WithIfMatch adds the ifMatch to the list services params
func (*ListServicesParams) WithLimit ¶
func (o *ListServicesParams) WithLimit(limit *int64) *ListServicesParams
WithLimit adds the limit to the list services params
func (*ListServicesParams) WithOrder ¶
func (o *ListServicesParams) WithOrder(order *string) *ListServicesParams
WithOrder adds the order to the list services params
func (*ListServicesParams) WithSearchPhrase ¶
func (o *ListServicesParams) WithSearchPhrase(searchPhrase *string) *ListServicesParams
WithSearchPhrase adds the searchPhrase to the list services params
func (*ListServicesParams) WithServiceTypes ¶
func (o *ListServicesParams) WithServiceTypes(serviceTypes *string) *ListServicesParams
WithServiceTypes adds the serviceTypes to the list services params
func (*ListServicesParams) WithSort ¶
func (o *ListServicesParams) WithSort(sort *string) *ListServicesParams
WithSort adds the sort to the list services params
func (*ListServicesParams) WithTimeout ¶
func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
WithTimeout adds the timeout to the list services params
func (*ListServicesParams) WithWid ¶
func (o *ListServicesParams) WithWid(wid string) *ListServicesParams
WithWid adds the wid to the list services params
func (*ListServicesParams) WriteToRequest ¶
func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicesReader ¶
type ListServicesReader struct {
// contains filtered or unexported fields
}
ListServicesReader is a Reader for the ListServices structure.
func (*ListServicesReader) ReadResponse ¶
func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicesTooManyRequests ¶
ListServicesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListServicesTooManyRequests ¶
func NewListServicesTooManyRequests() *ListServicesTooManyRequests
NewListServicesTooManyRequests creates a ListServicesTooManyRequests with default headers values
func (*ListServicesTooManyRequests) Code ¶
func (o *ListServicesTooManyRequests) Code() int
Code gets the status code for the list services too many requests response
func (*ListServicesTooManyRequests) Error ¶
func (o *ListServicesTooManyRequests) Error() string
func (*ListServicesTooManyRequests) GetPayload ¶
func (o *ListServicesTooManyRequests) GetPayload() *models.Error
func (*ListServicesTooManyRequests) IsClientError ¶
func (o *ListServicesTooManyRequests) IsClientError() bool
IsClientError returns true when this list services too many requests response has a 4xx status code
func (*ListServicesTooManyRequests) IsCode ¶
func (o *ListServicesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list services too many requests response a status code equal to that given
func (*ListServicesTooManyRequests) IsRedirect ¶
func (o *ListServicesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list services too many requests response has a 3xx status code
func (*ListServicesTooManyRequests) IsServerError ¶
func (o *ListServicesTooManyRequests) IsServerError() bool
IsServerError returns true when this list services too many requests response has a 5xx status code
func (*ListServicesTooManyRequests) IsSuccess ¶
func (o *ListServicesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list services too many requests response has a 2xx status code
func (*ListServicesTooManyRequests) String ¶
func (o *ListServicesTooManyRequests) String() string
type ListServicesUnauthorized ¶
type ListServicesUnauthorized struct {
}ListServicesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListServicesUnauthorized ¶
func NewListServicesUnauthorized() *ListServicesUnauthorized
NewListServicesUnauthorized creates a ListServicesUnauthorized with default headers values
func (*ListServicesUnauthorized) Code ¶
func (o *ListServicesUnauthorized) Code() int
Code gets the status code for the list services unauthorized response
func (*ListServicesUnauthorized) Error ¶
func (o *ListServicesUnauthorized) Error() string
func (*ListServicesUnauthorized) GetPayload ¶
func (o *ListServicesUnauthorized) GetPayload() *models.Error
func (*ListServicesUnauthorized) IsClientError ¶
func (o *ListServicesUnauthorized) IsClientError() bool
IsClientError returns true when this list services unauthorized response has a 4xx status code
func (*ListServicesUnauthorized) IsCode ¶
func (o *ListServicesUnauthorized) IsCode(code int) bool
IsCode returns true when this list services unauthorized response a status code equal to that given
func (*ListServicesUnauthorized) IsRedirect ¶
func (o *ListServicesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list services unauthorized response has a 3xx status code
func (*ListServicesUnauthorized) IsServerError ¶
func (o *ListServicesUnauthorized) IsServerError() bool
IsServerError returns true when this list services unauthorized response has a 5xx status code
func (*ListServicesUnauthorized) IsSuccess ¶
func (o *ListServicesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list services unauthorized response has a 2xx status code
func (*ListServicesUnauthorized) String ¶
func (o *ListServicesUnauthorized) String() string
type RemoveSpecificationBadRequest ¶
RemoveSpecificationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveSpecificationBadRequest ¶
func NewRemoveSpecificationBadRequest() *RemoveSpecificationBadRequest
NewRemoveSpecificationBadRequest creates a RemoveSpecificationBadRequest with default headers values
func (*RemoveSpecificationBadRequest) Code ¶
func (o *RemoveSpecificationBadRequest) Code() int
Code gets the status code for the remove specification bad request response
func (*RemoveSpecificationBadRequest) Error ¶
func (o *RemoveSpecificationBadRequest) Error() string
func (*RemoveSpecificationBadRequest) GetPayload ¶
func (o *RemoveSpecificationBadRequest) GetPayload() *models.Error
func (*RemoveSpecificationBadRequest) IsClientError ¶
func (o *RemoveSpecificationBadRequest) IsClientError() bool
IsClientError returns true when this remove specification bad request response has a 4xx status code
func (*RemoveSpecificationBadRequest) IsCode ¶
func (o *RemoveSpecificationBadRequest) IsCode(code int) bool
IsCode returns true when this remove specification bad request response a status code equal to that given
func (*RemoveSpecificationBadRequest) IsRedirect ¶
func (o *RemoveSpecificationBadRequest) IsRedirect() bool
IsRedirect returns true when this remove specification bad request response has a 3xx status code
func (*RemoveSpecificationBadRequest) IsServerError ¶
func (o *RemoveSpecificationBadRequest) IsServerError() bool
IsServerError returns true when this remove specification bad request response has a 5xx status code
func (*RemoveSpecificationBadRequest) IsSuccess ¶
func (o *RemoveSpecificationBadRequest) IsSuccess() bool
IsSuccess returns true when this remove specification bad request response has a 2xx status code
func (*RemoveSpecificationBadRequest) String ¶
func (o *RemoveSpecificationBadRequest) String() string
type RemoveSpecificationConflict ¶
RemoveSpecificationConflict describes a response with status code 409, with default header values.
Conflict
func NewRemoveSpecificationConflict ¶
func NewRemoveSpecificationConflict() *RemoveSpecificationConflict
NewRemoveSpecificationConflict creates a RemoveSpecificationConflict with default headers values
func (*RemoveSpecificationConflict) Code ¶
func (o *RemoveSpecificationConflict) Code() int
Code gets the status code for the remove specification conflict response
func (*RemoveSpecificationConflict) Error ¶
func (o *RemoveSpecificationConflict) Error() string
func (*RemoveSpecificationConflict) GetPayload ¶
func (o *RemoveSpecificationConflict) GetPayload() *models.Error
func (*RemoveSpecificationConflict) IsClientError ¶
func (o *RemoveSpecificationConflict) IsClientError() bool
IsClientError returns true when this remove specification conflict response has a 4xx status code
func (*RemoveSpecificationConflict) IsCode ¶
func (o *RemoveSpecificationConflict) IsCode(code int) bool
IsCode returns true when this remove specification conflict response a status code equal to that given
func (*RemoveSpecificationConflict) IsRedirect ¶
func (o *RemoveSpecificationConflict) IsRedirect() bool
IsRedirect returns true when this remove specification conflict response has a 3xx status code
func (*RemoveSpecificationConflict) IsServerError ¶
func (o *RemoveSpecificationConflict) IsServerError() bool
IsServerError returns true when this remove specification conflict response has a 5xx status code
func (*RemoveSpecificationConflict) IsSuccess ¶
func (o *RemoveSpecificationConflict) IsSuccess() bool
IsSuccess returns true when this remove specification conflict response has a 2xx status code
func (*RemoveSpecificationConflict) String ¶
func (o *RemoveSpecificationConflict) String() string
type RemoveSpecificationForbidden ¶
RemoveSpecificationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRemoveSpecificationForbidden ¶
func NewRemoveSpecificationForbidden() *RemoveSpecificationForbidden
NewRemoveSpecificationForbidden creates a RemoveSpecificationForbidden with default headers values
func (*RemoveSpecificationForbidden) Code ¶
func (o *RemoveSpecificationForbidden) Code() int
Code gets the status code for the remove specification forbidden response
func (*RemoveSpecificationForbidden) Error ¶
func (o *RemoveSpecificationForbidden) Error() string
func (*RemoveSpecificationForbidden) GetPayload ¶
func (o *RemoveSpecificationForbidden) GetPayload() *models.Error
func (*RemoveSpecificationForbidden) IsClientError ¶
func (o *RemoveSpecificationForbidden) IsClientError() bool
IsClientError returns true when this remove specification forbidden response has a 4xx status code
func (*RemoveSpecificationForbidden) IsCode ¶
func (o *RemoveSpecificationForbidden) IsCode(code int) bool
IsCode returns true when this remove specification forbidden response a status code equal to that given
func (*RemoveSpecificationForbidden) IsRedirect ¶
func (o *RemoveSpecificationForbidden) IsRedirect() bool
IsRedirect returns true when this remove specification forbidden response has a 3xx status code
func (*RemoveSpecificationForbidden) IsServerError ¶
func (o *RemoveSpecificationForbidden) IsServerError() bool
IsServerError returns true when this remove specification forbidden response has a 5xx status code
func (*RemoveSpecificationForbidden) IsSuccess ¶
func (o *RemoveSpecificationForbidden) IsSuccess() bool
IsSuccess returns true when this remove specification forbidden response has a 2xx status code
func (*RemoveSpecificationForbidden) String ¶
func (o *RemoveSpecificationForbidden) String() string
type RemoveSpecificationNotFound ¶
RemoveSpecificationNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveSpecificationNotFound ¶
func NewRemoveSpecificationNotFound() *RemoveSpecificationNotFound
NewRemoveSpecificationNotFound creates a RemoveSpecificationNotFound with default headers values
func (*RemoveSpecificationNotFound) Code ¶
func (o *RemoveSpecificationNotFound) Code() int
Code gets the status code for the remove specification not found response
func (*RemoveSpecificationNotFound) Error ¶
func (o *RemoveSpecificationNotFound) Error() string
func (*RemoveSpecificationNotFound) GetPayload ¶
func (o *RemoveSpecificationNotFound) GetPayload() *models.Error
func (*RemoveSpecificationNotFound) IsClientError ¶
func (o *RemoveSpecificationNotFound) IsClientError() bool
IsClientError returns true when this remove specification not found response has a 4xx status code
func (*RemoveSpecificationNotFound) IsCode ¶
func (o *RemoveSpecificationNotFound) IsCode(code int) bool
IsCode returns true when this remove specification not found response a status code equal to that given
func (*RemoveSpecificationNotFound) IsRedirect ¶
func (o *RemoveSpecificationNotFound) IsRedirect() bool
IsRedirect returns true when this remove specification not found response has a 3xx status code
func (*RemoveSpecificationNotFound) IsServerError ¶
func (o *RemoveSpecificationNotFound) IsServerError() bool
IsServerError returns true when this remove specification not found response has a 5xx status code
func (*RemoveSpecificationNotFound) IsSuccess ¶
func (o *RemoveSpecificationNotFound) IsSuccess() bool
IsSuccess returns true when this remove specification not found response has a 2xx status code
func (*RemoveSpecificationNotFound) String ¶
func (o *RemoveSpecificationNotFound) String() string
type RemoveSpecificationOK ¶
type RemoveSpecificationOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.RemoveServiceConfigurationResult }
RemoveSpecificationOK describes a response with status code 200, with default header values.
Remove service configuration result
func NewRemoveSpecificationOK ¶
func NewRemoveSpecificationOK() *RemoveSpecificationOK
NewRemoveSpecificationOK creates a RemoveSpecificationOK with default headers values
func (*RemoveSpecificationOK) Code ¶
func (o *RemoveSpecificationOK) Code() int
Code gets the status code for the remove specification o k response
func (*RemoveSpecificationOK) Error ¶
func (o *RemoveSpecificationOK) Error() string
func (*RemoveSpecificationOK) GetPayload ¶
func (o *RemoveSpecificationOK) GetPayload() *models.RemoveServiceConfigurationResult
func (*RemoveSpecificationOK) IsClientError ¶
func (o *RemoveSpecificationOK) IsClientError() bool
IsClientError returns true when this remove specification o k response has a 4xx status code
func (*RemoveSpecificationOK) IsCode ¶
func (o *RemoveSpecificationOK) IsCode(code int) bool
IsCode returns true when this remove specification o k response a status code equal to that given
func (*RemoveSpecificationOK) IsRedirect ¶
func (o *RemoveSpecificationOK) IsRedirect() bool
IsRedirect returns true when this remove specification o k response has a 3xx status code
func (*RemoveSpecificationOK) IsServerError ¶
func (o *RemoveSpecificationOK) IsServerError() bool
IsServerError returns true when this remove specification o k response has a 5xx status code
func (*RemoveSpecificationOK) IsSuccess ¶
func (o *RemoveSpecificationOK) IsSuccess() bool
IsSuccess returns true when this remove specification o k response has a 2xx status code
func (*RemoveSpecificationOK) String ¶
func (o *RemoveSpecificationOK) String() string
type RemoveSpecificationParams ¶
type RemoveSpecificationParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveSpecificationParams contains all the parameters to send to the API endpoint
for the remove specification operation. Typically these are written to a http.Request.
func NewRemoveSpecificationParams ¶
func NewRemoveSpecificationParams() *RemoveSpecificationParams
NewRemoveSpecificationParams creates a new RemoveSpecificationParams 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 NewRemoveSpecificationParamsWithContext ¶
func NewRemoveSpecificationParamsWithContext(ctx context.Context) *RemoveSpecificationParams
NewRemoveSpecificationParamsWithContext creates a new RemoveSpecificationParams object with the ability to set a context for a request.
func NewRemoveSpecificationParamsWithHTTPClient ¶
func NewRemoveSpecificationParamsWithHTTPClient(client *http.Client) *RemoveSpecificationParams
NewRemoveSpecificationParamsWithHTTPClient creates a new RemoveSpecificationParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveSpecificationParamsWithTimeout ¶
func NewRemoveSpecificationParamsWithTimeout(timeout time.Duration) *RemoveSpecificationParams
NewRemoveSpecificationParamsWithTimeout creates a new RemoveSpecificationParams object with the ability to set a timeout on a request.
func (*RemoveSpecificationParams) SetContext ¶
func (o *RemoveSpecificationParams) SetContext(ctx context.Context)
SetContext adds the context to the remove specification params
func (*RemoveSpecificationParams) SetDefaults ¶
func (o *RemoveSpecificationParams) SetDefaults()
SetDefaults hydrates default values in the remove specification params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSpecificationParams) SetHTTPClient ¶
func (o *RemoveSpecificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove specification params
func (*RemoveSpecificationParams) SetIfMatch ¶
func (o *RemoveSpecificationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the remove specification params
func (*RemoveSpecificationParams) SetSid ¶
func (o *RemoveSpecificationParams) SetSid(sid string)
SetSid adds the sid to the remove specification params
func (*RemoveSpecificationParams) SetTimeout ¶
func (o *RemoveSpecificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove specification params
func (*RemoveSpecificationParams) WithContext ¶
func (o *RemoveSpecificationParams) WithContext(ctx context.Context) *RemoveSpecificationParams
WithContext adds the context to the remove specification params
func (*RemoveSpecificationParams) WithDefaults ¶
func (o *RemoveSpecificationParams) WithDefaults() *RemoveSpecificationParams
WithDefaults hydrates default values in the remove specification params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveSpecificationParams) WithHTTPClient ¶
func (o *RemoveSpecificationParams) WithHTTPClient(client *http.Client) *RemoveSpecificationParams
WithHTTPClient adds the HTTPClient to the remove specification params
func (*RemoveSpecificationParams) WithIfMatch ¶
func (o *RemoveSpecificationParams) WithIfMatch(ifMatch *string) *RemoveSpecificationParams
WithIfMatch adds the ifMatch to the remove specification params
func (*RemoveSpecificationParams) WithSid ¶
func (o *RemoveSpecificationParams) WithSid(sid string) *RemoveSpecificationParams
WithSid adds the sid to the remove specification params
func (*RemoveSpecificationParams) WithTimeout ¶
func (o *RemoveSpecificationParams) WithTimeout(timeout time.Duration) *RemoveSpecificationParams
WithTimeout adds the timeout to the remove specification params
func (*RemoveSpecificationParams) WriteToRequest ¶
func (o *RemoveSpecificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveSpecificationReader ¶
type RemoveSpecificationReader struct {
// contains filtered or unexported fields
}
RemoveSpecificationReader is a Reader for the RemoveSpecification structure.
func (*RemoveSpecificationReader) ReadResponse ¶
func (o *RemoveSpecificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveSpecificationTooManyRequests ¶
RemoveSpecificationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRemoveSpecificationTooManyRequests ¶
func NewRemoveSpecificationTooManyRequests() *RemoveSpecificationTooManyRequests
NewRemoveSpecificationTooManyRequests creates a RemoveSpecificationTooManyRequests with default headers values
func (*RemoveSpecificationTooManyRequests) Code ¶
func (o *RemoveSpecificationTooManyRequests) Code() int
Code gets the status code for the remove specification too many requests response
func (*RemoveSpecificationTooManyRequests) Error ¶
func (o *RemoveSpecificationTooManyRequests) Error() string
func (*RemoveSpecificationTooManyRequests) GetPayload ¶
func (o *RemoveSpecificationTooManyRequests) GetPayload() *models.Error
func (*RemoveSpecificationTooManyRequests) IsClientError ¶
func (o *RemoveSpecificationTooManyRequests) IsClientError() bool
IsClientError returns true when this remove specification too many requests response has a 4xx status code
func (*RemoveSpecificationTooManyRequests) IsCode ¶
func (o *RemoveSpecificationTooManyRequests) IsCode(code int) bool
IsCode returns true when this remove specification too many requests response a status code equal to that given
func (*RemoveSpecificationTooManyRequests) IsRedirect ¶
func (o *RemoveSpecificationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this remove specification too many requests response has a 3xx status code
func (*RemoveSpecificationTooManyRequests) IsServerError ¶
func (o *RemoveSpecificationTooManyRequests) IsServerError() bool
IsServerError returns true when this remove specification too many requests response has a 5xx status code
func (*RemoveSpecificationTooManyRequests) IsSuccess ¶
func (o *RemoveSpecificationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this remove specification too many requests response has a 2xx status code
func (*RemoveSpecificationTooManyRequests) String ¶
func (o *RemoveSpecificationTooManyRequests) String() string
type RemoveSpecificationUnauthorized ¶
type RemoveSpecificationUnauthorized struct {
}RemoveSpecificationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRemoveSpecificationUnauthorized ¶
func NewRemoveSpecificationUnauthorized() *RemoveSpecificationUnauthorized
NewRemoveSpecificationUnauthorized creates a RemoveSpecificationUnauthorized with default headers values
func (*RemoveSpecificationUnauthorized) Code ¶
func (o *RemoveSpecificationUnauthorized) Code() int
Code gets the status code for the remove specification unauthorized response
func (*RemoveSpecificationUnauthorized) Error ¶
func (o *RemoveSpecificationUnauthorized) Error() string
func (*RemoveSpecificationUnauthorized) GetPayload ¶
func (o *RemoveSpecificationUnauthorized) GetPayload() *models.Error
func (*RemoveSpecificationUnauthorized) IsClientError ¶
func (o *RemoveSpecificationUnauthorized) IsClientError() bool
IsClientError returns true when this remove specification unauthorized response has a 4xx status code
func (*RemoveSpecificationUnauthorized) IsCode ¶
func (o *RemoveSpecificationUnauthorized) IsCode(code int) bool
IsCode returns true when this remove specification unauthorized response a status code equal to that given
func (*RemoveSpecificationUnauthorized) IsRedirect ¶
func (o *RemoveSpecificationUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove specification unauthorized response has a 3xx status code
func (*RemoveSpecificationUnauthorized) IsServerError ¶
func (o *RemoveSpecificationUnauthorized) IsServerError() bool
IsServerError returns true when this remove specification unauthorized response has a 5xx status code
func (*RemoveSpecificationUnauthorized) IsSuccess ¶
func (o *RemoveSpecificationUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove specification unauthorized response has a 2xx status code
func (*RemoveSpecificationUnauthorized) String ¶
func (o *RemoveSpecificationUnauthorized) String() string
type RemoveSpecificationUnprocessableEntity ¶
RemoveSpecificationUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewRemoveSpecificationUnprocessableEntity ¶
func NewRemoveSpecificationUnprocessableEntity() *RemoveSpecificationUnprocessableEntity
NewRemoveSpecificationUnprocessableEntity creates a RemoveSpecificationUnprocessableEntity with default headers values
func (*RemoveSpecificationUnprocessableEntity) Code ¶
func (o *RemoveSpecificationUnprocessableEntity) Code() int
Code gets the status code for the remove specification unprocessable entity response
func (*RemoveSpecificationUnprocessableEntity) Error ¶
func (o *RemoveSpecificationUnprocessableEntity) Error() string
func (*RemoveSpecificationUnprocessableEntity) GetPayload ¶
func (o *RemoveSpecificationUnprocessableEntity) GetPayload() *models.Error
func (*RemoveSpecificationUnprocessableEntity) IsClientError ¶
func (o *RemoveSpecificationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this remove specification unprocessable entity response has a 4xx status code
func (*RemoveSpecificationUnprocessableEntity) IsCode ¶
func (o *RemoveSpecificationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this remove specification unprocessable entity response a status code equal to that given
func (*RemoveSpecificationUnprocessableEntity) IsRedirect ¶
func (o *RemoveSpecificationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this remove specification unprocessable entity response has a 3xx status code
func (*RemoveSpecificationUnprocessableEntity) IsServerError ¶
func (o *RemoveSpecificationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this remove specification unprocessable entity response has a 5xx status code
func (*RemoveSpecificationUnprocessableEntity) IsSuccess ¶
func (o *RemoveSpecificationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this remove specification unprocessable entity response has a 2xx status code
func (*RemoveSpecificationUnprocessableEntity) String ¶
func (o *RemoveSpecificationUnprocessableEntity) String() string
type UpdateServiceBadRequest ¶
UpdateServiceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateServiceBadRequest ¶
func NewUpdateServiceBadRequest() *UpdateServiceBadRequest
NewUpdateServiceBadRequest creates a UpdateServiceBadRequest with default headers values
func (*UpdateServiceBadRequest) Code ¶
func (o *UpdateServiceBadRequest) Code() int
Code gets the status code for the update service bad request response
func (*UpdateServiceBadRequest) Error ¶
func (o *UpdateServiceBadRequest) Error() string
func (*UpdateServiceBadRequest) GetPayload ¶
func (o *UpdateServiceBadRequest) GetPayload() *models.Error
func (*UpdateServiceBadRequest) IsClientError ¶
func (o *UpdateServiceBadRequest) IsClientError() bool
IsClientError returns true when this update service bad request response has a 4xx status code
func (*UpdateServiceBadRequest) IsCode ¶
func (o *UpdateServiceBadRequest) IsCode(code int) bool
IsCode returns true when this update service bad request response a status code equal to that given
func (*UpdateServiceBadRequest) IsRedirect ¶
func (o *UpdateServiceBadRequest) IsRedirect() bool
IsRedirect returns true when this update service bad request response has a 3xx status code
func (*UpdateServiceBadRequest) IsServerError ¶
func (o *UpdateServiceBadRequest) IsServerError() bool
IsServerError returns true when this update service bad request response has a 5xx status code
func (*UpdateServiceBadRequest) IsSuccess ¶
func (o *UpdateServiceBadRequest) IsSuccess() bool
IsSuccess returns true when this update service bad request response has a 2xx status code
func (*UpdateServiceBadRequest) String ¶
func (o *UpdateServiceBadRequest) String() string
type UpdateServiceForbidden ¶
UpdateServiceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateServiceForbidden ¶
func NewUpdateServiceForbidden() *UpdateServiceForbidden
NewUpdateServiceForbidden creates a UpdateServiceForbidden with default headers values
func (*UpdateServiceForbidden) Code ¶
func (o *UpdateServiceForbidden) Code() int
Code gets the status code for the update service forbidden response
func (*UpdateServiceForbidden) Error ¶
func (o *UpdateServiceForbidden) Error() string
func (*UpdateServiceForbidden) GetPayload ¶
func (o *UpdateServiceForbidden) GetPayload() *models.Error
func (*UpdateServiceForbidden) IsClientError ¶
func (o *UpdateServiceForbidden) IsClientError() bool
IsClientError returns true when this update service forbidden response has a 4xx status code
func (*UpdateServiceForbidden) IsCode ¶
func (o *UpdateServiceForbidden) IsCode(code int) bool
IsCode returns true when this update service forbidden response a status code equal to that given
func (*UpdateServiceForbidden) IsRedirect ¶
func (o *UpdateServiceForbidden) IsRedirect() bool
IsRedirect returns true when this update service forbidden response has a 3xx status code
func (*UpdateServiceForbidden) IsServerError ¶
func (o *UpdateServiceForbidden) IsServerError() bool
IsServerError returns true when this update service forbidden response has a 5xx status code
func (*UpdateServiceForbidden) IsSuccess ¶
func (o *UpdateServiceForbidden) IsSuccess() bool
IsSuccess returns true when this update service forbidden response has a 2xx status code
func (*UpdateServiceForbidden) String ¶
func (o *UpdateServiceForbidden) String() string
type UpdateServiceNotFound ¶
UpdateServiceNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateServiceNotFound ¶
func NewUpdateServiceNotFound() *UpdateServiceNotFound
NewUpdateServiceNotFound creates a UpdateServiceNotFound with default headers values
func (*UpdateServiceNotFound) Code ¶
func (o *UpdateServiceNotFound) Code() int
Code gets the status code for the update service not found response
func (*UpdateServiceNotFound) Error ¶
func (o *UpdateServiceNotFound) Error() string
func (*UpdateServiceNotFound) GetPayload ¶
func (o *UpdateServiceNotFound) GetPayload() *models.Error
func (*UpdateServiceNotFound) IsClientError ¶
func (o *UpdateServiceNotFound) IsClientError() bool
IsClientError returns true when this update service not found response has a 4xx status code
func (*UpdateServiceNotFound) IsCode ¶
func (o *UpdateServiceNotFound) IsCode(code int) bool
IsCode returns true when this update service not found response a status code equal to that given
func (*UpdateServiceNotFound) IsRedirect ¶
func (o *UpdateServiceNotFound) IsRedirect() bool
IsRedirect returns true when this update service not found response has a 3xx status code
func (*UpdateServiceNotFound) IsServerError ¶
func (o *UpdateServiceNotFound) IsServerError() bool
IsServerError returns true when this update service not found response has a 5xx status code
func (*UpdateServiceNotFound) IsSuccess ¶
func (o *UpdateServiceNotFound) IsSuccess() bool
IsSuccess returns true when this update service not found response has a 2xx status code
func (*UpdateServiceNotFound) String ¶
func (o *UpdateServiceNotFound) String() string
type UpdateServiceOK ¶
type UpdateServiceOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServiceWithAudience }
UpdateServiceOK describes a response with status code 200, with default header values.
Service
func NewUpdateServiceOK ¶
func NewUpdateServiceOK() *UpdateServiceOK
NewUpdateServiceOK creates a UpdateServiceOK with default headers values
func (*UpdateServiceOK) Code ¶
func (o *UpdateServiceOK) Code() int
Code gets the status code for the update service o k response
func (*UpdateServiceOK) Error ¶
func (o *UpdateServiceOK) Error() string
func (*UpdateServiceOK) GetPayload ¶
func (o *UpdateServiceOK) GetPayload() *models.ServiceWithAudience
func (*UpdateServiceOK) IsClientError ¶
func (o *UpdateServiceOK) IsClientError() bool
IsClientError returns true when this update service o k response has a 4xx status code
func (*UpdateServiceOK) IsCode ¶
func (o *UpdateServiceOK) IsCode(code int) bool
IsCode returns true when this update service o k response a status code equal to that given
func (*UpdateServiceOK) IsRedirect ¶
func (o *UpdateServiceOK) IsRedirect() bool
IsRedirect returns true when this update service o k response has a 3xx status code
func (*UpdateServiceOK) IsServerError ¶
func (o *UpdateServiceOK) IsServerError() bool
IsServerError returns true when this update service o k response has a 5xx status code
func (*UpdateServiceOK) IsSuccess ¶
func (o *UpdateServiceOK) IsSuccess() bool
IsSuccess returns true when this update service o k response has a 2xx status code
func (*UpdateServiceOK) String ¶
func (o *UpdateServiceOK) String() string
type UpdateServiceParams ¶
type UpdateServiceParams struct { // Service. Service *models.Service /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Sid. Sid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceParams contains all the parameters to send to the API endpoint
for the update service operation. Typically these are written to a http.Request.
func NewUpdateServiceParams ¶
func NewUpdateServiceParams() *UpdateServiceParams
NewUpdateServiceParams creates a new UpdateServiceParams 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 NewUpdateServiceParamsWithContext ¶
func NewUpdateServiceParamsWithContext(ctx context.Context) *UpdateServiceParams
NewUpdateServiceParamsWithContext creates a new UpdateServiceParams object with the ability to set a context for a request.
func NewUpdateServiceParamsWithHTTPClient ¶
func NewUpdateServiceParamsWithHTTPClient(client *http.Client) *UpdateServiceParams
NewUpdateServiceParamsWithHTTPClient creates a new UpdateServiceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateServiceParamsWithTimeout ¶
func NewUpdateServiceParamsWithTimeout(timeout time.Duration) *UpdateServiceParams
NewUpdateServiceParamsWithTimeout creates a new UpdateServiceParams object with the ability to set a timeout on a request.
func (*UpdateServiceParams) SetContext ¶
func (o *UpdateServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the update service params
func (*UpdateServiceParams) SetDefaults ¶
func (o *UpdateServiceParams) SetDefaults()
SetDefaults hydrates default values in the update service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceParams) SetHTTPClient ¶
func (o *UpdateServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service params
func (*UpdateServiceParams) SetIfMatch ¶
func (o *UpdateServiceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update service params
func (*UpdateServiceParams) SetService ¶
func (o *UpdateServiceParams) SetService(service *models.Service)
SetService adds the service to the update service params
func (*UpdateServiceParams) SetSid ¶
func (o *UpdateServiceParams) SetSid(sid string)
SetSid adds the sid to the update service params
func (*UpdateServiceParams) SetTimeout ¶
func (o *UpdateServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service params
func (*UpdateServiceParams) WithContext ¶
func (o *UpdateServiceParams) WithContext(ctx context.Context) *UpdateServiceParams
WithContext adds the context to the update service params
func (*UpdateServiceParams) WithDefaults ¶
func (o *UpdateServiceParams) WithDefaults() *UpdateServiceParams
WithDefaults hydrates default values in the update service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceParams) WithHTTPClient ¶
func (o *UpdateServiceParams) WithHTTPClient(client *http.Client) *UpdateServiceParams
WithHTTPClient adds the HTTPClient to the update service params
func (*UpdateServiceParams) WithIfMatch ¶
func (o *UpdateServiceParams) WithIfMatch(ifMatch *string) *UpdateServiceParams
WithIfMatch adds the ifMatch to the update service params
func (*UpdateServiceParams) WithService ¶
func (o *UpdateServiceParams) WithService(service *models.Service) *UpdateServiceParams
WithService adds the service to the update service params
func (*UpdateServiceParams) WithSid ¶
func (o *UpdateServiceParams) WithSid(sid string) *UpdateServiceParams
WithSid adds the sid to the update service params
func (*UpdateServiceParams) WithTimeout ¶
func (o *UpdateServiceParams) WithTimeout(timeout time.Duration) *UpdateServiceParams
WithTimeout adds the timeout to the update service params
func (*UpdateServiceParams) WriteToRequest ¶
func (o *UpdateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceReader ¶
type UpdateServiceReader struct {
// contains filtered or unexported fields
}
UpdateServiceReader is a Reader for the UpdateService structure.
func (*UpdateServiceReader) ReadResponse ¶
func (o *UpdateServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServiceTooManyRequests ¶
UpdateServiceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateServiceTooManyRequests ¶
func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests
NewUpdateServiceTooManyRequests creates a UpdateServiceTooManyRequests with default headers values
func (*UpdateServiceTooManyRequests) Code ¶
func (o *UpdateServiceTooManyRequests) Code() int
Code gets the status code for the update service too many requests response
func (*UpdateServiceTooManyRequests) Error ¶
func (o *UpdateServiceTooManyRequests) Error() string
func (*UpdateServiceTooManyRequests) GetPayload ¶
func (o *UpdateServiceTooManyRequests) GetPayload() *models.Error
func (*UpdateServiceTooManyRequests) IsClientError ¶
func (o *UpdateServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this update service too many requests response has a 4xx status code
func (*UpdateServiceTooManyRequests) IsCode ¶
func (o *UpdateServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this update service too many requests response a status code equal to that given
func (*UpdateServiceTooManyRequests) IsRedirect ¶
func (o *UpdateServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update service too many requests response has a 3xx status code
func (*UpdateServiceTooManyRequests) IsServerError ¶
func (o *UpdateServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this update service too many requests response has a 5xx status code
func (*UpdateServiceTooManyRequests) IsSuccess ¶
func (o *UpdateServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update service too many requests response has a 2xx status code
func (*UpdateServiceTooManyRequests) String ¶
func (o *UpdateServiceTooManyRequests) String() string
type UpdateServiceUnauthorized ¶
type UpdateServiceUnauthorized struct {
}UpdateServiceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateServiceUnauthorized ¶
func NewUpdateServiceUnauthorized() *UpdateServiceUnauthorized
NewUpdateServiceUnauthorized creates a UpdateServiceUnauthorized with default headers values
func (*UpdateServiceUnauthorized) Code ¶
func (o *UpdateServiceUnauthorized) Code() int
Code gets the status code for the update service unauthorized response
func (*UpdateServiceUnauthorized) Error ¶
func (o *UpdateServiceUnauthorized) Error() string
func (*UpdateServiceUnauthorized) GetPayload ¶
func (o *UpdateServiceUnauthorized) GetPayload() *models.Error
func (*UpdateServiceUnauthorized) IsClientError ¶
func (o *UpdateServiceUnauthorized) IsClientError() bool
IsClientError returns true when this update service unauthorized response has a 4xx status code
func (*UpdateServiceUnauthorized) IsCode ¶
func (o *UpdateServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this update service unauthorized response a status code equal to that given
func (*UpdateServiceUnauthorized) IsRedirect ¶
func (o *UpdateServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this update service unauthorized response has a 3xx status code
func (*UpdateServiceUnauthorized) IsServerError ¶
func (o *UpdateServiceUnauthorized) IsServerError() bool
IsServerError returns true when this update service unauthorized response has a 5xx status code
func (*UpdateServiceUnauthorized) IsSuccess ¶
func (o *UpdateServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this update service unauthorized response has a 2xx status code
func (*UpdateServiceUnauthorized) String ¶
func (o *UpdateServiceUnauthorized) String() string
type UpdateServiceUnprocessableEntity ¶
UpdateServiceUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateServiceUnprocessableEntity ¶
func NewUpdateServiceUnprocessableEntity() *UpdateServiceUnprocessableEntity
NewUpdateServiceUnprocessableEntity creates a UpdateServiceUnprocessableEntity with default headers values
func (*UpdateServiceUnprocessableEntity) Code ¶
func (o *UpdateServiceUnprocessableEntity) Code() int
Code gets the status code for the update service unprocessable entity response
func (*UpdateServiceUnprocessableEntity) Error ¶
func (o *UpdateServiceUnprocessableEntity) Error() string
func (*UpdateServiceUnprocessableEntity) GetPayload ¶
func (o *UpdateServiceUnprocessableEntity) GetPayload() *models.Error
func (*UpdateServiceUnprocessableEntity) IsClientError ¶
func (o *UpdateServiceUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update service unprocessable entity response has a 4xx status code
func (*UpdateServiceUnprocessableEntity) IsCode ¶
func (o *UpdateServiceUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update service unprocessable entity response a status code equal to that given
func (*UpdateServiceUnprocessableEntity) IsRedirect ¶
func (o *UpdateServiceUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update service unprocessable entity response has a 3xx status code
func (*UpdateServiceUnprocessableEntity) IsServerError ¶
func (o *UpdateServiceUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update service unprocessable entity response has a 5xx status code
func (*UpdateServiceUnprocessableEntity) IsSuccess ¶
func (o *UpdateServiceUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update service unprocessable entity response has a 2xx status code
func (*UpdateServiceUnprocessableEntity) String ¶
func (o *UpdateServiceUnprocessableEntity) String() string
Source Files ¶
- create_service_parameters.go
- create_service_responses.go
- delete_service_parameters.go
- delete_service_responses.go
- get_service_parameters.go
- get_service_responses.go
- import_specification_from_file_parameters.go
- import_specification_from_file_responses.go
- import_specification_from_text_parameters.go
- import_specification_from_text_responses.go
- import_specification_from_url_parameters.go
- import_specification_from_url_responses.go
- list_services_parameters.go
- list_services_responses.go
- remove_specification_parameters.go
- remove_specification_responses.go
- services_client.go
- update_service_parameters.go
- update_service_responses.go