Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateScope(params *CreateScopeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateScopeCreated, error)
- func (a *Client) DeleteScope(params *DeleteScopeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteScopeNoContent, error)
- func (a *Client) GetScope(params *GetScopeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScopeOK, error)
- func (a *Client) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListScopesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateScope(params *UpdateScopeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateScopeOK, error)
- type ClientOption
- type ClientService
- type CreateScopeBadRequest
- func (o *CreateScopeBadRequest) Code() int
- func (o *CreateScopeBadRequest) Error() string
- func (o *CreateScopeBadRequest) GetPayload() *models.Error
- func (o *CreateScopeBadRequest) IsClientError() bool
- func (o *CreateScopeBadRequest) IsCode(code int) bool
- func (o *CreateScopeBadRequest) IsRedirect() bool
- func (o *CreateScopeBadRequest) IsServerError() bool
- func (o *CreateScopeBadRequest) IsSuccess() bool
- func (o *CreateScopeBadRequest) String() string
- type CreateScopeConflict
- func (o *CreateScopeConflict) Code() int
- func (o *CreateScopeConflict) Error() string
- func (o *CreateScopeConflict) GetPayload() *models.Error
- func (o *CreateScopeConflict) IsClientError() bool
- func (o *CreateScopeConflict) IsCode(code int) bool
- func (o *CreateScopeConflict) IsRedirect() bool
- func (o *CreateScopeConflict) IsServerError() bool
- func (o *CreateScopeConflict) IsSuccess() bool
- func (o *CreateScopeConflict) String() string
- type CreateScopeCreated
- func (o *CreateScopeCreated) Code() int
- func (o *CreateScopeCreated) Error() string
- func (o *CreateScopeCreated) GetPayload() *models.ScopeWithServiceID
- func (o *CreateScopeCreated) IsClientError() bool
- func (o *CreateScopeCreated) IsCode(code int) bool
- func (o *CreateScopeCreated) IsRedirect() bool
- func (o *CreateScopeCreated) IsServerError() bool
- func (o *CreateScopeCreated) IsSuccess() bool
- func (o *CreateScopeCreated) String() string
- type CreateScopeForbidden
- func (o *CreateScopeForbidden) Code() int
- func (o *CreateScopeForbidden) Error() string
- func (o *CreateScopeForbidden) GetPayload() *models.Error
- func (o *CreateScopeForbidden) IsClientError() bool
- func (o *CreateScopeForbidden) IsCode(code int) bool
- func (o *CreateScopeForbidden) IsRedirect() bool
- func (o *CreateScopeForbidden) IsServerError() bool
- func (o *CreateScopeForbidden) IsSuccess() bool
- func (o *CreateScopeForbidden) String() string
- type CreateScopeNotFound
- func (o *CreateScopeNotFound) Code() int
- func (o *CreateScopeNotFound) Error() string
- func (o *CreateScopeNotFound) GetPayload() *models.Error
- func (o *CreateScopeNotFound) IsClientError() bool
- func (o *CreateScopeNotFound) IsCode(code int) bool
- func (o *CreateScopeNotFound) IsRedirect() bool
- func (o *CreateScopeNotFound) IsServerError() bool
- func (o *CreateScopeNotFound) IsSuccess() bool
- func (o *CreateScopeNotFound) String() string
- type CreateScopeParams
- func (o *CreateScopeParams) SetContext(ctx context.Context)
- func (o *CreateScopeParams) SetDefaults()
- func (o *CreateScopeParams) SetHTTPClient(client *http.Client)
- func (o *CreateScopeParams) SetIfMatch(ifMatch *string)
- func (o *CreateScopeParams) SetScopeWithService(scopeWithService *models.ScopeWithServiceID)
- func (o *CreateScopeParams) SetTimeout(timeout time.Duration)
- func (o *CreateScopeParams) WithContext(ctx context.Context) *CreateScopeParams
- func (o *CreateScopeParams) WithDefaults() *CreateScopeParams
- func (o *CreateScopeParams) WithHTTPClient(client *http.Client) *CreateScopeParams
- func (o *CreateScopeParams) WithIfMatch(ifMatch *string) *CreateScopeParams
- func (o *CreateScopeParams) WithScopeWithService(scopeWithService *models.ScopeWithServiceID) *CreateScopeParams
- func (o *CreateScopeParams) WithTimeout(timeout time.Duration) *CreateScopeParams
- func (o *CreateScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScopeReader
- type CreateScopeTooManyRequests
- func (o *CreateScopeTooManyRequests) Code() int
- func (o *CreateScopeTooManyRequests) Error() string
- func (o *CreateScopeTooManyRequests) GetPayload() *models.Error
- func (o *CreateScopeTooManyRequests) IsClientError() bool
- func (o *CreateScopeTooManyRequests) IsCode(code int) bool
- func (o *CreateScopeTooManyRequests) IsRedirect() bool
- func (o *CreateScopeTooManyRequests) IsServerError() bool
- func (o *CreateScopeTooManyRequests) IsSuccess() bool
- func (o *CreateScopeTooManyRequests) String() string
- type CreateScopeUnauthorized
- func (o *CreateScopeUnauthorized) Code() int
- func (o *CreateScopeUnauthorized) Error() string
- func (o *CreateScopeUnauthorized) GetPayload() *models.Error
- func (o *CreateScopeUnauthorized) IsClientError() bool
- func (o *CreateScopeUnauthorized) IsCode(code int) bool
- func (o *CreateScopeUnauthorized) IsRedirect() bool
- func (o *CreateScopeUnauthorized) IsServerError() bool
- func (o *CreateScopeUnauthorized) IsSuccess() bool
- func (o *CreateScopeUnauthorized) String() string
- type CreateScopeUnprocessableEntity
- func (o *CreateScopeUnprocessableEntity) Code() int
- func (o *CreateScopeUnprocessableEntity) Error() string
- func (o *CreateScopeUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateScopeUnprocessableEntity) IsClientError() bool
- func (o *CreateScopeUnprocessableEntity) IsCode(code int) bool
- func (o *CreateScopeUnprocessableEntity) IsRedirect() bool
- func (o *CreateScopeUnprocessableEntity) IsServerError() bool
- func (o *CreateScopeUnprocessableEntity) IsSuccess() bool
- func (o *CreateScopeUnprocessableEntity) String() string
- type DeleteScopeForbidden
- func (o *DeleteScopeForbidden) Code() int
- func (o *DeleteScopeForbidden) Error() string
- func (o *DeleteScopeForbidden) GetPayload() *models.Error
- func (o *DeleteScopeForbidden) IsClientError() bool
- func (o *DeleteScopeForbidden) IsCode(code int) bool
- func (o *DeleteScopeForbidden) IsRedirect() bool
- func (o *DeleteScopeForbidden) IsServerError() bool
- func (o *DeleteScopeForbidden) IsSuccess() bool
- func (o *DeleteScopeForbidden) String() string
- type DeleteScopeNoContent
- func (o *DeleteScopeNoContent) Code() int
- func (o *DeleteScopeNoContent) Error() string
- func (o *DeleteScopeNoContent) IsClientError() bool
- func (o *DeleteScopeNoContent) IsCode(code int) bool
- func (o *DeleteScopeNoContent) IsRedirect() bool
- func (o *DeleteScopeNoContent) IsServerError() bool
- func (o *DeleteScopeNoContent) IsSuccess() bool
- func (o *DeleteScopeNoContent) String() string
- type DeleteScopeNotFound
- func (o *DeleteScopeNotFound) Code() int
- func (o *DeleteScopeNotFound) Error() string
- func (o *DeleteScopeNotFound) GetPayload() *models.Error
- func (o *DeleteScopeNotFound) IsClientError() bool
- func (o *DeleteScopeNotFound) IsCode(code int) bool
- func (o *DeleteScopeNotFound) IsRedirect() bool
- func (o *DeleteScopeNotFound) IsServerError() bool
- func (o *DeleteScopeNotFound) IsSuccess() bool
- func (o *DeleteScopeNotFound) String() string
- type DeleteScopeParams
- func (o *DeleteScopeParams) SetContext(ctx context.Context)
- func (o *DeleteScopeParams) SetDefaults()
- func (o *DeleteScopeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScopeParams) SetIfMatch(ifMatch *string)
- func (o *DeleteScopeParams) SetScp(scp string)
- func (o *DeleteScopeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScopeParams) WithContext(ctx context.Context) *DeleteScopeParams
- func (o *DeleteScopeParams) WithDefaults() *DeleteScopeParams
- func (o *DeleteScopeParams) WithHTTPClient(client *http.Client) *DeleteScopeParams
- func (o *DeleteScopeParams) WithIfMatch(ifMatch *string) *DeleteScopeParams
- func (o *DeleteScopeParams) WithScp(scp string) *DeleteScopeParams
- func (o *DeleteScopeParams) WithTimeout(timeout time.Duration) *DeleteScopeParams
- func (o *DeleteScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScopeReader
- type DeleteScopeTooManyRequests
- func (o *DeleteScopeTooManyRequests) Code() int
- func (o *DeleteScopeTooManyRequests) Error() string
- func (o *DeleteScopeTooManyRequests) GetPayload() *models.Error
- func (o *DeleteScopeTooManyRequests) IsClientError() bool
- func (o *DeleteScopeTooManyRequests) IsCode(code int) bool
- func (o *DeleteScopeTooManyRequests) IsRedirect() bool
- func (o *DeleteScopeTooManyRequests) IsServerError() bool
- func (o *DeleteScopeTooManyRequests) IsSuccess() bool
- func (o *DeleteScopeTooManyRequests) String() string
- type DeleteScopeUnauthorized
- func (o *DeleteScopeUnauthorized) Code() int
- func (o *DeleteScopeUnauthorized) Error() string
- func (o *DeleteScopeUnauthorized) GetPayload() *models.Error
- func (o *DeleteScopeUnauthorized) IsClientError() bool
- func (o *DeleteScopeUnauthorized) IsCode(code int) bool
- func (o *DeleteScopeUnauthorized) IsRedirect() bool
- func (o *DeleteScopeUnauthorized) IsServerError() bool
- func (o *DeleteScopeUnauthorized) IsSuccess() bool
- func (o *DeleteScopeUnauthorized) String() string
- type GetScopeForbidden
- func (o *GetScopeForbidden) Code() int
- func (o *GetScopeForbidden) Error() string
- func (o *GetScopeForbidden) GetPayload() *models.Error
- func (o *GetScopeForbidden) IsClientError() bool
- func (o *GetScopeForbidden) IsCode(code int) bool
- func (o *GetScopeForbidden) IsRedirect() bool
- func (o *GetScopeForbidden) IsServerError() bool
- func (o *GetScopeForbidden) IsSuccess() bool
- func (o *GetScopeForbidden) String() string
- type GetScopeNotFound
- func (o *GetScopeNotFound) Code() int
- func (o *GetScopeNotFound) Error() string
- func (o *GetScopeNotFound) GetPayload() *models.Error
- func (o *GetScopeNotFound) IsClientError() bool
- func (o *GetScopeNotFound) IsCode(code int) bool
- func (o *GetScopeNotFound) IsRedirect() bool
- func (o *GetScopeNotFound) IsServerError() bool
- func (o *GetScopeNotFound) IsSuccess() bool
- func (o *GetScopeNotFound) String() string
- type GetScopeOK
- func (o *GetScopeOK) Code() int
- func (o *GetScopeOK) Error() string
- func (o *GetScopeOK) GetPayload() *models.ScopeWithService
- func (o *GetScopeOK) IsClientError() bool
- func (o *GetScopeOK) IsCode(code int) bool
- func (o *GetScopeOK) IsRedirect() bool
- func (o *GetScopeOK) IsServerError() bool
- func (o *GetScopeOK) IsSuccess() bool
- func (o *GetScopeOK) String() string
- type GetScopeParams
- func (o *GetScopeParams) SetContext(ctx context.Context)
- func (o *GetScopeParams) SetDefaults()
- func (o *GetScopeParams) SetHTTPClient(client *http.Client)
- func (o *GetScopeParams) SetIfMatch(ifMatch *string)
- func (o *GetScopeParams) SetScp(scp string)
- func (o *GetScopeParams) SetTimeout(timeout time.Duration)
- func (o *GetScopeParams) WithContext(ctx context.Context) *GetScopeParams
- func (o *GetScopeParams) WithDefaults() *GetScopeParams
- func (o *GetScopeParams) WithHTTPClient(client *http.Client) *GetScopeParams
- func (o *GetScopeParams) WithIfMatch(ifMatch *string) *GetScopeParams
- func (o *GetScopeParams) WithScp(scp string) *GetScopeParams
- func (o *GetScopeParams) WithTimeout(timeout time.Duration) *GetScopeParams
- func (o *GetScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScopeReader
- type GetScopeTooManyRequests
- func (o *GetScopeTooManyRequests) Code() int
- func (o *GetScopeTooManyRequests) Error() string
- func (o *GetScopeTooManyRequests) GetPayload() *models.Error
- func (o *GetScopeTooManyRequests) IsClientError() bool
- func (o *GetScopeTooManyRequests) IsCode(code int) bool
- func (o *GetScopeTooManyRequests) IsRedirect() bool
- func (o *GetScopeTooManyRequests) IsServerError() bool
- func (o *GetScopeTooManyRequests) IsSuccess() bool
- func (o *GetScopeTooManyRequests) String() string
- type GetScopeUnauthorized
- func (o *GetScopeUnauthorized) Code() int
- func (o *GetScopeUnauthorized) Error() string
- func (o *GetScopeUnauthorized) GetPayload() *models.Error
- func (o *GetScopeUnauthorized) IsClientError() bool
- func (o *GetScopeUnauthorized) IsCode(code int) bool
- func (o *GetScopeUnauthorized) IsRedirect() bool
- func (o *GetScopeUnauthorized) IsServerError() bool
- func (o *GetScopeUnauthorized) IsSuccess() bool
- func (o *GetScopeUnauthorized) String() string
- type ListScopesForbidden
- func (o *ListScopesForbidden) Code() int
- func (o *ListScopesForbidden) Error() string
- func (o *ListScopesForbidden) GetPayload() *models.Error
- func (o *ListScopesForbidden) IsClientError() bool
- func (o *ListScopesForbidden) IsCode(code int) bool
- func (o *ListScopesForbidden) IsRedirect() bool
- func (o *ListScopesForbidden) IsServerError() bool
- func (o *ListScopesForbidden) IsSuccess() bool
- func (o *ListScopesForbidden) String() string
- type ListScopesOK
- func (o *ListScopesOK) Code() int
- func (o *ListScopesOK) Error() string
- func (o *ListScopesOK) GetPayload() *models.ScopesWithServices
- func (o *ListScopesOK) IsClientError() bool
- func (o *ListScopesOK) IsCode(code int) bool
- func (o *ListScopesOK) IsRedirect() bool
- func (o *ListScopesOK) IsServerError() bool
- func (o *ListScopesOK) IsSuccess() bool
- func (o *ListScopesOK) String() string
- type ListScopesParams
- func (o *ListScopesParams) SetContext(ctx context.Context)
- func (o *ListScopesParams) SetDefaults()
- func (o *ListScopesParams) SetHTTPClient(client *http.Client)
- func (o *ListScopesParams) SetIfMatch(ifMatch *string)
- func (o *ListScopesParams) SetTimeout(timeout time.Duration)
- func (o *ListScopesParams) SetWid(wid string)
- func (o *ListScopesParams) WithContext(ctx context.Context) *ListScopesParams
- func (o *ListScopesParams) WithDefaults() *ListScopesParams
- func (o *ListScopesParams) WithHTTPClient(client *http.Client) *ListScopesParams
- func (o *ListScopesParams) WithIfMatch(ifMatch *string) *ListScopesParams
- func (o *ListScopesParams) WithTimeout(timeout time.Duration) *ListScopesParams
- func (o *ListScopesParams) WithWid(wid string) *ListScopesParams
- func (o *ListScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScopesReader
- type ListScopesTooManyRequests
- func (o *ListScopesTooManyRequests) Code() int
- func (o *ListScopesTooManyRequests) Error() string
- func (o *ListScopesTooManyRequests) GetPayload() *models.Error
- func (o *ListScopesTooManyRequests) IsClientError() bool
- func (o *ListScopesTooManyRequests) IsCode(code int) bool
- func (o *ListScopesTooManyRequests) IsRedirect() bool
- func (o *ListScopesTooManyRequests) IsServerError() bool
- func (o *ListScopesTooManyRequests) IsSuccess() bool
- func (o *ListScopesTooManyRequests) String() string
- type ListScopesUnauthorized
- func (o *ListScopesUnauthorized) Code() int
- func (o *ListScopesUnauthorized) Error() string
- func (o *ListScopesUnauthorized) GetPayload() *models.Error
- func (o *ListScopesUnauthorized) IsClientError() bool
- func (o *ListScopesUnauthorized) IsCode(code int) bool
- func (o *ListScopesUnauthorized) IsRedirect() bool
- func (o *ListScopesUnauthorized) IsServerError() bool
- func (o *ListScopesUnauthorized) IsSuccess() bool
- func (o *ListScopesUnauthorized) String() string
- type UpdateScopeBadRequest
- func (o *UpdateScopeBadRequest) Code() int
- func (o *UpdateScopeBadRequest) Error() string
- func (o *UpdateScopeBadRequest) GetPayload() *models.Error
- func (o *UpdateScopeBadRequest) IsClientError() bool
- func (o *UpdateScopeBadRequest) IsCode(code int) bool
- func (o *UpdateScopeBadRequest) IsRedirect() bool
- func (o *UpdateScopeBadRequest) IsServerError() bool
- func (o *UpdateScopeBadRequest) IsSuccess() bool
- func (o *UpdateScopeBadRequest) String() string
- type UpdateScopeForbidden
- func (o *UpdateScopeForbidden) Code() int
- func (o *UpdateScopeForbidden) Error() string
- func (o *UpdateScopeForbidden) GetPayload() *models.Error
- func (o *UpdateScopeForbidden) IsClientError() bool
- func (o *UpdateScopeForbidden) IsCode(code int) bool
- func (o *UpdateScopeForbidden) IsRedirect() bool
- func (o *UpdateScopeForbidden) IsServerError() bool
- func (o *UpdateScopeForbidden) IsSuccess() bool
- func (o *UpdateScopeForbidden) String() string
- type UpdateScopeNotFound
- func (o *UpdateScopeNotFound) Code() int
- func (o *UpdateScopeNotFound) Error() string
- func (o *UpdateScopeNotFound) GetPayload() *models.Error
- func (o *UpdateScopeNotFound) IsClientError() bool
- func (o *UpdateScopeNotFound) IsCode(code int) bool
- func (o *UpdateScopeNotFound) IsRedirect() bool
- func (o *UpdateScopeNotFound) IsServerError() bool
- func (o *UpdateScopeNotFound) IsSuccess() bool
- func (o *UpdateScopeNotFound) String() string
- type UpdateScopeOK
- func (o *UpdateScopeOK) Code() int
- func (o *UpdateScopeOK) Error() string
- func (o *UpdateScopeOK) GetPayload() *models.ScopeWithServiceID
- func (o *UpdateScopeOK) IsClientError() bool
- func (o *UpdateScopeOK) IsCode(code int) bool
- func (o *UpdateScopeOK) IsRedirect() bool
- func (o *UpdateScopeOK) IsServerError() bool
- func (o *UpdateScopeOK) IsSuccess() bool
- func (o *UpdateScopeOK) String() string
- type UpdateScopeParams
- func (o *UpdateScopeParams) SetContext(ctx context.Context)
- func (o *UpdateScopeParams) SetDefaults()
- func (o *UpdateScopeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScopeParams) SetIfMatch(ifMatch *string)
- func (o *UpdateScopeParams) SetScope(scope *models.Scope)
- func (o *UpdateScopeParams) SetScp(scp string)
- func (o *UpdateScopeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScopeParams) WithContext(ctx context.Context) *UpdateScopeParams
- func (o *UpdateScopeParams) WithDefaults() *UpdateScopeParams
- func (o *UpdateScopeParams) WithHTTPClient(client *http.Client) *UpdateScopeParams
- func (o *UpdateScopeParams) WithIfMatch(ifMatch *string) *UpdateScopeParams
- func (o *UpdateScopeParams) WithScope(scope *models.Scope) *UpdateScopeParams
- func (o *UpdateScopeParams) WithScp(scp string) *UpdateScopeParams
- func (o *UpdateScopeParams) WithTimeout(timeout time.Duration) *UpdateScopeParams
- func (o *UpdateScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScopeReader
- type UpdateScopeTooManyRequests
- func (o *UpdateScopeTooManyRequests) Code() int
- func (o *UpdateScopeTooManyRequests) Error() string
- func (o *UpdateScopeTooManyRequests) GetPayload() *models.Error
- func (o *UpdateScopeTooManyRequests) IsClientError() bool
- func (o *UpdateScopeTooManyRequests) IsCode(code int) bool
- func (o *UpdateScopeTooManyRequests) IsRedirect() bool
- func (o *UpdateScopeTooManyRequests) IsServerError() bool
- func (o *UpdateScopeTooManyRequests) IsSuccess() bool
- func (o *UpdateScopeTooManyRequests) String() string
- type UpdateScopeUnauthorized
- func (o *UpdateScopeUnauthorized) Code() int
- func (o *UpdateScopeUnauthorized) Error() string
- func (o *UpdateScopeUnauthorized) GetPayload() *models.Error
- func (o *UpdateScopeUnauthorized) IsClientError() bool
- func (o *UpdateScopeUnauthorized) IsCode(code int) bool
- func (o *UpdateScopeUnauthorized) IsRedirect() bool
- func (o *UpdateScopeUnauthorized) IsServerError() bool
- func (o *UpdateScopeUnauthorized) IsSuccess() bool
- func (o *UpdateScopeUnauthorized) String() string
- type UpdateScopeUnprocessableEntity
- func (o *UpdateScopeUnprocessableEntity) Code() int
- func (o *UpdateScopeUnprocessableEntity) Error() string
- func (o *UpdateScopeUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateScopeUnprocessableEntity) IsClientError() bool
- func (o *UpdateScopeUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateScopeUnprocessableEntity) IsRedirect() bool
- func (o *UpdateScopeUnprocessableEntity) IsServerError() bool
- func (o *UpdateScopeUnprocessableEntity) IsSuccess() bool
- func (o *UpdateScopeUnprocessableEntity) 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 scopes API
func (*Client) CreateScope ¶
func (a *Client) CreateScope(params *CreateScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateScopeCreated, error)
CreateScope creates scope Scope name is required. If scope id is not provided, will be generated.
If you want to assign scope to a service, provide service id.
func (*Client) DeleteScope ¶
func (a *Client) DeleteScope(params *DeleteScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScopeNoContent, error)
DeleteScope deletes scope
Delete scope.
func (*Client) GetScope ¶
func (a *Client) GetScope(params *GetScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScopeOK, error)
GetScope gets scope
Get scope.
func (*Client) ListScopes ¶
func (a *Client) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesOK, error)
ListScopes lists scopes
List scopes.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateScope ¶
func (a *Client) UpdateScope(params *UpdateScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScopeOK, error)
UpdateScope updates scope
Update scope.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateScope(params *CreateScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateScopeCreated, error) DeleteScope(params *DeleteScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScopeNoContent, error) GetScope(params *GetScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScopeOK, error) ListScopes(params *ListScopesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesOK, error) UpdateScope(params *UpdateScopeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScopeOK, 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 scopes API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new scopes API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new scopes API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateScopeBadRequest ¶
CreateScopeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateScopeBadRequest ¶
func NewCreateScopeBadRequest() *CreateScopeBadRequest
NewCreateScopeBadRequest creates a CreateScopeBadRequest with default headers values
func (*CreateScopeBadRequest) Code ¶
func (o *CreateScopeBadRequest) Code() int
Code gets the status code for the create scope bad request response
func (*CreateScopeBadRequest) Error ¶
func (o *CreateScopeBadRequest) Error() string
func (*CreateScopeBadRequest) GetPayload ¶
func (o *CreateScopeBadRequest) GetPayload() *models.Error
func (*CreateScopeBadRequest) IsClientError ¶
func (o *CreateScopeBadRequest) IsClientError() bool
IsClientError returns true when this create scope bad request response has a 4xx status code
func (*CreateScopeBadRequest) IsCode ¶
func (o *CreateScopeBadRequest) IsCode(code int) bool
IsCode returns true when this create scope bad request response a status code equal to that given
func (*CreateScopeBadRequest) IsRedirect ¶
func (o *CreateScopeBadRequest) IsRedirect() bool
IsRedirect returns true when this create scope bad request response has a 3xx status code
func (*CreateScopeBadRequest) IsServerError ¶
func (o *CreateScopeBadRequest) IsServerError() bool
IsServerError returns true when this create scope bad request response has a 5xx status code
func (*CreateScopeBadRequest) IsSuccess ¶
func (o *CreateScopeBadRequest) IsSuccess() bool
IsSuccess returns true when this create scope bad request response has a 2xx status code
func (*CreateScopeBadRequest) String ¶
func (o *CreateScopeBadRequest) String() string
type CreateScopeConflict ¶
CreateScopeConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateScopeConflict ¶
func NewCreateScopeConflict() *CreateScopeConflict
NewCreateScopeConflict creates a CreateScopeConflict with default headers values
func (*CreateScopeConflict) Code ¶
func (o *CreateScopeConflict) Code() int
Code gets the status code for the create scope conflict response
func (*CreateScopeConflict) Error ¶
func (o *CreateScopeConflict) Error() string
func (*CreateScopeConflict) GetPayload ¶
func (o *CreateScopeConflict) GetPayload() *models.Error
func (*CreateScopeConflict) IsClientError ¶
func (o *CreateScopeConflict) IsClientError() bool
IsClientError returns true when this create scope conflict response has a 4xx status code
func (*CreateScopeConflict) IsCode ¶
func (o *CreateScopeConflict) IsCode(code int) bool
IsCode returns true when this create scope conflict response a status code equal to that given
func (*CreateScopeConflict) IsRedirect ¶
func (o *CreateScopeConflict) IsRedirect() bool
IsRedirect returns true when this create scope conflict response has a 3xx status code
func (*CreateScopeConflict) IsServerError ¶
func (o *CreateScopeConflict) IsServerError() bool
IsServerError returns true when this create scope conflict response has a 5xx status code
func (*CreateScopeConflict) IsSuccess ¶
func (o *CreateScopeConflict) IsSuccess() bool
IsSuccess returns true when this create scope conflict response has a 2xx status code
func (*CreateScopeConflict) String ¶
func (o *CreateScopeConflict) String() string
type CreateScopeCreated ¶
type CreateScopeCreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScopeWithServiceID }
CreateScopeCreated describes a response with status code 201, with default header values.
Scope
func NewCreateScopeCreated ¶
func NewCreateScopeCreated() *CreateScopeCreated
NewCreateScopeCreated creates a CreateScopeCreated with default headers values
func (*CreateScopeCreated) Code ¶
func (o *CreateScopeCreated) Code() int
Code gets the status code for the create scope created response
func (*CreateScopeCreated) Error ¶
func (o *CreateScopeCreated) Error() string
func (*CreateScopeCreated) GetPayload ¶
func (o *CreateScopeCreated) GetPayload() *models.ScopeWithServiceID
func (*CreateScopeCreated) IsClientError ¶
func (o *CreateScopeCreated) IsClientError() bool
IsClientError returns true when this create scope created response has a 4xx status code
func (*CreateScopeCreated) IsCode ¶
func (o *CreateScopeCreated) IsCode(code int) bool
IsCode returns true when this create scope created response a status code equal to that given
func (*CreateScopeCreated) IsRedirect ¶
func (o *CreateScopeCreated) IsRedirect() bool
IsRedirect returns true when this create scope created response has a 3xx status code
func (*CreateScopeCreated) IsServerError ¶
func (o *CreateScopeCreated) IsServerError() bool
IsServerError returns true when this create scope created response has a 5xx status code
func (*CreateScopeCreated) IsSuccess ¶
func (o *CreateScopeCreated) IsSuccess() bool
IsSuccess returns true when this create scope created response has a 2xx status code
func (*CreateScopeCreated) String ¶
func (o *CreateScopeCreated) String() string
type CreateScopeForbidden ¶
CreateScopeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateScopeForbidden ¶
func NewCreateScopeForbidden() *CreateScopeForbidden
NewCreateScopeForbidden creates a CreateScopeForbidden with default headers values
func (*CreateScopeForbidden) Code ¶
func (o *CreateScopeForbidden) Code() int
Code gets the status code for the create scope forbidden response
func (*CreateScopeForbidden) Error ¶
func (o *CreateScopeForbidden) Error() string
func (*CreateScopeForbidden) GetPayload ¶
func (o *CreateScopeForbidden) GetPayload() *models.Error
func (*CreateScopeForbidden) IsClientError ¶
func (o *CreateScopeForbidden) IsClientError() bool
IsClientError returns true when this create scope forbidden response has a 4xx status code
func (*CreateScopeForbidden) IsCode ¶
func (o *CreateScopeForbidden) IsCode(code int) bool
IsCode returns true when this create scope forbidden response a status code equal to that given
func (*CreateScopeForbidden) IsRedirect ¶
func (o *CreateScopeForbidden) IsRedirect() bool
IsRedirect returns true when this create scope forbidden response has a 3xx status code
func (*CreateScopeForbidden) IsServerError ¶
func (o *CreateScopeForbidden) IsServerError() bool
IsServerError returns true when this create scope forbidden response has a 5xx status code
func (*CreateScopeForbidden) IsSuccess ¶
func (o *CreateScopeForbidden) IsSuccess() bool
IsSuccess returns true when this create scope forbidden response has a 2xx status code
func (*CreateScopeForbidden) String ¶
func (o *CreateScopeForbidden) String() string
type CreateScopeNotFound ¶
CreateScopeNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateScopeNotFound ¶
func NewCreateScopeNotFound() *CreateScopeNotFound
NewCreateScopeNotFound creates a CreateScopeNotFound with default headers values
func (*CreateScopeNotFound) Code ¶
func (o *CreateScopeNotFound) Code() int
Code gets the status code for the create scope not found response
func (*CreateScopeNotFound) Error ¶
func (o *CreateScopeNotFound) Error() string
func (*CreateScopeNotFound) GetPayload ¶
func (o *CreateScopeNotFound) GetPayload() *models.Error
func (*CreateScopeNotFound) IsClientError ¶
func (o *CreateScopeNotFound) IsClientError() bool
IsClientError returns true when this create scope not found response has a 4xx status code
func (*CreateScopeNotFound) IsCode ¶
func (o *CreateScopeNotFound) IsCode(code int) bool
IsCode returns true when this create scope not found response a status code equal to that given
func (*CreateScopeNotFound) IsRedirect ¶
func (o *CreateScopeNotFound) IsRedirect() bool
IsRedirect returns true when this create scope not found response has a 3xx status code
func (*CreateScopeNotFound) IsServerError ¶
func (o *CreateScopeNotFound) IsServerError() bool
IsServerError returns true when this create scope not found response has a 5xx status code
func (*CreateScopeNotFound) IsSuccess ¶
func (o *CreateScopeNotFound) IsSuccess() bool
IsSuccess returns true when this create scope not found response has a 2xx status code
func (*CreateScopeNotFound) String ¶
func (o *CreateScopeNotFound) String() string
type CreateScopeParams ¶
type CreateScopeParams struct { // ScopeWithService. ScopeWithService *models.ScopeWithServiceID /* 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 }
CreateScopeParams contains all the parameters to send to the API endpoint
for the create scope operation. Typically these are written to a http.Request.
func NewCreateScopeParams ¶
func NewCreateScopeParams() *CreateScopeParams
NewCreateScopeParams creates a new CreateScopeParams 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 NewCreateScopeParamsWithContext ¶
func NewCreateScopeParamsWithContext(ctx context.Context) *CreateScopeParams
NewCreateScopeParamsWithContext creates a new CreateScopeParams object with the ability to set a context for a request.
func NewCreateScopeParamsWithHTTPClient ¶
func NewCreateScopeParamsWithHTTPClient(client *http.Client) *CreateScopeParams
NewCreateScopeParamsWithHTTPClient creates a new CreateScopeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateScopeParamsWithTimeout ¶
func NewCreateScopeParamsWithTimeout(timeout time.Duration) *CreateScopeParams
NewCreateScopeParamsWithTimeout creates a new CreateScopeParams object with the ability to set a timeout on a request.
func (*CreateScopeParams) SetContext ¶
func (o *CreateScopeParams) SetContext(ctx context.Context)
SetContext adds the context to the create scope params
func (*CreateScopeParams) SetDefaults ¶
func (o *CreateScopeParams) SetDefaults()
SetDefaults hydrates default values in the create scope params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScopeParams) SetHTTPClient ¶
func (o *CreateScopeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create scope params
func (*CreateScopeParams) SetIfMatch ¶
func (o *CreateScopeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create scope params
func (*CreateScopeParams) SetScopeWithService ¶
func (o *CreateScopeParams) SetScopeWithService(scopeWithService *models.ScopeWithServiceID)
SetScopeWithService adds the scopeWithService to the create scope params
func (*CreateScopeParams) SetTimeout ¶
func (o *CreateScopeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create scope params
func (*CreateScopeParams) WithContext ¶
func (o *CreateScopeParams) WithContext(ctx context.Context) *CreateScopeParams
WithContext adds the context to the create scope params
func (*CreateScopeParams) WithDefaults ¶
func (o *CreateScopeParams) WithDefaults() *CreateScopeParams
WithDefaults hydrates default values in the create scope params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScopeParams) WithHTTPClient ¶
func (o *CreateScopeParams) WithHTTPClient(client *http.Client) *CreateScopeParams
WithHTTPClient adds the HTTPClient to the create scope params
func (*CreateScopeParams) WithIfMatch ¶
func (o *CreateScopeParams) WithIfMatch(ifMatch *string) *CreateScopeParams
WithIfMatch adds the ifMatch to the create scope params
func (*CreateScopeParams) WithScopeWithService ¶
func (o *CreateScopeParams) WithScopeWithService(scopeWithService *models.ScopeWithServiceID) *CreateScopeParams
WithScopeWithService adds the scopeWithService to the create scope params
func (*CreateScopeParams) WithTimeout ¶
func (o *CreateScopeParams) WithTimeout(timeout time.Duration) *CreateScopeParams
WithTimeout adds the timeout to the create scope params
func (*CreateScopeParams) WriteToRequest ¶
func (o *CreateScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateScopeReader ¶
type CreateScopeReader struct {
// contains filtered or unexported fields
}
CreateScopeReader is a Reader for the CreateScope structure.
func (*CreateScopeReader) ReadResponse ¶
func (o *CreateScopeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateScopeTooManyRequests ¶
CreateScopeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateScopeTooManyRequests ¶
func NewCreateScopeTooManyRequests() *CreateScopeTooManyRequests
NewCreateScopeTooManyRequests creates a CreateScopeTooManyRequests with default headers values
func (*CreateScopeTooManyRequests) Code ¶
func (o *CreateScopeTooManyRequests) Code() int
Code gets the status code for the create scope too many requests response
func (*CreateScopeTooManyRequests) Error ¶
func (o *CreateScopeTooManyRequests) Error() string
func (*CreateScopeTooManyRequests) GetPayload ¶
func (o *CreateScopeTooManyRequests) GetPayload() *models.Error
func (*CreateScopeTooManyRequests) IsClientError ¶
func (o *CreateScopeTooManyRequests) IsClientError() bool
IsClientError returns true when this create scope too many requests response has a 4xx status code
func (*CreateScopeTooManyRequests) IsCode ¶
func (o *CreateScopeTooManyRequests) IsCode(code int) bool
IsCode returns true when this create scope too many requests response a status code equal to that given
func (*CreateScopeTooManyRequests) IsRedirect ¶
func (o *CreateScopeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create scope too many requests response has a 3xx status code
func (*CreateScopeTooManyRequests) IsServerError ¶
func (o *CreateScopeTooManyRequests) IsServerError() bool
IsServerError returns true when this create scope too many requests response has a 5xx status code
func (*CreateScopeTooManyRequests) IsSuccess ¶
func (o *CreateScopeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create scope too many requests response has a 2xx status code
func (*CreateScopeTooManyRequests) String ¶
func (o *CreateScopeTooManyRequests) String() string
type CreateScopeUnauthorized ¶
type CreateScopeUnauthorized struct {
}CreateScopeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateScopeUnauthorized ¶
func NewCreateScopeUnauthorized() *CreateScopeUnauthorized
NewCreateScopeUnauthorized creates a CreateScopeUnauthorized with default headers values
func (*CreateScopeUnauthorized) Code ¶
func (o *CreateScopeUnauthorized) Code() int
Code gets the status code for the create scope unauthorized response
func (*CreateScopeUnauthorized) Error ¶
func (o *CreateScopeUnauthorized) Error() string
func (*CreateScopeUnauthorized) GetPayload ¶
func (o *CreateScopeUnauthorized) GetPayload() *models.Error
func (*CreateScopeUnauthorized) IsClientError ¶
func (o *CreateScopeUnauthorized) IsClientError() bool
IsClientError returns true when this create scope unauthorized response has a 4xx status code
func (*CreateScopeUnauthorized) IsCode ¶
func (o *CreateScopeUnauthorized) IsCode(code int) bool
IsCode returns true when this create scope unauthorized response a status code equal to that given
func (*CreateScopeUnauthorized) IsRedirect ¶
func (o *CreateScopeUnauthorized) IsRedirect() bool
IsRedirect returns true when this create scope unauthorized response has a 3xx status code
func (*CreateScopeUnauthorized) IsServerError ¶
func (o *CreateScopeUnauthorized) IsServerError() bool
IsServerError returns true when this create scope unauthorized response has a 5xx status code
func (*CreateScopeUnauthorized) IsSuccess ¶
func (o *CreateScopeUnauthorized) IsSuccess() bool
IsSuccess returns true when this create scope unauthorized response has a 2xx status code
func (*CreateScopeUnauthorized) String ¶
func (o *CreateScopeUnauthorized) String() string
type CreateScopeUnprocessableEntity ¶
CreateScopeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateScopeUnprocessableEntity ¶
func NewCreateScopeUnprocessableEntity() *CreateScopeUnprocessableEntity
NewCreateScopeUnprocessableEntity creates a CreateScopeUnprocessableEntity with default headers values
func (*CreateScopeUnprocessableEntity) Code ¶
func (o *CreateScopeUnprocessableEntity) Code() int
Code gets the status code for the create scope unprocessable entity response
func (*CreateScopeUnprocessableEntity) Error ¶
func (o *CreateScopeUnprocessableEntity) Error() string
func (*CreateScopeUnprocessableEntity) GetPayload ¶
func (o *CreateScopeUnprocessableEntity) GetPayload() *models.Error
func (*CreateScopeUnprocessableEntity) IsClientError ¶
func (o *CreateScopeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create scope unprocessable entity response has a 4xx status code
func (*CreateScopeUnprocessableEntity) IsCode ¶
func (o *CreateScopeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create scope unprocessable entity response a status code equal to that given
func (*CreateScopeUnprocessableEntity) IsRedirect ¶
func (o *CreateScopeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create scope unprocessable entity response has a 3xx status code
func (*CreateScopeUnprocessableEntity) IsServerError ¶
func (o *CreateScopeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create scope unprocessable entity response has a 5xx status code
func (*CreateScopeUnprocessableEntity) IsSuccess ¶
func (o *CreateScopeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create scope unprocessable entity response has a 2xx status code
func (*CreateScopeUnprocessableEntity) String ¶
func (o *CreateScopeUnprocessableEntity) String() string
type DeleteScopeForbidden ¶
DeleteScopeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteScopeForbidden ¶
func NewDeleteScopeForbidden() *DeleteScopeForbidden
NewDeleteScopeForbidden creates a DeleteScopeForbidden with default headers values
func (*DeleteScopeForbidden) Code ¶
func (o *DeleteScopeForbidden) Code() int
Code gets the status code for the delete scope forbidden response
func (*DeleteScopeForbidden) Error ¶
func (o *DeleteScopeForbidden) Error() string
func (*DeleteScopeForbidden) GetPayload ¶
func (o *DeleteScopeForbidden) GetPayload() *models.Error
func (*DeleteScopeForbidden) IsClientError ¶
func (o *DeleteScopeForbidden) IsClientError() bool
IsClientError returns true when this delete scope forbidden response has a 4xx status code
func (*DeleteScopeForbidden) IsCode ¶
func (o *DeleteScopeForbidden) IsCode(code int) bool
IsCode returns true when this delete scope forbidden response a status code equal to that given
func (*DeleteScopeForbidden) IsRedirect ¶
func (o *DeleteScopeForbidden) IsRedirect() bool
IsRedirect returns true when this delete scope forbidden response has a 3xx status code
func (*DeleteScopeForbidden) IsServerError ¶
func (o *DeleteScopeForbidden) IsServerError() bool
IsServerError returns true when this delete scope forbidden response has a 5xx status code
func (*DeleteScopeForbidden) IsSuccess ¶
func (o *DeleteScopeForbidden) IsSuccess() bool
IsSuccess returns true when this delete scope forbidden response has a 2xx status code
func (*DeleteScopeForbidden) String ¶
func (o *DeleteScopeForbidden) String() string
type DeleteScopeNoContent ¶
type DeleteScopeNoContent struct { }
DeleteScopeNoContent describes a response with status code 204, with default header values.
Scope has been deleted
func NewDeleteScopeNoContent ¶
func NewDeleteScopeNoContent() *DeleteScopeNoContent
NewDeleteScopeNoContent creates a DeleteScopeNoContent with default headers values
func (*DeleteScopeNoContent) Code ¶
func (o *DeleteScopeNoContent) Code() int
Code gets the status code for the delete scope no content response
func (*DeleteScopeNoContent) Error ¶
func (o *DeleteScopeNoContent) Error() string
func (*DeleteScopeNoContent) IsClientError ¶
func (o *DeleteScopeNoContent) IsClientError() bool
IsClientError returns true when this delete scope no content response has a 4xx status code
func (*DeleteScopeNoContent) IsCode ¶
func (o *DeleteScopeNoContent) IsCode(code int) bool
IsCode returns true when this delete scope no content response a status code equal to that given
func (*DeleteScopeNoContent) IsRedirect ¶
func (o *DeleteScopeNoContent) IsRedirect() bool
IsRedirect returns true when this delete scope no content response has a 3xx status code
func (*DeleteScopeNoContent) IsServerError ¶
func (o *DeleteScopeNoContent) IsServerError() bool
IsServerError returns true when this delete scope no content response has a 5xx status code
func (*DeleteScopeNoContent) IsSuccess ¶
func (o *DeleteScopeNoContent) IsSuccess() bool
IsSuccess returns true when this delete scope no content response has a 2xx status code
func (*DeleteScopeNoContent) String ¶
func (o *DeleteScopeNoContent) String() string
type DeleteScopeNotFound ¶
DeleteScopeNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteScopeNotFound ¶
func NewDeleteScopeNotFound() *DeleteScopeNotFound
NewDeleteScopeNotFound creates a DeleteScopeNotFound with default headers values
func (*DeleteScopeNotFound) Code ¶
func (o *DeleteScopeNotFound) Code() int
Code gets the status code for the delete scope not found response
func (*DeleteScopeNotFound) Error ¶
func (o *DeleteScopeNotFound) Error() string
func (*DeleteScopeNotFound) GetPayload ¶
func (o *DeleteScopeNotFound) GetPayload() *models.Error
func (*DeleteScopeNotFound) IsClientError ¶
func (o *DeleteScopeNotFound) IsClientError() bool
IsClientError returns true when this delete scope not found response has a 4xx status code
func (*DeleteScopeNotFound) IsCode ¶
func (o *DeleteScopeNotFound) IsCode(code int) bool
IsCode returns true when this delete scope not found response a status code equal to that given
func (*DeleteScopeNotFound) IsRedirect ¶
func (o *DeleteScopeNotFound) IsRedirect() bool
IsRedirect returns true when this delete scope not found response has a 3xx status code
func (*DeleteScopeNotFound) IsServerError ¶
func (o *DeleteScopeNotFound) IsServerError() bool
IsServerError returns true when this delete scope not found response has a 5xx status code
func (*DeleteScopeNotFound) IsSuccess ¶
func (o *DeleteScopeNotFound) IsSuccess() bool
IsSuccess returns true when this delete scope not found response has a 2xx status code
func (*DeleteScopeNotFound) String ¶
func (o *DeleteScopeNotFound) String() string
type DeleteScopeParams ¶
type DeleteScopeParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Scp. Scp string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteScopeParams contains all the parameters to send to the API endpoint
for the delete scope operation. Typically these are written to a http.Request.
func NewDeleteScopeParams ¶
func NewDeleteScopeParams() *DeleteScopeParams
NewDeleteScopeParams creates a new DeleteScopeParams 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 NewDeleteScopeParamsWithContext ¶
func NewDeleteScopeParamsWithContext(ctx context.Context) *DeleteScopeParams
NewDeleteScopeParamsWithContext creates a new DeleteScopeParams object with the ability to set a context for a request.
func NewDeleteScopeParamsWithHTTPClient ¶
func NewDeleteScopeParamsWithHTTPClient(client *http.Client) *DeleteScopeParams
NewDeleteScopeParamsWithHTTPClient creates a new DeleteScopeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteScopeParamsWithTimeout ¶
func NewDeleteScopeParamsWithTimeout(timeout time.Duration) *DeleteScopeParams
NewDeleteScopeParamsWithTimeout creates a new DeleteScopeParams object with the ability to set a timeout on a request.
func (*DeleteScopeParams) SetContext ¶
func (o *DeleteScopeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete scope params
func (*DeleteScopeParams) SetDefaults ¶
func (o *DeleteScopeParams) SetDefaults()
SetDefaults hydrates default values in the delete scope params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScopeParams) SetHTTPClient ¶
func (o *DeleteScopeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete scope params
func (*DeleteScopeParams) SetIfMatch ¶
func (o *DeleteScopeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete scope params
func (*DeleteScopeParams) SetScp ¶
func (o *DeleteScopeParams) SetScp(scp string)
SetScp adds the scp to the delete scope params
func (*DeleteScopeParams) SetTimeout ¶
func (o *DeleteScopeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete scope params
func (*DeleteScopeParams) WithContext ¶
func (o *DeleteScopeParams) WithContext(ctx context.Context) *DeleteScopeParams
WithContext adds the context to the delete scope params
func (*DeleteScopeParams) WithDefaults ¶
func (o *DeleteScopeParams) WithDefaults() *DeleteScopeParams
WithDefaults hydrates default values in the delete scope params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScopeParams) WithHTTPClient ¶
func (o *DeleteScopeParams) WithHTTPClient(client *http.Client) *DeleteScopeParams
WithHTTPClient adds the HTTPClient to the delete scope params
func (*DeleteScopeParams) WithIfMatch ¶
func (o *DeleteScopeParams) WithIfMatch(ifMatch *string) *DeleteScopeParams
WithIfMatch adds the ifMatch to the delete scope params
func (*DeleteScopeParams) WithScp ¶
func (o *DeleteScopeParams) WithScp(scp string) *DeleteScopeParams
WithScp adds the scp to the delete scope params
func (*DeleteScopeParams) WithTimeout ¶
func (o *DeleteScopeParams) WithTimeout(timeout time.Duration) *DeleteScopeParams
WithTimeout adds the timeout to the delete scope params
func (*DeleteScopeParams) WriteToRequest ¶
func (o *DeleteScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScopeReader ¶
type DeleteScopeReader struct {
// contains filtered or unexported fields
}
DeleteScopeReader is a Reader for the DeleteScope structure.
func (*DeleteScopeReader) ReadResponse ¶
func (o *DeleteScopeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteScopeTooManyRequests ¶
DeleteScopeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteScopeTooManyRequests ¶
func NewDeleteScopeTooManyRequests() *DeleteScopeTooManyRequests
NewDeleteScopeTooManyRequests creates a DeleteScopeTooManyRequests with default headers values
func (*DeleteScopeTooManyRequests) Code ¶
func (o *DeleteScopeTooManyRequests) Code() int
Code gets the status code for the delete scope too many requests response
func (*DeleteScopeTooManyRequests) Error ¶
func (o *DeleteScopeTooManyRequests) Error() string
func (*DeleteScopeTooManyRequests) GetPayload ¶
func (o *DeleteScopeTooManyRequests) GetPayload() *models.Error
func (*DeleteScopeTooManyRequests) IsClientError ¶
func (o *DeleteScopeTooManyRequests) IsClientError() bool
IsClientError returns true when this delete scope too many requests response has a 4xx status code
func (*DeleteScopeTooManyRequests) IsCode ¶
func (o *DeleteScopeTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete scope too many requests response a status code equal to that given
func (*DeleteScopeTooManyRequests) IsRedirect ¶
func (o *DeleteScopeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete scope too many requests response has a 3xx status code
func (*DeleteScopeTooManyRequests) IsServerError ¶
func (o *DeleteScopeTooManyRequests) IsServerError() bool
IsServerError returns true when this delete scope too many requests response has a 5xx status code
func (*DeleteScopeTooManyRequests) IsSuccess ¶
func (o *DeleteScopeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete scope too many requests response has a 2xx status code
func (*DeleteScopeTooManyRequests) String ¶
func (o *DeleteScopeTooManyRequests) String() string
type DeleteScopeUnauthorized ¶
type DeleteScopeUnauthorized struct {
}DeleteScopeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteScopeUnauthorized ¶
func NewDeleteScopeUnauthorized() *DeleteScopeUnauthorized
NewDeleteScopeUnauthorized creates a DeleteScopeUnauthorized with default headers values
func (*DeleteScopeUnauthorized) Code ¶
func (o *DeleteScopeUnauthorized) Code() int
Code gets the status code for the delete scope unauthorized response
func (*DeleteScopeUnauthorized) Error ¶
func (o *DeleteScopeUnauthorized) Error() string
func (*DeleteScopeUnauthorized) GetPayload ¶
func (o *DeleteScopeUnauthorized) GetPayload() *models.Error
func (*DeleteScopeUnauthorized) IsClientError ¶
func (o *DeleteScopeUnauthorized) IsClientError() bool
IsClientError returns true when this delete scope unauthorized response has a 4xx status code
func (*DeleteScopeUnauthorized) IsCode ¶
func (o *DeleteScopeUnauthorized) IsCode(code int) bool
IsCode returns true when this delete scope unauthorized response a status code equal to that given
func (*DeleteScopeUnauthorized) IsRedirect ¶
func (o *DeleteScopeUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete scope unauthorized response has a 3xx status code
func (*DeleteScopeUnauthorized) IsServerError ¶
func (o *DeleteScopeUnauthorized) IsServerError() bool
IsServerError returns true when this delete scope unauthorized response has a 5xx status code
func (*DeleteScopeUnauthorized) IsSuccess ¶
func (o *DeleteScopeUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete scope unauthorized response has a 2xx status code
func (*DeleteScopeUnauthorized) String ¶
func (o *DeleteScopeUnauthorized) String() string
type GetScopeForbidden ¶
GetScopeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScopeForbidden ¶
func NewGetScopeForbidden() *GetScopeForbidden
NewGetScopeForbidden creates a GetScopeForbidden with default headers values
func (*GetScopeForbidden) Code ¶
func (o *GetScopeForbidden) Code() int
Code gets the status code for the get scope forbidden response
func (*GetScopeForbidden) Error ¶
func (o *GetScopeForbidden) Error() string
func (*GetScopeForbidden) GetPayload ¶
func (o *GetScopeForbidden) GetPayload() *models.Error
func (*GetScopeForbidden) IsClientError ¶
func (o *GetScopeForbidden) IsClientError() bool
IsClientError returns true when this get scope forbidden response has a 4xx status code
func (*GetScopeForbidden) IsCode ¶
func (o *GetScopeForbidden) IsCode(code int) bool
IsCode returns true when this get scope forbidden response a status code equal to that given
func (*GetScopeForbidden) IsRedirect ¶
func (o *GetScopeForbidden) IsRedirect() bool
IsRedirect returns true when this get scope forbidden response has a 3xx status code
func (*GetScopeForbidden) IsServerError ¶
func (o *GetScopeForbidden) IsServerError() bool
IsServerError returns true when this get scope forbidden response has a 5xx status code
func (*GetScopeForbidden) IsSuccess ¶
func (o *GetScopeForbidden) IsSuccess() bool
IsSuccess returns true when this get scope forbidden response has a 2xx status code
func (*GetScopeForbidden) String ¶
func (o *GetScopeForbidden) String() string
type GetScopeNotFound ¶
GetScopeNotFound describes a response with status code 404, with default header values.
Not found
func NewGetScopeNotFound ¶
func NewGetScopeNotFound() *GetScopeNotFound
NewGetScopeNotFound creates a GetScopeNotFound with default headers values
func (*GetScopeNotFound) Code ¶
func (o *GetScopeNotFound) Code() int
Code gets the status code for the get scope not found response
func (*GetScopeNotFound) Error ¶
func (o *GetScopeNotFound) Error() string
func (*GetScopeNotFound) GetPayload ¶
func (o *GetScopeNotFound) GetPayload() *models.Error
func (*GetScopeNotFound) IsClientError ¶
func (o *GetScopeNotFound) IsClientError() bool
IsClientError returns true when this get scope not found response has a 4xx status code
func (*GetScopeNotFound) IsCode ¶
func (o *GetScopeNotFound) IsCode(code int) bool
IsCode returns true when this get scope not found response a status code equal to that given
func (*GetScopeNotFound) IsRedirect ¶
func (o *GetScopeNotFound) IsRedirect() bool
IsRedirect returns true when this get scope not found response has a 3xx status code
func (*GetScopeNotFound) IsServerError ¶
func (o *GetScopeNotFound) IsServerError() bool
IsServerError returns true when this get scope not found response has a 5xx status code
func (*GetScopeNotFound) IsSuccess ¶
func (o *GetScopeNotFound) IsSuccess() bool
IsSuccess returns true when this get scope not found response has a 2xx status code
func (*GetScopeNotFound) String ¶
func (o *GetScopeNotFound) String() string
type GetScopeOK ¶
type GetScopeOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScopeWithService }
GetScopeOK describes a response with status code 200, with default header values.
Scope with service
func NewGetScopeOK ¶
func NewGetScopeOK() *GetScopeOK
NewGetScopeOK creates a GetScopeOK with default headers values
func (*GetScopeOK) Code ¶
func (o *GetScopeOK) Code() int
Code gets the status code for the get scope o k response
func (*GetScopeOK) Error ¶
func (o *GetScopeOK) Error() string
func (*GetScopeOK) GetPayload ¶
func (o *GetScopeOK) GetPayload() *models.ScopeWithService
func (*GetScopeOK) IsClientError ¶
func (o *GetScopeOK) IsClientError() bool
IsClientError returns true when this get scope o k response has a 4xx status code
func (*GetScopeOK) IsCode ¶
func (o *GetScopeOK) IsCode(code int) bool
IsCode returns true when this get scope o k response a status code equal to that given
func (*GetScopeOK) IsRedirect ¶
func (o *GetScopeOK) IsRedirect() bool
IsRedirect returns true when this get scope o k response has a 3xx status code
func (*GetScopeOK) IsServerError ¶
func (o *GetScopeOK) IsServerError() bool
IsServerError returns true when this get scope o k response has a 5xx status code
func (*GetScopeOK) IsSuccess ¶
func (o *GetScopeOK) IsSuccess() bool
IsSuccess returns true when this get scope o k response has a 2xx status code
func (*GetScopeOK) String ¶
func (o *GetScopeOK) String() string
type GetScopeParams ¶
type GetScopeParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Scp. Scp string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScopeParams contains all the parameters to send to the API endpoint
for the get scope operation. Typically these are written to a http.Request.
func NewGetScopeParams ¶
func NewGetScopeParams() *GetScopeParams
NewGetScopeParams creates a new GetScopeParams 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 NewGetScopeParamsWithContext ¶
func NewGetScopeParamsWithContext(ctx context.Context) *GetScopeParams
NewGetScopeParamsWithContext creates a new GetScopeParams object with the ability to set a context for a request.
func NewGetScopeParamsWithHTTPClient ¶
func NewGetScopeParamsWithHTTPClient(client *http.Client) *GetScopeParams
NewGetScopeParamsWithHTTPClient creates a new GetScopeParams object with the ability to set a custom HTTPClient for a request.
func NewGetScopeParamsWithTimeout ¶
func NewGetScopeParamsWithTimeout(timeout time.Duration) *GetScopeParams
NewGetScopeParamsWithTimeout creates a new GetScopeParams object with the ability to set a timeout on a request.
func (*GetScopeParams) SetContext ¶
func (o *GetScopeParams) SetContext(ctx context.Context)
SetContext adds the context to the get scope params
func (*GetScopeParams) SetDefaults ¶
func (o *GetScopeParams) SetDefaults()
SetDefaults hydrates default values in the get scope params (not the query body).
All values with no default are reset to their zero value.
func (*GetScopeParams) SetHTTPClient ¶
func (o *GetScopeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scope params
func (*GetScopeParams) SetIfMatch ¶
func (o *GetScopeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get scope params
func (*GetScopeParams) SetScp ¶
func (o *GetScopeParams) SetScp(scp string)
SetScp adds the scp to the get scope params
func (*GetScopeParams) SetTimeout ¶
func (o *GetScopeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scope params
func (*GetScopeParams) WithContext ¶
func (o *GetScopeParams) WithContext(ctx context.Context) *GetScopeParams
WithContext adds the context to the get scope params
func (*GetScopeParams) WithDefaults ¶
func (o *GetScopeParams) WithDefaults() *GetScopeParams
WithDefaults hydrates default values in the get scope params (not the query body).
All values with no default are reset to their zero value.
func (*GetScopeParams) WithHTTPClient ¶
func (o *GetScopeParams) WithHTTPClient(client *http.Client) *GetScopeParams
WithHTTPClient adds the HTTPClient to the get scope params
func (*GetScopeParams) WithIfMatch ¶
func (o *GetScopeParams) WithIfMatch(ifMatch *string) *GetScopeParams
WithIfMatch adds the ifMatch to the get scope params
func (*GetScopeParams) WithScp ¶
func (o *GetScopeParams) WithScp(scp string) *GetScopeParams
WithScp adds the scp to the get scope params
func (*GetScopeParams) WithTimeout ¶
func (o *GetScopeParams) WithTimeout(timeout time.Duration) *GetScopeParams
WithTimeout adds the timeout to the get scope params
func (*GetScopeParams) WriteToRequest ¶
func (o *GetScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScopeReader ¶
type GetScopeReader struct {
// contains filtered or unexported fields
}
GetScopeReader is a Reader for the GetScope structure.
func (*GetScopeReader) ReadResponse ¶
func (o *GetScopeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScopeTooManyRequests ¶
GetScopeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetScopeTooManyRequests ¶
func NewGetScopeTooManyRequests() *GetScopeTooManyRequests
NewGetScopeTooManyRequests creates a GetScopeTooManyRequests with default headers values
func (*GetScopeTooManyRequests) Code ¶
func (o *GetScopeTooManyRequests) Code() int
Code gets the status code for the get scope too many requests response
func (*GetScopeTooManyRequests) Error ¶
func (o *GetScopeTooManyRequests) Error() string
func (*GetScopeTooManyRequests) GetPayload ¶
func (o *GetScopeTooManyRequests) GetPayload() *models.Error
func (*GetScopeTooManyRequests) IsClientError ¶
func (o *GetScopeTooManyRequests) IsClientError() bool
IsClientError returns true when this get scope too many requests response has a 4xx status code
func (*GetScopeTooManyRequests) IsCode ¶
func (o *GetScopeTooManyRequests) IsCode(code int) bool
IsCode returns true when this get scope too many requests response a status code equal to that given
func (*GetScopeTooManyRequests) IsRedirect ¶
func (o *GetScopeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get scope too many requests response has a 3xx status code
func (*GetScopeTooManyRequests) IsServerError ¶
func (o *GetScopeTooManyRequests) IsServerError() bool
IsServerError returns true when this get scope too many requests response has a 5xx status code
func (*GetScopeTooManyRequests) IsSuccess ¶
func (o *GetScopeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scope too many requests response has a 2xx status code
func (*GetScopeTooManyRequests) String ¶
func (o *GetScopeTooManyRequests) String() string
type GetScopeUnauthorized ¶
type GetScopeUnauthorized struct {
}GetScopeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetScopeUnauthorized ¶
func NewGetScopeUnauthorized() *GetScopeUnauthorized
NewGetScopeUnauthorized creates a GetScopeUnauthorized with default headers values
func (*GetScopeUnauthorized) Code ¶
func (o *GetScopeUnauthorized) Code() int
Code gets the status code for the get scope unauthorized response
func (*GetScopeUnauthorized) Error ¶
func (o *GetScopeUnauthorized) Error() string
func (*GetScopeUnauthorized) GetPayload ¶
func (o *GetScopeUnauthorized) GetPayload() *models.Error
func (*GetScopeUnauthorized) IsClientError ¶
func (o *GetScopeUnauthorized) IsClientError() bool
IsClientError returns true when this get scope unauthorized response has a 4xx status code
func (*GetScopeUnauthorized) IsCode ¶
func (o *GetScopeUnauthorized) IsCode(code int) bool
IsCode returns true when this get scope unauthorized response a status code equal to that given
func (*GetScopeUnauthorized) IsRedirect ¶
func (o *GetScopeUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scope unauthorized response has a 3xx status code
func (*GetScopeUnauthorized) IsServerError ¶
func (o *GetScopeUnauthorized) IsServerError() bool
IsServerError returns true when this get scope unauthorized response has a 5xx status code
func (*GetScopeUnauthorized) IsSuccess ¶
func (o *GetScopeUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scope unauthorized response has a 2xx status code
func (*GetScopeUnauthorized) String ¶
func (o *GetScopeUnauthorized) String() string
type ListScopesForbidden ¶
ListScopesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListScopesForbidden ¶
func NewListScopesForbidden() *ListScopesForbidden
NewListScopesForbidden creates a ListScopesForbidden with default headers values
func (*ListScopesForbidden) Code ¶
func (o *ListScopesForbidden) Code() int
Code gets the status code for the list scopes forbidden response
func (*ListScopesForbidden) Error ¶
func (o *ListScopesForbidden) Error() string
func (*ListScopesForbidden) GetPayload ¶
func (o *ListScopesForbidden) GetPayload() *models.Error
func (*ListScopesForbidden) IsClientError ¶
func (o *ListScopesForbidden) IsClientError() bool
IsClientError returns true when this list scopes forbidden response has a 4xx status code
func (*ListScopesForbidden) IsCode ¶
func (o *ListScopesForbidden) IsCode(code int) bool
IsCode returns true when this list scopes forbidden response a status code equal to that given
func (*ListScopesForbidden) IsRedirect ¶
func (o *ListScopesForbidden) IsRedirect() bool
IsRedirect returns true when this list scopes forbidden response has a 3xx status code
func (*ListScopesForbidden) IsServerError ¶
func (o *ListScopesForbidden) IsServerError() bool
IsServerError returns true when this list scopes forbidden response has a 5xx status code
func (*ListScopesForbidden) IsSuccess ¶
func (o *ListScopesForbidden) IsSuccess() bool
IsSuccess returns true when this list scopes forbidden response has a 2xx status code
func (*ListScopesForbidden) String ¶
func (o *ListScopesForbidden) String() string
type ListScopesOK ¶
type ListScopesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScopesWithServices }
ListScopesOK describes a response with status code 200, with default header values.
Scopes with services
func NewListScopesOK ¶
func NewListScopesOK() *ListScopesOK
NewListScopesOK creates a ListScopesOK with default headers values
func (*ListScopesOK) Code ¶
func (o *ListScopesOK) Code() int
Code gets the status code for the list scopes o k response
func (*ListScopesOK) Error ¶
func (o *ListScopesOK) Error() string
func (*ListScopesOK) GetPayload ¶
func (o *ListScopesOK) GetPayload() *models.ScopesWithServices
func (*ListScopesOK) IsClientError ¶
func (o *ListScopesOK) IsClientError() bool
IsClientError returns true when this list scopes o k response has a 4xx status code
func (*ListScopesOK) IsCode ¶
func (o *ListScopesOK) IsCode(code int) bool
IsCode returns true when this list scopes o k response a status code equal to that given
func (*ListScopesOK) IsRedirect ¶
func (o *ListScopesOK) IsRedirect() bool
IsRedirect returns true when this list scopes o k response has a 3xx status code
func (*ListScopesOK) IsServerError ¶
func (o *ListScopesOK) IsServerError() bool
IsServerError returns true when this list scopes o k response has a 5xx status code
func (*ListScopesOK) IsSuccess ¶
func (o *ListScopesOK) IsSuccess() bool
IsSuccess returns true when this list scopes o k response has a 2xx status code
func (*ListScopesOK) String ¶
func (o *ListScopesOK) String() string
type ListScopesParams ¶
type ListScopesParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScopesParams contains all the parameters to send to the API endpoint
for the list scopes operation. Typically these are written to a http.Request.
func NewListScopesParams ¶
func NewListScopesParams() *ListScopesParams
NewListScopesParams creates a new ListScopesParams 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 NewListScopesParamsWithContext ¶
func NewListScopesParamsWithContext(ctx context.Context) *ListScopesParams
NewListScopesParamsWithContext creates a new ListScopesParams object with the ability to set a context for a request.
func NewListScopesParamsWithHTTPClient ¶
func NewListScopesParamsWithHTTPClient(client *http.Client) *ListScopesParams
NewListScopesParamsWithHTTPClient creates a new ListScopesParams object with the ability to set a custom HTTPClient for a request.
func NewListScopesParamsWithTimeout ¶
func NewListScopesParamsWithTimeout(timeout time.Duration) *ListScopesParams
NewListScopesParamsWithTimeout creates a new ListScopesParams object with the ability to set a timeout on a request.
func (*ListScopesParams) SetContext ¶
func (o *ListScopesParams) SetContext(ctx context.Context)
SetContext adds the context to the list scopes params
func (*ListScopesParams) SetDefaults ¶
func (o *ListScopesParams) SetDefaults()
SetDefaults hydrates default values in the list scopes params (not the query body).
All values with no default are reset to their zero value.
func (*ListScopesParams) SetHTTPClient ¶
func (o *ListScopesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scopes params
func (*ListScopesParams) SetIfMatch ¶
func (o *ListScopesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list scopes params
func (*ListScopesParams) SetTimeout ¶
func (o *ListScopesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scopes params
func (*ListScopesParams) SetWid ¶
func (o *ListScopesParams) SetWid(wid string)
SetWid adds the wid to the list scopes params
func (*ListScopesParams) WithContext ¶
func (o *ListScopesParams) WithContext(ctx context.Context) *ListScopesParams
WithContext adds the context to the list scopes params
func (*ListScopesParams) WithDefaults ¶
func (o *ListScopesParams) WithDefaults() *ListScopesParams
WithDefaults hydrates default values in the list scopes params (not the query body).
All values with no default are reset to their zero value.
func (*ListScopesParams) WithHTTPClient ¶
func (o *ListScopesParams) WithHTTPClient(client *http.Client) *ListScopesParams
WithHTTPClient adds the HTTPClient to the list scopes params
func (*ListScopesParams) WithIfMatch ¶
func (o *ListScopesParams) WithIfMatch(ifMatch *string) *ListScopesParams
WithIfMatch adds the ifMatch to the list scopes params
func (*ListScopesParams) WithTimeout ¶
func (o *ListScopesParams) WithTimeout(timeout time.Duration) *ListScopesParams
WithTimeout adds the timeout to the list scopes params
func (*ListScopesParams) WithWid ¶
func (o *ListScopesParams) WithWid(wid string) *ListScopesParams
WithWid adds the wid to the list scopes params
func (*ListScopesParams) WriteToRequest ¶
func (o *ListScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScopesReader ¶
type ListScopesReader struct {
// contains filtered or unexported fields
}
ListScopesReader is a Reader for the ListScopes structure.
func (*ListScopesReader) ReadResponse ¶
func (o *ListScopesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScopesTooManyRequests ¶
ListScopesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListScopesTooManyRequests ¶
func NewListScopesTooManyRequests() *ListScopesTooManyRequests
NewListScopesTooManyRequests creates a ListScopesTooManyRequests with default headers values
func (*ListScopesTooManyRequests) Code ¶
func (o *ListScopesTooManyRequests) Code() int
Code gets the status code for the list scopes too many requests response
func (*ListScopesTooManyRequests) Error ¶
func (o *ListScopesTooManyRequests) Error() string
func (*ListScopesTooManyRequests) GetPayload ¶
func (o *ListScopesTooManyRequests) GetPayload() *models.Error
func (*ListScopesTooManyRequests) IsClientError ¶
func (o *ListScopesTooManyRequests) IsClientError() bool
IsClientError returns true when this list scopes too many requests response has a 4xx status code
func (*ListScopesTooManyRequests) IsCode ¶
func (o *ListScopesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list scopes too many requests response a status code equal to that given
func (*ListScopesTooManyRequests) IsRedirect ¶
func (o *ListScopesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list scopes too many requests response has a 3xx status code
func (*ListScopesTooManyRequests) IsServerError ¶
func (o *ListScopesTooManyRequests) IsServerError() bool
IsServerError returns true when this list scopes too many requests response has a 5xx status code
func (*ListScopesTooManyRequests) IsSuccess ¶
func (o *ListScopesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list scopes too many requests response has a 2xx status code
func (*ListScopesTooManyRequests) String ¶
func (o *ListScopesTooManyRequests) String() string
type ListScopesUnauthorized ¶
type ListScopesUnauthorized struct {
}ListScopesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListScopesUnauthorized ¶
func NewListScopesUnauthorized() *ListScopesUnauthorized
NewListScopesUnauthorized creates a ListScopesUnauthorized with default headers values
func (*ListScopesUnauthorized) Code ¶
func (o *ListScopesUnauthorized) Code() int
Code gets the status code for the list scopes unauthorized response
func (*ListScopesUnauthorized) Error ¶
func (o *ListScopesUnauthorized) Error() string
func (*ListScopesUnauthorized) GetPayload ¶
func (o *ListScopesUnauthorized) GetPayload() *models.Error
func (*ListScopesUnauthorized) IsClientError ¶
func (o *ListScopesUnauthorized) IsClientError() bool
IsClientError returns true when this list scopes unauthorized response has a 4xx status code
func (*ListScopesUnauthorized) IsCode ¶
func (o *ListScopesUnauthorized) IsCode(code int) bool
IsCode returns true when this list scopes unauthorized response a status code equal to that given
func (*ListScopesUnauthorized) IsRedirect ¶
func (o *ListScopesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list scopes unauthorized response has a 3xx status code
func (*ListScopesUnauthorized) IsServerError ¶
func (o *ListScopesUnauthorized) IsServerError() bool
IsServerError returns true when this list scopes unauthorized response has a 5xx status code
func (*ListScopesUnauthorized) IsSuccess ¶
func (o *ListScopesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list scopes unauthorized response has a 2xx status code
func (*ListScopesUnauthorized) String ¶
func (o *ListScopesUnauthorized) String() string
type UpdateScopeBadRequest ¶
UpdateScopeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateScopeBadRequest ¶
func NewUpdateScopeBadRequest() *UpdateScopeBadRequest
NewUpdateScopeBadRequest creates a UpdateScopeBadRequest with default headers values
func (*UpdateScopeBadRequest) Code ¶
func (o *UpdateScopeBadRequest) Code() int
Code gets the status code for the update scope bad request response
func (*UpdateScopeBadRequest) Error ¶
func (o *UpdateScopeBadRequest) Error() string
func (*UpdateScopeBadRequest) GetPayload ¶
func (o *UpdateScopeBadRequest) GetPayload() *models.Error
func (*UpdateScopeBadRequest) IsClientError ¶
func (o *UpdateScopeBadRequest) IsClientError() bool
IsClientError returns true when this update scope bad request response has a 4xx status code
func (*UpdateScopeBadRequest) IsCode ¶
func (o *UpdateScopeBadRequest) IsCode(code int) bool
IsCode returns true when this update scope bad request response a status code equal to that given
func (*UpdateScopeBadRequest) IsRedirect ¶
func (o *UpdateScopeBadRequest) IsRedirect() bool
IsRedirect returns true when this update scope bad request response has a 3xx status code
func (*UpdateScopeBadRequest) IsServerError ¶
func (o *UpdateScopeBadRequest) IsServerError() bool
IsServerError returns true when this update scope bad request response has a 5xx status code
func (*UpdateScopeBadRequest) IsSuccess ¶
func (o *UpdateScopeBadRequest) IsSuccess() bool
IsSuccess returns true when this update scope bad request response has a 2xx status code
func (*UpdateScopeBadRequest) String ¶
func (o *UpdateScopeBadRequest) String() string
type UpdateScopeForbidden ¶
UpdateScopeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateScopeForbidden ¶
func NewUpdateScopeForbidden() *UpdateScopeForbidden
NewUpdateScopeForbidden creates a UpdateScopeForbidden with default headers values
func (*UpdateScopeForbidden) Code ¶
func (o *UpdateScopeForbidden) Code() int
Code gets the status code for the update scope forbidden response
func (*UpdateScopeForbidden) Error ¶
func (o *UpdateScopeForbidden) Error() string
func (*UpdateScopeForbidden) GetPayload ¶
func (o *UpdateScopeForbidden) GetPayload() *models.Error
func (*UpdateScopeForbidden) IsClientError ¶
func (o *UpdateScopeForbidden) IsClientError() bool
IsClientError returns true when this update scope forbidden response has a 4xx status code
func (*UpdateScopeForbidden) IsCode ¶
func (o *UpdateScopeForbidden) IsCode(code int) bool
IsCode returns true when this update scope forbidden response a status code equal to that given
func (*UpdateScopeForbidden) IsRedirect ¶
func (o *UpdateScopeForbidden) IsRedirect() bool
IsRedirect returns true when this update scope forbidden response has a 3xx status code
func (*UpdateScopeForbidden) IsServerError ¶
func (o *UpdateScopeForbidden) IsServerError() bool
IsServerError returns true when this update scope forbidden response has a 5xx status code
func (*UpdateScopeForbidden) IsSuccess ¶
func (o *UpdateScopeForbidden) IsSuccess() bool
IsSuccess returns true when this update scope forbidden response has a 2xx status code
func (*UpdateScopeForbidden) String ¶
func (o *UpdateScopeForbidden) String() string
type UpdateScopeNotFound ¶
UpdateScopeNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateScopeNotFound ¶
func NewUpdateScopeNotFound() *UpdateScopeNotFound
NewUpdateScopeNotFound creates a UpdateScopeNotFound with default headers values
func (*UpdateScopeNotFound) Code ¶
func (o *UpdateScopeNotFound) Code() int
Code gets the status code for the update scope not found response
func (*UpdateScopeNotFound) Error ¶
func (o *UpdateScopeNotFound) Error() string
func (*UpdateScopeNotFound) GetPayload ¶
func (o *UpdateScopeNotFound) GetPayload() *models.Error
func (*UpdateScopeNotFound) IsClientError ¶
func (o *UpdateScopeNotFound) IsClientError() bool
IsClientError returns true when this update scope not found response has a 4xx status code
func (*UpdateScopeNotFound) IsCode ¶
func (o *UpdateScopeNotFound) IsCode(code int) bool
IsCode returns true when this update scope not found response a status code equal to that given
func (*UpdateScopeNotFound) IsRedirect ¶
func (o *UpdateScopeNotFound) IsRedirect() bool
IsRedirect returns true when this update scope not found response has a 3xx status code
func (*UpdateScopeNotFound) IsServerError ¶
func (o *UpdateScopeNotFound) IsServerError() bool
IsServerError returns true when this update scope not found response has a 5xx status code
func (*UpdateScopeNotFound) IsSuccess ¶
func (o *UpdateScopeNotFound) IsSuccess() bool
IsSuccess returns true when this update scope not found response has a 2xx status code
func (*UpdateScopeNotFound) String ¶
func (o *UpdateScopeNotFound) String() string
type UpdateScopeOK ¶
type UpdateScopeOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScopeWithServiceID }
UpdateScopeOK describes a response with status code 200, with default header values.
Scope
func NewUpdateScopeOK ¶
func NewUpdateScopeOK() *UpdateScopeOK
NewUpdateScopeOK creates a UpdateScopeOK with default headers values
func (*UpdateScopeOK) Code ¶
func (o *UpdateScopeOK) Code() int
Code gets the status code for the update scope o k response
func (*UpdateScopeOK) Error ¶
func (o *UpdateScopeOK) Error() string
func (*UpdateScopeOK) GetPayload ¶
func (o *UpdateScopeOK) GetPayload() *models.ScopeWithServiceID
func (*UpdateScopeOK) IsClientError ¶
func (o *UpdateScopeOK) IsClientError() bool
IsClientError returns true when this update scope o k response has a 4xx status code
func (*UpdateScopeOK) IsCode ¶
func (o *UpdateScopeOK) IsCode(code int) bool
IsCode returns true when this update scope o k response a status code equal to that given
func (*UpdateScopeOK) IsRedirect ¶
func (o *UpdateScopeOK) IsRedirect() bool
IsRedirect returns true when this update scope o k response has a 3xx status code
func (*UpdateScopeOK) IsServerError ¶
func (o *UpdateScopeOK) IsServerError() bool
IsServerError returns true when this update scope o k response has a 5xx status code
func (*UpdateScopeOK) IsSuccess ¶
func (o *UpdateScopeOK) IsSuccess() bool
IsSuccess returns true when this update scope o k response has a 2xx status code
func (*UpdateScopeOK) String ¶
func (o *UpdateScopeOK) String() string
type UpdateScopeParams ¶
type UpdateScopeParams struct { // Scope. Scope *models.Scope /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // Scp. Scp string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateScopeParams contains all the parameters to send to the API endpoint
for the update scope operation. Typically these are written to a http.Request.
func NewUpdateScopeParams ¶
func NewUpdateScopeParams() *UpdateScopeParams
NewUpdateScopeParams creates a new UpdateScopeParams 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 NewUpdateScopeParamsWithContext ¶
func NewUpdateScopeParamsWithContext(ctx context.Context) *UpdateScopeParams
NewUpdateScopeParamsWithContext creates a new UpdateScopeParams object with the ability to set a context for a request.
func NewUpdateScopeParamsWithHTTPClient ¶
func NewUpdateScopeParamsWithHTTPClient(client *http.Client) *UpdateScopeParams
NewUpdateScopeParamsWithHTTPClient creates a new UpdateScopeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateScopeParamsWithTimeout ¶
func NewUpdateScopeParamsWithTimeout(timeout time.Duration) *UpdateScopeParams
NewUpdateScopeParamsWithTimeout creates a new UpdateScopeParams object with the ability to set a timeout on a request.
func (*UpdateScopeParams) SetContext ¶
func (o *UpdateScopeParams) SetContext(ctx context.Context)
SetContext adds the context to the update scope params
func (*UpdateScopeParams) SetDefaults ¶
func (o *UpdateScopeParams) SetDefaults()
SetDefaults hydrates default values in the update scope params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScopeParams) SetHTTPClient ¶
func (o *UpdateScopeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update scope params
func (*UpdateScopeParams) SetIfMatch ¶
func (o *UpdateScopeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update scope params
func (*UpdateScopeParams) SetScope ¶
func (o *UpdateScopeParams) SetScope(scope *models.Scope)
SetScope adds the scope to the update scope params
func (*UpdateScopeParams) SetScp ¶
func (o *UpdateScopeParams) SetScp(scp string)
SetScp adds the scp to the update scope params
func (*UpdateScopeParams) SetTimeout ¶
func (o *UpdateScopeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update scope params
func (*UpdateScopeParams) WithContext ¶
func (o *UpdateScopeParams) WithContext(ctx context.Context) *UpdateScopeParams
WithContext adds the context to the update scope params
func (*UpdateScopeParams) WithDefaults ¶
func (o *UpdateScopeParams) WithDefaults() *UpdateScopeParams
WithDefaults hydrates default values in the update scope params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScopeParams) WithHTTPClient ¶
func (o *UpdateScopeParams) WithHTTPClient(client *http.Client) *UpdateScopeParams
WithHTTPClient adds the HTTPClient to the update scope params
func (*UpdateScopeParams) WithIfMatch ¶
func (o *UpdateScopeParams) WithIfMatch(ifMatch *string) *UpdateScopeParams
WithIfMatch adds the ifMatch to the update scope params
func (*UpdateScopeParams) WithScope ¶
func (o *UpdateScopeParams) WithScope(scope *models.Scope) *UpdateScopeParams
WithScope adds the scope to the update scope params
func (*UpdateScopeParams) WithScp ¶
func (o *UpdateScopeParams) WithScp(scp string) *UpdateScopeParams
WithScp adds the scp to the update scope params
func (*UpdateScopeParams) WithTimeout ¶
func (o *UpdateScopeParams) WithTimeout(timeout time.Duration) *UpdateScopeParams
WithTimeout adds the timeout to the update scope params
func (*UpdateScopeParams) WriteToRequest ¶
func (o *UpdateScopeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScopeReader ¶
type UpdateScopeReader struct {
// contains filtered or unexported fields
}
UpdateScopeReader is a Reader for the UpdateScope structure.
func (*UpdateScopeReader) ReadResponse ¶
func (o *UpdateScopeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScopeTooManyRequests ¶
UpdateScopeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateScopeTooManyRequests ¶
func NewUpdateScopeTooManyRequests() *UpdateScopeTooManyRequests
NewUpdateScopeTooManyRequests creates a UpdateScopeTooManyRequests with default headers values
func (*UpdateScopeTooManyRequests) Code ¶
func (o *UpdateScopeTooManyRequests) Code() int
Code gets the status code for the update scope too many requests response
func (*UpdateScopeTooManyRequests) Error ¶
func (o *UpdateScopeTooManyRequests) Error() string
func (*UpdateScopeTooManyRequests) GetPayload ¶
func (o *UpdateScopeTooManyRequests) GetPayload() *models.Error
func (*UpdateScopeTooManyRequests) IsClientError ¶
func (o *UpdateScopeTooManyRequests) IsClientError() bool
IsClientError returns true when this update scope too many requests response has a 4xx status code
func (*UpdateScopeTooManyRequests) IsCode ¶
func (o *UpdateScopeTooManyRequests) IsCode(code int) bool
IsCode returns true when this update scope too many requests response a status code equal to that given
func (*UpdateScopeTooManyRequests) IsRedirect ¶
func (o *UpdateScopeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update scope too many requests response has a 3xx status code
func (*UpdateScopeTooManyRequests) IsServerError ¶
func (o *UpdateScopeTooManyRequests) IsServerError() bool
IsServerError returns true when this update scope too many requests response has a 5xx status code
func (*UpdateScopeTooManyRequests) IsSuccess ¶
func (o *UpdateScopeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update scope too many requests response has a 2xx status code
func (*UpdateScopeTooManyRequests) String ¶
func (o *UpdateScopeTooManyRequests) String() string
type UpdateScopeUnauthorized ¶
type UpdateScopeUnauthorized struct {
}UpdateScopeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateScopeUnauthorized ¶
func NewUpdateScopeUnauthorized() *UpdateScopeUnauthorized
NewUpdateScopeUnauthorized creates a UpdateScopeUnauthorized with default headers values
func (*UpdateScopeUnauthorized) Code ¶
func (o *UpdateScopeUnauthorized) Code() int
Code gets the status code for the update scope unauthorized response
func (*UpdateScopeUnauthorized) Error ¶
func (o *UpdateScopeUnauthorized) Error() string
func (*UpdateScopeUnauthorized) GetPayload ¶
func (o *UpdateScopeUnauthorized) GetPayload() *models.Error
func (*UpdateScopeUnauthorized) IsClientError ¶
func (o *UpdateScopeUnauthorized) IsClientError() bool
IsClientError returns true when this update scope unauthorized response has a 4xx status code
func (*UpdateScopeUnauthorized) IsCode ¶
func (o *UpdateScopeUnauthorized) IsCode(code int) bool
IsCode returns true when this update scope unauthorized response a status code equal to that given
func (*UpdateScopeUnauthorized) IsRedirect ¶
func (o *UpdateScopeUnauthorized) IsRedirect() bool
IsRedirect returns true when this update scope unauthorized response has a 3xx status code
func (*UpdateScopeUnauthorized) IsServerError ¶
func (o *UpdateScopeUnauthorized) IsServerError() bool
IsServerError returns true when this update scope unauthorized response has a 5xx status code
func (*UpdateScopeUnauthorized) IsSuccess ¶
func (o *UpdateScopeUnauthorized) IsSuccess() bool
IsSuccess returns true when this update scope unauthorized response has a 2xx status code
func (*UpdateScopeUnauthorized) String ¶
func (o *UpdateScopeUnauthorized) String() string
type UpdateScopeUnprocessableEntity ¶
UpdateScopeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateScopeUnprocessableEntity ¶
func NewUpdateScopeUnprocessableEntity() *UpdateScopeUnprocessableEntity
NewUpdateScopeUnprocessableEntity creates a UpdateScopeUnprocessableEntity with default headers values
func (*UpdateScopeUnprocessableEntity) Code ¶
func (o *UpdateScopeUnprocessableEntity) Code() int
Code gets the status code for the update scope unprocessable entity response
func (*UpdateScopeUnprocessableEntity) Error ¶
func (o *UpdateScopeUnprocessableEntity) Error() string
func (*UpdateScopeUnprocessableEntity) GetPayload ¶
func (o *UpdateScopeUnprocessableEntity) GetPayload() *models.Error
func (*UpdateScopeUnprocessableEntity) IsClientError ¶
func (o *UpdateScopeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update scope unprocessable entity response has a 4xx status code
func (*UpdateScopeUnprocessableEntity) IsCode ¶
func (o *UpdateScopeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update scope unprocessable entity response a status code equal to that given
func (*UpdateScopeUnprocessableEntity) IsRedirect ¶
func (o *UpdateScopeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update scope unprocessable entity response has a 3xx status code
func (*UpdateScopeUnprocessableEntity) IsServerError ¶
func (o *UpdateScopeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update scope unprocessable entity response has a 5xx status code
func (*UpdateScopeUnprocessableEntity) IsSuccess ¶
func (o *UpdateScopeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update scope unprocessable entity response has a 2xx status code
func (*UpdateScopeUnprocessableEntity) String ¶
func (o *UpdateScopeUnprocessableEntity) String() string