Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAPI(params *CreateAPIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAPICreated, error)
- func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPINoContent, error)
- func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIOK, error)
- func (a *Client) ListAPIsByServer(params *ListAPIsByServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAPIsByServerOK, error)
- func (a *Client) ListAPIsByService(params *ListAPIsByServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAPIsByServiceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestAPI(params *TestAPIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TestAPIOK, error)
- func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAPIOK, error)
- type ClientOption
- type ClientService
- type CreateAPIBadRequest
- func (o *CreateAPIBadRequest) Code() int
- func (o *CreateAPIBadRequest) Error() string
- func (o *CreateAPIBadRequest) GetPayload() *models.Error
- func (o *CreateAPIBadRequest) IsClientError() bool
- func (o *CreateAPIBadRequest) IsCode(code int) bool
- func (o *CreateAPIBadRequest) IsRedirect() bool
- func (o *CreateAPIBadRequest) IsServerError() bool
- func (o *CreateAPIBadRequest) IsSuccess() bool
- func (o *CreateAPIBadRequest) String() string
- type CreateAPICreated
- func (o *CreateAPICreated) Code() int
- func (o *CreateAPICreated) Error() string
- func (o *CreateAPICreated) GetPayload() *models.API
- func (o *CreateAPICreated) IsClientError() bool
- func (o *CreateAPICreated) IsCode(code int) bool
- func (o *CreateAPICreated) IsRedirect() bool
- func (o *CreateAPICreated) IsServerError() bool
- func (o *CreateAPICreated) IsSuccess() bool
- func (o *CreateAPICreated) String() string
- type CreateAPIForbidden
- func (o *CreateAPIForbidden) Code() int
- func (o *CreateAPIForbidden) Error() string
- func (o *CreateAPIForbidden) GetPayload() *models.Error
- func (o *CreateAPIForbidden) IsClientError() bool
- func (o *CreateAPIForbidden) IsCode(code int) bool
- func (o *CreateAPIForbidden) IsRedirect() bool
- func (o *CreateAPIForbidden) IsServerError() bool
- func (o *CreateAPIForbidden) IsSuccess() bool
- func (o *CreateAPIForbidden) String() string
- type CreateAPINotFound
- func (o *CreateAPINotFound) Code() int
- func (o *CreateAPINotFound) Error() string
- func (o *CreateAPINotFound) GetPayload() *models.Error
- func (o *CreateAPINotFound) IsClientError() bool
- func (o *CreateAPINotFound) IsCode(code int) bool
- func (o *CreateAPINotFound) IsRedirect() bool
- func (o *CreateAPINotFound) IsServerError() bool
- func (o *CreateAPINotFound) IsSuccess() bool
- func (o *CreateAPINotFound) String() string
- type CreateAPIParams
- func (o *CreateAPIParams) SetAPIBody(aPIBody *models.API)
- func (o *CreateAPIParams) SetContext(ctx context.Context)
- func (o *CreateAPIParams) SetDefaults()
- func (o *CreateAPIParams) SetHTTPClient(client *http.Client)
- func (o *CreateAPIParams) SetIfMatch(ifMatch *string)
- func (o *CreateAPIParams) SetTimeout(timeout time.Duration)
- func (o *CreateAPIParams) WithAPIBody(aPIBody *models.API) *CreateAPIParams
- func (o *CreateAPIParams) WithContext(ctx context.Context) *CreateAPIParams
- func (o *CreateAPIParams) WithDefaults() *CreateAPIParams
- func (o *CreateAPIParams) WithHTTPClient(client *http.Client) *CreateAPIParams
- func (o *CreateAPIParams) WithIfMatch(ifMatch *string) *CreateAPIParams
- func (o *CreateAPIParams) WithTimeout(timeout time.Duration) *CreateAPIParams
- func (o *CreateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAPIReader
- type CreateAPITooManyRequests
- func (o *CreateAPITooManyRequests) Code() int
- func (o *CreateAPITooManyRequests) Error() string
- func (o *CreateAPITooManyRequests) GetPayload() *models.Error
- func (o *CreateAPITooManyRequests) IsClientError() bool
- func (o *CreateAPITooManyRequests) IsCode(code int) bool
- func (o *CreateAPITooManyRequests) IsRedirect() bool
- func (o *CreateAPITooManyRequests) IsServerError() bool
- func (o *CreateAPITooManyRequests) IsSuccess() bool
- func (o *CreateAPITooManyRequests) String() string
- type CreateAPIUnauthorized
- func (o *CreateAPIUnauthorized) Code() int
- func (o *CreateAPIUnauthorized) Error() string
- func (o *CreateAPIUnauthorized) GetPayload() *models.Error
- func (o *CreateAPIUnauthorized) IsClientError() bool
- func (o *CreateAPIUnauthorized) IsCode(code int) bool
- func (o *CreateAPIUnauthorized) IsRedirect() bool
- func (o *CreateAPIUnauthorized) IsServerError() bool
- func (o *CreateAPIUnauthorized) IsSuccess() bool
- func (o *CreateAPIUnauthorized) String() string
- type CreateAPIUnprocessableEntity
- func (o *CreateAPIUnprocessableEntity) Code() int
- func (o *CreateAPIUnprocessableEntity) Error() string
- func (o *CreateAPIUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateAPIUnprocessableEntity) IsClientError() bool
- func (o *CreateAPIUnprocessableEntity) IsCode(code int) bool
- func (o *CreateAPIUnprocessableEntity) IsRedirect() bool
- func (o *CreateAPIUnprocessableEntity) IsServerError() bool
- func (o *CreateAPIUnprocessableEntity) IsSuccess() bool
- func (o *CreateAPIUnprocessableEntity) String() string
- type DeleteAPIForbidden
- func (o *DeleteAPIForbidden) Code() int
- func (o *DeleteAPIForbidden) Error() string
- func (o *DeleteAPIForbidden) GetPayload() *models.Error
- func (o *DeleteAPIForbidden) IsClientError() bool
- func (o *DeleteAPIForbidden) IsCode(code int) bool
- func (o *DeleteAPIForbidden) IsRedirect() bool
- func (o *DeleteAPIForbidden) IsServerError() bool
- func (o *DeleteAPIForbidden) IsSuccess() bool
- func (o *DeleteAPIForbidden) String() string
- type DeleteAPINoContent
- func (o *DeleteAPINoContent) Code() int
- func (o *DeleteAPINoContent) Error() string
- func (o *DeleteAPINoContent) IsClientError() bool
- func (o *DeleteAPINoContent) IsCode(code int) bool
- func (o *DeleteAPINoContent) IsRedirect() bool
- func (o *DeleteAPINoContent) IsServerError() bool
- func (o *DeleteAPINoContent) IsSuccess() bool
- func (o *DeleteAPINoContent) String() string
- type DeleteAPINotFound
- func (o *DeleteAPINotFound) Code() int
- func (o *DeleteAPINotFound) Error() string
- func (o *DeleteAPINotFound) GetPayload() *models.Error
- func (o *DeleteAPINotFound) IsClientError() bool
- func (o *DeleteAPINotFound) IsCode(code int) bool
- func (o *DeleteAPINotFound) IsRedirect() bool
- func (o *DeleteAPINotFound) IsServerError() bool
- func (o *DeleteAPINotFound) IsSuccess() bool
- func (o *DeleteAPINotFound) String() string
- type DeleteAPIParams
- func (o *DeleteAPIParams) SetAPI(api string)
- func (o *DeleteAPIParams) SetContext(ctx context.Context)
- func (o *DeleteAPIParams) SetDefaults()
- func (o *DeleteAPIParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIParams) SetIfMatch(ifMatch *string)
- func (o *DeleteAPIParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams
- func (o *DeleteAPIParams) WithContext(ctx context.Context) *DeleteAPIParams
- func (o *DeleteAPIParams) WithDefaults() *DeleteAPIParams
- func (o *DeleteAPIParams) WithHTTPClient(client *http.Client) *DeleteAPIParams
- func (o *DeleteAPIParams) WithIfMatch(ifMatch *string) *DeleteAPIParams
- func (o *DeleteAPIParams) WithTimeout(timeout time.Duration) *DeleteAPIParams
- func (o *DeleteAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIReader
- type DeleteAPITooManyRequests
- func (o *DeleteAPITooManyRequests) Code() int
- func (o *DeleteAPITooManyRequests) Error() string
- func (o *DeleteAPITooManyRequests) GetPayload() *models.Error
- func (o *DeleteAPITooManyRequests) IsClientError() bool
- func (o *DeleteAPITooManyRequests) IsCode(code int) bool
- func (o *DeleteAPITooManyRequests) IsRedirect() bool
- func (o *DeleteAPITooManyRequests) IsServerError() bool
- func (o *DeleteAPITooManyRequests) IsSuccess() bool
- func (o *DeleteAPITooManyRequests) String() string
- type DeleteAPIUnauthorized
- func (o *DeleteAPIUnauthorized) Code() int
- func (o *DeleteAPIUnauthorized) Error() string
- func (o *DeleteAPIUnauthorized) GetPayload() *models.Error
- func (o *DeleteAPIUnauthorized) IsClientError() bool
- func (o *DeleteAPIUnauthorized) IsCode(code int) bool
- func (o *DeleteAPIUnauthorized) IsRedirect() bool
- func (o *DeleteAPIUnauthorized) IsServerError() bool
- func (o *DeleteAPIUnauthorized) IsSuccess() bool
- func (o *DeleteAPIUnauthorized) String() string
- type GetAPIForbidden
- func (o *GetAPIForbidden) Code() int
- func (o *GetAPIForbidden) Error() string
- func (o *GetAPIForbidden) GetPayload() *models.Error
- func (o *GetAPIForbidden) IsClientError() bool
- func (o *GetAPIForbidden) IsCode(code int) bool
- func (o *GetAPIForbidden) IsRedirect() bool
- func (o *GetAPIForbidden) IsServerError() bool
- func (o *GetAPIForbidden) IsSuccess() bool
- func (o *GetAPIForbidden) String() string
- type GetAPINotFound
- func (o *GetAPINotFound) Code() int
- func (o *GetAPINotFound) Error() string
- func (o *GetAPINotFound) GetPayload() *models.Error
- func (o *GetAPINotFound) IsClientError() bool
- func (o *GetAPINotFound) IsCode(code int) bool
- func (o *GetAPINotFound) IsRedirect() bool
- func (o *GetAPINotFound) IsServerError() bool
- func (o *GetAPINotFound) IsSuccess() bool
- func (o *GetAPINotFound) String() string
- type GetAPIOK
- func (o *GetAPIOK) Code() int
- func (o *GetAPIOK) Error() string
- func (o *GetAPIOK) GetPayload() *models.API
- func (o *GetAPIOK) IsClientError() bool
- func (o *GetAPIOK) IsCode(code int) bool
- func (o *GetAPIOK) IsRedirect() bool
- func (o *GetAPIOK) IsServerError() bool
- func (o *GetAPIOK) IsSuccess() bool
- func (o *GetAPIOK) String() string
- type GetAPIParams
- func (o *GetAPIParams) SetAPI(api string)
- func (o *GetAPIParams) SetContext(ctx context.Context)
- func (o *GetAPIParams) SetDefaults()
- func (o *GetAPIParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIParams) SetIfMatch(ifMatch *string)
- func (o *GetAPIParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIParams) WithAPI(api string) *GetAPIParams
- func (o *GetAPIParams) WithContext(ctx context.Context) *GetAPIParams
- func (o *GetAPIParams) WithDefaults() *GetAPIParams
- func (o *GetAPIParams) WithHTTPClient(client *http.Client) *GetAPIParams
- func (o *GetAPIParams) WithIfMatch(ifMatch *string) *GetAPIParams
- func (o *GetAPIParams) WithTimeout(timeout time.Duration) *GetAPIParams
- func (o *GetAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIReader
- type GetAPITooManyRequests
- func (o *GetAPITooManyRequests) Code() int
- func (o *GetAPITooManyRequests) Error() string
- func (o *GetAPITooManyRequests) GetPayload() *models.Error
- func (o *GetAPITooManyRequests) IsClientError() bool
- func (o *GetAPITooManyRequests) IsCode(code int) bool
- func (o *GetAPITooManyRequests) IsRedirect() bool
- func (o *GetAPITooManyRequests) IsServerError() bool
- func (o *GetAPITooManyRequests) IsSuccess() bool
- func (o *GetAPITooManyRequests) String() string
- type GetAPIUnauthorized
- func (o *GetAPIUnauthorized) Code() int
- func (o *GetAPIUnauthorized) Error() string
- func (o *GetAPIUnauthorized) GetPayload() *models.Error
- func (o *GetAPIUnauthorized) IsClientError() bool
- func (o *GetAPIUnauthorized) IsCode(code int) bool
- func (o *GetAPIUnauthorized) IsRedirect() bool
- func (o *GetAPIUnauthorized) IsServerError() bool
- func (o *GetAPIUnauthorized) IsSuccess() bool
- func (o *GetAPIUnauthorized) String() string
- type ListAPIsByServerForbidden
- func (o *ListAPIsByServerForbidden) Code() int
- func (o *ListAPIsByServerForbidden) Error() string
- func (o *ListAPIsByServerForbidden) GetPayload() *models.Error
- func (o *ListAPIsByServerForbidden) IsClientError() bool
- func (o *ListAPIsByServerForbidden) IsCode(code int) bool
- func (o *ListAPIsByServerForbidden) IsRedirect() bool
- func (o *ListAPIsByServerForbidden) IsServerError() bool
- func (o *ListAPIsByServerForbidden) IsSuccess() bool
- func (o *ListAPIsByServerForbidden) String() string
- type ListAPIsByServerOK
- func (o *ListAPIsByServerOK) Code() int
- func (o *ListAPIsByServerOK) Error() string
- func (o *ListAPIsByServerOK) GetPayload() *models.ServerAPIs
- func (o *ListAPIsByServerOK) IsClientError() bool
- func (o *ListAPIsByServerOK) IsCode(code int) bool
- func (o *ListAPIsByServerOK) IsRedirect() bool
- func (o *ListAPIsByServerOK) IsServerError() bool
- func (o *ListAPIsByServerOK) IsSuccess() bool
- func (o *ListAPIsByServerOK) String() string
- type ListAPIsByServerParams
- func NewListAPIsByServerParams() *ListAPIsByServerParams
- func NewListAPIsByServerParamsWithContext(ctx context.Context) *ListAPIsByServerParams
- func NewListAPIsByServerParamsWithHTTPClient(client *http.Client) *ListAPIsByServerParams
- func NewListAPIsByServerParamsWithTimeout(timeout time.Duration) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) SetContext(ctx context.Context)
- func (o *ListAPIsByServerParams) SetDataClassification(dataClassification []string)
- func (o *ListAPIsByServerParams) SetDefaults()
- func (o *ListAPIsByServerParams) SetHTTPClient(client *http.Client)
- func (o *ListAPIsByServerParams) SetIfMatch(ifMatch *string)
- func (o *ListAPIsByServerParams) SetTimeout(timeout time.Duration)
- func (o *ListAPIsByServerParams) SetWid(wid string)
- func (o *ListAPIsByServerParams) SetWithoutDataClassifications(withoutDataClassifications *bool)
- func (o *ListAPIsByServerParams) WithContext(ctx context.Context) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithDataClassification(dataClassification []string) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithDefaults() *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithHTTPClient(client *http.Client) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithIfMatch(ifMatch *string) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithTimeout(timeout time.Duration) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithWid(wid string) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServerParams
- func (o *ListAPIsByServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAPIsByServerReader
- type ListAPIsByServerTooManyRequests
- func (o *ListAPIsByServerTooManyRequests) Code() int
- func (o *ListAPIsByServerTooManyRequests) Error() string
- func (o *ListAPIsByServerTooManyRequests) GetPayload() *models.Error
- func (o *ListAPIsByServerTooManyRequests) IsClientError() bool
- func (o *ListAPIsByServerTooManyRequests) IsCode(code int) bool
- func (o *ListAPIsByServerTooManyRequests) IsRedirect() bool
- func (o *ListAPIsByServerTooManyRequests) IsServerError() bool
- func (o *ListAPIsByServerTooManyRequests) IsSuccess() bool
- func (o *ListAPIsByServerTooManyRequests) String() string
- type ListAPIsByServerUnauthorized
- func (o *ListAPIsByServerUnauthorized) Code() int
- func (o *ListAPIsByServerUnauthorized) Error() string
- func (o *ListAPIsByServerUnauthorized) GetPayload() *models.Error
- func (o *ListAPIsByServerUnauthorized) IsClientError() bool
- func (o *ListAPIsByServerUnauthorized) IsCode(code int) bool
- func (o *ListAPIsByServerUnauthorized) IsRedirect() bool
- func (o *ListAPIsByServerUnauthorized) IsServerError() bool
- func (o *ListAPIsByServerUnauthorized) IsSuccess() bool
- func (o *ListAPIsByServerUnauthorized) String() string
- type ListAPIsByServiceForbidden
- func (o *ListAPIsByServiceForbidden) Code() int
- func (o *ListAPIsByServiceForbidden) Error() string
- func (o *ListAPIsByServiceForbidden) GetPayload() *models.Error
- func (o *ListAPIsByServiceForbidden) IsClientError() bool
- func (o *ListAPIsByServiceForbidden) IsCode(code int) bool
- func (o *ListAPIsByServiceForbidden) IsRedirect() bool
- func (o *ListAPIsByServiceForbidden) IsServerError() bool
- func (o *ListAPIsByServiceForbidden) IsSuccess() bool
- func (o *ListAPIsByServiceForbidden) String() string
- type ListAPIsByServiceOK
- func (o *ListAPIsByServiceOK) Code() int
- func (o *ListAPIsByServiceOK) Error() string
- func (o *ListAPIsByServiceOK) GetPayload() *models.APIs
- func (o *ListAPIsByServiceOK) IsClientError() bool
- func (o *ListAPIsByServiceOK) IsCode(code int) bool
- func (o *ListAPIsByServiceOK) IsRedirect() bool
- func (o *ListAPIsByServiceOK) IsServerError() bool
- func (o *ListAPIsByServiceOK) IsSuccess() bool
- func (o *ListAPIsByServiceOK) String() string
- type ListAPIsByServiceParams
- func NewListAPIsByServiceParams() *ListAPIsByServiceParams
- func NewListAPIsByServiceParamsWithContext(ctx context.Context) *ListAPIsByServiceParams
- func NewListAPIsByServiceParamsWithHTTPClient(client *http.Client) *ListAPIsByServiceParams
- func NewListAPIsByServiceParamsWithTimeout(timeout time.Duration) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) SetContext(ctx context.Context)
- func (o *ListAPIsByServiceParams) SetDataClassification(dataClassification []string)
- func (o *ListAPIsByServiceParams) SetDefaults()
- func (o *ListAPIsByServiceParams) SetHTTPClient(client *http.Client)
- func (o *ListAPIsByServiceParams) SetIfMatch(ifMatch *string)
- func (o *ListAPIsByServiceParams) SetSid(sid string)
- func (o *ListAPIsByServiceParams) SetTimeout(timeout time.Duration)
- func (o *ListAPIsByServiceParams) SetWithoutDataClassifications(withoutDataClassifications *bool)
- func (o *ListAPIsByServiceParams) WithContext(ctx context.Context) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithDataClassification(dataClassification []string) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithDefaults() *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithHTTPClient(client *http.Client) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithIfMatch(ifMatch *string) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithSid(sid string) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithTimeout(timeout time.Duration) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServiceParams
- func (o *ListAPIsByServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAPIsByServiceReader
- type ListAPIsByServiceTooManyRequests
- func (o *ListAPIsByServiceTooManyRequests) Code() int
- func (o *ListAPIsByServiceTooManyRequests) Error() string
- func (o *ListAPIsByServiceTooManyRequests) GetPayload() *models.Error
- func (o *ListAPIsByServiceTooManyRequests) IsClientError() bool
- func (o *ListAPIsByServiceTooManyRequests) IsCode(code int) bool
- func (o *ListAPIsByServiceTooManyRequests) IsRedirect() bool
- func (o *ListAPIsByServiceTooManyRequests) IsServerError() bool
- func (o *ListAPIsByServiceTooManyRequests) IsSuccess() bool
- func (o *ListAPIsByServiceTooManyRequests) String() string
- type ListAPIsByServiceUnauthorized
- func (o *ListAPIsByServiceUnauthorized) Code() int
- func (o *ListAPIsByServiceUnauthorized) Error() string
- func (o *ListAPIsByServiceUnauthorized) GetPayload() *models.Error
- func (o *ListAPIsByServiceUnauthorized) IsClientError() bool
- func (o *ListAPIsByServiceUnauthorized) IsCode(code int) bool
- func (o *ListAPIsByServiceUnauthorized) IsRedirect() bool
- func (o *ListAPIsByServiceUnauthorized) IsServerError() bool
- func (o *ListAPIsByServiceUnauthorized) IsSuccess() bool
- func (o *ListAPIsByServiceUnauthorized) String() string
- type TestAPIForbidden
- func (o *TestAPIForbidden) Code() int
- func (o *TestAPIForbidden) Error() string
- func (o *TestAPIForbidden) GetPayload() *models.Error
- func (o *TestAPIForbidden) IsClientError() bool
- func (o *TestAPIForbidden) IsCode(code int) bool
- func (o *TestAPIForbidden) IsRedirect() bool
- func (o *TestAPIForbidden) IsServerError() bool
- func (o *TestAPIForbidden) IsSuccess() bool
- func (o *TestAPIForbidden) String() string
- type TestAPINotFound
- func (o *TestAPINotFound) Code() int
- func (o *TestAPINotFound) Error() string
- func (o *TestAPINotFound) GetPayload() *models.Error
- func (o *TestAPINotFound) IsClientError() bool
- func (o *TestAPINotFound) IsCode(code int) bool
- func (o *TestAPINotFound) IsRedirect() bool
- func (o *TestAPINotFound) IsServerError() bool
- func (o *TestAPINotFound) IsSuccess() bool
- func (o *TestAPINotFound) String() string
- type TestAPIOK
- func (o *TestAPIOK) Code() int
- func (o *TestAPIOK) Error() string
- func (o *TestAPIOK) GetPayload() *models.TestAPIResult
- func (o *TestAPIOK) IsClientError() bool
- func (o *TestAPIOK) IsCode(code int) bool
- func (o *TestAPIOK) IsRedirect() bool
- func (o *TestAPIOK) IsServerError() bool
- func (o *TestAPIOK) IsSuccess() bool
- func (o *TestAPIOK) String() string
- type TestAPIParams
- func (o *TestAPIParams) SetAPIBody(aPIBody *models.TestRequest)
- func (o *TestAPIParams) SetContext(ctx context.Context)
- func (o *TestAPIParams) SetDefaults()
- func (o *TestAPIParams) SetHTTPClient(client *http.Client)
- func (o *TestAPIParams) SetIfMatch(ifMatch *string)
- func (o *TestAPIParams) SetTimeout(timeout time.Duration)
- func (o *TestAPIParams) WithAPIBody(aPIBody *models.TestRequest) *TestAPIParams
- func (o *TestAPIParams) WithContext(ctx context.Context) *TestAPIParams
- func (o *TestAPIParams) WithDefaults() *TestAPIParams
- func (o *TestAPIParams) WithHTTPClient(client *http.Client) *TestAPIParams
- func (o *TestAPIParams) WithIfMatch(ifMatch *string) *TestAPIParams
- func (o *TestAPIParams) WithTimeout(timeout time.Duration) *TestAPIParams
- func (o *TestAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestAPIReader
- type TestAPITooManyRequests
- func (o *TestAPITooManyRequests) Code() int
- func (o *TestAPITooManyRequests) Error() string
- func (o *TestAPITooManyRequests) GetPayload() *models.Error
- func (o *TestAPITooManyRequests) IsClientError() bool
- func (o *TestAPITooManyRequests) IsCode(code int) bool
- func (o *TestAPITooManyRequests) IsRedirect() bool
- func (o *TestAPITooManyRequests) IsServerError() bool
- func (o *TestAPITooManyRequests) IsSuccess() bool
- func (o *TestAPITooManyRequests) String() string
- type TestAPIUnauthorized
- func (o *TestAPIUnauthorized) Code() int
- func (o *TestAPIUnauthorized) Error() string
- func (o *TestAPIUnauthorized) GetPayload() *models.Error
- func (o *TestAPIUnauthorized) IsClientError() bool
- func (o *TestAPIUnauthorized) IsCode(code int) bool
- func (o *TestAPIUnauthorized) IsRedirect() bool
- func (o *TestAPIUnauthorized) IsServerError() bool
- func (o *TestAPIUnauthorized) IsSuccess() bool
- func (o *TestAPIUnauthorized) String() string
- type TestAPIUnprocessableEntity
- func (o *TestAPIUnprocessableEntity) Code() int
- func (o *TestAPIUnprocessableEntity) Error() string
- func (o *TestAPIUnprocessableEntity) GetPayload() *models.Error
- func (o *TestAPIUnprocessableEntity) IsClientError() bool
- func (o *TestAPIUnprocessableEntity) IsCode(code int) bool
- func (o *TestAPIUnprocessableEntity) IsRedirect() bool
- func (o *TestAPIUnprocessableEntity) IsServerError() bool
- func (o *TestAPIUnprocessableEntity) IsSuccess() bool
- func (o *TestAPIUnprocessableEntity) String() string
- type UpdateAPIBadRequest
- func (o *UpdateAPIBadRequest) Code() int
- func (o *UpdateAPIBadRequest) Error() string
- func (o *UpdateAPIBadRequest) GetPayload() *models.Error
- func (o *UpdateAPIBadRequest) IsClientError() bool
- func (o *UpdateAPIBadRequest) IsCode(code int) bool
- func (o *UpdateAPIBadRequest) IsRedirect() bool
- func (o *UpdateAPIBadRequest) IsServerError() bool
- func (o *UpdateAPIBadRequest) IsSuccess() bool
- func (o *UpdateAPIBadRequest) String() string
- type UpdateAPIForbidden
- func (o *UpdateAPIForbidden) Code() int
- func (o *UpdateAPIForbidden) Error() string
- func (o *UpdateAPIForbidden) GetPayload() *models.Error
- func (o *UpdateAPIForbidden) IsClientError() bool
- func (o *UpdateAPIForbidden) IsCode(code int) bool
- func (o *UpdateAPIForbidden) IsRedirect() bool
- func (o *UpdateAPIForbidden) IsServerError() bool
- func (o *UpdateAPIForbidden) IsSuccess() bool
- func (o *UpdateAPIForbidden) String() string
- type UpdateAPINotFound
- func (o *UpdateAPINotFound) Code() int
- func (o *UpdateAPINotFound) Error() string
- func (o *UpdateAPINotFound) GetPayload() *models.Error
- func (o *UpdateAPINotFound) IsClientError() bool
- func (o *UpdateAPINotFound) IsCode(code int) bool
- func (o *UpdateAPINotFound) IsRedirect() bool
- func (o *UpdateAPINotFound) IsServerError() bool
- func (o *UpdateAPINotFound) IsSuccess() bool
- func (o *UpdateAPINotFound) String() string
- type UpdateAPIOK
- func (o *UpdateAPIOK) Code() int
- func (o *UpdateAPIOK) Error() string
- func (o *UpdateAPIOK) GetPayload() *models.API
- func (o *UpdateAPIOK) IsClientError() bool
- func (o *UpdateAPIOK) IsCode(code int) bool
- func (o *UpdateAPIOK) IsRedirect() bool
- func (o *UpdateAPIOK) IsServerError() bool
- func (o *UpdateAPIOK) IsSuccess() bool
- func (o *UpdateAPIOK) String() string
- type UpdateAPIParams
- func (o *UpdateAPIParams) SetAPI(api string)
- func (o *UpdateAPIParams) SetAPIBody(aPIBody *models.UpdateAPIRequest)
- func (o *UpdateAPIParams) SetContext(ctx context.Context)
- func (o *UpdateAPIParams) SetDefaults()
- func (o *UpdateAPIParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAPIParams) SetIfMatch(ifMatch *string)
- func (o *UpdateAPIParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams
- func (o *UpdateAPIParams) WithAPIBody(aPIBody *models.UpdateAPIRequest) *UpdateAPIParams
- func (o *UpdateAPIParams) WithContext(ctx context.Context) *UpdateAPIParams
- func (o *UpdateAPIParams) WithDefaults() *UpdateAPIParams
- func (o *UpdateAPIParams) WithHTTPClient(client *http.Client) *UpdateAPIParams
- func (o *UpdateAPIParams) WithIfMatch(ifMatch *string) *UpdateAPIParams
- func (o *UpdateAPIParams) WithTimeout(timeout time.Duration) *UpdateAPIParams
- func (o *UpdateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAPIReader
- type UpdateAPITooManyRequests
- func (o *UpdateAPITooManyRequests) Code() int
- func (o *UpdateAPITooManyRequests) Error() string
- func (o *UpdateAPITooManyRequests) GetPayload() *models.Error
- func (o *UpdateAPITooManyRequests) IsClientError() bool
- func (o *UpdateAPITooManyRequests) IsCode(code int) bool
- func (o *UpdateAPITooManyRequests) IsRedirect() bool
- func (o *UpdateAPITooManyRequests) IsServerError() bool
- func (o *UpdateAPITooManyRequests) IsSuccess() bool
- func (o *UpdateAPITooManyRequests) String() string
- type UpdateAPIUnauthorized
- func (o *UpdateAPIUnauthorized) Code() int
- func (o *UpdateAPIUnauthorized) Error() string
- func (o *UpdateAPIUnauthorized) GetPayload() *models.Error
- func (o *UpdateAPIUnauthorized) IsClientError() bool
- func (o *UpdateAPIUnauthorized) IsCode(code int) bool
- func (o *UpdateAPIUnauthorized) IsRedirect() bool
- func (o *UpdateAPIUnauthorized) IsServerError() bool
- func (o *UpdateAPIUnauthorized) IsSuccess() bool
- func (o *UpdateAPIUnauthorized) String() string
- type UpdateAPIUnprocessableEntity
- func (o *UpdateAPIUnprocessableEntity) Code() int
- func (o *UpdateAPIUnprocessableEntity) Error() string
- func (o *UpdateAPIUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateAPIUnprocessableEntity) IsClientError() bool
- func (o *UpdateAPIUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateAPIUnprocessableEntity) IsRedirect() bool
- func (o *UpdateAPIUnprocessableEntity) IsServerError() bool
- func (o *UpdateAPIUnprocessableEntity) IsSuccess() bool
- func (o *UpdateAPIUnprocessableEntity) 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 apis API
func (*Client) CreateAPI ¶
func (a *Client) CreateAPI(params *CreateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPICreated, error)
CreateAPI creates API
It is not possible to create APIs for a service with imported specification.
func (*Client) DeleteAPI ¶
func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPINoContent, error)
DeleteAPI deletes API If this API was created by import specification operation then
it is not possible to delete it.
func (*Client) GetAPI ¶
func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIOK, error)
GetAPI gets API
Get API.
func (*Client) ListAPIsByServer ¶
func (a *Client) ListAPIsByServer(params *ListAPIsByServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServerOK, error)
ListAPIsByServer lists a p is
List APIs.
func (*Client) ListAPIsByService ¶
func (a *Client) ListAPIsByService(params *ListAPIsByServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServiceOK, error)
ListAPIsByService lists a p is
List APIs.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestAPI ¶
func (a *Client) TestAPI(params *TestAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestAPIOK, error)
TestAPI tests API
Check if an example request matches given API, if so, return policy list to evaluate.
func (*Client) UpdateAPI ¶
func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAPIOK, error)
UpdateAPI updates API
Update API.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAPI(params *CreateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPICreated, error) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPINoContent, error) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIOK, error) ListAPIsByServer(params *ListAPIsByServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServerOK, error) ListAPIsByService(params *ListAPIsByServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIsByServiceOK, error) TestAPI(params *TestAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestAPIOK, error) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAPIOK, 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 apis API client.
type CreateAPIBadRequest ¶
CreateAPIBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateAPIBadRequest ¶
func NewCreateAPIBadRequest() *CreateAPIBadRequest
NewCreateAPIBadRequest creates a CreateAPIBadRequest with default headers values
func (*CreateAPIBadRequest) Code ¶
func (o *CreateAPIBadRequest) Code() int
Code gets the status code for the create Api bad request response
func (*CreateAPIBadRequest) Error ¶
func (o *CreateAPIBadRequest) Error() string
func (*CreateAPIBadRequest) GetPayload ¶
func (o *CreateAPIBadRequest) GetPayload() *models.Error
func (*CreateAPIBadRequest) IsClientError ¶
func (o *CreateAPIBadRequest) IsClientError() bool
IsClientError returns true when this create Api bad request response has a 4xx status code
func (*CreateAPIBadRequest) IsCode ¶
func (o *CreateAPIBadRequest) IsCode(code int) bool
IsCode returns true when this create Api bad request response a status code equal to that given
func (*CreateAPIBadRequest) IsRedirect ¶
func (o *CreateAPIBadRequest) IsRedirect() bool
IsRedirect returns true when this create Api bad request response has a 3xx status code
func (*CreateAPIBadRequest) IsServerError ¶
func (o *CreateAPIBadRequest) IsServerError() bool
IsServerError returns true when this create Api bad request response has a 5xx status code
func (*CreateAPIBadRequest) IsSuccess ¶
func (o *CreateAPIBadRequest) IsSuccess() bool
IsSuccess returns true when this create Api bad request response has a 2xx status code
func (*CreateAPIBadRequest) String ¶
func (o *CreateAPIBadRequest) String() string
type CreateAPICreated ¶
type CreateAPICreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.API }
CreateAPICreated describes a response with status code 201, with default header values.
API
func NewCreateAPICreated ¶
func NewCreateAPICreated() *CreateAPICreated
NewCreateAPICreated creates a CreateAPICreated with default headers values
func (*CreateAPICreated) Code ¶
func (o *CreateAPICreated) Code() int
Code gets the status code for the create Api created response
func (*CreateAPICreated) Error ¶
func (o *CreateAPICreated) Error() string
func (*CreateAPICreated) GetPayload ¶
func (o *CreateAPICreated) GetPayload() *models.API
func (*CreateAPICreated) IsClientError ¶
func (o *CreateAPICreated) IsClientError() bool
IsClientError returns true when this create Api created response has a 4xx status code
func (*CreateAPICreated) IsCode ¶
func (o *CreateAPICreated) IsCode(code int) bool
IsCode returns true when this create Api created response a status code equal to that given
func (*CreateAPICreated) IsRedirect ¶
func (o *CreateAPICreated) IsRedirect() bool
IsRedirect returns true when this create Api created response has a 3xx status code
func (*CreateAPICreated) IsServerError ¶
func (o *CreateAPICreated) IsServerError() bool
IsServerError returns true when this create Api created response has a 5xx status code
func (*CreateAPICreated) IsSuccess ¶
func (o *CreateAPICreated) IsSuccess() bool
IsSuccess returns true when this create Api created response has a 2xx status code
func (*CreateAPICreated) String ¶
func (o *CreateAPICreated) String() string
type CreateAPIForbidden ¶
CreateAPIForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateAPIForbidden ¶
func NewCreateAPIForbidden() *CreateAPIForbidden
NewCreateAPIForbidden creates a CreateAPIForbidden with default headers values
func (*CreateAPIForbidden) Code ¶
func (o *CreateAPIForbidden) Code() int
Code gets the status code for the create Api forbidden response
func (*CreateAPIForbidden) Error ¶
func (o *CreateAPIForbidden) Error() string
func (*CreateAPIForbidden) GetPayload ¶
func (o *CreateAPIForbidden) GetPayload() *models.Error
func (*CreateAPIForbidden) IsClientError ¶
func (o *CreateAPIForbidden) IsClientError() bool
IsClientError returns true when this create Api forbidden response has a 4xx status code
func (*CreateAPIForbidden) IsCode ¶
func (o *CreateAPIForbidden) IsCode(code int) bool
IsCode returns true when this create Api forbidden response a status code equal to that given
func (*CreateAPIForbidden) IsRedirect ¶
func (o *CreateAPIForbidden) IsRedirect() bool
IsRedirect returns true when this create Api forbidden response has a 3xx status code
func (*CreateAPIForbidden) IsServerError ¶
func (o *CreateAPIForbidden) IsServerError() bool
IsServerError returns true when this create Api forbidden response has a 5xx status code
func (*CreateAPIForbidden) IsSuccess ¶
func (o *CreateAPIForbidden) IsSuccess() bool
IsSuccess returns true when this create Api forbidden response has a 2xx status code
func (*CreateAPIForbidden) String ¶
func (o *CreateAPIForbidden) String() string
type CreateAPINotFound ¶
CreateAPINotFound describes a response with status code 404, with default header values.
Not found
func NewCreateAPINotFound ¶
func NewCreateAPINotFound() *CreateAPINotFound
NewCreateAPINotFound creates a CreateAPINotFound with default headers values
func (*CreateAPINotFound) Code ¶
func (o *CreateAPINotFound) Code() int
Code gets the status code for the create Api not found response
func (*CreateAPINotFound) Error ¶
func (o *CreateAPINotFound) Error() string
func (*CreateAPINotFound) GetPayload ¶
func (o *CreateAPINotFound) GetPayload() *models.Error
func (*CreateAPINotFound) IsClientError ¶
func (o *CreateAPINotFound) IsClientError() bool
IsClientError returns true when this create Api not found response has a 4xx status code
func (*CreateAPINotFound) IsCode ¶
func (o *CreateAPINotFound) IsCode(code int) bool
IsCode returns true when this create Api not found response a status code equal to that given
func (*CreateAPINotFound) IsRedirect ¶
func (o *CreateAPINotFound) IsRedirect() bool
IsRedirect returns true when this create Api not found response has a 3xx status code
func (*CreateAPINotFound) IsServerError ¶
func (o *CreateAPINotFound) IsServerError() bool
IsServerError returns true when this create Api not found response has a 5xx status code
func (*CreateAPINotFound) IsSuccess ¶
func (o *CreateAPINotFound) IsSuccess() bool
IsSuccess returns true when this create Api not found response has a 2xx status code
func (*CreateAPINotFound) String ¶
func (o *CreateAPINotFound) String() string
type CreateAPIParams ¶
type CreateAPIParams struct { /* APIBody. APIBody */ APIBody *models.API /* 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 }
CreateAPIParams contains all the parameters to send to the API endpoint
for the create API operation. Typically these are written to a http.Request.
func NewCreateAPIParams ¶
func NewCreateAPIParams() *CreateAPIParams
NewCreateAPIParams creates a new CreateAPIParams 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 NewCreateAPIParamsWithContext ¶
func NewCreateAPIParamsWithContext(ctx context.Context) *CreateAPIParams
NewCreateAPIParamsWithContext creates a new CreateAPIParams object with the ability to set a context for a request.
func NewCreateAPIParamsWithHTTPClient ¶
func NewCreateAPIParamsWithHTTPClient(client *http.Client) *CreateAPIParams
NewCreateAPIParamsWithHTTPClient creates a new CreateAPIParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAPIParamsWithTimeout ¶
func NewCreateAPIParamsWithTimeout(timeout time.Duration) *CreateAPIParams
NewCreateAPIParamsWithTimeout creates a new CreateAPIParams object with the ability to set a timeout on a request.
func (*CreateAPIParams) SetAPIBody ¶
func (o *CreateAPIParams) SetAPIBody(aPIBody *models.API)
SetAPIBody adds the apiBody to the create API params
func (*CreateAPIParams) SetContext ¶
func (o *CreateAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the create API params
func (*CreateAPIParams) SetDefaults ¶
func (o *CreateAPIParams) SetDefaults()
SetDefaults hydrates default values in the create API params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIParams) SetHTTPClient ¶
func (o *CreateAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create API params
func (*CreateAPIParams) SetIfMatch ¶
func (o *CreateAPIParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create API params
func (*CreateAPIParams) SetTimeout ¶
func (o *CreateAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create API params
func (*CreateAPIParams) WithAPIBody ¶
func (o *CreateAPIParams) WithAPIBody(aPIBody *models.API) *CreateAPIParams
WithAPIBody adds the aPIBody to the create API params
func (*CreateAPIParams) WithContext ¶
func (o *CreateAPIParams) WithContext(ctx context.Context) *CreateAPIParams
WithContext adds the context to the create API params
func (*CreateAPIParams) WithDefaults ¶
func (o *CreateAPIParams) WithDefaults() *CreateAPIParams
WithDefaults hydrates default values in the create API params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAPIParams) WithHTTPClient ¶
func (o *CreateAPIParams) WithHTTPClient(client *http.Client) *CreateAPIParams
WithHTTPClient adds the HTTPClient to the create API params
func (*CreateAPIParams) WithIfMatch ¶
func (o *CreateAPIParams) WithIfMatch(ifMatch *string) *CreateAPIParams
WithIfMatch adds the ifMatch to the create API params
func (*CreateAPIParams) WithTimeout ¶
func (o *CreateAPIParams) WithTimeout(timeout time.Duration) *CreateAPIParams
WithTimeout adds the timeout to the create API params
func (*CreateAPIParams) WriteToRequest ¶
func (o *CreateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAPIReader ¶
type CreateAPIReader struct {
// contains filtered or unexported fields
}
CreateAPIReader is a Reader for the CreateAPI structure.
func (*CreateAPIReader) ReadResponse ¶
func (o *CreateAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAPITooManyRequests ¶
CreateAPITooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateAPITooManyRequests ¶
func NewCreateAPITooManyRequests() *CreateAPITooManyRequests
NewCreateAPITooManyRequests creates a CreateAPITooManyRequests with default headers values
func (*CreateAPITooManyRequests) Code ¶
func (o *CreateAPITooManyRequests) Code() int
Code gets the status code for the create Api too many requests response
func (*CreateAPITooManyRequests) Error ¶
func (o *CreateAPITooManyRequests) Error() string
func (*CreateAPITooManyRequests) GetPayload ¶
func (o *CreateAPITooManyRequests) GetPayload() *models.Error
func (*CreateAPITooManyRequests) IsClientError ¶
func (o *CreateAPITooManyRequests) IsClientError() bool
IsClientError returns true when this create Api too many requests response has a 4xx status code
func (*CreateAPITooManyRequests) IsCode ¶
func (o *CreateAPITooManyRequests) IsCode(code int) bool
IsCode returns true when this create Api too many requests response a status code equal to that given
func (*CreateAPITooManyRequests) IsRedirect ¶
func (o *CreateAPITooManyRequests) IsRedirect() bool
IsRedirect returns true when this create Api too many requests response has a 3xx status code
func (*CreateAPITooManyRequests) IsServerError ¶
func (o *CreateAPITooManyRequests) IsServerError() bool
IsServerError returns true when this create Api too many requests response has a 5xx status code
func (*CreateAPITooManyRequests) IsSuccess ¶
func (o *CreateAPITooManyRequests) IsSuccess() bool
IsSuccess returns true when this create Api too many requests response has a 2xx status code
func (*CreateAPITooManyRequests) String ¶
func (o *CreateAPITooManyRequests) String() string
type CreateAPIUnauthorized ¶
type CreateAPIUnauthorized struct {
}CreateAPIUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateAPIUnauthorized ¶
func NewCreateAPIUnauthorized() *CreateAPIUnauthorized
NewCreateAPIUnauthorized creates a CreateAPIUnauthorized with default headers values
func (*CreateAPIUnauthorized) Code ¶
func (o *CreateAPIUnauthorized) Code() int
Code gets the status code for the create Api unauthorized response
func (*CreateAPIUnauthorized) Error ¶
func (o *CreateAPIUnauthorized) Error() string
func (*CreateAPIUnauthorized) GetPayload ¶
func (o *CreateAPIUnauthorized) GetPayload() *models.Error
func (*CreateAPIUnauthorized) IsClientError ¶
func (o *CreateAPIUnauthorized) IsClientError() bool
IsClientError returns true when this create Api unauthorized response has a 4xx status code
func (*CreateAPIUnauthorized) IsCode ¶
func (o *CreateAPIUnauthorized) IsCode(code int) bool
IsCode returns true when this create Api unauthorized response a status code equal to that given
func (*CreateAPIUnauthorized) IsRedirect ¶
func (o *CreateAPIUnauthorized) IsRedirect() bool
IsRedirect returns true when this create Api unauthorized response has a 3xx status code
func (*CreateAPIUnauthorized) IsServerError ¶
func (o *CreateAPIUnauthorized) IsServerError() bool
IsServerError returns true when this create Api unauthorized response has a 5xx status code
func (*CreateAPIUnauthorized) IsSuccess ¶
func (o *CreateAPIUnauthorized) IsSuccess() bool
IsSuccess returns true when this create Api unauthorized response has a 2xx status code
func (*CreateAPIUnauthorized) String ¶
func (o *CreateAPIUnauthorized) String() string
type CreateAPIUnprocessableEntity ¶
CreateAPIUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateAPIUnprocessableEntity ¶
func NewCreateAPIUnprocessableEntity() *CreateAPIUnprocessableEntity
NewCreateAPIUnprocessableEntity creates a CreateAPIUnprocessableEntity with default headers values
func (*CreateAPIUnprocessableEntity) Code ¶
func (o *CreateAPIUnprocessableEntity) Code() int
Code gets the status code for the create Api unprocessable entity response
func (*CreateAPIUnprocessableEntity) Error ¶
func (o *CreateAPIUnprocessableEntity) Error() string
func (*CreateAPIUnprocessableEntity) GetPayload ¶
func (o *CreateAPIUnprocessableEntity) GetPayload() *models.Error
func (*CreateAPIUnprocessableEntity) IsClientError ¶
func (o *CreateAPIUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create Api unprocessable entity response has a 4xx status code
func (*CreateAPIUnprocessableEntity) IsCode ¶
func (o *CreateAPIUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create Api unprocessable entity response a status code equal to that given
func (*CreateAPIUnprocessableEntity) IsRedirect ¶
func (o *CreateAPIUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create Api unprocessable entity response has a 3xx status code
func (*CreateAPIUnprocessableEntity) IsServerError ¶
func (o *CreateAPIUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create Api unprocessable entity response has a 5xx status code
func (*CreateAPIUnprocessableEntity) IsSuccess ¶
func (o *CreateAPIUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create Api unprocessable entity response has a 2xx status code
func (*CreateAPIUnprocessableEntity) String ¶
func (o *CreateAPIUnprocessableEntity) String() string
type DeleteAPIForbidden ¶
DeleteAPIForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteAPIForbidden ¶
func NewDeleteAPIForbidden() *DeleteAPIForbidden
NewDeleteAPIForbidden creates a DeleteAPIForbidden with default headers values
func (*DeleteAPIForbidden) Code ¶
func (o *DeleteAPIForbidden) Code() int
Code gets the status code for the delete Api forbidden response
func (*DeleteAPIForbidden) Error ¶
func (o *DeleteAPIForbidden) Error() string
func (*DeleteAPIForbidden) GetPayload ¶
func (o *DeleteAPIForbidden) GetPayload() *models.Error
func (*DeleteAPIForbidden) IsClientError ¶
func (o *DeleteAPIForbidden) IsClientError() bool
IsClientError returns true when this delete Api forbidden response has a 4xx status code
func (*DeleteAPIForbidden) IsCode ¶
func (o *DeleteAPIForbidden) IsCode(code int) bool
IsCode returns true when this delete Api forbidden response a status code equal to that given
func (*DeleteAPIForbidden) IsRedirect ¶
func (o *DeleteAPIForbidden) IsRedirect() bool
IsRedirect returns true when this delete Api forbidden response has a 3xx status code
func (*DeleteAPIForbidden) IsServerError ¶
func (o *DeleteAPIForbidden) IsServerError() bool
IsServerError returns true when this delete Api forbidden response has a 5xx status code
func (*DeleteAPIForbidden) IsSuccess ¶
func (o *DeleteAPIForbidden) IsSuccess() bool
IsSuccess returns true when this delete Api forbidden response has a 2xx status code
func (*DeleteAPIForbidden) String ¶
func (o *DeleteAPIForbidden) String() string
type DeleteAPINoContent ¶
type DeleteAPINoContent struct { }
DeleteAPINoContent describes a response with status code 204, with default header values.
API has been deleted
func NewDeleteAPINoContent ¶
func NewDeleteAPINoContent() *DeleteAPINoContent
NewDeleteAPINoContent creates a DeleteAPINoContent with default headers values
func (*DeleteAPINoContent) Code ¶
func (o *DeleteAPINoContent) Code() int
Code gets the status code for the delete Api no content response
func (*DeleteAPINoContent) Error ¶
func (o *DeleteAPINoContent) Error() string
func (*DeleteAPINoContent) IsClientError ¶
func (o *DeleteAPINoContent) IsClientError() bool
IsClientError returns true when this delete Api no content response has a 4xx status code
func (*DeleteAPINoContent) IsCode ¶
func (o *DeleteAPINoContent) IsCode(code int) bool
IsCode returns true when this delete Api no content response a status code equal to that given
func (*DeleteAPINoContent) IsRedirect ¶
func (o *DeleteAPINoContent) IsRedirect() bool
IsRedirect returns true when this delete Api no content response has a 3xx status code
func (*DeleteAPINoContent) IsServerError ¶
func (o *DeleteAPINoContent) IsServerError() bool
IsServerError returns true when this delete Api no content response has a 5xx status code
func (*DeleteAPINoContent) IsSuccess ¶
func (o *DeleteAPINoContent) IsSuccess() bool
IsSuccess returns true when this delete Api no content response has a 2xx status code
func (*DeleteAPINoContent) String ¶
func (o *DeleteAPINoContent) String() string
type DeleteAPINotFound ¶
DeleteAPINotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteAPINotFound ¶
func NewDeleteAPINotFound() *DeleteAPINotFound
NewDeleteAPINotFound creates a DeleteAPINotFound with default headers values
func (*DeleteAPINotFound) Code ¶
func (o *DeleteAPINotFound) Code() int
Code gets the status code for the delete Api not found response
func (*DeleteAPINotFound) Error ¶
func (o *DeleteAPINotFound) Error() string
func (*DeleteAPINotFound) GetPayload ¶
func (o *DeleteAPINotFound) GetPayload() *models.Error
func (*DeleteAPINotFound) IsClientError ¶
func (o *DeleteAPINotFound) IsClientError() bool
IsClientError returns true when this delete Api not found response has a 4xx status code
func (*DeleteAPINotFound) IsCode ¶
func (o *DeleteAPINotFound) IsCode(code int) bool
IsCode returns true when this delete Api not found response a status code equal to that given
func (*DeleteAPINotFound) IsRedirect ¶
func (o *DeleteAPINotFound) IsRedirect() bool
IsRedirect returns true when this delete Api not found response has a 3xx status code
func (*DeleteAPINotFound) IsServerError ¶
func (o *DeleteAPINotFound) IsServerError() bool
IsServerError returns true when this delete Api not found response has a 5xx status code
func (*DeleteAPINotFound) IsSuccess ¶
func (o *DeleteAPINotFound) IsSuccess() bool
IsSuccess returns true when this delete Api not found response has a 2xx status code
func (*DeleteAPINotFound) String ¶
func (o *DeleteAPINotFound) String() string
type DeleteAPIParams ¶
type DeleteAPIParams struct { // API. API string /* 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 }
DeleteAPIParams contains all the parameters to send to the API endpoint
for the delete API operation. Typically these are written to a http.Request.
func NewDeleteAPIParams ¶
func NewDeleteAPIParams() *DeleteAPIParams
NewDeleteAPIParams creates a new DeleteAPIParams 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 NewDeleteAPIParamsWithContext ¶
func NewDeleteAPIParamsWithContext(ctx context.Context) *DeleteAPIParams
NewDeleteAPIParamsWithContext creates a new DeleteAPIParams object with the ability to set a context for a request.
func NewDeleteAPIParamsWithHTTPClient ¶
func NewDeleteAPIParamsWithHTTPClient(client *http.Client) *DeleteAPIParams
NewDeleteAPIParamsWithHTTPClient creates a new DeleteAPIParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIParamsWithTimeout ¶
func NewDeleteAPIParamsWithTimeout(timeout time.Duration) *DeleteAPIParams
NewDeleteAPIParamsWithTimeout creates a new DeleteAPIParams object with the ability to set a timeout on a request.
func (*DeleteAPIParams) SetAPI ¶
func (o *DeleteAPIParams) SetAPI(api string)
SetAPI adds the api to the delete API params
func (*DeleteAPIParams) SetContext ¶
func (o *DeleteAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API params
func (*DeleteAPIParams) SetDefaults ¶
func (o *DeleteAPIParams) SetDefaults()
SetDefaults hydrates default values in the delete API params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIParams) SetHTTPClient ¶
func (o *DeleteAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API params
func (*DeleteAPIParams) SetIfMatch ¶
func (o *DeleteAPIParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete API params
func (*DeleteAPIParams) SetTimeout ¶
func (o *DeleteAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API params
func (*DeleteAPIParams) WithAPI ¶
func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams
WithAPI adds the api to the delete API params
func (*DeleteAPIParams) WithContext ¶
func (o *DeleteAPIParams) WithContext(ctx context.Context) *DeleteAPIParams
WithContext adds the context to the delete API params
func (*DeleteAPIParams) WithDefaults ¶
func (o *DeleteAPIParams) WithDefaults() *DeleteAPIParams
WithDefaults hydrates default values in the delete API params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIParams) WithHTTPClient ¶
func (o *DeleteAPIParams) WithHTTPClient(client *http.Client) *DeleteAPIParams
WithHTTPClient adds the HTTPClient to the delete API params
func (*DeleteAPIParams) WithIfMatch ¶
func (o *DeleteAPIParams) WithIfMatch(ifMatch *string) *DeleteAPIParams
WithIfMatch adds the ifMatch to the delete API params
func (*DeleteAPIParams) WithTimeout ¶
func (o *DeleteAPIParams) WithTimeout(timeout time.Duration) *DeleteAPIParams
WithTimeout adds the timeout to the delete API params
func (*DeleteAPIParams) WriteToRequest ¶
func (o *DeleteAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIReader ¶
type DeleteAPIReader struct {
// contains filtered or unexported fields
}
DeleteAPIReader is a Reader for the DeleteAPI structure.
func (*DeleteAPIReader) ReadResponse ¶
func (o *DeleteAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAPITooManyRequests ¶
DeleteAPITooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteAPITooManyRequests ¶
func NewDeleteAPITooManyRequests() *DeleteAPITooManyRequests
NewDeleteAPITooManyRequests creates a DeleteAPITooManyRequests with default headers values
func (*DeleteAPITooManyRequests) Code ¶
func (o *DeleteAPITooManyRequests) Code() int
Code gets the status code for the delete Api too many requests response
func (*DeleteAPITooManyRequests) Error ¶
func (o *DeleteAPITooManyRequests) Error() string
func (*DeleteAPITooManyRequests) GetPayload ¶
func (o *DeleteAPITooManyRequests) GetPayload() *models.Error
func (*DeleteAPITooManyRequests) IsClientError ¶
func (o *DeleteAPITooManyRequests) IsClientError() bool
IsClientError returns true when this delete Api too many requests response has a 4xx status code
func (*DeleteAPITooManyRequests) IsCode ¶
func (o *DeleteAPITooManyRequests) IsCode(code int) bool
IsCode returns true when this delete Api too many requests response a status code equal to that given
func (*DeleteAPITooManyRequests) IsRedirect ¶
func (o *DeleteAPITooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete Api too many requests response has a 3xx status code
func (*DeleteAPITooManyRequests) IsServerError ¶
func (o *DeleteAPITooManyRequests) IsServerError() bool
IsServerError returns true when this delete Api too many requests response has a 5xx status code
func (*DeleteAPITooManyRequests) IsSuccess ¶
func (o *DeleteAPITooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete Api too many requests response has a 2xx status code
func (*DeleteAPITooManyRequests) String ¶
func (o *DeleteAPITooManyRequests) String() string
type DeleteAPIUnauthorized ¶
type DeleteAPIUnauthorized struct {
}DeleteAPIUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteAPIUnauthorized ¶
func NewDeleteAPIUnauthorized() *DeleteAPIUnauthorized
NewDeleteAPIUnauthorized creates a DeleteAPIUnauthorized with default headers values
func (*DeleteAPIUnauthorized) Code ¶
func (o *DeleteAPIUnauthorized) Code() int
Code gets the status code for the delete Api unauthorized response
func (*DeleteAPIUnauthorized) Error ¶
func (o *DeleteAPIUnauthorized) Error() string
func (*DeleteAPIUnauthorized) GetPayload ¶
func (o *DeleteAPIUnauthorized) GetPayload() *models.Error
func (*DeleteAPIUnauthorized) IsClientError ¶
func (o *DeleteAPIUnauthorized) IsClientError() bool
IsClientError returns true when this delete Api unauthorized response has a 4xx status code
func (*DeleteAPIUnauthorized) IsCode ¶
func (o *DeleteAPIUnauthorized) IsCode(code int) bool
IsCode returns true when this delete Api unauthorized response a status code equal to that given
func (*DeleteAPIUnauthorized) IsRedirect ¶
func (o *DeleteAPIUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete Api unauthorized response has a 3xx status code
func (*DeleteAPIUnauthorized) IsServerError ¶
func (o *DeleteAPIUnauthorized) IsServerError() bool
IsServerError returns true when this delete Api unauthorized response has a 5xx status code
func (*DeleteAPIUnauthorized) IsSuccess ¶
func (o *DeleteAPIUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete Api unauthorized response has a 2xx status code
func (*DeleteAPIUnauthorized) String ¶
func (o *DeleteAPIUnauthorized) String() string
type GetAPIForbidden ¶
GetAPIForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIForbidden ¶
func NewGetAPIForbidden() *GetAPIForbidden
NewGetAPIForbidden creates a GetAPIForbidden with default headers values
func (*GetAPIForbidden) Code ¶
func (o *GetAPIForbidden) Code() int
Code gets the status code for the get Api forbidden response
func (*GetAPIForbidden) Error ¶
func (o *GetAPIForbidden) Error() string
func (*GetAPIForbidden) GetPayload ¶
func (o *GetAPIForbidden) GetPayload() *models.Error
func (*GetAPIForbidden) IsClientError ¶
func (o *GetAPIForbidden) IsClientError() bool
IsClientError returns true when this get Api forbidden response has a 4xx status code
func (*GetAPIForbidden) IsCode ¶
func (o *GetAPIForbidden) IsCode(code int) bool
IsCode returns true when this get Api forbidden response a status code equal to that given
func (*GetAPIForbidden) IsRedirect ¶
func (o *GetAPIForbidden) IsRedirect() bool
IsRedirect returns true when this get Api forbidden response has a 3xx status code
func (*GetAPIForbidden) IsServerError ¶
func (o *GetAPIForbidden) IsServerError() bool
IsServerError returns true when this get Api forbidden response has a 5xx status code
func (*GetAPIForbidden) IsSuccess ¶
func (o *GetAPIForbidden) IsSuccess() bool
IsSuccess returns true when this get Api forbidden response has a 2xx status code
func (*GetAPIForbidden) String ¶
func (o *GetAPIForbidden) String() string
type GetAPINotFound ¶
GetAPINotFound describes a response with status code 404, with default header values.
Not found
func NewGetAPINotFound ¶
func NewGetAPINotFound() *GetAPINotFound
NewGetAPINotFound creates a GetAPINotFound with default headers values
func (*GetAPINotFound) Code ¶
func (o *GetAPINotFound) Code() int
Code gets the status code for the get Api not found response
func (*GetAPINotFound) Error ¶
func (o *GetAPINotFound) Error() string
func (*GetAPINotFound) GetPayload ¶
func (o *GetAPINotFound) GetPayload() *models.Error
func (*GetAPINotFound) IsClientError ¶
func (o *GetAPINotFound) IsClientError() bool
IsClientError returns true when this get Api not found response has a 4xx status code
func (*GetAPINotFound) IsCode ¶
func (o *GetAPINotFound) IsCode(code int) bool
IsCode returns true when this get Api not found response a status code equal to that given
func (*GetAPINotFound) IsRedirect ¶
func (o *GetAPINotFound) IsRedirect() bool
IsRedirect returns true when this get Api not found response has a 3xx status code
func (*GetAPINotFound) IsServerError ¶
func (o *GetAPINotFound) IsServerError() bool
IsServerError returns true when this get Api not found response has a 5xx status code
func (*GetAPINotFound) IsSuccess ¶
func (o *GetAPINotFound) IsSuccess() bool
IsSuccess returns true when this get Api not found response has a 2xx status code
func (*GetAPINotFound) String ¶
func (o *GetAPINotFound) String() string
type GetAPIOK ¶
type GetAPIOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.API }
GetAPIOK describes a response with status code 200, with default header values.
API
func NewGetAPIOK ¶
func NewGetAPIOK() *GetAPIOK
NewGetAPIOK creates a GetAPIOK with default headers values
func (*GetAPIOK) GetPayload ¶
func (*GetAPIOK) IsClientError ¶
IsClientError returns true when this get Api o k response has a 4xx status code
func (*GetAPIOK) IsCode ¶
IsCode returns true when this get Api o k response a status code equal to that given
func (*GetAPIOK) IsRedirect ¶
IsRedirect returns true when this get Api o k response has a 3xx status code
func (*GetAPIOK) IsServerError ¶
IsServerError returns true when this get Api o k response has a 5xx status code
type GetAPIParams ¶
type GetAPIParams struct { // API. API string /* 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 }
GetAPIParams contains all the parameters to send to the API endpoint
for the get API operation. Typically these are written to a http.Request.
func NewGetAPIParams ¶
func NewGetAPIParams() *GetAPIParams
NewGetAPIParams creates a new GetAPIParams 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 NewGetAPIParamsWithContext ¶
func NewGetAPIParamsWithContext(ctx context.Context) *GetAPIParams
NewGetAPIParamsWithContext creates a new GetAPIParams object with the ability to set a context for a request.
func NewGetAPIParamsWithHTTPClient ¶
func NewGetAPIParamsWithHTTPClient(client *http.Client) *GetAPIParams
NewGetAPIParamsWithHTTPClient creates a new GetAPIParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIParamsWithTimeout ¶
func NewGetAPIParamsWithTimeout(timeout time.Duration) *GetAPIParams
NewGetAPIParamsWithTimeout creates a new GetAPIParams object with the ability to set a timeout on a request.
func (*GetAPIParams) SetAPI ¶
func (o *GetAPIParams) SetAPI(api string)
SetAPI adds the api to the get API params
func (*GetAPIParams) SetContext ¶
func (o *GetAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the get API params
func (*GetAPIParams) SetDefaults ¶
func (o *GetAPIParams) SetDefaults()
SetDefaults hydrates default values in the get API params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIParams) SetHTTPClient ¶
func (o *GetAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API params
func (*GetAPIParams) SetIfMatch ¶
func (o *GetAPIParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get API params
func (*GetAPIParams) SetTimeout ¶
func (o *GetAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API params
func (*GetAPIParams) WithAPI ¶
func (o *GetAPIParams) WithAPI(api string) *GetAPIParams
WithAPI adds the api to the get API params
func (*GetAPIParams) WithContext ¶
func (o *GetAPIParams) WithContext(ctx context.Context) *GetAPIParams
WithContext adds the context to the get API params
func (*GetAPIParams) WithDefaults ¶
func (o *GetAPIParams) WithDefaults() *GetAPIParams
WithDefaults hydrates default values in the get API params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIParams) WithHTTPClient ¶
func (o *GetAPIParams) WithHTTPClient(client *http.Client) *GetAPIParams
WithHTTPClient adds the HTTPClient to the get API params
func (*GetAPIParams) WithIfMatch ¶
func (o *GetAPIParams) WithIfMatch(ifMatch *string) *GetAPIParams
WithIfMatch adds the ifMatch to the get API params
func (*GetAPIParams) WithTimeout ¶
func (o *GetAPIParams) WithTimeout(timeout time.Duration) *GetAPIParams
WithTimeout adds the timeout to the get API params
func (*GetAPIParams) WriteToRequest ¶
func (o *GetAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIReader ¶
type GetAPIReader struct {
// contains filtered or unexported fields
}
GetAPIReader is a Reader for the GetAPI structure.
func (*GetAPIReader) ReadResponse ¶
func (o *GetAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPITooManyRequests ¶
GetAPITooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetAPITooManyRequests ¶
func NewGetAPITooManyRequests() *GetAPITooManyRequests
NewGetAPITooManyRequests creates a GetAPITooManyRequests with default headers values
func (*GetAPITooManyRequests) Code ¶
func (o *GetAPITooManyRequests) Code() int
Code gets the status code for the get Api too many requests response
func (*GetAPITooManyRequests) Error ¶
func (o *GetAPITooManyRequests) Error() string
func (*GetAPITooManyRequests) GetPayload ¶
func (o *GetAPITooManyRequests) GetPayload() *models.Error
func (*GetAPITooManyRequests) IsClientError ¶
func (o *GetAPITooManyRequests) IsClientError() bool
IsClientError returns true when this get Api too many requests response has a 4xx status code
func (*GetAPITooManyRequests) IsCode ¶
func (o *GetAPITooManyRequests) IsCode(code int) bool
IsCode returns true when this get Api too many requests response a status code equal to that given
func (*GetAPITooManyRequests) IsRedirect ¶
func (o *GetAPITooManyRequests) IsRedirect() bool
IsRedirect returns true when this get Api too many requests response has a 3xx status code
func (*GetAPITooManyRequests) IsServerError ¶
func (o *GetAPITooManyRequests) IsServerError() bool
IsServerError returns true when this get Api too many requests response has a 5xx status code
func (*GetAPITooManyRequests) IsSuccess ¶
func (o *GetAPITooManyRequests) IsSuccess() bool
IsSuccess returns true when this get Api too many requests response has a 2xx status code
func (*GetAPITooManyRequests) String ¶
func (o *GetAPITooManyRequests) String() string
type GetAPIUnauthorized ¶
type GetAPIUnauthorized struct {
}GetAPIUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAPIUnauthorized ¶
func NewGetAPIUnauthorized() *GetAPIUnauthorized
NewGetAPIUnauthorized creates a GetAPIUnauthorized with default headers values
func (*GetAPIUnauthorized) Code ¶
func (o *GetAPIUnauthorized) Code() int
Code gets the status code for the get Api unauthorized response
func (*GetAPIUnauthorized) Error ¶
func (o *GetAPIUnauthorized) Error() string
func (*GetAPIUnauthorized) GetPayload ¶
func (o *GetAPIUnauthorized) GetPayload() *models.Error
func (*GetAPIUnauthorized) IsClientError ¶
func (o *GetAPIUnauthorized) IsClientError() bool
IsClientError returns true when this get Api unauthorized response has a 4xx status code
func (*GetAPIUnauthorized) IsCode ¶
func (o *GetAPIUnauthorized) IsCode(code int) bool
IsCode returns true when this get Api unauthorized response a status code equal to that given
func (*GetAPIUnauthorized) IsRedirect ¶
func (o *GetAPIUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Api unauthorized response has a 3xx status code
func (*GetAPIUnauthorized) IsServerError ¶
func (o *GetAPIUnauthorized) IsServerError() bool
IsServerError returns true when this get Api unauthorized response has a 5xx status code
func (*GetAPIUnauthorized) IsSuccess ¶
func (o *GetAPIUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Api unauthorized response has a 2xx status code
func (*GetAPIUnauthorized) String ¶
func (o *GetAPIUnauthorized) String() string
type ListAPIsByServerForbidden ¶
ListAPIsByServerForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListAPIsByServerForbidden ¶
func NewListAPIsByServerForbidden() *ListAPIsByServerForbidden
NewListAPIsByServerForbidden creates a ListAPIsByServerForbidden with default headers values
func (*ListAPIsByServerForbidden) Code ¶
func (o *ListAPIsByServerForbidden) Code() int
Code gets the status code for the list a p is by server forbidden response
func (*ListAPIsByServerForbidden) Error ¶
func (o *ListAPIsByServerForbidden) Error() string
func (*ListAPIsByServerForbidden) GetPayload ¶
func (o *ListAPIsByServerForbidden) GetPayload() *models.Error
func (*ListAPIsByServerForbidden) IsClientError ¶
func (o *ListAPIsByServerForbidden) IsClientError() bool
IsClientError returns true when this list a p is by server forbidden response has a 4xx status code
func (*ListAPIsByServerForbidden) IsCode ¶
func (o *ListAPIsByServerForbidden) IsCode(code int) bool
IsCode returns true when this list a p is by server forbidden response a status code equal to that given
func (*ListAPIsByServerForbidden) IsRedirect ¶
func (o *ListAPIsByServerForbidden) IsRedirect() bool
IsRedirect returns true when this list a p is by server forbidden response has a 3xx status code
func (*ListAPIsByServerForbidden) IsServerError ¶
func (o *ListAPIsByServerForbidden) IsServerError() bool
IsServerError returns true when this list a p is by server forbidden response has a 5xx status code
func (*ListAPIsByServerForbidden) IsSuccess ¶
func (o *ListAPIsByServerForbidden) IsSuccess() bool
IsSuccess returns true when this list a p is by server forbidden response has a 2xx status code
func (*ListAPIsByServerForbidden) String ¶
func (o *ListAPIsByServerForbidden) String() string
type ListAPIsByServerOK ¶
type ListAPIsByServerOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServerAPIs }
ListAPIsByServerOK describes a response with status code 200, with default header values.
APIs grouped by service ids
func NewListAPIsByServerOK ¶
func NewListAPIsByServerOK() *ListAPIsByServerOK
NewListAPIsByServerOK creates a ListAPIsByServerOK with default headers values
func (*ListAPIsByServerOK) Code ¶
func (o *ListAPIsByServerOK) Code() int
Code gets the status code for the list a p is by server o k response
func (*ListAPIsByServerOK) Error ¶
func (o *ListAPIsByServerOK) Error() string
func (*ListAPIsByServerOK) GetPayload ¶
func (o *ListAPIsByServerOK) GetPayload() *models.ServerAPIs
func (*ListAPIsByServerOK) IsClientError ¶
func (o *ListAPIsByServerOK) IsClientError() bool
IsClientError returns true when this list a p is by server o k response has a 4xx status code
func (*ListAPIsByServerOK) IsCode ¶
func (o *ListAPIsByServerOK) IsCode(code int) bool
IsCode returns true when this list a p is by server o k response a status code equal to that given
func (*ListAPIsByServerOK) IsRedirect ¶
func (o *ListAPIsByServerOK) IsRedirect() bool
IsRedirect returns true when this list a p is by server o k response has a 3xx status code
func (*ListAPIsByServerOK) IsServerError ¶
func (o *ListAPIsByServerOK) IsServerError() bool
IsServerError returns true when this list a p is by server o k response has a 5xx status code
func (*ListAPIsByServerOK) IsSuccess ¶
func (o *ListAPIsByServerOK) IsSuccess() bool
IsSuccess returns true when this list a p is by server o k response has a 2xx status code
func (*ListAPIsByServerOK) String ¶
func (o *ListAPIsByServerOK) String() string
type ListAPIsByServerParams ¶
type ListAPIsByServerParams struct { /* DataClassification. List apis that have given data classifications */ DataClassification []string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Server id Default: "default" */ Wid string /* WithoutDataClassifications. List apis that have no data classifications */ WithoutDataClassifications *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAPIsByServerParams contains all the parameters to send to the API endpoint
for the list a p is by server operation. Typically these are written to a http.Request.
func NewListAPIsByServerParams ¶
func NewListAPIsByServerParams() *ListAPIsByServerParams
NewListAPIsByServerParams creates a new ListAPIsByServerParams 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 NewListAPIsByServerParamsWithContext ¶
func NewListAPIsByServerParamsWithContext(ctx context.Context) *ListAPIsByServerParams
NewListAPIsByServerParamsWithContext creates a new ListAPIsByServerParams object with the ability to set a context for a request.
func NewListAPIsByServerParamsWithHTTPClient ¶
func NewListAPIsByServerParamsWithHTTPClient(client *http.Client) *ListAPIsByServerParams
NewListAPIsByServerParamsWithHTTPClient creates a new ListAPIsByServerParams object with the ability to set a custom HTTPClient for a request.
func NewListAPIsByServerParamsWithTimeout ¶
func NewListAPIsByServerParamsWithTimeout(timeout time.Duration) *ListAPIsByServerParams
NewListAPIsByServerParamsWithTimeout creates a new ListAPIsByServerParams object with the ability to set a timeout on a request.
func (*ListAPIsByServerParams) SetContext ¶
func (o *ListAPIsByServerParams) SetContext(ctx context.Context)
SetContext adds the context to the list a p is by server params
func (*ListAPIsByServerParams) SetDataClassification ¶
func (o *ListAPIsByServerParams) SetDataClassification(dataClassification []string)
SetDataClassification adds the dataClassification to the list a p is by server params
func (*ListAPIsByServerParams) SetDefaults ¶
func (o *ListAPIsByServerParams) SetDefaults()
SetDefaults hydrates default values in the list a p is by server params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIsByServerParams) SetHTTPClient ¶
func (o *ListAPIsByServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list a p is by server params
func (*ListAPIsByServerParams) SetIfMatch ¶
func (o *ListAPIsByServerParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list a p is by server params
func (*ListAPIsByServerParams) SetTimeout ¶
func (o *ListAPIsByServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list a p is by server params
func (*ListAPIsByServerParams) SetWid ¶
func (o *ListAPIsByServerParams) SetWid(wid string)
SetWid adds the wid to the list a p is by server params
func (*ListAPIsByServerParams) SetWithoutDataClassifications ¶
func (o *ListAPIsByServerParams) SetWithoutDataClassifications(withoutDataClassifications *bool)
SetWithoutDataClassifications adds the withoutDataClassifications to the list a p is by server params
func (*ListAPIsByServerParams) WithContext ¶
func (o *ListAPIsByServerParams) WithContext(ctx context.Context) *ListAPIsByServerParams
WithContext adds the context to the list a p is by server params
func (*ListAPIsByServerParams) WithDataClassification ¶
func (o *ListAPIsByServerParams) WithDataClassification(dataClassification []string) *ListAPIsByServerParams
WithDataClassification adds the dataClassification to the list a p is by server params
func (*ListAPIsByServerParams) WithDefaults ¶
func (o *ListAPIsByServerParams) WithDefaults() *ListAPIsByServerParams
WithDefaults hydrates default values in the list a p is by server params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIsByServerParams) WithHTTPClient ¶
func (o *ListAPIsByServerParams) WithHTTPClient(client *http.Client) *ListAPIsByServerParams
WithHTTPClient adds the HTTPClient to the list a p is by server params
func (*ListAPIsByServerParams) WithIfMatch ¶
func (o *ListAPIsByServerParams) WithIfMatch(ifMatch *string) *ListAPIsByServerParams
WithIfMatch adds the ifMatch to the list a p is by server params
func (*ListAPIsByServerParams) WithTimeout ¶
func (o *ListAPIsByServerParams) WithTimeout(timeout time.Duration) *ListAPIsByServerParams
WithTimeout adds the timeout to the list a p is by server params
func (*ListAPIsByServerParams) WithWid ¶
func (o *ListAPIsByServerParams) WithWid(wid string) *ListAPIsByServerParams
WithWid adds the wid to the list a p is by server params
func (*ListAPIsByServerParams) WithWithoutDataClassifications ¶
func (o *ListAPIsByServerParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServerParams
WithWithoutDataClassifications adds the withoutDataClassifications to the list a p is by server params
func (*ListAPIsByServerParams) WriteToRequest ¶
func (o *ListAPIsByServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAPIsByServerReader ¶
type ListAPIsByServerReader struct {
// contains filtered or unexported fields
}
ListAPIsByServerReader is a Reader for the ListAPIsByServer structure.
func (*ListAPIsByServerReader) ReadResponse ¶
func (o *ListAPIsByServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAPIsByServerTooManyRequests ¶
ListAPIsByServerTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListAPIsByServerTooManyRequests ¶
func NewListAPIsByServerTooManyRequests() *ListAPIsByServerTooManyRequests
NewListAPIsByServerTooManyRequests creates a ListAPIsByServerTooManyRequests with default headers values
func (*ListAPIsByServerTooManyRequests) Code ¶
func (o *ListAPIsByServerTooManyRequests) Code() int
Code gets the status code for the list a p is by server too many requests response
func (*ListAPIsByServerTooManyRequests) Error ¶
func (o *ListAPIsByServerTooManyRequests) Error() string
func (*ListAPIsByServerTooManyRequests) GetPayload ¶
func (o *ListAPIsByServerTooManyRequests) GetPayload() *models.Error
func (*ListAPIsByServerTooManyRequests) IsClientError ¶
func (o *ListAPIsByServerTooManyRequests) IsClientError() bool
IsClientError returns true when this list a p is by server too many requests response has a 4xx status code
func (*ListAPIsByServerTooManyRequests) IsCode ¶
func (o *ListAPIsByServerTooManyRequests) IsCode(code int) bool
IsCode returns true when this list a p is by server too many requests response a status code equal to that given
func (*ListAPIsByServerTooManyRequests) IsRedirect ¶
func (o *ListAPIsByServerTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list a p is by server too many requests response has a 3xx status code
func (*ListAPIsByServerTooManyRequests) IsServerError ¶
func (o *ListAPIsByServerTooManyRequests) IsServerError() bool
IsServerError returns true when this list a p is by server too many requests response has a 5xx status code
func (*ListAPIsByServerTooManyRequests) IsSuccess ¶
func (o *ListAPIsByServerTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list a p is by server too many requests response has a 2xx status code
func (*ListAPIsByServerTooManyRequests) String ¶
func (o *ListAPIsByServerTooManyRequests) String() string
type ListAPIsByServerUnauthorized ¶
type ListAPIsByServerUnauthorized struct {
}ListAPIsByServerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListAPIsByServerUnauthorized ¶
func NewListAPIsByServerUnauthorized() *ListAPIsByServerUnauthorized
NewListAPIsByServerUnauthorized creates a ListAPIsByServerUnauthorized with default headers values
func (*ListAPIsByServerUnauthorized) Code ¶
func (o *ListAPIsByServerUnauthorized) Code() int
Code gets the status code for the list a p is by server unauthorized response
func (*ListAPIsByServerUnauthorized) Error ¶
func (o *ListAPIsByServerUnauthorized) Error() string
func (*ListAPIsByServerUnauthorized) GetPayload ¶
func (o *ListAPIsByServerUnauthorized) GetPayload() *models.Error
func (*ListAPIsByServerUnauthorized) IsClientError ¶
func (o *ListAPIsByServerUnauthorized) IsClientError() bool
IsClientError returns true when this list a p is by server unauthorized response has a 4xx status code
func (*ListAPIsByServerUnauthorized) IsCode ¶
func (o *ListAPIsByServerUnauthorized) IsCode(code int) bool
IsCode returns true when this list a p is by server unauthorized response a status code equal to that given
func (*ListAPIsByServerUnauthorized) IsRedirect ¶
func (o *ListAPIsByServerUnauthorized) IsRedirect() bool
IsRedirect returns true when this list a p is by server unauthorized response has a 3xx status code
func (*ListAPIsByServerUnauthorized) IsServerError ¶
func (o *ListAPIsByServerUnauthorized) IsServerError() bool
IsServerError returns true when this list a p is by server unauthorized response has a 5xx status code
func (*ListAPIsByServerUnauthorized) IsSuccess ¶
func (o *ListAPIsByServerUnauthorized) IsSuccess() bool
IsSuccess returns true when this list a p is by server unauthorized response has a 2xx status code
func (*ListAPIsByServerUnauthorized) String ¶
func (o *ListAPIsByServerUnauthorized) String() string
type ListAPIsByServiceForbidden ¶
ListAPIsByServiceForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListAPIsByServiceForbidden ¶
func NewListAPIsByServiceForbidden() *ListAPIsByServiceForbidden
NewListAPIsByServiceForbidden creates a ListAPIsByServiceForbidden with default headers values
func (*ListAPIsByServiceForbidden) Code ¶
func (o *ListAPIsByServiceForbidden) Code() int
Code gets the status code for the list a p is by service forbidden response
func (*ListAPIsByServiceForbidden) Error ¶
func (o *ListAPIsByServiceForbidden) Error() string
func (*ListAPIsByServiceForbidden) GetPayload ¶
func (o *ListAPIsByServiceForbidden) GetPayload() *models.Error
func (*ListAPIsByServiceForbidden) IsClientError ¶
func (o *ListAPIsByServiceForbidden) IsClientError() bool
IsClientError returns true when this list a p is by service forbidden response has a 4xx status code
func (*ListAPIsByServiceForbidden) IsCode ¶
func (o *ListAPIsByServiceForbidden) IsCode(code int) bool
IsCode returns true when this list a p is by service forbidden response a status code equal to that given
func (*ListAPIsByServiceForbidden) IsRedirect ¶
func (o *ListAPIsByServiceForbidden) IsRedirect() bool
IsRedirect returns true when this list a p is by service forbidden response has a 3xx status code
func (*ListAPIsByServiceForbidden) IsServerError ¶
func (o *ListAPIsByServiceForbidden) IsServerError() bool
IsServerError returns true when this list a p is by service forbidden response has a 5xx status code
func (*ListAPIsByServiceForbidden) IsSuccess ¶
func (o *ListAPIsByServiceForbidden) IsSuccess() bool
IsSuccess returns true when this list a p is by service forbidden response has a 2xx status code
func (*ListAPIsByServiceForbidden) String ¶
func (o *ListAPIsByServiceForbidden) String() string
type ListAPIsByServiceOK ¶
type ListAPIsByServiceOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.APIs }
ListAPIsByServiceOK describes a response with status code 200, with default header values.
APIs
func NewListAPIsByServiceOK ¶
func NewListAPIsByServiceOK() *ListAPIsByServiceOK
NewListAPIsByServiceOK creates a ListAPIsByServiceOK with default headers values
func (*ListAPIsByServiceOK) Code ¶
func (o *ListAPIsByServiceOK) Code() int
Code gets the status code for the list a p is by service o k response
func (*ListAPIsByServiceOK) Error ¶
func (o *ListAPIsByServiceOK) Error() string
func (*ListAPIsByServiceOK) GetPayload ¶
func (o *ListAPIsByServiceOK) GetPayload() *models.APIs
func (*ListAPIsByServiceOK) IsClientError ¶
func (o *ListAPIsByServiceOK) IsClientError() bool
IsClientError returns true when this list a p is by service o k response has a 4xx status code
func (*ListAPIsByServiceOK) IsCode ¶
func (o *ListAPIsByServiceOK) IsCode(code int) bool
IsCode returns true when this list a p is by service o k response a status code equal to that given
func (*ListAPIsByServiceOK) IsRedirect ¶
func (o *ListAPIsByServiceOK) IsRedirect() bool
IsRedirect returns true when this list a p is by service o k response has a 3xx status code
func (*ListAPIsByServiceOK) IsServerError ¶
func (o *ListAPIsByServiceOK) IsServerError() bool
IsServerError returns true when this list a p is by service o k response has a 5xx status code
func (*ListAPIsByServiceOK) IsSuccess ¶
func (o *ListAPIsByServiceOK) IsSuccess() bool
IsSuccess returns true when this list a p is by service o k response has a 2xx status code
func (*ListAPIsByServiceOK) String ¶
func (o *ListAPIsByServiceOK) String() string
type ListAPIsByServiceParams ¶
type ListAPIsByServiceParams struct { /* DataClassification. List apis that have given data classifications */ DataClassification []string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Sid. Service id Default: "default" */ Sid string /* WithoutDataClassifications. List apis that have no data classifications */ WithoutDataClassifications *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAPIsByServiceParams contains all the parameters to send to the API endpoint
for the list a p is by service operation. Typically these are written to a http.Request.
func NewListAPIsByServiceParams ¶
func NewListAPIsByServiceParams() *ListAPIsByServiceParams
NewListAPIsByServiceParams creates a new ListAPIsByServiceParams 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 NewListAPIsByServiceParamsWithContext ¶
func NewListAPIsByServiceParamsWithContext(ctx context.Context) *ListAPIsByServiceParams
NewListAPIsByServiceParamsWithContext creates a new ListAPIsByServiceParams object with the ability to set a context for a request.
func NewListAPIsByServiceParamsWithHTTPClient ¶
func NewListAPIsByServiceParamsWithHTTPClient(client *http.Client) *ListAPIsByServiceParams
NewListAPIsByServiceParamsWithHTTPClient creates a new ListAPIsByServiceParams object with the ability to set a custom HTTPClient for a request.
func NewListAPIsByServiceParamsWithTimeout ¶
func NewListAPIsByServiceParamsWithTimeout(timeout time.Duration) *ListAPIsByServiceParams
NewListAPIsByServiceParamsWithTimeout creates a new ListAPIsByServiceParams object with the ability to set a timeout on a request.
func (*ListAPIsByServiceParams) SetContext ¶
func (o *ListAPIsByServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the list a p is by service params
func (*ListAPIsByServiceParams) SetDataClassification ¶
func (o *ListAPIsByServiceParams) SetDataClassification(dataClassification []string)
SetDataClassification adds the dataClassification to the list a p is by service params
func (*ListAPIsByServiceParams) SetDefaults ¶
func (o *ListAPIsByServiceParams) SetDefaults()
SetDefaults hydrates default values in the list a p is by service params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIsByServiceParams) SetHTTPClient ¶
func (o *ListAPIsByServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list a p is by service params
func (*ListAPIsByServiceParams) SetIfMatch ¶
func (o *ListAPIsByServiceParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list a p is by service params
func (*ListAPIsByServiceParams) SetSid ¶
func (o *ListAPIsByServiceParams) SetSid(sid string)
SetSid adds the sid to the list a p is by service params
func (*ListAPIsByServiceParams) SetTimeout ¶
func (o *ListAPIsByServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list a p is by service params
func (*ListAPIsByServiceParams) SetWithoutDataClassifications ¶
func (o *ListAPIsByServiceParams) SetWithoutDataClassifications(withoutDataClassifications *bool)
SetWithoutDataClassifications adds the withoutDataClassifications to the list a p is by service params
func (*ListAPIsByServiceParams) WithContext ¶
func (o *ListAPIsByServiceParams) WithContext(ctx context.Context) *ListAPIsByServiceParams
WithContext adds the context to the list a p is by service params
func (*ListAPIsByServiceParams) WithDataClassification ¶
func (o *ListAPIsByServiceParams) WithDataClassification(dataClassification []string) *ListAPIsByServiceParams
WithDataClassification adds the dataClassification to the list a p is by service params
func (*ListAPIsByServiceParams) WithDefaults ¶
func (o *ListAPIsByServiceParams) WithDefaults() *ListAPIsByServiceParams
WithDefaults hydrates default values in the list a p is by service params (not the query body).
All values with no default are reset to their zero value.
func (*ListAPIsByServiceParams) WithHTTPClient ¶
func (o *ListAPIsByServiceParams) WithHTTPClient(client *http.Client) *ListAPIsByServiceParams
WithHTTPClient adds the HTTPClient to the list a p is by service params
func (*ListAPIsByServiceParams) WithIfMatch ¶
func (o *ListAPIsByServiceParams) WithIfMatch(ifMatch *string) *ListAPIsByServiceParams
WithIfMatch adds the ifMatch to the list a p is by service params
func (*ListAPIsByServiceParams) WithSid ¶
func (o *ListAPIsByServiceParams) WithSid(sid string) *ListAPIsByServiceParams
WithSid adds the sid to the list a p is by service params
func (*ListAPIsByServiceParams) WithTimeout ¶
func (o *ListAPIsByServiceParams) WithTimeout(timeout time.Duration) *ListAPIsByServiceParams
WithTimeout adds the timeout to the list a p is by service params
func (*ListAPIsByServiceParams) WithWithoutDataClassifications ¶
func (o *ListAPIsByServiceParams) WithWithoutDataClassifications(withoutDataClassifications *bool) *ListAPIsByServiceParams
WithWithoutDataClassifications adds the withoutDataClassifications to the list a p is by service params
func (*ListAPIsByServiceParams) WriteToRequest ¶
func (o *ListAPIsByServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAPIsByServiceReader ¶
type ListAPIsByServiceReader struct {
// contains filtered or unexported fields
}
ListAPIsByServiceReader is a Reader for the ListAPIsByService structure.
func (*ListAPIsByServiceReader) ReadResponse ¶
func (o *ListAPIsByServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAPIsByServiceTooManyRequests ¶
ListAPIsByServiceTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListAPIsByServiceTooManyRequests ¶
func NewListAPIsByServiceTooManyRequests() *ListAPIsByServiceTooManyRequests
NewListAPIsByServiceTooManyRequests creates a ListAPIsByServiceTooManyRequests with default headers values
func (*ListAPIsByServiceTooManyRequests) Code ¶
func (o *ListAPIsByServiceTooManyRequests) Code() int
Code gets the status code for the list a p is by service too many requests response
func (*ListAPIsByServiceTooManyRequests) Error ¶
func (o *ListAPIsByServiceTooManyRequests) Error() string
func (*ListAPIsByServiceTooManyRequests) GetPayload ¶
func (o *ListAPIsByServiceTooManyRequests) GetPayload() *models.Error
func (*ListAPIsByServiceTooManyRequests) IsClientError ¶
func (o *ListAPIsByServiceTooManyRequests) IsClientError() bool
IsClientError returns true when this list a p is by service too many requests response has a 4xx status code
func (*ListAPIsByServiceTooManyRequests) IsCode ¶
func (o *ListAPIsByServiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this list a p is by service too many requests response a status code equal to that given
func (*ListAPIsByServiceTooManyRequests) IsRedirect ¶
func (o *ListAPIsByServiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list a p is by service too many requests response has a 3xx status code
func (*ListAPIsByServiceTooManyRequests) IsServerError ¶
func (o *ListAPIsByServiceTooManyRequests) IsServerError() bool
IsServerError returns true when this list a p is by service too many requests response has a 5xx status code
func (*ListAPIsByServiceTooManyRequests) IsSuccess ¶
func (o *ListAPIsByServiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list a p is by service too many requests response has a 2xx status code
func (*ListAPIsByServiceTooManyRequests) String ¶
func (o *ListAPIsByServiceTooManyRequests) String() string
type ListAPIsByServiceUnauthorized ¶
type ListAPIsByServiceUnauthorized struct {
}ListAPIsByServiceUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListAPIsByServiceUnauthorized ¶
func NewListAPIsByServiceUnauthorized() *ListAPIsByServiceUnauthorized
NewListAPIsByServiceUnauthorized creates a ListAPIsByServiceUnauthorized with default headers values
func (*ListAPIsByServiceUnauthorized) Code ¶
func (o *ListAPIsByServiceUnauthorized) Code() int
Code gets the status code for the list a p is by service unauthorized response
func (*ListAPIsByServiceUnauthorized) Error ¶
func (o *ListAPIsByServiceUnauthorized) Error() string
func (*ListAPIsByServiceUnauthorized) GetPayload ¶
func (o *ListAPIsByServiceUnauthorized) GetPayload() *models.Error
func (*ListAPIsByServiceUnauthorized) IsClientError ¶
func (o *ListAPIsByServiceUnauthorized) IsClientError() bool
IsClientError returns true when this list a p is by service unauthorized response has a 4xx status code
func (*ListAPIsByServiceUnauthorized) IsCode ¶
func (o *ListAPIsByServiceUnauthorized) IsCode(code int) bool
IsCode returns true when this list a p is by service unauthorized response a status code equal to that given
func (*ListAPIsByServiceUnauthorized) IsRedirect ¶
func (o *ListAPIsByServiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this list a p is by service unauthorized response has a 3xx status code
func (*ListAPIsByServiceUnauthorized) IsServerError ¶
func (o *ListAPIsByServiceUnauthorized) IsServerError() bool
IsServerError returns true when this list a p is by service unauthorized response has a 5xx status code
func (*ListAPIsByServiceUnauthorized) IsSuccess ¶
func (o *ListAPIsByServiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this list a p is by service unauthorized response has a 2xx status code
func (*ListAPIsByServiceUnauthorized) String ¶
func (o *ListAPIsByServiceUnauthorized) String() string
type TestAPIForbidden ¶
TestAPIForbidden describes a response with status code 403, with default header values.
Forbidden
func NewTestAPIForbidden ¶
func NewTestAPIForbidden() *TestAPIForbidden
NewTestAPIForbidden creates a TestAPIForbidden with default headers values
func (*TestAPIForbidden) Code ¶
func (o *TestAPIForbidden) Code() int
Code gets the status code for the test Api forbidden response
func (*TestAPIForbidden) Error ¶
func (o *TestAPIForbidden) Error() string
func (*TestAPIForbidden) GetPayload ¶
func (o *TestAPIForbidden) GetPayload() *models.Error
func (*TestAPIForbidden) IsClientError ¶
func (o *TestAPIForbidden) IsClientError() bool
IsClientError returns true when this test Api forbidden response has a 4xx status code
func (*TestAPIForbidden) IsCode ¶
func (o *TestAPIForbidden) IsCode(code int) bool
IsCode returns true when this test Api forbidden response a status code equal to that given
func (*TestAPIForbidden) IsRedirect ¶
func (o *TestAPIForbidden) IsRedirect() bool
IsRedirect returns true when this test Api forbidden response has a 3xx status code
func (*TestAPIForbidden) IsServerError ¶
func (o *TestAPIForbidden) IsServerError() bool
IsServerError returns true when this test Api forbidden response has a 5xx status code
func (*TestAPIForbidden) IsSuccess ¶
func (o *TestAPIForbidden) IsSuccess() bool
IsSuccess returns true when this test Api forbidden response has a 2xx status code
func (*TestAPIForbidden) String ¶
func (o *TestAPIForbidden) String() string
type TestAPINotFound ¶
TestAPINotFound describes a response with status code 404, with default header values.
Not found
func NewTestAPINotFound ¶
func NewTestAPINotFound() *TestAPINotFound
NewTestAPINotFound creates a TestAPINotFound with default headers values
func (*TestAPINotFound) Code ¶
func (o *TestAPINotFound) Code() int
Code gets the status code for the test Api not found response
func (*TestAPINotFound) Error ¶
func (o *TestAPINotFound) Error() string
func (*TestAPINotFound) GetPayload ¶
func (o *TestAPINotFound) GetPayload() *models.Error
func (*TestAPINotFound) IsClientError ¶
func (o *TestAPINotFound) IsClientError() bool
IsClientError returns true when this test Api not found response has a 4xx status code
func (*TestAPINotFound) IsCode ¶
func (o *TestAPINotFound) IsCode(code int) bool
IsCode returns true when this test Api not found response a status code equal to that given
func (*TestAPINotFound) IsRedirect ¶
func (o *TestAPINotFound) IsRedirect() bool
IsRedirect returns true when this test Api not found response has a 3xx status code
func (*TestAPINotFound) IsServerError ¶
func (o *TestAPINotFound) IsServerError() bool
IsServerError returns true when this test Api not found response has a 5xx status code
func (*TestAPINotFound) IsSuccess ¶
func (o *TestAPINotFound) IsSuccess() bool
IsSuccess returns true when this test Api not found response has a 2xx status code
func (*TestAPINotFound) String ¶
func (o *TestAPINotFound) String() string
type TestAPIOK ¶
type TestAPIOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.TestAPIResult }
TestAPIOK describes a response with status code 200, with default header values.
API test result
func NewTestAPIOK ¶
func NewTestAPIOK() *TestAPIOK
NewTestAPIOK creates a TestAPIOK with default headers values
func (*TestAPIOK) GetPayload ¶
func (o *TestAPIOK) GetPayload() *models.TestAPIResult
func (*TestAPIOK) IsClientError ¶
IsClientError returns true when this test Api o k response has a 4xx status code
func (*TestAPIOK) IsCode ¶
IsCode returns true when this test Api o k response a status code equal to that given
func (*TestAPIOK) IsRedirect ¶
IsRedirect returns true when this test Api o k response has a 3xx status code
func (*TestAPIOK) IsServerError ¶
IsServerError returns true when this test Api o k response has a 5xx status code
type TestAPIParams ¶
type TestAPIParams struct { /* APIBody. APIBody */ APIBody *models.TestRequest /* 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 }
TestAPIParams contains all the parameters to send to the API endpoint
for the test API operation. Typically these are written to a http.Request.
func NewTestAPIParams ¶
func NewTestAPIParams() *TestAPIParams
NewTestAPIParams creates a new TestAPIParams 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 NewTestAPIParamsWithContext ¶
func NewTestAPIParamsWithContext(ctx context.Context) *TestAPIParams
NewTestAPIParamsWithContext creates a new TestAPIParams object with the ability to set a context for a request.
func NewTestAPIParamsWithHTTPClient ¶
func NewTestAPIParamsWithHTTPClient(client *http.Client) *TestAPIParams
NewTestAPIParamsWithHTTPClient creates a new TestAPIParams object with the ability to set a custom HTTPClient for a request.
func NewTestAPIParamsWithTimeout ¶
func NewTestAPIParamsWithTimeout(timeout time.Duration) *TestAPIParams
NewTestAPIParamsWithTimeout creates a new TestAPIParams object with the ability to set a timeout on a request.
func (*TestAPIParams) SetAPIBody ¶
func (o *TestAPIParams) SetAPIBody(aPIBody *models.TestRequest)
SetAPIBody adds the apiBody to the test API params
func (*TestAPIParams) SetContext ¶
func (o *TestAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the test API params
func (*TestAPIParams) SetDefaults ¶
func (o *TestAPIParams) SetDefaults()
SetDefaults hydrates default values in the test API params (not the query body).
All values with no default are reset to their zero value.
func (*TestAPIParams) SetHTTPClient ¶
func (o *TestAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test API params
func (*TestAPIParams) SetIfMatch ¶
func (o *TestAPIParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the test API params
func (*TestAPIParams) SetTimeout ¶
func (o *TestAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test API params
func (*TestAPIParams) WithAPIBody ¶
func (o *TestAPIParams) WithAPIBody(aPIBody *models.TestRequest) *TestAPIParams
WithAPIBody adds the aPIBody to the test API params
func (*TestAPIParams) WithContext ¶
func (o *TestAPIParams) WithContext(ctx context.Context) *TestAPIParams
WithContext adds the context to the test API params
func (*TestAPIParams) WithDefaults ¶
func (o *TestAPIParams) WithDefaults() *TestAPIParams
WithDefaults hydrates default values in the test API params (not the query body).
All values with no default are reset to their zero value.
func (*TestAPIParams) WithHTTPClient ¶
func (o *TestAPIParams) WithHTTPClient(client *http.Client) *TestAPIParams
WithHTTPClient adds the HTTPClient to the test API params
func (*TestAPIParams) WithIfMatch ¶
func (o *TestAPIParams) WithIfMatch(ifMatch *string) *TestAPIParams
WithIfMatch adds the ifMatch to the test API params
func (*TestAPIParams) WithTimeout ¶
func (o *TestAPIParams) WithTimeout(timeout time.Duration) *TestAPIParams
WithTimeout adds the timeout to the test API params
func (*TestAPIParams) WriteToRequest ¶
func (o *TestAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestAPIReader ¶
type TestAPIReader struct {
// contains filtered or unexported fields
}
TestAPIReader is a Reader for the TestAPI structure.
func (*TestAPIReader) ReadResponse ¶
func (o *TestAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestAPITooManyRequests ¶
TestAPITooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewTestAPITooManyRequests ¶
func NewTestAPITooManyRequests() *TestAPITooManyRequests
NewTestAPITooManyRequests creates a TestAPITooManyRequests with default headers values
func (*TestAPITooManyRequests) Code ¶
func (o *TestAPITooManyRequests) Code() int
Code gets the status code for the test Api too many requests response
func (*TestAPITooManyRequests) Error ¶
func (o *TestAPITooManyRequests) Error() string
func (*TestAPITooManyRequests) GetPayload ¶
func (o *TestAPITooManyRequests) GetPayload() *models.Error
func (*TestAPITooManyRequests) IsClientError ¶
func (o *TestAPITooManyRequests) IsClientError() bool
IsClientError returns true when this test Api too many requests response has a 4xx status code
func (*TestAPITooManyRequests) IsCode ¶
func (o *TestAPITooManyRequests) IsCode(code int) bool
IsCode returns true when this test Api too many requests response a status code equal to that given
func (*TestAPITooManyRequests) IsRedirect ¶
func (o *TestAPITooManyRequests) IsRedirect() bool
IsRedirect returns true when this test Api too many requests response has a 3xx status code
func (*TestAPITooManyRequests) IsServerError ¶
func (o *TestAPITooManyRequests) IsServerError() bool
IsServerError returns true when this test Api too many requests response has a 5xx status code
func (*TestAPITooManyRequests) IsSuccess ¶
func (o *TestAPITooManyRequests) IsSuccess() bool
IsSuccess returns true when this test Api too many requests response has a 2xx status code
func (*TestAPITooManyRequests) String ¶
func (o *TestAPITooManyRequests) String() string
type TestAPIUnauthorized ¶
type TestAPIUnauthorized struct {
}TestAPIUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewTestAPIUnauthorized ¶
func NewTestAPIUnauthorized() *TestAPIUnauthorized
NewTestAPIUnauthorized creates a TestAPIUnauthorized with default headers values
func (*TestAPIUnauthorized) Code ¶
func (o *TestAPIUnauthorized) Code() int
Code gets the status code for the test Api unauthorized response
func (*TestAPIUnauthorized) Error ¶
func (o *TestAPIUnauthorized) Error() string
func (*TestAPIUnauthorized) GetPayload ¶
func (o *TestAPIUnauthorized) GetPayload() *models.Error
func (*TestAPIUnauthorized) IsClientError ¶
func (o *TestAPIUnauthorized) IsClientError() bool
IsClientError returns true when this test Api unauthorized response has a 4xx status code
func (*TestAPIUnauthorized) IsCode ¶
func (o *TestAPIUnauthorized) IsCode(code int) bool
IsCode returns true when this test Api unauthorized response a status code equal to that given
func (*TestAPIUnauthorized) IsRedirect ¶
func (o *TestAPIUnauthorized) IsRedirect() bool
IsRedirect returns true when this test Api unauthorized response has a 3xx status code
func (*TestAPIUnauthorized) IsServerError ¶
func (o *TestAPIUnauthorized) IsServerError() bool
IsServerError returns true when this test Api unauthorized response has a 5xx status code
func (*TestAPIUnauthorized) IsSuccess ¶
func (o *TestAPIUnauthorized) IsSuccess() bool
IsSuccess returns true when this test Api unauthorized response has a 2xx status code
func (*TestAPIUnauthorized) String ¶
func (o *TestAPIUnauthorized) String() string
type TestAPIUnprocessableEntity ¶
TestAPIUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewTestAPIUnprocessableEntity ¶
func NewTestAPIUnprocessableEntity() *TestAPIUnprocessableEntity
NewTestAPIUnprocessableEntity creates a TestAPIUnprocessableEntity with default headers values
func (*TestAPIUnprocessableEntity) Code ¶
func (o *TestAPIUnprocessableEntity) Code() int
Code gets the status code for the test Api unprocessable entity response
func (*TestAPIUnprocessableEntity) Error ¶
func (o *TestAPIUnprocessableEntity) Error() string
func (*TestAPIUnprocessableEntity) GetPayload ¶
func (o *TestAPIUnprocessableEntity) GetPayload() *models.Error
func (*TestAPIUnprocessableEntity) IsClientError ¶
func (o *TestAPIUnprocessableEntity) IsClientError() bool
IsClientError returns true when this test Api unprocessable entity response has a 4xx status code
func (*TestAPIUnprocessableEntity) IsCode ¶
func (o *TestAPIUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this test Api unprocessable entity response a status code equal to that given
func (*TestAPIUnprocessableEntity) IsRedirect ¶
func (o *TestAPIUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this test Api unprocessable entity response has a 3xx status code
func (*TestAPIUnprocessableEntity) IsServerError ¶
func (o *TestAPIUnprocessableEntity) IsServerError() bool
IsServerError returns true when this test Api unprocessable entity response has a 5xx status code
func (*TestAPIUnprocessableEntity) IsSuccess ¶
func (o *TestAPIUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this test Api unprocessable entity response has a 2xx status code
func (*TestAPIUnprocessableEntity) String ¶
func (o *TestAPIUnprocessableEntity) String() string
type UpdateAPIBadRequest ¶
UpdateAPIBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateAPIBadRequest ¶
func NewUpdateAPIBadRequest() *UpdateAPIBadRequest
NewUpdateAPIBadRequest creates a UpdateAPIBadRequest with default headers values
func (*UpdateAPIBadRequest) Code ¶
func (o *UpdateAPIBadRequest) Code() int
Code gets the status code for the update Api bad request response
func (*UpdateAPIBadRequest) Error ¶
func (o *UpdateAPIBadRequest) Error() string
func (*UpdateAPIBadRequest) GetPayload ¶
func (o *UpdateAPIBadRequest) GetPayload() *models.Error
func (*UpdateAPIBadRequest) IsClientError ¶
func (o *UpdateAPIBadRequest) IsClientError() bool
IsClientError returns true when this update Api bad request response has a 4xx status code
func (*UpdateAPIBadRequest) IsCode ¶
func (o *UpdateAPIBadRequest) IsCode(code int) bool
IsCode returns true when this update Api bad request response a status code equal to that given
func (*UpdateAPIBadRequest) IsRedirect ¶
func (o *UpdateAPIBadRequest) IsRedirect() bool
IsRedirect returns true when this update Api bad request response has a 3xx status code
func (*UpdateAPIBadRequest) IsServerError ¶
func (o *UpdateAPIBadRequest) IsServerError() bool
IsServerError returns true when this update Api bad request response has a 5xx status code
func (*UpdateAPIBadRequest) IsSuccess ¶
func (o *UpdateAPIBadRequest) IsSuccess() bool
IsSuccess returns true when this update Api bad request response has a 2xx status code
func (*UpdateAPIBadRequest) String ¶
func (o *UpdateAPIBadRequest) String() string
type UpdateAPIForbidden ¶
UpdateAPIForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateAPIForbidden ¶
func NewUpdateAPIForbidden() *UpdateAPIForbidden
NewUpdateAPIForbidden creates a UpdateAPIForbidden with default headers values
func (*UpdateAPIForbidden) Code ¶
func (o *UpdateAPIForbidden) Code() int
Code gets the status code for the update Api forbidden response
func (*UpdateAPIForbidden) Error ¶
func (o *UpdateAPIForbidden) Error() string
func (*UpdateAPIForbidden) GetPayload ¶
func (o *UpdateAPIForbidden) GetPayload() *models.Error
func (*UpdateAPIForbidden) IsClientError ¶
func (o *UpdateAPIForbidden) IsClientError() bool
IsClientError returns true when this update Api forbidden response has a 4xx status code
func (*UpdateAPIForbidden) IsCode ¶
func (o *UpdateAPIForbidden) IsCode(code int) bool
IsCode returns true when this update Api forbidden response a status code equal to that given
func (*UpdateAPIForbidden) IsRedirect ¶
func (o *UpdateAPIForbidden) IsRedirect() bool
IsRedirect returns true when this update Api forbidden response has a 3xx status code
func (*UpdateAPIForbidden) IsServerError ¶
func (o *UpdateAPIForbidden) IsServerError() bool
IsServerError returns true when this update Api forbidden response has a 5xx status code
func (*UpdateAPIForbidden) IsSuccess ¶
func (o *UpdateAPIForbidden) IsSuccess() bool
IsSuccess returns true when this update Api forbidden response has a 2xx status code
func (*UpdateAPIForbidden) String ¶
func (o *UpdateAPIForbidden) String() string
type UpdateAPINotFound ¶
UpdateAPINotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateAPINotFound ¶
func NewUpdateAPINotFound() *UpdateAPINotFound
NewUpdateAPINotFound creates a UpdateAPINotFound with default headers values
func (*UpdateAPINotFound) Code ¶
func (o *UpdateAPINotFound) Code() int
Code gets the status code for the update Api not found response
func (*UpdateAPINotFound) Error ¶
func (o *UpdateAPINotFound) Error() string
func (*UpdateAPINotFound) GetPayload ¶
func (o *UpdateAPINotFound) GetPayload() *models.Error
func (*UpdateAPINotFound) IsClientError ¶
func (o *UpdateAPINotFound) IsClientError() bool
IsClientError returns true when this update Api not found response has a 4xx status code
func (*UpdateAPINotFound) IsCode ¶
func (o *UpdateAPINotFound) IsCode(code int) bool
IsCode returns true when this update Api not found response a status code equal to that given
func (*UpdateAPINotFound) IsRedirect ¶
func (o *UpdateAPINotFound) IsRedirect() bool
IsRedirect returns true when this update Api not found response has a 3xx status code
func (*UpdateAPINotFound) IsServerError ¶
func (o *UpdateAPINotFound) IsServerError() bool
IsServerError returns true when this update Api not found response has a 5xx status code
func (*UpdateAPINotFound) IsSuccess ¶
func (o *UpdateAPINotFound) IsSuccess() bool
IsSuccess returns true when this update Api not found response has a 2xx status code
func (*UpdateAPINotFound) String ¶
func (o *UpdateAPINotFound) String() string
type UpdateAPIOK ¶
type UpdateAPIOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.API }
UpdateAPIOK describes a response with status code 200, with default header values.
API
func NewUpdateAPIOK ¶
func NewUpdateAPIOK() *UpdateAPIOK
NewUpdateAPIOK creates a UpdateAPIOK with default headers values
func (*UpdateAPIOK) Code ¶
func (o *UpdateAPIOK) Code() int
Code gets the status code for the update Api o k response
func (*UpdateAPIOK) Error ¶
func (o *UpdateAPIOK) Error() string
func (*UpdateAPIOK) GetPayload ¶
func (o *UpdateAPIOK) GetPayload() *models.API
func (*UpdateAPIOK) IsClientError ¶
func (o *UpdateAPIOK) IsClientError() bool
IsClientError returns true when this update Api o k response has a 4xx status code
func (*UpdateAPIOK) IsCode ¶
func (o *UpdateAPIOK) IsCode(code int) bool
IsCode returns true when this update Api o k response a status code equal to that given
func (*UpdateAPIOK) IsRedirect ¶
func (o *UpdateAPIOK) IsRedirect() bool
IsRedirect returns true when this update Api o k response has a 3xx status code
func (*UpdateAPIOK) IsServerError ¶
func (o *UpdateAPIOK) IsServerError() bool
IsServerError returns true when this update Api o k response has a 5xx status code
func (*UpdateAPIOK) IsSuccess ¶
func (o *UpdateAPIOK) IsSuccess() bool
IsSuccess returns true when this update Api o k response has a 2xx status code
func (*UpdateAPIOK) String ¶
func (o *UpdateAPIOK) String() string
type UpdateAPIParams ¶
type UpdateAPIParams struct { /* APIBody. APIBody */ APIBody *models.UpdateAPIRequest /* API. API ID */ API string /* 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 }
UpdateAPIParams contains all the parameters to send to the API endpoint
for the update API operation. Typically these are written to a http.Request.
func NewUpdateAPIParams ¶
func NewUpdateAPIParams() *UpdateAPIParams
NewUpdateAPIParams creates a new UpdateAPIParams 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 NewUpdateAPIParamsWithContext ¶
func NewUpdateAPIParamsWithContext(ctx context.Context) *UpdateAPIParams
NewUpdateAPIParamsWithContext creates a new UpdateAPIParams object with the ability to set a context for a request.
func NewUpdateAPIParamsWithHTTPClient ¶
func NewUpdateAPIParamsWithHTTPClient(client *http.Client) *UpdateAPIParams
NewUpdateAPIParamsWithHTTPClient creates a new UpdateAPIParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAPIParamsWithTimeout ¶
func NewUpdateAPIParamsWithTimeout(timeout time.Duration) *UpdateAPIParams
NewUpdateAPIParamsWithTimeout creates a new UpdateAPIParams object with the ability to set a timeout on a request.
func (*UpdateAPIParams) SetAPI ¶
func (o *UpdateAPIParams) SetAPI(api string)
SetAPI adds the api to the update API params
func (*UpdateAPIParams) SetAPIBody ¶
func (o *UpdateAPIParams) SetAPIBody(aPIBody *models.UpdateAPIRequest)
SetAPIBody adds the apiBody to the update API params
func (*UpdateAPIParams) SetContext ¶
func (o *UpdateAPIParams) SetContext(ctx context.Context)
SetContext adds the context to the update API params
func (*UpdateAPIParams) SetDefaults ¶
func (o *UpdateAPIParams) SetDefaults()
SetDefaults hydrates default values in the update API params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAPIParams) SetHTTPClient ¶
func (o *UpdateAPIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update API params
func (*UpdateAPIParams) SetIfMatch ¶
func (o *UpdateAPIParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update API params
func (*UpdateAPIParams) SetTimeout ¶
func (o *UpdateAPIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update API params
func (*UpdateAPIParams) WithAPI ¶
func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams
WithAPI adds the api to the update API params
func (*UpdateAPIParams) WithAPIBody ¶
func (o *UpdateAPIParams) WithAPIBody(aPIBody *models.UpdateAPIRequest) *UpdateAPIParams
WithAPIBody adds the aPIBody to the update API params
func (*UpdateAPIParams) WithContext ¶
func (o *UpdateAPIParams) WithContext(ctx context.Context) *UpdateAPIParams
WithContext adds the context to the update API params
func (*UpdateAPIParams) WithDefaults ¶
func (o *UpdateAPIParams) WithDefaults() *UpdateAPIParams
WithDefaults hydrates default values in the update API params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAPIParams) WithHTTPClient ¶
func (o *UpdateAPIParams) WithHTTPClient(client *http.Client) *UpdateAPIParams
WithHTTPClient adds the HTTPClient to the update API params
func (*UpdateAPIParams) WithIfMatch ¶
func (o *UpdateAPIParams) WithIfMatch(ifMatch *string) *UpdateAPIParams
WithIfMatch adds the ifMatch to the update API params
func (*UpdateAPIParams) WithTimeout ¶
func (o *UpdateAPIParams) WithTimeout(timeout time.Duration) *UpdateAPIParams
WithTimeout adds the timeout to the update API params
func (*UpdateAPIParams) WriteToRequest ¶
func (o *UpdateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAPIReader ¶
type UpdateAPIReader struct {
// contains filtered or unexported fields
}
UpdateAPIReader is a Reader for the UpdateAPI structure.
func (*UpdateAPIReader) ReadResponse ¶
func (o *UpdateAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAPITooManyRequests ¶
UpdateAPITooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateAPITooManyRequests ¶
func NewUpdateAPITooManyRequests() *UpdateAPITooManyRequests
NewUpdateAPITooManyRequests creates a UpdateAPITooManyRequests with default headers values
func (*UpdateAPITooManyRequests) Code ¶
func (o *UpdateAPITooManyRequests) Code() int
Code gets the status code for the update Api too many requests response
func (*UpdateAPITooManyRequests) Error ¶
func (o *UpdateAPITooManyRequests) Error() string
func (*UpdateAPITooManyRequests) GetPayload ¶
func (o *UpdateAPITooManyRequests) GetPayload() *models.Error
func (*UpdateAPITooManyRequests) IsClientError ¶
func (o *UpdateAPITooManyRequests) IsClientError() bool
IsClientError returns true when this update Api too many requests response has a 4xx status code
func (*UpdateAPITooManyRequests) IsCode ¶
func (o *UpdateAPITooManyRequests) IsCode(code int) bool
IsCode returns true when this update Api too many requests response a status code equal to that given
func (*UpdateAPITooManyRequests) IsRedirect ¶
func (o *UpdateAPITooManyRequests) IsRedirect() bool
IsRedirect returns true when this update Api too many requests response has a 3xx status code
func (*UpdateAPITooManyRequests) IsServerError ¶
func (o *UpdateAPITooManyRequests) IsServerError() bool
IsServerError returns true when this update Api too many requests response has a 5xx status code
func (*UpdateAPITooManyRequests) IsSuccess ¶
func (o *UpdateAPITooManyRequests) IsSuccess() bool
IsSuccess returns true when this update Api too many requests response has a 2xx status code
func (*UpdateAPITooManyRequests) String ¶
func (o *UpdateAPITooManyRequests) String() string
type UpdateAPIUnauthorized ¶
type UpdateAPIUnauthorized struct {
}UpdateAPIUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateAPIUnauthorized ¶
func NewUpdateAPIUnauthorized() *UpdateAPIUnauthorized
NewUpdateAPIUnauthorized creates a UpdateAPIUnauthorized with default headers values
func (*UpdateAPIUnauthorized) Code ¶
func (o *UpdateAPIUnauthorized) Code() int
Code gets the status code for the update Api unauthorized response
func (*UpdateAPIUnauthorized) Error ¶
func (o *UpdateAPIUnauthorized) Error() string
func (*UpdateAPIUnauthorized) GetPayload ¶
func (o *UpdateAPIUnauthorized) GetPayload() *models.Error
func (*UpdateAPIUnauthorized) IsClientError ¶
func (o *UpdateAPIUnauthorized) IsClientError() bool
IsClientError returns true when this update Api unauthorized response has a 4xx status code
func (*UpdateAPIUnauthorized) IsCode ¶
func (o *UpdateAPIUnauthorized) IsCode(code int) bool
IsCode returns true when this update Api unauthorized response a status code equal to that given
func (*UpdateAPIUnauthorized) IsRedirect ¶
func (o *UpdateAPIUnauthorized) IsRedirect() bool
IsRedirect returns true when this update Api unauthorized response has a 3xx status code
func (*UpdateAPIUnauthorized) IsServerError ¶
func (o *UpdateAPIUnauthorized) IsServerError() bool
IsServerError returns true when this update Api unauthorized response has a 5xx status code
func (*UpdateAPIUnauthorized) IsSuccess ¶
func (o *UpdateAPIUnauthorized) IsSuccess() bool
IsSuccess returns true when this update Api unauthorized response has a 2xx status code
func (*UpdateAPIUnauthorized) String ¶
func (o *UpdateAPIUnauthorized) String() string
type UpdateAPIUnprocessableEntity ¶
UpdateAPIUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateAPIUnprocessableEntity ¶
func NewUpdateAPIUnprocessableEntity() *UpdateAPIUnprocessableEntity
NewUpdateAPIUnprocessableEntity creates a UpdateAPIUnprocessableEntity with default headers values
func (*UpdateAPIUnprocessableEntity) Code ¶
func (o *UpdateAPIUnprocessableEntity) Code() int
Code gets the status code for the update Api unprocessable entity response
func (*UpdateAPIUnprocessableEntity) Error ¶
func (o *UpdateAPIUnprocessableEntity) Error() string
func (*UpdateAPIUnprocessableEntity) GetPayload ¶
func (o *UpdateAPIUnprocessableEntity) GetPayload() *models.Error
func (*UpdateAPIUnprocessableEntity) IsClientError ¶
func (o *UpdateAPIUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update Api unprocessable entity response has a 4xx status code
func (*UpdateAPIUnprocessableEntity) IsCode ¶
func (o *UpdateAPIUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update Api unprocessable entity response a status code equal to that given
func (*UpdateAPIUnprocessableEntity) IsRedirect ¶
func (o *UpdateAPIUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update Api unprocessable entity response has a 3xx status code
func (*UpdateAPIUnprocessableEntity) IsServerError ¶
func (o *UpdateAPIUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update Api unprocessable entity response has a 5xx status code
func (*UpdateAPIUnprocessableEntity) IsSuccess ¶
func (o *UpdateAPIUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update Api unprocessable entity response has a 2xx status code
func (*UpdateAPIUnprocessableEntity) String ¶
func (o *UpdateAPIUnprocessableEntity) String() string
Source Files ¶
- apis_client.go
- create_api_parameters.go
- create_api_responses.go
- delete_api_parameters.go
- delete_api_responses.go
- get_api_parameters.go
- get_api_responses.go
- list_a_p_is_by_server_parameters.go
- list_a_p_is_by_server_responses.go
- list_a_p_is_by_service_parameters.go
- list_a_p_is_by_service_responses.go
- test_api_parameters.go
- test_api_responses.go
- update_api_parameters.go
- update_api_responses.go