Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCollection(params *CreateCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCollectionCreated, error)
- func (a *Client) DeleteCollection(params *DeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCollectionNoContent, error)
- func (a *Client) DeleteProjectsCollection(params *DeleteProjectsCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectsCollectionNoContent, error)
- func (a *Client) GetCollection(params *GetCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCollectionOK, error)
- func (a *Client) GetCollections(params *GetCollectionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCollectionsOK, error)
- func (a *Client) GetProjectsOfCollection(params *GetProjectsOfCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectsOfCollectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCollection(params *UpdateCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCollectionOK, error)
- func (a *Client) UpdateCollectionWithProjects(params *UpdateCollectionWithProjectsParams, ...) (*UpdateCollectionWithProjectsNoContent, error)
- type ClientOption
- type ClientService
- type CreateCollectionBadRequest
- func (o *CreateCollectionBadRequest) Code() int
- func (o *CreateCollectionBadRequest) Error() string
- func (o *CreateCollectionBadRequest) GetPayload() *CreateCollectionBadRequestBody
- func (o *CreateCollectionBadRequest) IsClientError() bool
- func (o *CreateCollectionBadRequest) IsCode(code int) bool
- func (o *CreateCollectionBadRequest) IsRedirect() bool
- func (o *CreateCollectionBadRequest) IsServerError() bool
- func (o *CreateCollectionBadRequest) IsSuccess() bool
- func (o *CreateCollectionBadRequest) String() string
- type CreateCollectionBadRequestBody
- func (o *CreateCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type CreateCollectionBadRequestBodyErrorsItems0
- func (o *CreateCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionBadRequestBodyErrorsItems0Links
- func (o *CreateCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionBadRequestBodyErrorsItems0Source
- func (o *CreateCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionBadRequestBodyJsonapi
- func (o *CreateCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type CreateCollectionConflict
- func (o *CreateCollectionConflict) Code() int
- func (o *CreateCollectionConflict) Error() string
- func (o *CreateCollectionConflict) GetPayload() *CreateCollectionConflictBody
- func (o *CreateCollectionConflict) IsClientError() bool
- func (o *CreateCollectionConflict) IsCode(code int) bool
- func (o *CreateCollectionConflict) IsRedirect() bool
- func (o *CreateCollectionConflict) IsServerError() bool
- func (o *CreateCollectionConflict) IsSuccess() bool
- func (o *CreateCollectionConflict) String() string
- type CreateCollectionConflictBody
- func (o *CreateCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionConflictBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionConflictBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionConflictBody) Validate(formats strfmt.Registry) error
- type CreateCollectionConflictBodyErrorsItems0
- func (o *CreateCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionConflictBodyErrorsItems0Links
- func (o *CreateCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionConflictBodyErrorsItems0Source
- func (o *CreateCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionConflictBodyJsonapi
- func (o *CreateCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type CreateCollectionCreated
- func (o *CreateCollectionCreated) Code() int
- func (o *CreateCollectionCreated) Error() string
- func (o *CreateCollectionCreated) GetPayload() *CreateCollectionCreatedBody
- func (o *CreateCollectionCreated) IsClientError() bool
- func (o *CreateCollectionCreated) IsCode(code int) bool
- func (o *CreateCollectionCreated) IsRedirect() bool
- func (o *CreateCollectionCreated) IsServerError() bool
- func (o *CreateCollectionCreated) IsSuccess() bool
- func (o *CreateCollectionCreated) String() string
- type CreateCollectionCreatedBody
- func (o *CreateCollectionCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionCreatedBody) Validate(formats strfmt.Registry) error
- type CreateCollectionCreatedBodyData
- func (o *CreateCollectionCreatedBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionCreatedBodyData) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionCreatedBodyData) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionCreatedBodyData) Validate(formats strfmt.Registry) error
- type CreateCollectionForbidden
- func (o *CreateCollectionForbidden) Code() int
- func (o *CreateCollectionForbidden) Error() string
- func (o *CreateCollectionForbidden) GetPayload() *CreateCollectionForbiddenBody
- func (o *CreateCollectionForbidden) IsClientError() bool
- func (o *CreateCollectionForbidden) IsCode(code int) bool
- func (o *CreateCollectionForbidden) IsRedirect() bool
- func (o *CreateCollectionForbidden) IsServerError() bool
- func (o *CreateCollectionForbidden) IsSuccess() bool
- func (o *CreateCollectionForbidden) String() string
- type CreateCollectionForbiddenBody
- func (o *CreateCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type CreateCollectionForbiddenBodyErrorsItems0
- func (o *CreateCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionForbiddenBodyErrorsItems0Links
- func (o *CreateCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionForbiddenBodyErrorsItems0Source
- func (o *CreateCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionForbiddenBodyJsonapi
- func (o *CreateCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type CreateCollectionInternalServerError
- func (o *CreateCollectionInternalServerError) Code() int
- func (o *CreateCollectionInternalServerError) Error() string
- func (o *CreateCollectionInternalServerError) GetPayload() *CreateCollectionInternalServerErrorBody
- func (o *CreateCollectionInternalServerError) IsClientError() bool
- func (o *CreateCollectionInternalServerError) IsCode(code int) bool
- func (o *CreateCollectionInternalServerError) IsRedirect() bool
- func (o *CreateCollectionInternalServerError) IsServerError() bool
- func (o *CreateCollectionInternalServerError) IsSuccess() bool
- func (o *CreateCollectionInternalServerError) String() string
- type CreateCollectionInternalServerErrorBody
- func (o *CreateCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type CreateCollectionInternalServerErrorBodyErrorsItems0
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionInternalServerErrorBodyJsonapi
- func (o *CreateCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type CreateCollectionNotFound
- func (o *CreateCollectionNotFound) Code() int
- func (o *CreateCollectionNotFound) Error() string
- func (o *CreateCollectionNotFound) GetPayload() *CreateCollectionNotFoundBody
- func (o *CreateCollectionNotFound) IsClientError() bool
- func (o *CreateCollectionNotFound) IsCode(code int) bool
- func (o *CreateCollectionNotFound) IsRedirect() bool
- func (o *CreateCollectionNotFound) IsServerError() bool
- func (o *CreateCollectionNotFound) IsSuccess() bool
- func (o *CreateCollectionNotFound) String() string
- type CreateCollectionNotFoundBody
- func (o *CreateCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type CreateCollectionNotFoundBodyErrorsItems0
- func (o *CreateCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionNotFoundBodyErrorsItems0Links
- func (o *CreateCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionNotFoundBodyErrorsItems0Source
- func (o *CreateCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionNotFoundBodyJsonapi
- func (o *CreateCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type CreateCollectionParams
- func NewCreateCollectionParams() *CreateCollectionParams
- func NewCreateCollectionParamsWithContext(ctx context.Context) *CreateCollectionParams
- func NewCreateCollectionParamsWithHTTPClient(client *http.Client) *CreateCollectionParams
- func NewCreateCollectionParamsWithTimeout(timeout time.Duration) *CreateCollectionParams
- func (o *CreateCollectionParams) SetBody(body *models.CreateCollectionRequest)
- func (o *CreateCollectionParams) SetContext(ctx context.Context)
- func (o *CreateCollectionParams) SetDefaults()
- func (o *CreateCollectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *CreateCollectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateCollectionParams) SetVersion(version string)
- func (o *CreateCollectionParams) WithBody(body *models.CreateCollectionRequest) *CreateCollectionParams
- func (o *CreateCollectionParams) WithContext(ctx context.Context) *CreateCollectionParams
- func (o *CreateCollectionParams) WithDefaults() *CreateCollectionParams
- func (o *CreateCollectionParams) WithHTTPClient(client *http.Client) *CreateCollectionParams
- func (o *CreateCollectionParams) WithOrgID(orgID strfmt.UUID) *CreateCollectionParams
- func (o *CreateCollectionParams) WithTimeout(timeout time.Duration) *CreateCollectionParams
- func (o *CreateCollectionParams) WithVersion(version string) *CreateCollectionParams
- func (o *CreateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCollectionReader
- type CreateCollectionUnauthorized
- func (o *CreateCollectionUnauthorized) Code() int
- func (o *CreateCollectionUnauthorized) Error() string
- func (o *CreateCollectionUnauthorized) GetPayload() *CreateCollectionUnauthorizedBody
- func (o *CreateCollectionUnauthorized) IsClientError() bool
- func (o *CreateCollectionUnauthorized) IsCode(code int) bool
- func (o *CreateCollectionUnauthorized) IsRedirect() bool
- func (o *CreateCollectionUnauthorized) IsServerError() bool
- func (o *CreateCollectionUnauthorized) IsSuccess() bool
- func (o *CreateCollectionUnauthorized) String() string
- type CreateCollectionUnauthorizedBody
- func (o *CreateCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type CreateCollectionUnauthorizedBodyErrorsItems0
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type CreateCollectionUnauthorizedBodyErrorsItems0Links
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type CreateCollectionUnauthorizedBodyErrorsItems0Source
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type CreateCollectionUnauthorizedBodyJsonapi
- func (o *CreateCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *CreateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *CreateCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionBadRequest
- func (o *DeleteCollectionBadRequest) Code() int
- func (o *DeleteCollectionBadRequest) Error() string
- func (o *DeleteCollectionBadRequest) GetPayload() *DeleteCollectionBadRequestBody
- func (o *DeleteCollectionBadRequest) IsClientError() bool
- func (o *DeleteCollectionBadRequest) IsCode(code int) bool
- func (o *DeleteCollectionBadRequest) IsRedirect() bool
- func (o *DeleteCollectionBadRequest) IsServerError() bool
- func (o *DeleteCollectionBadRequest) IsSuccess() bool
- func (o *DeleteCollectionBadRequest) String() string
- type DeleteCollectionBadRequestBody
- func (o *DeleteCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionBadRequestBodyErrorsItems0
- func (o *DeleteCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionBadRequestBodyErrorsItems0Links
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionBadRequestBodyErrorsItems0Source
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionBadRequestBodyJsonapi
- func (o *DeleteCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionConflict
- func (o *DeleteCollectionConflict) Code() int
- func (o *DeleteCollectionConflict) Error() string
- func (o *DeleteCollectionConflict) GetPayload() *DeleteCollectionConflictBody
- func (o *DeleteCollectionConflict) IsClientError() bool
- func (o *DeleteCollectionConflict) IsCode(code int) bool
- func (o *DeleteCollectionConflict) IsRedirect() bool
- func (o *DeleteCollectionConflict) IsServerError() bool
- func (o *DeleteCollectionConflict) IsSuccess() bool
- func (o *DeleteCollectionConflict) String() string
- type DeleteCollectionConflictBody
- func (o *DeleteCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionConflictBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionConflictBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionConflictBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionConflictBodyErrorsItems0
- func (o *DeleteCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionConflictBodyErrorsItems0Links
- func (o *DeleteCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionConflictBodyErrorsItems0Source
- func (o *DeleteCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionConflictBodyJsonapi
- func (o *DeleteCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionForbidden
- func (o *DeleteCollectionForbidden) Code() int
- func (o *DeleteCollectionForbidden) Error() string
- func (o *DeleteCollectionForbidden) GetPayload() *DeleteCollectionForbiddenBody
- func (o *DeleteCollectionForbidden) IsClientError() bool
- func (o *DeleteCollectionForbidden) IsCode(code int) bool
- func (o *DeleteCollectionForbidden) IsRedirect() bool
- func (o *DeleteCollectionForbidden) IsServerError() bool
- func (o *DeleteCollectionForbidden) IsSuccess() bool
- func (o *DeleteCollectionForbidden) String() string
- type DeleteCollectionForbiddenBody
- func (o *DeleteCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionForbiddenBodyErrorsItems0
- func (o *DeleteCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionForbiddenBodyErrorsItems0Links
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionForbiddenBodyErrorsItems0Source
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionForbiddenBodyJsonapi
- func (o *DeleteCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionInternalServerError
- func (o *DeleteCollectionInternalServerError) Code() int
- func (o *DeleteCollectionInternalServerError) Error() string
- func (o *DeleteCollectionInternalServerError) GetPayload() *DeleteCollectionInternalServerErrorBody
- func (o *DeleteCollectionInternalServerError) IsClientError() bool
- func (o *DeleteCollectionInternalServerError) IsCode(code int) bool
- func (o *DeleteCollectionInternalServerError) IsRedirect() bool
- func (o *DeleteCollectionInternalServerError) IsServerError() bool
- func (o *DeleteCollectionInternalServerError) IsSuccess() bool
- func (o *DeleteCollectionInternalServerError) String() string
- type DeleteCollectionInternalServerErrorBody
- func (o *DeleteCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionInternalServerErrorBodyErrorsItems0
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionInternalServerErrorBodyJsonapi
- func (o *DeleteCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionNoContent
- func (o *DeleteCollectionNoContent) Code() int
- func (o *DeleteCollectionNoContent) Error() string
- func (o *DeleteCollectionNoContent) IsClientError() bool
- func (o *DeleteCollectionNoContent) IsCode(code int) bool
- func (o *DeleteCollectionNoContent) IsRedirect() bool
- func (o *DeleteCollectionNoContent) IsServerError() bool
- func (o *DeleteCollectionNoContent) IsSuccess() bool
- func (o *DeleteCollectionNoContent) String() string
- type DeleteCollectionNotFound
- func (o *DeleteCollectionNotFound) Code() int
- func (o *DeleteCollectionNotFound) Error() string
- func (o *DeleteCollectionNotFound) GetPayload() *DeleteCollectionNotFoundBody
- func (o *DeleteCollectionNotFound) IsClientError() bool
- func (o *DeleteCollectionNotFound) IsCode(code int) bool
- func (o *DeleteCollectionNotFound) IsRedirect() bool
- func (o *DeleteCollectionNotFound) IsServerError() bool
- func (o *DeleteCollectionNotFound) IsSuccess() bool
- func (o *DeleteCollectionNotFound) String() string
- type DeleteCollectionNotFoundBody
- func (o *DeleteCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionNotFoundBodyErrorsItems0
- func (o *DeleteCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionNotFoundBodyErrorsItems0Links
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionNotFoundBodyErrorsItems0Source
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionNotFoundBodyJsonapi
- func (o *DeleteCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteCollectionParams
- func NewDeleteCollectionParams() *DeleteCollectionParams
- func NewDeleteCollectionParamsWithContext(ctx context.Context) *DeleteCollectionParams
- func NewDeleteCollectionParamsWithHTTPClient(client *http.Client) *DeleteCollectionParams
- func NewDeleteCollectionParamsWithTimeout(timeout time.Duration) *DeleteCollectionParams
- func (o *DeleteCollectionParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *DeleteCollectionParams) SetContext(ctx context.Context)
- func (o *DeleteCollectionParams) SetDefaults()
- func (o *DeleteCollectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *DeleteCollectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCollectionParams) SetVersion(version string)
- func (o *DeleteCollectionParams) WithCollectionID(collectionID strfmt.UUID) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithContext(ctx context.Context) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithDefaults() *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithHTTPClient(client *http.Client) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithOrgID(orgID strfmt.UUID) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithTimeout(timeout time.Duration) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WithVersion(version string) *DeleteCollectionParams
- func (o *DeleteCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCollectionReader
- type DeleteCollectionUnauthorized
- func (o *DeleteCollectionUnauthorized) Code() int
- func (o *DeleteCollectionUnauthorized) Error() string
- func (o *DeleteCollectionUnauthorized) GetPayload() *DeleteCollectionUnauthorizedBody
- func (o *DeleteCollectionUnauthorized) IsClientError() bool
- func (o *DeleteCollectionUnauthorized) IsCode(code int) bool
- func (o *DeleteCollectionUnauthorized) IsRedirect() bool
- func (o *DeleteCollectionUnauthorized) IsServerError() bool
- func (o *DeleteCollectionUnauthorized) IsSuccess() bool
- func (o *DeleteCollectionUnauthorized) String() string
- type DeleteCollectionUnauthorizedBody
- func (o *DeleteCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type DeleteCollectionUnauthorizedBodyErrorsItems0
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteCollectionUnauthorizedBodyErrorsItems0Links
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteCollectionUnauthorizedBodyErrorsItems0Source
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteCollectionUnauthorizedBodyJsonapi
- func (o *DeleteCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionBadRequest
- func (o *DeleteProjectsCollectionBadRequest) Code() int
- func (o *DeleteProjectsCollectionBadRequest) Error() string
- func (o *DeleteProjectsCollectionBadRequest) GetPayload() *DeleteProjectsCollectionBadRequestBody
- func (o *DeleteProjectsCollectionBadRequest) IsClientError() bool
- func (o *DeleteProjectsCollectionBadRequest) IsCode(code int) bool
- func (o *DeleteProjectsCollectionBadRequest) IsRedirect() bool
- func (o *DeleteProjectsCollectionBadRequest) IsServerError() bool
- func (o *DeleteProjectsCollectionBadRequest) IsSuccess() bool
- func (o *DeleteProjectsCollectionBadRequest) String() string
- type DeleteProjectsCollectionBadRequestBody
- func (o *DeleteProjectsCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionBadRequestBodyErrorsItems0
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionBadRequestBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionBadRequestBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionBadRequestBodyJsonapi
- func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionConflict
- func (o *DeleteProjectsCollectionConflict) Code() int
- func (o *DeleteProjectsCollectionConflict) Error() string
- func (o *DeleteProjectsCollectionConflict) GetPayload() *DeleteProjectsCollectionConflictBody
- func (o *DeleteProjectsCollectionConflict) IsClientError() bool
- func (o *DeleteProjectsCollectionConflict) IsCode(code int) bool
- func (o *DeleteProjectsCollectionConflict) IsRedirect() bool
- func (o *DeleteProjectsCollectionConflict) IsServerError() bool
- func (o *DeleteProjectsCollectionConflict) IsSuccess() bool
- func (o *DeleteProjectsCollectionConflict) String() string
- type DeleteProjectsCollectionConflictBody
- func (o *DeleteProjectsCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionConflictBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionConflictBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionConflictBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionConflictBodyErrorsItems0
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionConflictBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionConflictBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionConflictBodyJsonapi
- func (o *DeleteProjectsCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionForbidden
- func (o *DeleteProjectsCollectionForbidden) Code() int
- func (o *DeleteProjectsCollectionForbidden) Error() string
- func (o *DeleteProjectsCollectionForbidden) GetPayload() *DeleteProjectsCollectionForbiddenBody
- func (o *DeleteProjectsCollectionForbidden) IsClientError() bool
- func (o *DeleteProjectsCollectionForbidden) IsCode(code int) bool
- func (o *DeleteProjectsCollectionForbidden) IsRedirect() bool
- func (o *DeleteProjectsCollectionForbidden) IsServerError() bool
- func (o *DeleteProjectsCollectionForbidden) IsSuccess() bool
- func (o *DeleteProjectsCollectionForbidden) String() string
- type DeleteProjectsCollectionForbiddenBody
- func (o *DeleteProjectsCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionForbiddenBodyErrorsItems0
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionForbiddenBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionForbiddenBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionForbiddenBodyJsonapi
- func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionInternalServerError
- func (o *DeleteProjectsCollectionInternalServerError) Code() int
- func (o *DeleteProjectsCollectionInternalServerError) Error() string
- func (o *DeleteProjectsCollectionInternalServerError) GetPayload() *DeleteProjectsCollectionInternalServerErrorBody
- func (o *DeleteProjectsCollectionInternalServerError) IsClientError() bool
- func (o *DeleteProjectsCollectionInternalServerError) IsCode(code int) bool
- func (o *DeleteProjectsCollectionInternalServerError) IsRedirect() bool
- func (o *DeleteProjectsCollectionInternalServerError) IsServerError() bool
- func (o *DeleteProjectsCollectionInternalServerError) IsSuccess() bool
- func (o *DeleteProjectsCollectionInternalServerError) String() string
- type DeleteProjectsCollectionInternalServerErrorBody
- func (o *DeleteProjectsCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionInternalServerErrorBodyJsonapi
- func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionNoContent
- func (o *DeleteProjectsCollectionNoContent) Code() int
- func (o *DeleteProjectsCollectionNoContent) Error() string
- func (o *DeleteProjectsCollectionNoContent) IsClientError() bool
- func (o *DeleteProjectsCollectionNoContent) IsCode(code int) bool
- func (o *DeleteProjectsCollectionNoContent) IsRedirect() bool
- func (o *DeleteProjectsCollectionNoContent) IsServerError() bool
- func (o *DeleteProjectsCollectionNoContent) IsSuccess() bool
- func (o *DeleteProjectsCollectionNoContent) String() string
- type DeleteProjectsCollectionNotFound
- func (o *DeleteProjectsCollectionNotFound) Code() int
- func (o *DeleteProjectsCollectionNotFound) Error() string
- func (o *DeleteProjectsCollectionNotFound) GetPayload() *DeleteProjectsCollectionNotFoundBody
- func (o *DeleteProjectsCollectionNotFound) IsClientError() bool
- func (o *DeleteProjectsCollectionNotFound) IsCode(code int) bool
- func (o *DeleteProjectsCollectionNotFound) IsRedirect() bool
- func (o *DeleteProjectsCollectionNotFound) IsServerError() bool
- func (o *DeleteProjectsCollectionNotFound) IsSuccess() bool
- func (o *DeleteProjectsCollectionNotFound) String() string
- type DeleteProjectsCollectionNotFoundBody
- func (o *DeleteProjectsCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionNotFoundBodyErrorsItems0
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionNotFoundBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionNotFoundBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionNotFoundBodyJsonapi
- func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionParams
- func NewDeleteProjectsCollectionParams() *DeleteProjectsCollectionParams
- func NewDeleteProjectsCollectionParamsWithContext(ctx context.Context) *DeleteProjectsCollectionParams
- func NewDeleteProjectsCollectionParamsWithHTTPClient(client *http.Client) *DeleteProjectsCollectionParams
- func NewDeleteProjectsCollectionParamsWithTimeout(timeout time.Duration) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) SetBody(body *models.DeleteProjectsFromCollectionRequest)
- func (o *DeleteProjectsCollectionParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *DeleteProjectsCollectionParams) SetContext(ctx context.Context)
- func (o *DeleteProjectsCollectionParams) SetDefaults()
- func (o *DeleteProjectsCollectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectsCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *DeleteProjectsCollectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectsCollectionParams) SetVersion(version string)
- func (o *DeleteProjectsCollectionParams) WithBody(body *models.DeleteProjectsFromCollectionRequest) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithCollectionID(collectionID strfmt.UUID) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithContext(ctx context.Context) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithDefaults() *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithHTTPClient(client *http.Client) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithOrgID(orgID strfmt.UUID) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithTimeout(timeout time.Duration) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WithVersion(version string) *DeleteProjectsCollectionParams
- func (o *DeleteProjectsCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectsCollectionReader
- type DeleteProjectsCollectionUnauthorized
- func (o *DeleteProjectsCollectionUnauthorized) Code() int
- func (o *DeleteProjectsCollectionUnauthorized) Error() string
- func (o *DeleteProjectsCollectionUnauthorized) GetPayload() *DeleteProjectsCollectionUnauthorizedBody
- func (o *DeleteProjectsCollectionUnauthorized) IsClientError() bool
- func (o *DeleteProjectsCollectionUnauthorized) IsCode(code int) bool
- func (o *DeleteProjectsCollectionUnauthorized) IsRedirect() bool
- func (o *DeleteProjectsCollectionUnauthorized) IsServerError() bool
- func (o *DeleteProjectsCollectionUnauthorized) IsSuccess() bool
- func (o *DeleteProjectsCollectionUnauthorized) String() string
- type DeleteProjectsCollectionUnauthorizedBody
- func (o *DeleteProjectsCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteProjectsCollectionUnauthorizedBodyJsonapi
- func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionBadRequest
- func (o *GetCollectionBadRequest) Code() int
- func (o *GetCollectionBadRequest) Error() string
- func (o *GetCollectionBadRequest) GetPayload() *GetCollectionBadRequestBody
- func (o *GetCollectionBadRequest) IsClientError() bool
- func (o *GetCollectionBadRequest) IsCode(code int) bool
- func (o *GetCollectionBadRequest) IsRedirect() bool
- func (o *GetCollectionBadRequest) IsServerError() bool
- func (o *GetCollectionBadRequest) IsSuccess() bool
- func (o *GetCollectionBadRequest) String() string
- type GetCollectionBadRequestBody
- func (o *GetCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type GetCollectionBadRequestBodyErrorsItems0
- func (o *GetCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionBadRequestBodyErrorsItems0Links
- func (o *GetCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionBadRequestBodyErrorsItems0Source
- func (o *GetCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionBadRequestBodyJsonapi
- func (o *GetCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionConflict
- func (o *GetCollectionConflict) Code() int
- func (o *GetCollectionConflict) Error() string
- func (o *GetCollectionConflict) GetPayload() *GetCollectionConflictBody
- func (o *GetCollectionConflict) IsClientError() bool
- func (o *GetCollectionConflict) IsCode(code int) bool
- func (o *GetCollectionConflict) IsRedirect() bool
- func (o *GetCollectionConflict) IsServerError() bool
- func (o *GetCollectionConflict) IsSuccess() bool
- func (o *GetCollectionConflict) String() string
- type GetCollectionConflictBody
- func (o *GetCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionConflictBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionConflictBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionConflictBody) Validate(formats strfmt.Registry) error
- type GetCollectionConflictBodyErrorsItems0
- func (o *GetCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionConflictBodyErrorsItems0Links
- func (o *GetCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionConflictBodyErrorsItems0Source
- func (o *GetCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionConflictBodyJsonapi
- func (o *GetCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionForbidden
- func (o *GetCollectionForbidden) Code() int
- func (o *GetCollectionForbidden) Error() string
- func (o *GetCollectionForbidden) GetPayload() *GetCollectionForbiddenBody
- func (o *GetCollectionForbidden) IsClientError() bool
- func (o *GetCollectionForbidden) IsCode(code int) bool
- func (o *GetCollectionForbidden) IsRedirect() bool
- func (o *GetCollectionForbidden) IsServerError() bool
- func (o *GetCollectionForbidden) IsSuccess() bool
- func (o *GetCollectionForbidden) String() string
- type GetCollectionForbiddenBody
- func (o *GetCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type GetCollectionForbiddenBodyErrorsItems0
- func (o *GetCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionForbiddenBodyErrorsItems0Links
- func (o *GetCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionForbiddenBodyErrorsItems0Source
- func (o *GetCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionForbiddenBodyJsonapi
- func (o *GetCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionInternalServerError
- func (o *GetCollectionInternalServerError) Code() int
- func (o *GetCollectionInternalServerError) Error() string
- func (o *GetCollectionInternalServerError) GetPayload() *GetCollectionInternalServerErrorBody
- func (o *GetCollectionInternalServerError) IsClientError() bool
- func (o *GetCollectionInternalServerError) IsCode(code int) bool
- func (o *GetCollectionInternalServerError) IsRedirect() bool
- func (o *GetCollectionInternalServerError) IsServerError() bool
- func (o *GetCollectionInternalServerError) IsSuccess() bool
- func (o *GetCollectionInternalServerError) String() string
- type GetCollectionInternalServerErrorBody
- func (o *GetCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetCollectionInternalServerErrorBodyErrorsItems0
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionInternalServerErrorBodyJsonapi
- func (o *GetCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionNotFound
- func (o *GetCollectionNotFound) Code() int
- func (o *GetCollectionNotFound) Error() string
- func (o *GetCollectionNotFound) GetPayload() *GetCollectionNotFoundBody
- func (o *GetCollectionNotFound) IsClientError() bool
- func (o *GetCollectionNotFound) IsCode(code int) bool
- func (o *GetCollectionNotFound) IsRedirect() bool
- func (o *GetCollectionNotFound) IsServerError() bool
- func (o *GetCollectionNotFound) IsSuccess() bool
- func (o *GetCollectionNotFound) String() string
- type GetCollectionNotFoundBody
- func (o *GetCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type GetCollectionNotFoundBodyErrorsItems0
- func (o *GetCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionNotFoundBodyErrorsItems0Links
- func (o *GetCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionNotFoundBodyErrorsItems0Source
- func (o *GetCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionNotFoundBodyJsonapi
- func (o *GetCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionOK
- func (o *GetCollectionOK) Code() int
- func (o *GetCollectionOK) Error() string
- func (o *GetCollectionOK) GetPayload() *GetCollectionOKBody
- func (o *GetCollectionOK) IsClientError() bool
- func (o *GetCollectionOK) IsCode(code int) bool
- func (o *GetCollectionOK) IsRedirect() bool
- func (o *GetCollectionOK) IsServerError() bool
- func (o *GetCollectionOK) IsSuccess() bool
- func (o *GetCollectionOK) String() string
- type GetCollectionOKBody
- type GetCollectionOKBodyData
- func (o *GetCollectionOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionOKBodyData) MarshalBinary() ([]byte, error)
- func (o *GetCollectionOKBodyData) UnmarshalBinary(b []byte) error
- func (o *GetCollectionOKBodyData) Validate(formats strfmt.Registry) error
- type GetCollectionParams
- func (o *GetCollectionParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *GetCollectionParams) SetContext(ctx context.Context)
- func (o *GetCollectionParams) SetDefaults()
- func (o *GetCollectionParams) SetHTTPClient(client *http.Client)
- func (o *GetCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetCollectionParams) SetTimeout(timeout time.Duration)
- func (o *GetCollectionParams) SetVersion(version string)
- func (o *GetCollectionParams) WithCollectionID(collectionID strfmt.UUID) *GetCollectionParams
- func (o *GetCollectionParams) WithContext(ctx context.Context) *GetCollectionParams
- func (o *GetCollectionParams) WithDefaults() *GetCollectionParams
- func (o *GetCollectionParams) WithHTTPClient(client *http.Client) *GetCollectionParams
- func (o *GetCollectionParams) WithOrgID(orgID strfmt.UUID) *GetCollectionParams
- func (o *GetCollectionParams) WithTimeout(timeout time.Duration) *GetCollectionParams
- func (o *GetCollectionParams) WithVersion(version string) *GetCollectionParams
- func (o *GetCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollectionReader
- type GetCollectionUnauthorized
- func (o *GetCollectionUnauthorized) Code() int
- func (o *GetCollectionUnauthorized) Error() string
- func (o *GetCollectionUnauthorized) GetPayload() *GetCollectionUnauthorizedBody
- func (o *GetCollectionUnauthorized) IsClientError() bool
- func (o *GetCollectionUnauthorized) IsCode(code int) bool
- func (o *GetCollectionUnauthorized) IsRedirect() bool
- func (o *GetCollectionUnauthorized) IsServerError() bool
- func (o *GetCollectionUnauthorized) IsSuccess() bool
- func (o *GetCollectionUnauthorized) String() string
- type GetCollectionUnauthorizedBody
- func (o *GetCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetCollectionUnauthorizedBodyErrorsItems0
- func (o *GetCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionUnauthorizedBodyErrorsItems0Links
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionUnauthorizedBodyErrorsItems0Source
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionUnauthorizedBodyJsonapi
- func (o *GetCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionsBadRequest
- func (o *GetCollectionsBadRequest) Code() int
- func (o *GetCollectionsBadRequest) Error() string
- func (o *GetCollectionsBadRequest) GetPayload() *GetCollectionsBadRequestBody
- func (o *GetCollectionsBadRequest) IsClientError() bool
- func (o *GetCollectionsBadRequest) IsCode(code int) bool
- func (o *GetCollectionsBadRequest) IsRedirect() bool
- func (o *GetCollectionsBadRequest) IsServerError() bool
- func (o *GetCollectionsBadRequest) IsSuccess() bool
- func (o *GetCollectionsBadRequest) String() string
- type GetCollectionsBadRequestBody
- func (o *GetCollectionsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsBadRequestBody) Validate(formats strfmt.Registry) error
- type GetCollectionsBadRequestBodyErrorsItems0
- func (o *GetCollectionsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionsBadRequestBodyErrorsItems0Links
- func (o *GetCollectionsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionsBadRequestBodyErrorsItems0Source
- func (o *GetCollectionsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionsBadRequestBodyJsonapi
- func (o *GetCollectionsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionsForbidden
- func (o *GetCollectionsForbidden) Code() int
- func (o *GetCollectionsForbidden) Error() string
- func (o *GetCollectionsForbidden) GetPayload() *GetCollectionsForbiddenBody
- func (o *GetCollectionsForbidden) IsClientError() bool
- func (o *GetCollectionsForbidden) IsCode(code int) bool
- func (o *GetCollectionsForbidden) IsRedirect() bool
- func (o *GetCollectionsForbidden) IsServerError() bool
- func (o *GetCollectionsForbidden) IsSuccess() bool
- func (o *GetCollectionsForbidden) String() string
- type GetCollectionsForbiddenBody
- func (o *GetCollectionsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsForbiddenBody) Validate(formats strfmt.Registry) error
- type GetCollectionsForbiddenBodyErrorsItems0
- func (o *GetCollectionsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionsForbiddenBodyErrorsItems0Links
- func (o *GetCollectionsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionsForbiddenBodyErrorsItems0Source
- func (o *GetCollectionsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionsForbiddenBodyJsonapi
- func (o *GetCollectionsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionsInternalServerError
- func (o *GetCollectionsInternalServerError) Code() int
- func (o *GetCollectionsInternalServerError) Error() string
- func (o *GetCollectionsInternalServerError) GetPayload() *GetCollectionsInternalServerErrorBody
- func (o *GetCollectionsInternalServerError) IsClientError() bool
- func (o *GetCollectionsInternalServerError) IsCode(code int) bool
- func (o *GetCollectionsInternalServerError) IsRedirect() bool
- func (o *GetCollectionsInternalServerError) IsServerError() bool
- func (o *GetCollectionsInternalServerError) IsSuccess() bool
- func (o *GetCollectionsInternalServerError) String() string
- type GetCollectionsInternalServerErrorBody
- func (o *GetCollectionsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetCollectionsInternalServerErrorBodyErrorsItems0
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionsInternalServerErrorBodyErrorsItems0Links
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionsInternalServerErrorBodyErrorsItems0Source
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionsInternalServerErrorBodyJsonapi
- func (o *GetCollectionsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionsNotFound
- func (o *GetCollectionsNotFound) Code() int
- func (o *GetCollectionsNotFound) Error() string
- func (o *GetCollectionsNotFound) GetPayload() *GetCollectionsNotFoundBody
- func (o *GetCollectionsNotFound) IsClientError() bool
- func (o *GetCollectionsNotFound) IsCode(code int) bool
- func (o *GetCollectionsNotFound) IsRedirect() bool
- func (o *GetCollectionsNotFound) IsServerError() bool
- func (o *GetCollectionsNotFound) IsSuccess() bool
- func (o *GetCollectionsNotFound) String() string
- type GetCollectionsNotFoundBody
- func (o *GetCollectionsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsNotFoundBody) Validate(formats strfmt.Registry) error
- type GetCollectionsNotFoundBodyErrorsItems0
- func (o *GetCollectionsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionsNotFoundBodyErrorsItems0Links
- func (o *GetCollectionsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionsNotFoundBodyErrorsItems0Source
- func (o *GetCollectionsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionsNotFoundBodyJsonapi
- func (o *GetCollectionsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetCollectionsOK
- func (o *GetCollectionsOK) Code() int
- func (o *GetCollectionsOK) Error() string
- func (o *GetCollectionsOK) GetPayload() *GetCollectionsOKBody
- func (o *GetCollectionsOK) IsClientError() bool
- func (o *GetCollectionsOK) IsCode(code int) bool
- func (o *GetCollectionsOK) IsRedirect() bool
- func (o *GetCollectionsOK) IsServerError() bool
- func (o *GetCollectionsOK) IsSuccess() bool
- func (o *GetCollectionsOK) String() string
- type GetCollectionsOKBody
- type GetCollectionsParams
- func NewGetCollectionsParams() *GetCollectionsParams
- func NewGetCollectionsParamsWithContext(ctx context.Context) *GetCollectionsParams
- func NewGetCollectionsParamsWithHTTPClient(client *http.Client) *GetCollectionsParams
- func NewGetCollectionsParamsWithTimeout(timeout time.Duration) *GetCollectionsParams
- func (o *GetCollectionsParams) SetContext(ctx context.Context)
- func (o *GetCollectionsParams) SetDefaults()
- func (o *GetCollectionsParams) SetDirection(direction *string)
- func (o *GetCollectionsParams) SetEndingBefore(endingBefore *string)
- func (o *GetCollectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCollectionsParams) SetIsGenerated(isGenerated bool)
- func (o *GetCollectionsParams) SetLimit(limit *int32)
- func (o *GetCollectionsParams) SetName(name string)
- func (o *GetCollectionsParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetCollectionsParams) SetSort(sort *string)
- func (o *GetCollectionsParams) SetStartingAfter(startingAfter *string)
- func (o *GetCollectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCollectionsParams) SetVersion(version string)
- func (o *GetCollectionsParams) WithContext(ctx context.Context) *GetCollectionsParams
- func (o *GetCollectionsParams) WithDefaults() *GetCollectionsParams
- func (o *GetCollectionsParams) WithDirection(direction *string) *GetCollectionsParams
- func (o *GetCollectionsParams) WithEndingBefore(endingBefore *string) *GetCollectionsParams
- func (o *GetCollectionsParams) WithHTTPClient(client *http.Client) *GetCollectionsParams
- func (o *GetCollectionsParams) WithIsGenerated(isGenerated bool) *GetCollectionsParams
- func (o *GetCollectionsParams) WithLimit(limit *int32) *GetCollectionsParams
- func (o *GetCollectionsParams) WithName(name string) *GetCollectionsParams
- func (o *GetCollectionsParams) WithOrgID(orgID strfmt.UUID) *GetCollectionsParams
- func (o *GetCollectionsParams) WithSort(sort *string) *GetCollectionsParams
- func (o *GetCollectionsParams) WithStartingAfter(startingAfter *string) *GetCollectionsParams
- func (o *GetCollectionsParams) WithTimeout(timeout time.Duration) *GetCollectionsParams
- func (o *GetCollectionsParams) WithVersion(version string) *GetCollectionsParams
- func (o *GetCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollectionsReader
- type GetCollectionsUnauthorized
- func (o *GetCollectionsUnauthorized) Code() int
- func (o *GetCollectionsUnauthorized) Error() string
- func (o *GetCollectionsUnauthorized) GetPayload() *GetCollectionsUnauthorizedBody
- func (o *GetCollectionsUnauthorized) IsClientError() bool
- func (o *GetCollectionsUnauthorized) IsCode(code int) bool
- func (o *GetCollectionsUnauthorized) IsRedirect() bool
- func (o *GetCollectionsUnauthorized) IsServerError() bool
- func (o *GetCollectionsUnauthorized) IsSuccess() bool
- func (o *GetCollectionsUnauthorized) String() string
- type GetCollectionsUnauthorizedBody
- func (o *GetCollectionsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetCollectionsUnauthorizedBodyErrorsItems0
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetCollectionsUnauthorizedBodyErrorsItems0Links
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetCollectionsUnauthorizedBodyErrorsItems0Source
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetCollectionsUnauthorizedBodyJsonapi
- func (o *GetCollectionsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCollectionsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetCollectionsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetCollectionsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionBadRequest
- func (o *GetProjectsOfCollectionBadRequest) Code() int
- func (o *GetProjectsOfCollectionBadRequest) Error() string
- func (o *GetProjectsOfCollectionBadRequest) GetPayload() *GetProjectsOfCollectionBadRequestBody
- func (o *GetProjectsOfCollectionBadRequest) IsClientError() bool
- func (o *GetProjectsOfCollectionBadRequest) IsCode(code int) bool
- func (o *GetProjectsOfCollectionBadRequest) IsRedirect() bool
- func (o *GetProjectsOfCollectionBadRequest) IsServerError() bool
- func (o *GetProjectsOfCollectionBadRequest) IsSuccess() bool
- func (o *GetProjectsOfCollectionBadRequest) String() string
- type GetProjectsOfCollectionBadRequestBody
- func (o *GetProjectsOfCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionBadRequestBodyErrorsItems0
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionBadRequestBodyErrorsItems0Links
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionBadRequestBodyErrorsItems0Source
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionBadRequestBodyJsonapi
- func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionForbidden
- func (o *GetProjectsOfCollectionForbidden) Code() int
- func (o *GetProjectsOfCollectionForbidden) Error() string
- func (o *GetProjectsOfCollectionForbidden) GetPayload() *GetProjectsOfCollectionForbiddenBody
- func (o *GetProjectsOfCollectionForbidden) IsClientError() bool
- func (o *GetProjectsOfCollectionForbidden) IsCode(code int) bool
- func (o *GetProjectsOfCollectionForbidden) IsRedirect() bool
- func (o *GetProjectsOfCollectionForbidden) IsServerError() bool
- func (o *GetProjectsOfCollectionForbidden) IsSuccess() bool
- func (o *GetProjectsOfCollectionForbidden) String() string
- type GetProjectsOfCollectionForbiddenBody
- func (o *GetProjectsOfCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionForbiddenBodyErrorsItems0
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionForbiddenBodyErrorsItems0Links
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionForbiddenBodyErrorsItems0Source
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionForbiddenBodyJsonapi
- func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionInternalServerError
- func (o *GetProjectsOfCollectionInternalServerError) Code() int
- func (o *GetProjectsOfCollectionInternalServerError) Error() string
- func (o *GetProjectsOfCollectionInternalServerError) GetPayload() *GetProjectsOfCollectionInternalServerErrorBody
- func (o *GetProjectsOfCollectionInternalServerError) IsClientError() bool
- func (o *GetProjectsOfCollectionInternalServerError) IsCode(code int) bool
- func (o *GetProjectsOfCollectionInternalServerError) IsRedirect() bool
- func (o *GetProjectsOfCollectionInternalServerError) IsServerError() bool
- func (o *GetProjectsOfCollectionInternalServerError) IsSuccess() bool
- func (o *GetProjectsOfCollectionInternalServerError) String() string
- type GetProjectsOfCollectionInternalServerErrorBody
- func (o *GetProjectsOfCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionInternalServerErrorBodyJsonapi
- func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionNotFound
- func (o *GetProjectsOfCollectionNotFound) Code() int
- func (o *GetProjectsOfCollectionNotFound) Error() string
- func (o *GetProjectsOfCollectionNotFound) GetPayload() *GetProjectsOfCollectionNotFoundBody
- func (o *GetProjectsOfCollectionNotFound) IsClientError() bool
- func (o *GetProjectsOfCollectionNotFound) IsCode(code int) bool
- func (o *GetProjectsOfCollectionNotFound) IsRedirect() bool
- func (o *GetProjectsOfCollectionNotFound) IsServerError() bool
- func (o *GetProjectsOfCollectionNotFound) IsSuccess() bool
- func (o *GetProjectsOfCollectionNotFound) String() string
- type GetProjectsOfCollectionNotFoundBody
- func (o *GetProjectsOfCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionNotFoundBodyErrorsItems0
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionNotFoundBodyErrorsItems0Links
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionNotFoundBodyErrorsItems0Source
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionNotFoundBodyJsonapi
- func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionOK
- func (o *GetProjectsOfCollectionOK) Code() int
- func (o *GetProjectsOfCollectionOK) Error() string
- func (o *GetProjectsOfCollectionOK) GetPayload() *models.GetProjectsOfCollectionResponse
- func (o *GetProjectsOfCollectionOK) IsClientError() bool
- func (o *GetProjectsOfCollectionOK) IsCode(code int) bool
- func (o *GetProjectsOfCollectionOK) IsRedirect() bool
- func (o *GetProjectsOfCollectionOK) IsServerError() bool
- func (o *GetProjectsOfCollectionOK) IsSuccess() bool
- func (o *GetProjectsOfCollectionOK) String() string
- type GetProjectsOfCollectionParams
- func NewGetProjectsOfCollectionParams() *GetProjectsOfCollectionParams
- func NewGetProjectsOfCollectionParamsWithContext(ctx context.Context) *GetProjectsOfCollectionParams
- func NewGetProjectsOfCollectionParamsWithHTTPClient(client *http.Client) *GetProjectsOfCollectionParams
- func NewGetProjectsOfCollectionParamsWithTimeout(timeout time.Duration) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *GetProjectsOfCollectionParams) SetContext(ctx context.Context)
- func (o *GetProjectsOfCollectionParams) SetDefaults()
- func (o *GetProjectsOfCollectionParams) SetDirection(direction *string)
- func (o *GetProjectsOfCollectionParams) SetEndingBefore(endingBefore *string)
- func (o *GetProjectsOfCollectionParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectsOfCollectionParams) SetIntegration(integration []string)
- func (o *GetProjectsOfCollectionParams) SetLimit(limit *int32)
- func (o *GetProjectsOfCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetProjectsOfCollectionParams) SetShow(show []string)
- func (o *GetProjectsOfCollectionParams) SetSort(sort *string)
- func (o *GetProjectsOfCollectionParams) SetStartingAfter(startingAfter *string)
- func (o *GetProjectsOfCollectionParams) SetTargetID(targetID []strfmt.UUID)
- func (o *GetProjectsOfCollectionParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectsOfCollectionParams) SetVersion(version string)
- func (o *GetProjectsOfCollectionParams) WithCollectionID(collectionID strfmt.UUID) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithContext(ctx context.Context) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithDefaults() *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithDirection(direction *string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithEndingBefore(endingBefore *string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithHTTPClient(client *http.Client) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithIntegration(integration []string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithLimit(limit *int32) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithOrgID(orgID strfmt.UUID) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithShow(show []string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithSort(sort *string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithStartingAfter(startingAfter *string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithTargetID(targetID []strfmt.UUID) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithTimeout(timeout time.Duration) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WithVersion(version string) *GetProjectsOfCollectionParams
- func (o *GetProjectsOfCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectsOfCollectionReader
- type GetProjectsOfCollectionUnauthorized
- func (o *GetProjectsOfCollectionUnauthorized) Code() int
- func (o *GetProjectsOfCollectionUnauthorized) Error() string
- func (o *GetProjectsOfCollectionUnauthorized) GetPayload() *GetProjectsOfCollectionUnauthorizedBody
- func (o *GetProjectsOfCollectionUnauthorized) IsClientError() bool
- func (o *GetProjectsOfCollectionUnauthorized) IsCode(code int) bool
- func (o *GetProjectsOfCollectionUnauthorized) IsRedirect() bool
- func (o *GetProjectsOfCollectionUnauthorized) IsServerError() bool
- func (o *GetProjectsOfCollectionUnauthorized) IsSuccess() bool
- func (o *GetProjectsOfCollectionUnauthorized) String() string
- type GetProjectsOfCollectionUnauthorizedBody
- func (o *GetProjectsOfCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionUnauthorizedBodyJsonapi
- func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionBadRequest
- func (o *UpdateCollectionBadRequest) Code() int
- func (o *UpdateCollectionBadRequest) Error() string
- func (o *UpdateCollectionBadRequest) GetPayload() *UpdateCollectionBadRequestBody
- func (o *UpdateCollectionBadRequest) IsClientError() bool
- func (o *UpdateCollectionBadRequest) IsCode(code int) bool
- func (o *UpdateCollectionBadRequest) IsRedirect() bool
- func (o *UpdateCollectionBadRequest) IsServerError() bool
- func (o *UpdateCollectionBadRequest) IsSuccess() bool
- func (o *UpdateCollectionBadRequest) String() string
- type UpdateCollectionBadRequestBody
- func (o *UpdateCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionBadRequestBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionBadRequestBodyErrorsItems0
- func (o *UpdateCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionBadRequestBodyErrorsItems0Links
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionBadRequestBodyErrorsItems0Source
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionBadRequestBodyJsonapi
- func (o *UpdateCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionConflict
- func (o *UpdateCollectionConflict) Code() int
- func (o *UpdateCollectionConflict) Error() string
- func (o *UpdateCollectionConflict) GetPayload() *UpdateCollectionConflictBody
- func (o *UpdateCollectionConflict) IsClientError() bool
- func (o *UpdateCollectionConflict) IsCode(code int) bool
- func (o *UpdateCollectionConflict) IsRedirect() bool
- func (o *UpdateCollectionConflict) IsServerError() bool
- func (o *UpdateCollectionConflict) IsSuccess() bool
- func (o *UpdateCollectionConflict) String() string
- type UpdateCollectionConflictBody
- func (o *UpdateCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionConflictBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionConflictBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionConflictBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionConflictBodyErrorsItems0
- func (o *UpdateCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionConflictBodyErrorsItems0Links
- func (o *UpdateCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionConflictBodyErrorsItems0Source
- func (o *UpdateCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionConflictBodyJsonapi
- func (o *UpdateCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionForbidden
- func (o *UpdateCollectionForbidden) Code() int
- func (o *UpdateCollectionForbidden) Error() string
- func (o *UpdateCollectionForbidden) GetPayload() *UpdateCollectionForbiddenBody
- func (o *UpdateCollectionForbidden) IsClientError() bool
- func (o *UpdateCollectionForbidden) IsCode(code int) bool
- func (o *UpdateCollectionForbidden) IsRedirect() bool
- func (o *UpdateCollectionForbidden) IsServerError() bool
- func (o *UpdateCollectionForbidden) IsSuccess() bool
- func (o *UpdateCollectionForbidden) String() string
- type UpdateCollectionForbiddenBody
- func (o *UpdateCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionForbiddenBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionForbiddenBodyErrorsItems0
- func (o *UpdateCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionForbiddenBodyErrorsItems0Links
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionForbiddenBodyErrorsItems0Source
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionForbiddenBodyJsonapi
- func (o *UpdateCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionInternalServerError
- func (o *UpdateCollectionInternalServerError) Code() int
- func (o *UpdateCollectionInternalServerError) Error() string
- func (o *UpdateCollectionInternalServerError) GetPayload() *UpdateCollectionInternalServerErrorBody
- func (o *UpdateCollectionInternalServerError) IsClientError() bool
- func (o *UpdateCollectionInternalServerError) IsCode(code int) bool
- func (o *UpdateCollectionInternalServerError) IsRedirect() bool
- func (o *UpdateCollectionInternalServerError) IsServerError() bool
- func (o *UpdateCollectionInternalServerError) IsSuccess() bool
- func (o *UpdateCollectionInternalServerError) String() string
- type UpdateCollectionInternalServerErrorBody
- func (o *UpdateCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionInternalServerErrorBodyErrorsItems0
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionInternalServerErrorBodyErrorsItems0Links
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionInternalServerErrorBodyErrorsItems0Source
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionInternalServerErrorBodyJsonapi
- func (o *UpdateCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionNotFound
- func (o *UpdateCollectionNotFound) Code() int
- func (o *UpdateCollectionNotFound) Error() string
- func (o *UpdateCollectionNotFound) GetPayload() *UpdateCollectionNotFoundBody
- func (o *UpdateCollectionNotFound) IsClientError() bool
- func (o *UpdateCollectionNotFound) IsCode(code int) bool
- func (o *UpdateCollectionNotFound) IsRedirect() bool
- func (o *UpdateCollectionNotFound) IsServerError() bool
- func (o *UpdateCollectionNotFound) IsSuccess() bool
- func (o *UpdateCollectionNotFound) String() string
- type UpdateCollectionNotFoundBody
- func (o *UpdateCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionNotFoundBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionNotFoundBodyErrorsItems0
- func (o *UpdateCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionNotFoundBodyErrorsItems0Links
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionNotFoundBodyErrorsItems0Source
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionNotFoundBodyJsonapi
- func (o *UpdateCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionOK
- func (o *UpdateCollectionOK) Code() int
- func (o *UpdateCollectionOK) Error() string
- func (o *UpdateCollectionOK) GetPayload() *UpdateCollectionOKBody
- func (o *UpdateCollectionOK) IsClientError() bool
- func (o *UpdateCollectionOK) IsCode(code int) bool
- func (o *UpdateCollectionOK) IsRedirect() bool
- func (o *UpdateCollectionOK) IsServerError() bool
- func (o *UpdateCollectionOK) IsSuccess() bool
- func (o *UpdateCollectionOK) String() string
- type UpdateCollectionOKBody
- func (o *UpdateCollectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionOKBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionOKBodyData
- func (o *UpdateCollectionOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionOKBodyData) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionOKBodyData) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionOKBodyData) Validate(formats strfmt.Registry) error
- type UpdateCollectionParams
- func NewUpdateCollectionParams() *UpdateCollectionParams
- func NewUpdateCollectionParamsWithContext(ctx context.Context) *UpdateCollectionParams
- func NewUpdateCollectionParamsWithHTTPClient(client *http.Client) *UpdateCollectionParams
- func NewUpdateCollectionParamsWithTimeout(timeout time.Duration) *UpdateCollectionParams
- func (o *UpdateCollectionParams) SetBody(body *models.UpdateCollectionRequest)
- func (o *UpdateCollectionParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *UpdateCollectionParams) SetContext(ctx context.Context)
- func (o *UpdateCollectionParams) SetDefaults()
- func (o *UpdateCollectionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCollectionParams) SetOrgID(orgID strfmt.UUID)
- func (o *UpdateCollectionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCollectionParams) SetVersion(version string)
- func (o *UpdateCollectionParams) WithBody(body *models.UpdateCollectionRequest) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithCollectionID(collectionID strfmt.UUID) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithContext(ctx context.Context) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithDefaults() *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithHTTPClient(client *http.Client) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithOrgID(orgID strfmt.UUID) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithTimeout(timeout time.Duration) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WithVersion(version string) *UpdateCollectionParams
- func (o *UpdateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCollectionReader
- type UpdateCollectionUnauthorized
- func (o *UpdateCollectionUnauthorized) Code() int
- func (o *UpdateCollectionUnauthorized) Error() string
- func (o *UpdateCollectionUnauthorized) GetPayload() *UpdateCollectionUnauthorizedBody
- func (o *UpdateCollectionUnauthorized) IsClientError() bool
- func (o *UpdateCollectionUnauthorized) IsCode(code int) bool
- func (o *UpdateCollectionUnauthorized) IsRedirect() bool
- func (o *UpdateCollectionUnauthorized) IsServerError() bool
- func (o *UpdateCollectionUnauthorized) IsSuccess() bool
- func (o *UpdateCollectionUnauthorized) String() string
- type UpdateCollectionUnauthorizedBody
- func (o *UpdateCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionUnauthorizedBodyErrorsItems0
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionUnauthorizedBodyErrorsItems0Links
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionUnauthorizedBodyErrorsItems0Source
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionUnauthorizedBodyJsonapi
- func (o *UpdateCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsBadRequest
- func (o *UpdateCollectionWithProjectsBadRequest) Code() int
- func (o *UpdateCollectionWithProjectsBadRequest) Error() string
- func (o *UpdateCollectionWithProjectsBadRequest) GetPayload() *UpdateCollectionWithProjectsBadRequestBody
- func (o *UpdateCollectionWithProjectsBadRequest) IsClientError() bool
- func (o *UpdateCollectionWithProjectsBadRequest) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsBadRequest) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsBadRequest) IsServerError() bool
- func (o *UpdateCollectionWithProjectsBadRequest) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsBadRequest) String() string
- type UpdateCollectionWithProjectsBadRequestBody
- func (o *UpdateCollectionWithProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsBadRequestBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsBadRequestBodyJsonapi
- func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsConflict
- func (o *UpdateCollectionWithProjectsConflict) Code() int
- func (o *UpdateCollectionWithProjectsConflict) Error() string
- func (o *UpdateCollectionWithProjectsConflict) GetPayload() *UpdateCollectionWithProjectsConflictBody
- func (o *UpdateCollectionWithProjectsConflict) IsClientError() bool
- func (o *UpdateCollectionWithProjectsConflict) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsConflict) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsConflict) IsServerError() bool
- func (o *UpdateCollectionWithProjectsConflict) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsConflict) String() string
- type UpdateCollectionWithProjectsConflictBody
- func (o *UpdateCollectionWithProjectsConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsConflictBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsConflictBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsConflictBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsConflictBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsConflictBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsConflictBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsConflictBodyJsonapi
- func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsForbidden
- func (o *UpdateCollectionWithProjectsForbidden) Code() int
- func (o *UpdateCollectionWithProjectsForbidden) Error() string
- func (o *UpdateCollectionWithProjectsForbidden) GetPayload() *UpdateCollectionWithProjectsForbiddenBody
- func (o *UpdateCollectionWithProjectsForbidden) IsClientError() bool
- func (o *UpdateCollectionWithProjectsForbidden) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsForbidden) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsForbidden) IsServerError() bool
- func (o *UpdateCollectionWithProjectsForbidden) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsForbidden) String() string
- type UpdateCollectionWithProjectsForbiddenBody
- func (o *UpdateCollectionWithProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsForbiddenBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsForbiddenBodyJsonapi
- func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsInternalServerError
- func (o *UpdateCollectionWithProjectsInternalServerError) Code() int
- func (o *UpdateCollectionWithProjectsInternalServerError) Error() string
- func (o *UpdateCollectionWithProjectsInternalServerError) GetPayload() *UpdateCollectionWithProjectsInternalServerErrorBody
- func (o *UpdateCollectionWithProjectsInternalServerError) IsClientError() bool
- func (o *UpdateCollectionWithProjectsInternalServerError) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsInternalServerError) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsInternalServerError) IsServerError() bool
- func (o *UpdateCollectionWithProjectsInternalServerError) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsInternalServerError) String() string
- type UpdateCollectionWithProjectsInternalServerErrorBody
- func (o *UpdateCollectionWithProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsNoContent
- func (o *UpdateCollectionWithProjectsNoContent) Code() int
- func (o *UpdateCollectionWithProjectsNoContent) Error() string
- func (o *UpdateCollectionWithProjectsNoContent) IsClientError() bool
- func (o *UpdateCollectionWithProjectsNoContent) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsNoContent) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsNoContent) IsServerError() bool
- func (o *UpdateCollectionWithProjectsNoContent) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsNoContent) String() string
- type UpdateCollectionWithProjectsNotFound
- func (o *UpdateCollectionWithProjectsNotFound) Code() int
- func (o *UpdateCollectionWithProjectsNotFound) Error() string
- func (o *UpdateCollectionWithProjectsNotFound) GetPayload() *UpdateCollectionWithProjectsNotFoundBody
- func (o *UpdateCollectionWithProjectsNotFound) IsClientError() bool
- func (o *UpdateCollectionWithProjectsNotFound) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsNotFound) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsNotFound) IsServerError() bool
- func (o *UpdateCollectionWithProjectsNotFound) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsNotFound) String() string
- type UpdateCollectionWithProjectsNotFoundBody
- func (o *UpdateCollectionWithProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsNotFoundBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsNotFoundBodyJsonapi
- func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsParams
- func NewUpdateCollectionWithProjectsParams() *UpdateCollectionWithProjectsParams
- func NewUpdateCollectionWithProjectsParamsWithContext(ctx context.Context) *UpdateCollectionWithProjectsParams
- func NewUpdateCollectionWithProjectsParamsWithHTTPClient(client *http.Client) *UpdateCollectionWithProjectsParams
- func NewUpdateCollectionWithProjectsParamsWithTimeout(timeout time.Duration) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) SetBody(body *models.UpdateCollectionWithProjectsRequest)
- func (o *UpdateCollectionWithProjectsParams) SetCollectionID(collectionID strfmt.UUID)
- func (o *UpdateCollectionWithProjectsParams) SetContext(ctx context.Context)
- func (o *UpdateCollectionWithProjectsParams) SetDefaults()
- func (o *UpdateCollectionWithProjectsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCollectionWithProjectsParams) SetOrgID(orgID strfmt.UUID)
- func (o *UpdateCollectionWithProjectsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCollectionWithProjectsParams) SetVersion(version string)
- func (o *UpdateCollectionWithProjectsParams) WithBody(body *models.UpdateCollectionWithProjectsRequest) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithCollectionID(collectionID strfmt.UUID) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithContext(ctx context.Context) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithDefaults() *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithHTTPClient(client *http.Client) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithOrgID(orgID strfmt.UUID) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithTimeout(timeout time.Duration) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WithVersion(version string) *UpdateCollectionWithProjectsParams
- func (o *UpdateCollectionWithProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCollectionWithProjectsReader
- type UpdateCollectionWithProjectsUnauthorized
- func (o *UpdateCollectionWithProjectsUnauthorized) Code() int
- func (o *UpdateCollectionWithProjectsUnauthorized) Error() string
- func (o *UpdateCollectionWithProjectsUnauthorized) GetPayload() *UpdateCollectionWithProjectsUnauthorizedBody
- func (o *UpdateCollectionWithProjectsUnauthorized) IsClientError() bool
- func (o *UpdateCollectionWithProjectsUnauthorized) IsCode(code int) bool
- func (o *UpdateCollectionWithProjectsUnauthorized) IsRedirect() bool
- func (o *UpdateCollectionWithProjectsUnauthorized) IsServerError() bool
- func (o *UpdateCollectionWithProjectsUnauthorized) IsSuccess() bool
- func (o *UpdateCollectionWithProjectsUnauthorized) String() string
- type UpdateCollectionWithProjectsUnauthorizedBody
- func (o *UpdateCollectionWithProjectsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsUnauthorizedBodyJsonapi
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
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 collection API
func (*Client) CreateCollection ¶
func (a *Client) CreateCollection(params *CreateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCollectionCreated, error)
CreateCollection creates a collection
Create a collection
func (*Client) DeleteCollection ¶
func (a *Client) DeleteCollection(params *DeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCollectionNoContent, error)
DeleteCollection deletes a collection
Delete a collection
func (*Client) DeleteProjectsCollection ¶
func (a *Client) DeleteProjectsCollection(params *DeleteProjectsCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsCollectionNoContent, error)
DeleteProjectsCollection removes projects from a collection
Remove projects from a collection by specifying an array of either project ids or target ids (for targets, the respective projects will be removed)
func (*Client) GetCollection ¶
func (a *Client) GetCollection(params *GetCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionOK, error)
GetCollection gets a collection
Get a collection
func (*Client) GetCollections ¶
func (a *Client) GetCollections(params *GetCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionsOK, error)
GetCollections gets collections
Return a list of organization's collections with issues counts and projects count.
func (*Client) GetProjectsOfCollection ¶
func (a *Client) GetProjectsOfCollection(params *GetProjectsOfCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsOfCollectionOK, error)
GetProjectsOfCollection gets projects from the specified collection
Return a list of organization's projects that are from the specified collection.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCollection ¶
func (a *Client) UpdateCollection(params *UpdateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCollectionOK, error)
UpdateCollection edits a collection
Edit a collection
func (*Client) UpdateCollectionWithProjects ¶
func (a *Client) UpdateCollectionWithProjects(params *UpdateCollectionWithProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCollectionWithProjectsNoContent, error)
UpdateCollectionWithProjects adds projects to a collection
Add projects to a collection by specifying an array of either project ids or target ids (for targets, the respective projects will be added, but they won't be updated when the target changes)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateCollection(params *CreateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCollectionCreated, error) DeleteCollection(params *DeleteCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCollectionNoContent, error) DeleteProjectsCollection(params *DeleteProjectsCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectsCollectionNoContent, error) GetCollection(params *GetCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionOK, error) GetCollections(params *GetCollectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCollectionsOK, error) GetProjectsOfCollection(params *GetProjectsOfCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectsOfCollectionOK, error) UpdateCollection(params *UpdateCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCollectionOK, error) UpdateCollectionWithProjects(params *UpdateCollectionWithProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCollectionWithProjectsNoContent, 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 collection API client.
type CreateCollectionBadRequest ¶
type CreateCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionBadRequestBody }
CreateCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewCreateCollectionBadRequest ¶
func NewCreateCollectionBadRequest() *CreateCollectionBadRequest
NewCreateCollectionBadRequest creates a CreateCollectionBadRequest with default headers values
func (*CreateCollectionBadRequest) Code ¶
func (o *CreateCollectionBadRequest) Code() int
Code gets the status code for the create collection bad request response
func (*CreateCollectionBadRequest) Error ¶
func (o *CreateCollectionBadRequest) Error() string
func (*CreateCollectionBadRequest) GetPayload ¶
func (o *CreateCollectionBadRequest) GetPayload() *CreateCollectionBadRequestBody
func (*CreateCollectionBadRequest) IsClientError ¶
func (o *CreateCollectionBadRequest) IsClientError() bool
IsClientError returns true when this create collection bad request response has a 4xx status code
func (*CreateCollectionBadRequest) IsCode ¶
func (o *CreateCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this create collection bad request response a status code equal to that given
func (*CreateCollectionBadRequest) IsRedirect ¶
func (o *CreateCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this create collection bad request response has a 3xx status code
func (*CreateCollectionBadRequest) IsServerError ¶
func (o *CreateCollectionBadRequest) IsServerError() bool
IsServerError returns true when this create collection bad request response has a 5xx status code
func (*CreateCollectionBadRequest) IsSuccess ¶
func (o *CreateCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this create collection bad request response has a 2xx status code
func (*CreateCollectionBadRequest) String ¶
func (o *CreateCollectionBadRequest) String() string
type CreateCollectionBadRequestBody ¶
type CreateCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *CreateCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
CreateCollectionBadRequestBody create collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionBadRequestBody
func (*CreateCollectionBadRequestBody) ContextValidate ¶
func (o *CreateCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection bad request body based on the context it is used
func (*CreateCollectionBadRequestBody) MarshalBinary ¶
func (o *CreateCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionBadRequestBody) UnmarshalBinary ¶
func (o *CreateCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionBadRequestBodyErrorsItems0 ¶
type CreateCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *CreateCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *CreateCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionBadRequestBodyErrorsItems0 create collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionBadRequestBodyErrorsItems0
func (*CreateCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection bad request body errors items0 based on the context it is used
func (*CreateCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionBadRequestBodyErrorsItems0Links ¶
type CreateCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionBadRequestBodyErrorsItems0Links
func (*CreateCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection bad request body errors items0 links based on context it is used
func (*CreateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionBadRequestBodyErrorsItems0Source ¶
type CreateCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionBadRequestBodyErrorsItems0Source create collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionBadRequestBodyErrorsItems0Source
func (*CreateCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection bad request body errors items0 source based on context it is used
func (*CreateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionBadRequestBodyJsonapi ¶
type CreateCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionBadRequestBodyJsonapi create collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionBadRequestBodyJsonapi
func (*CreateCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection bad request body jsonapi based on context it is used
func (*CreateCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionConflict ¶
type CreateCollectionConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionConflictBody }
CreateCollectionConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewCreateCollectionConflict ¶
func NewCreateCollectionConflict() *CreateCollectionConflict
NewCreateCollectionConflict creates a CreateCollectionConflict with default headers values
func (*CreateCollectionConflict) Code ¶
func (o *CreateCollectionConflict) Code() int
Code gets the status code for the create collection conflict response
func (*CreateCollectionConflict) Error ¶
func (o *CreateCollectionConflict) Error() string
func (*CreateCollectionConflict) GetPayload ¶
func (o *CreateCollectionConflict) GetPayload() *CreateCollectionConflictBody
func (*CreateCollectionConflict) IsClientError ¶
func (o *CreateCollectionConflict) IsClientError() bool
IsClientError returns true when this create collection conflict response has a 4xx status code
func (*CreateCollectionConflict) IsCode ¶
func (o *CreateCollectionConflict) IsCode(code int) bool
IsCode returns true when this create collection conflict response a status code equal to that given
func (*CreateCollectionConflict) IsRedirect ¶
func (o *CreateCollectionConflict) IsRedirect() bool
IsRedirect returns true when this create collection conflict response has a 3xx status code
func (*CreateCollectionConflict) IsServerError ¶
func (o *CreateCollectionConflict) IsServerError() bool
IsServerError returns true when this create collection conflict response has a 5xx status code
func (*CreateCollectionConflict) IsSuccess ¶
func (o *CreateCollectionConflict) IsSuccess() bool
IsSuccess returns true when this create collection conflict response has a 2xx status code
func (*CreateCollectionConflict) String ¶
func (o *CreateCollectionConflict) String() string
type CreateCollectionConflictBody ¶
type CreateCollectionConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *CreateCollectionConflictBodyJsonapi `json:"jsonapi"` }
CreateCollectionConflictBody create collection conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionConflictBody
func (*CreateCollectionConflictBody) ContextValidate ¶
func (o *CreateCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection conflict body based on the context it is used
func (*CreateCollectionConflictBody) MarshalBinary ¶
func (o *CreateCollectionConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionConflictBody) UnmarshalBinary ¶
func (o *CreateCollectionConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionConflictBodyErrorsItems0 ¶
type CreateCollectionConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *CreateCollectionConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *CreateCollectionConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionConflictBodyErrorsItems0 create collection conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionConflictBodyErrorsItems0
func (*CreateCollectionConflictBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection conflict body errors items0 based on the context it is used
func (*CreateCollectionConflictBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionConflictBodyErrorsItems0Links ¶
type CreateCollectionConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionConflictBodyErrorsItems0Links
func (*CreateCollectionConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection conflict body errors items0 links based on context it is used
func (*CreateCollectionConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionConflictBodyErrorsItems0Source ¶
type CreateCollectionConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionConflictBodyErrorsItems0Source create collection conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionConflictBodyErrorsItems0Source
func (*CreateCollectionConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection conflict body errors items0 source based on context it is used
func (*CreateCollectionConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionConflictBodyJsonapi ¶
type CreateCollectionConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionConflictBodyJsonapi create collection conflict body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionConflictBodyJsonapi
func (*CreateCollectionConflictBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection conflict body jsonapi based on context it is used
func (*CreateCollectionConflictBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionConflictBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionCreated ¶
type CreateCollectionCreated struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionCreatedBody }
CreateCollectionCreated describes a response with status code 201, with default header values.
Returned collection
func NewCreateCollectionCreated ¶
func NewCreateCollectionCreated() *CreateCollectionCreated
NewCreateCollectionCreated creates a CreateCollectionCreated with default headers values
func (*CreateCollectionCreated) Code ¶
func (o *CreateCollectionCreated) Code() int
Code gets the status code for the create collection created response
func (*CreateCollectionCreated) Error ¶
func (o *CreateCollectionCreated) Error() string
func (*CreateCollectionCreated) GetPayload ¶
func (o *CreateCollectionCreated) GetPayload() *CreateCollectionCreatedBody
func (*CreateCollectionCreated) IsClientError ¶
func (o *CreateCollectionCreated) IsClientError() bool
IsClientError returns true when this create collection created response has a 4xx status code
func (*CreateCollectionCreated) IsCode ¶
func (o *CreateCollectionCreated) IsCode(code int) bool
IsCode returns true when this create collection created response a status code equal to that given
func (*CreateCollectionCreated) IsRedirect ¶
func (o *CreateCollectionCreated) IsRedirect() bool
IsRedirect returns true when this create collection created response has a 3xx status code
func (*CreateCollectionCreated) IsServerError ¶
func (o *CreateCollectionCreated) IsServerError() bool
IsServerError returns true when this create collection created response has a 5xx status code
func (*CreateCollectionCreated) IsSuccess ¶
func (o *CreateCollectionCreated) IsSuccess() bool
IsSuccess returns true when this create collection created response has a 2xx status code
func (*CreateCollectionCreated) String ¶
func (o *CreateCollectionCreated) String() string
type CreateCollectionCreatedBody ¶
type CreateCollectionCreatedBody struct { // data Data *CreateCollectionCreatedBodyData `json:"data,omitempty"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.SelfLink `json:"links,omitempty"` }
CreateCollectionCreatedBody create collection created body swagger:model CreateCollectionCreatedBody
func (*CreateCollectionCreatedBody) ContextValidate ¶
func (o *CreateCollectionCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection created body based on the context it is used
func (*CreateCollectionCreatedBody) MarshalBinary ¶
func (o *CreateCollectionCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionCreatedBody) UnmarshalBinary ¶
func (o *CreateCollectionCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionCreatedBodyData ¶
type CreateCollectionCreatedBodyData struct { // attributes // Required: true Attributes *models.CollectionAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships // Required: true Relationships *models.CollectionRelationships `json:"relationships"` // type Type models.Types `json:"type,omitempty"` }
CreateCollectionCreatedBodyData collection resource object swagger:model CreateCollectionCreatedBodyData
func (*CreateCollectionCreatedBodyData) ContextValidate ¶
func (o *CreateCollectionCreatedBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection created body data based on the context it is used
func (*CreateCollectionCreatedBodyData) MarshalBinary ¶
func (o *CreateCollectionCreatedBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionCreatedBodyData) UnmarshalBinary ¶
func (o *CreateCollectionCreatedBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionForbidden ¶
type CreateCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionForbiddenBody }
CreateCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewCreateCollectionForbidden ¶
func NewCreateCollectionForbidden() *CreateCollectionForbidden
NewCreateCollectionForbidden creates a CreateCollectionForbidden with default headers values
func (*CreateCollectionForbidden) Code ¶
func (o *CreateCollectionForbidden) Code() int
Code gets the status code for the create collection forbidden response
func (*CreateCollectionForbidden) Error ¶
func (o *CreateCollectionForbidden) Error() string
func (*CreateCollectionForbidden) GetPayload ¶
func (o *CreateCollectionForbidden) GetPayload() *CreateCollectionForbiddenBody
func (*CreateCollectionForbidden) IsClientError ¶
func (o *CreateCollectionForbidden) IsClientError() bool
IsClientError returns true when this create collection forbidden response has a 4xx status code
func (*CreateCollectionForbidden) IsCode ¶
func (o *CreateCollectionForbidden) IsCode(code int) bool
IsCode returns true when this create collection forbidden response a status code equal to that given
func (*CreateCollectionForbidden) IsRedirect ¶
func (o *CreateCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this create collection forbidden response has a 3xx status code
func (*CreateCollectionForbidden) IsServerError ¶
func (o *CreateCollectionForbidden) IsServerError() bool
IsServerError returns true when this create collection forbidden response has a 5xx status code
func (*CreateCollectionForbidden) IsSuccess ¶
func (o *CreateCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this create collection forbidden response has a 2xx status code
func (*CreateCollectionForbidden) String ¶
func (o *CreateCollectionForbidden) String() string
type CreateCollectionForbiddenBody ¶
type CreateCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *CreateCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
CreateCollectionForbiddenBody create collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionForbiddenBody
func (*CreateCollectionForbiddenBody) ContextValidate ¶
func (o *CreateCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection forbidden body based on the context it is used
func (*CreateCollectionForbiddenBody) MarshalBinary ¶
func (o *CreateCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionForbiddenBody) UnmarshalBinary ¶
func (o *CreateCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionForbiddenBodyErrorsItems0 ¶
type CreateCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *CreateCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *CreateCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionForbiddenBodyErrorsItems0 create collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionForbiddenBodyErrorsItems0
func (*CreateCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection forbidden body errors items0 based on the context it is used
func (*CreateCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionForbiddenBodyErrorsItems0Links ¶
type CreateCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionForbiddenBodyErrorsItems0Links
func (*CreateCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection forbidden body errors items0 links based on context it is used
func (*CreateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionForbiddenBodyErrorsItems0Source ¶
type CreateCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionForbiddenBodyErrorsItems0Source create collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionForbiddenBodyErrorsItems0Source
func (*CreateCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection forbidden body errors items0 source based on context it is used
func (*CreateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionForbiddenBodyJsonapi ¶
type CreateCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionForbiddenBodyJsonapi create collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionForbiddenBodyJsonapi
func (*CreateCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection forbidden body jsonapi based on context it is used
func (*CreateCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionInternalServerError ¶
type CreateCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionInternalServerErrorBody }
CreateCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewCreateCollectionInternalServerError ¶
func NewCreateCollectionInternalServerError() *CreateCollectionInternalServerError
NewCreateCollectionInternalServerError creates a CreateCollectionInternalServerError with default headers values
func (*CreateCollectionInternalServerError) Code ¶
func (o *CreateCollectionInternalServerError) Code() int
Code gets the status code for the create collection internal server error response
func (*CreateCollectionInternalServerError) Error ¶
func (o *CreateCollectionInternalServerError) Error() string
func (*CreateCollectionInternalServerError) GetPayload ¶
func (o *CreateCollectionInternalServerError) GetPayload() *CreateCollectionInternalServerErrorBody
func (*CreateCollectionInternalServerError) IsClientError ¶
func (o *CreateCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this create collection internal server error response has a 4xx status code
func (*CreateCollectionInternalServerError) IsCode ¶
func (o *CreateCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this create collection internal server error response a status code equal to that given
func (*CreateCollectionInternalServerError) IsRedirect ¶
func (o *CreateCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this create collection internal server error response has a 3xx status code
func (*CreateCollectionInternalServerError) IsServerError ¶
func (o *CreateCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this create collection internal server error response has a 5xx status code
func (*CreateCollectionInternalServerError) IsSuccess ¶
func (o *CreateCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create collection internal server error response has a 2xx status code
func (*CreateCollectionInternalServerError) String ¶
func (o *CreateCollectionInternalServerError) String() string
type CreateCollectionInternalServerErrorBody ¶
type CreateCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *CreateCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
CreateCollectionInternalServerErrorBody create collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionInternalServerErrorBody
func (*CreateCollectionInternalServerErrorBody) ContextValidate ¶
func (o *CreateCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection internal server error body based on the context it is used
func (*CreateCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionInternalServerErrorBodyErrorsItems0 ¶
type CreateCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *CreateCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *CreateCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionInternalServerErrorBodyErrorsItems0 create collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionInternalServerErrorBodyErrorsItems0
func (*CreateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection internal server error body errors items0 based on the context it is used
func (*CreateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionInternalServerErrorBodyErrorsItems0Links ¶
type CreateCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionInternalServerErrorBodyErrorsItems0Links
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection internal server error body errors items0 links based on context it is used
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionInternalServerErrorBodyErrorsItems0Source ¶
type CreateCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionInternalServerErrorBodyErrorsItems0Source create collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionInternalServerErrorBodyErrorsItems0Source
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection internal server error body errors items0 source based on context it is used
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionInternalServerErrorBodyJsonapi ¶
type CreateCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionInternalServerErrorBodyJsonapi create collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionInternalServerErrorBodyJsonapi
func (*CreateCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection internal server error body jsonapi based on context it is used
func (*CreateCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionNotFound ¶
type CreateCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *CreateCollectionNotFoundBody }
CreateCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewCreateCollectionNotFound ¶
func NewCreateCollectionNotFound() *CreateCollectionNotFound
NewCreateCollectionNotFound creates a CreateCollectionNotFound with default headers values
func (*CreateCollectionNotFound) Code ¶
func (o *CreateCollectionNotFound) Code() int
Code gets the status code for the create collection not found response
func (*CreateCollectionNotFound) Error ¶
func (o *CreateCollectionNotFound) Error() string
func (*CreateCollectionNotFound) GetPayload ¶
func (o *CreateCollectionNotFound) GetPayload() *CreateCollectionNotFoundBody
func (*CreateCollectionNotFound) IsClientError ¶
func (o *CreateCollectionNotFound) IsClientError() bool
IsClientError returns true when this create collection not found response has a 4xx status code
func (*CreateCollectionNotFound) IsCode ¶
func (o *CreateCollectionNotFound) IsCode(code int) bool
IsCode returns true when this create collection not found response a status code equal to that given
func (*CreateCollectionNotFound) IsRedirect ¶
func (o *CreateCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this create collection not found response has a 3xx status code
func (*CreateCollectionNotFound) IsServerError ¶
func (o *CreateCollectionNotFound) IsServerError() bool
IsServerError returns true when this create collection not found response has a 5xx status code
func (*CreateCollectionNotFound) IsSuccess ¶
func (o *CreateCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this create collection not found response has a 2xx status code
func (*CreateCollectionNotFound) String ¶
func (o *CreateCollectionNotFound) String() string
type CreateCollectionNotFoundBody ¶
type CreateCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *CreateCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
CreateCollectionNotFoundBody create collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionNotFoundBody
func (*CreateCollectionNotFoundBody) ContextValidate ¶
func (o *CreateCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection not found body based on the context it is used
func (*CreateCollectionNotFoundBody) MarshalBinary ¶
func (o *CreateCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionNotFoundBody) UnmarshalBinary ¶
func (o *CreateCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionNotFoundBodyErrorsItems0 ¶
type CreateCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *CreateCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *CreateCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionNotFoundBodyErrorsItems0 create collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionNotFoundBodyErrorsItems0
func (*CreateCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection not found body errors items0 based on the context it is used
func (*CreateCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionNotFoundBodyErrorsItems0Links ¶
type CreateCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionNotFoundBodyErrorsItems0Links
func (*CreateCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection not found body errors items0 links based on context it is used
func (*CreateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionNotFoundBodyErrorsItems0Source ¶
type CreateCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionNotFoundBodyErrorsItems0Source create collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionNotFoundBodyErrorsItems0Source
func (*CreateCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection not found body errors items0 source based on context it is used
func (*CreateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionNotFoundBodyJsonapi ¶
type CreateCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionNotFoundBodyJsonapi create collection not found body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionNotFoundBodyJsonapi
func (*CreateCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection not found body jsonapi based on context it is used
func (*CreateCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionParams ¶
type CreateCollectionParams struct { // Body. Body *models.CreateCollectionRequest /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCollectionParams contains all the parameters to send to the API endpoint
for the create collection operation. Typically these are written to a http.Request.
func NewCreateCollectionParams ¶
func NewCreateCollectionParams() *CreateCollectionParams
NewCreateCollectionParams creates a new CreateCollectionParams 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 NewCreateCollectionParamsWithContext ¶
func NewCreateCollectionParamsWithContext(ctx context.Context) *CreateCollectionParams
NewCreateCollectionParamsWithContext creates a new CreateCollectionParams object with the ability to set a context for a request.
func NewCreateCollectionParamsWithHTTPClient ¶
func NewCreateCollectionParamsWithHTTPClient(client *http.Client) *CreateCollectionParams
NewCreateCollectionParamsWithHTTPClient creates a new CreateCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCollectionParamsWithTimeout ¶
func NewCreateCollectionParamsWithTimeout(timeout time.Duration) *CreateCollectionParams
NewCreateCollectionParamsWithTimeout creates a new CreateCollectionParams object with the ability to set a timeout on a request.
func (*CreateCollectionParams) SetBody ¶
func (o *CreateCollectionParams) SetBody(body *models.CreateCollectionRequest)
SetBody adds the body to the create collection params
func (*CreateCollectionParams) SetContext ¶
func (o *CreateCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the create collection params
func (*CreateCollectionParams) SetDefaults ¶
func (o *CreateCollectionParams) SetDefaults()
SetDefaults hydrates default values in the create collection params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCollectionParams) SetHTTPClient ¶
func (o *CreateCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create collection params
func (*CreateCollectionParams) SetOrgID ¶
func (o *CreateCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the create collection params
func (*CreateCollectionParams) SetTimeout ¶
func (o *CreateCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create collection params
func (*CreateCollectionParams) SetVersion ¶
func (o *CreateCollectionParams) SetVersion(version string)
SetVersion adds the version to the create collection params
func (*CreateCollectionParams) WithBody ¶
func (o *CreateCollectionParams) WithBody(body *models.CreateCollectionRequest) *CreateCollectionParams
WithBody adds the body to the create collection params
func (*CreateCollectionParams) WithContext ¶
func (o *CreateCollectionParams) WithContext(ctx context.Context) *CreateCollectionParams
WithContext adds the context to the create collection params
func (*CreateCollectionParams) WithDefaults ¶
func (o *CreateCollectionParams) WithDefaults() *CreateCollectionParams
WithDefaults hydrates default values in the create collection params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCollectionParams) WithHTTPClient ¶
func (o *CreateCollectionParams) WithHTTPClient(client *http.Client) *CreateCollectionParams
WithHTTPClient adds the HTTPClient to the create collection params
func (*CreateCollectionParams) WithOrgID ¶
func (o *CreateCollectionParams) WithOrgID(orgID strfmt.UUID) *CreateCollectionParams
WithOrgID adds the orgID to the create collection params
func (*CreateCollectionParams) WithTimeout ¶
func (o *CreateCollectionParams) WithTimeout(timeout time.Duration) *CreateCollectionParams
WithTimeout adds the timeout to the create collection params
func (*CreateCollectionParams) WithVersion ¶
func (o *CreateCollectionParams) WithVersion(version string) *CreateCollectionParams
WithVersion adds the version to the create collection params
func (*CreateCollectionParams) WriteToRequest ¶
func (o *CreateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCollectionReader ¶
type CreateCollectionReader struct {
// contains filtered or unexported fields
}
CreateCollectionReader is a Reader for the CreateCollection structure.
func (*CreateCollectionReader) ReadResponse ¶
func (o *CreateCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCollectionUnauthorized ¶
type CreateCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
CreateCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewCreateCollectionUnauthorized ¶
func NewCreateCollectionUnauthorized() *CreateCollectionUnauthorized
NewCreateCollectionUnauthorized creates a CreateCollectionUnauthorized with default headers values
func (*CreateCollectionUnauthorized) Code ¶
func (o *CreateCollectionUnauthorized) Code() int
Code gets the status code for the create collection unauthorized response
func (*CreateCollectionUnauthorized) Error ¶
func (o *CreateCollectionUnauthorized) Error() string
func (*CreateCollectionUnauthorized) GetPayload ¶
func (o *CreateCollectionUnauthorized) GetPayload() *CreateCollectionUnauthorizedBody
func (*CreateCollectionUnauthorized) IsClientError ¶
func (o *CreateCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this create collection unauthorized response has a 4xx status code
func (*CreateCollectionUnauthorized) IsCode ¶
func (o *CreateCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this create collection unauthorized response a status code equal to that given
func (*CreateCollectionUnauthorized) IsRedirect ¶
func (o *CreateCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this create collection unauthorized response has a 3xx status code
func (*CreateCollectionUnauthorized) IsServerError ¶
func (o *CreateCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this create collection unauthorized response has a 5xx status code
func (*CreateCollectionUnauthorized) IsSuccess ¶
func (o *CreateCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this create collection unauthorized response has a 2xx status code
func (*CreateCollectionUnauthorized) String ¶
func (o *CreateCollectionUnauthorized) String() string
type CreateCollectionUnauthorizedBody ¶
type CreateCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*CreateCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *CreateCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
CreateCollectionUnauthorizedBody create collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateCollectionUnauthorizedBody
func (*CreateCollectionUnauthorizedBody) ContextValidate ¶
func (o *CreateCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection unauthorized body based on the context it is used
func (*CreateCollectionUnauthorizedBody) MarshalBinary ¶
func (o *CreateCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *CreateCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionUnauthorizedBodyErrorsItems0 ¶
type CreateCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *CreateCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *CreateCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
CreateCollectionUnauthorizedBodyErrorsItems0 create collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionUnauthorizedBodyErrorsItems0
func (*CreateCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection unauthorized body errors items0 based on the context it is used
func (*CreateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionUnauthorizedBodyErrorsItems0Links ¶
type CreateCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
CreateCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model CreateCollectionUnauthorizedBodyErrorsItems0Links
func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection unauthorized body errors items0 links based on context it is used
func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionUnauthorizedBodyErrorsItems0Source ¶
type CreateCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
CreateCollectionUnauthorizedBodyErrorsItems0Source create collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionUnauthorizedBodyErrorsItems0Source
func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection unauthorized body errors items0 source based on context it is used
func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionUnauthorizedBodyJsonapi ¶
type CreateCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
CreateCollectionUnauthorizedBodyJsonapi create collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionUnauthorizedBodyJsonapi
func (*CreateCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *CreateCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create collection unauthorized body jsonapi based on context it is used
func (*CreateCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *CreateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionBadRequest ¶
type DeleteCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteCollectionBadRequestBody }
DeleteCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewDeleteCollectionBadRequest ¶
func NewDeleteCollectionBadRequest() *DeleteCollectionBadRequest
NewDeleteCollectionBadRequest creates a DeleteCollectionBadRequest with default headers values
func (*DeleteCollectionBadRequest) Code ¶
func (o *DeleteCollectionBadRequest) Code() int
Code gets the status code for the delete collection bad request response
func (*DeleteCollectionBadRequest) Error ¶
func (o *DeleteCollectionBadRequest) Error() string
func (*DeleteCollectionBadRequest) GetPayload ¶
func (o *DeleteCollectionBadRequest) GetPayload() *DeleteCollectionBadRequestBody
func (*DeleteCollectionBadRequest) IsClientError ¶
func (o *DeleteCollectionBadRequest) IsClientError() bool
IsClientError returns true when this delete collection bad request response has a 4xx status code
func (*DeleteCollectionBadRequest) IsCode ¶
func (o *DeleteCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this delete collection bad request response a status code equal to that given
func (*DeleteCollectionBadRequest) IsRedirect ¶
func (o *DeleteCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete collection bad request response has a 3xx status code
func (*DeleteCollectionBadRequest) IsServerError ¶
func (o *DeleteCollectionBadRequest) IsServerError() bool
IsServerError returns true when this delete collection bad request response has a 5xx status code
func (*DeleteCollectionBadRequest) IsSuccess ¶
func (o *DeleteCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete collection bad request response has a 2xx status code
func (*DeleteCollectionBadRequest) String ¶
func (o *DeleteCollectionBadRequest) String() string
type DeleteCollectionBadRequestBody ¶
type DeleteCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
DeleteCollectionBadRequestBody delete collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionBadRequestBody
func (*DeleteCollectionBadRequestBody) ContextValidate ¶
func (o *DeleteCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection bad request body based on the context it is used
func (*DeleteCollectionBadRequestBody) MarshalBinary ¶
func (o *DeleteCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionBadRequestBody) UnmarshalBinary ¶
func (o *DeleteCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionBadRequestBodyErrorsItems0 ¶
type DeleteCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionBadRequestBodyErrorsItems0 delete collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionBadRequestBodyErrorsItems0
func (*DeleteCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection bad request body errors items0 based on the context it is used
func (*DeleteCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionBadRequestBodyErrorsItems0Links ¶
type DeleteCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionBadRequestBodyErrorsItems0Links
func (*DeleteCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection bad request body errors items0 links based on context it is used
func (*DeleteCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionBadRequestBodyErrorsItems0Source ¶
type DeleteCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionBadRequestBodyErrorsItems0Source delete collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionBadRequestBodyErrorsItems0Source
func (*DeleteCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection bad request body errors items0 source based on context it is used
func (*DeleteCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionBadRequestBodyJsonapi ¶
type DeleteCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionBadRequestBodyJsonapi delete collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionBadRequestBodyJsonapi
func (*DeleteCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection bad request body jsonapi based on context it is used
func (*DeleteCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionConflict ¶
type DeleteCollectionConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteCollectionConflictBody }
DeleteCollectionConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewDeleteCollectionConflict ¶
func NewDeleteCollectionConflict() *DeleteCollectionConflict
NewDeleteCollectionConflict creates a DeleteCollectionConflict with default headers values
func (*DeleteCollectionConflict) Code ¶
func (o *DeleteCollectionConflict) Code() int
Code gets the status code for the delete collection conflict response
func (*DeleteCollectionConflict) Error ¶
func (o *DeleteCollectionConflict) Error() string
func (*DeleteCollectionConflict) GetPayload ¶
func (o *DeleteCollectionConflict) GetPayload() *DeleteCollectionConflictBody
func (*DeleteCollectionConflict) IsClientError ¶
func (o *DeleteCollectionConflict) IsClientError() bool
IsClientError returns true when this delete collection conflict response has a 4xx status code
func (*DeleteCollectionConflict) IsCode ¶
func (o *DeleteCollectionConflict) IsCode(code int) bool
IsCode returns true when this delete collection conflict response a status code equal to that given
func (*DeleteCollectionConflict) IsRedirect ¶
func (o *DeleteCollectionConflict) IsRedirect() bool
IsRedirect returns true when this delete collection conflict response has a 3xx status code
func (*DeleteCollectionConflict) IsServerError ¶
func (o *DeleteCollectionConflict) IsServerError() bool
IsServerError returns true when this delete collection conflict response has a 5xx status code
func (*DeleteCollectionConflict) IsSuccess ¶
func (o *DeleteCollectionConflict) IsSuccess() bool
IsSuccess returns true when this delete collection conflict response has a 2xx status code
func (*DeleteCollectionConflict) String ¶
func (o *DeleteCollectionConflict) String() string
type DeleteCollectionConflictBody ¶
type DeleteCollectionConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteCollectionConflictBodyJsonapi `json:"jsonapi"` }
DeleteCollectionConflictBody delete collection conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionConflictBody
func (*DeleteCollectionConflictBody) ContextValidate ¶
func (o *DeleteCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection conflict body based on the context it is used
func (*DeleteCollectionConflictBody) MarshalBinary ¶
func (o *DeleteCollectionConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionConflictBody) UnmarshalBinary ¶
func (o *DeleteCollectionConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionConflictBodyErrorsItems0 ¶
type DeleteCollectionConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteCollectionConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteCollectionConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionConflictBodyErrorsItems0 delete collection conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionConflictBodyErrorsItems0
func (*DeleteCollectionConflictBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection conflict body errors items0 based on the context it is used
func (*DeleteCollectionConflictBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionConflictBodyErrorsItems0Links ¶
type DeleteCollectionConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionConflictBodyErrorsItems0Links
func (*DeleteCollectionConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection conflict body errors items0 links based on context it is used
func (*DeleteCollectionConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionConflictBodyErrorsItems0Source ¶
type DeleteCollectionConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionConflictBodyErrorsItems0Source delete collection conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionConflictBodyErrorsItems0Source
func (*DeleteCollectionConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection conflict body errors items0 source based on context it is used
func (*DeleteCollectionConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionConflictBodyJsonapi ¶
type DeleteCollectionConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionConflictBodyJsonapi delete collection conflict body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionConflictBodyJsonapi
func (*DeleteCollectionConflictBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection conflict body jsonapi based on context it is used
func (*DeleteCollectionConflictBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionConflictBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionForbidden ¶
type DeleteCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteCollectionForbiddenBody }
DeleteCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewDeleteCollectionForbidden ¶
func NewDeleteCollectionForbidden() *DeleteCollectionForbidden
NewDeleteCollectionForbidden creates a DeleteCollectionForbidden with default headers values
func (*DeleteCollectionForbidden) Code ¶
func (o *DeleteCollectionForbidden) Code() int
Code gets the status code for the delete collection forbidden response
func (*DeleteCollectionForbidden) Error ¶
func (o *DeleteCollectionForbidden) Error() string
func (*DeleteCollectionForbidden) GetPayload ¶
func (o *DeleteCollectionForbidden) GetPayload() *DeleteCollectionForbiddenBody
func (*DeleteCollectionForbidden) IsClientError ¶
func (o *DeleteCollectionForbidden) IsClientError() bool
IsClientError returns true when this delete collection forbidden response has a 4xx status code
func (*DeleteCollectionForbidden) IsCode ¶
func (o *DeleteCollectionForbidden) IsCode(code int) bool
IsCode returns true when this delete collection forbidden response a status code equal to that given
func (*DeleteCollectionForbidden) IsRedirect ¶
func (o *DeleteCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this delete collection forbidden response has a 3xx status code
func (*DeleteCollectionForbidden) IsServerError ¶
func (o *DeleteCollectionForbidden) IsServerError() bool
IsServerError returns true when this delete collection forbidden response has a 5xx status code
func (*DeleteCollectionForbidden) IsSuccess ¶
func (o *DeleteCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this delete collection forbidden response has a 2xx status code
func (*DeleteCollectionForbidden) String ¶
func (o *DeleteCollectionForbidden) String() string
type DeleteCollectionForbiddenBody ¶
type DeleteCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
DeleteCollectionForbiddenBody delete collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionForbiddenBody
func (*DeleteCollectionForbiddenBody) ContextValidate ¶
func (o *DeleteCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection forbidden body based on the context it is used
func (*DeleteCollectionForbiddenBody) MarshalBinary ¶
func (o *DeleteCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionForbiddenBody) UnmarshalBinary ¶
func (o *DeleteCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionForbiddenBodyErrorsItems0 ¶
type DeleteCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionForbiddenBodyErrorsItems0 delete collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionForbiddenBodyErrorsItems0
func (*DeleteCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection forbidden body errors items0 based on the context it is used
func (*DeleteCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionForbiddenBodyErrorsItems0Links ¶
type DeleteCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionForbiddenBodyErrorsItems0Links
func (*DeleteCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection forbidden body errors items0 links based on context it is used
func (*DeleteCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionForbiddenBodyErrorsItems0Source ¶
type DeleteCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionForbiddenBodyErrorsItems0Source delete collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionForbiddenBodyErrorsItems0Source
func (*DeleteCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection forbidden body errors items0 source based on context it is used
func (*DeleteCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionForbiddenBodyJsonapi ¶
type DeleteCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionForbiddenBodyJsonapi delete collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionForbiddenBodyJsonapi
func (*DeleteCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection forbidden body jsonapi based on context it is used
func (*DeleteCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionInternalServerError ¶
type DeleteCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteCollectionInternalServerErrorBody }
DeleteCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewDeleteCollectionInternalServerError ¶
func NewDeleteCollectionInternalServerError() *DeleteCollectionInternalServerError
NewDeleteCollectionInternalServerError creates a DeleteCollectionInternalServerError with default headers values
func (*DeleteCollectionInternalServerError) Code ¶
func (o *DeleteCollectionInternalServerError) Code() int
Code gets the status code for the delete collection internal server error response
func (*DeleteCollectionInternalServerError) Error ¶
func (o *DeleteCollectionInternalServerError) Error() string
func (*DeleteCollectionInternalServerError) GetPayload ¶
func (o *DeleteCollectionInternalServerError) GetPayload() *DeleteCollectionInternalServerErrorBody
func (*DeleteCollectionInternalServerError) IsClientError ¶
func (o *DeleteCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this delete collection internal server error response has a 4xx status code
func (*DeleteCollectionInternalServerError) IsCode ¶
func (o *DeleteCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this delete collection internal server error response a status code equal to that given
func (*DeleteCollectionInternalServerError) IsRedirect ¶
func (o *DeleteCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete collection internal server error response has a 3xx status code
func (*DeleteCollectionInternalServerError) IsServerError ¶
func (o *DeleteCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this delete collection internal server error response has a 5xx status code
func (*DeleteCollectionInternalServerError) IsSuccess ¶
func (o *DeleteCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete collection internal server error response has a 2xx status code
func (*DeleteCollectionInternalServerError) String ¶
func (o *DeleteCollectionInternalServerError) String() string
type DeleteCollectionInternalServerErrorBody ¶
type DeleteCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
DeleteCollectionInternalServerErrorBody delete collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionInternalServerErrorBody
func (*DeleteCollectionInternalServerErrorBody) ContextValidate ¶
func (o *DeleteCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection internal server error body based on the context it is used
func (*DeleteCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionInternalServerErrorBodyErrorsItems0 ¶
type DeleteCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionInternalServerErrorBodyErrorsItems0 delete collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionInternalServerErrorBodyErrorsItems0
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection internal server error body errors items0 based on the context it is used
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionInternalServerErrorBodyErrorsItems0Links ¶
type DeleteCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionInternalServerErrorBodyErrorsItems0Links
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection internal server error body errors items0 links based on context it is used
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionInternalServerErrorBodyErrorsItems0Source ¶
type DeleteCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionInternalServerErrorBodyErrorsItems0Source delete collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionInternalServerErrorBodyErrorsItems0Source
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection internal server error body errors items0 source based on context it is used
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionInternalServerErrorBodyJsonapi ¶
type DeleteCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionInternalServerErrorBodyJsonapi delete collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionInternalServerErrorBodyJsonapi
func (*DeleteCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection internal server error body jsonapi based on context it is used
func (*DeleteCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionNoContent ¶
type DeleteCollectionNoContent struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime }
DeleteCollectionNoContent describes a response with status code 204, with default header values.
Collection was deleted successfully
func NewDeleteCollectionNoContent ¶
func NewDeleteCollectionNoContent() *DeleteCollectionNoContent
NewDeleteCollectionNoContent creates a DeleteCollectionNoContent with default headers values
func (*DeleteCollectionNoContent) Code ¶
func (o *DeleteCollectionNoContent) Code() int
Code gets the status code for the delete collection no content response
func (*DeleteCollectionNoContent) Error ¶
func (o *DeleteCollectionNoContent) Error() string
func (*DeleteCollectionNoContent) IsClientError ¶
func (o *DeleteCollectionNoContent) IsClientError() bool
IsClientError returns true when this delete collection no content response has a 4xx status code
func (*DeleteCollectionNoContent) IsCode ¶
func (o *DeleteCollectionNoContent) IsCode(code int) bool
IsCode returns true when this delete collection no content response a status code equal to that given
func (*DeleteCollectionNoContent) IsRedirect ¶
func (o *DeleteCollectionNoContent) IsRedirect() bool
IsRedirect returns true when this delete collection no content response has a 3xx status code
func (*DeleteCollectionNoContent) IsServerError ¶
func (o *DeleteCollectionNoContent) IsServerError() bool
IsServerError returns true when this delete collection no content response has a 5xx status code
func (*DeleteCollectionNoContent) IsSuccess ¶
func (o *DeleteCollectionNoContent) IsSuccess() bool
IsSuccess returns true when this delete collection no content response has a 2xx status code
func (*DeleteCollectionNoContent) String ¶
func (o *DeleteCollectionNoContent) String() string
type DeleteCollectionNotFound ¶
type DeleteCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteCollectionNotFoundBody }
DeleteCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewDeleteCollectionNotFound ¶
func NewDeleteCollectionNotFound() *DeleteCollectionNotFound
NewDeleteCollectionNotFound creates a DeleteCollectionNotFound with default headers values
func (*DeleteCollectionNotFound) Code ¶
func (o *DeleteCollectionNotFound) Code() int
Code gets the status code for the delete collection not found response
func (*DeleteCollectionNotFound) Error ¶
func (o *DeleteCollectionNotFound) Error() string
func (*DeleteCollectionNotFound) GetPayload ¶
func (o *DeleteCollectionNotFound) GetPayload() *DeleteCollectionNotFoundBody
func (*DeleteCollectionNotFound) IsClientError ¶
func (o *DeleteCollectionNotFound) IsClientError() bool
IsClientError returns true when this delete collection not found response has a 4xx status code
func (*DeleteCollectionNotFound) IsCode ¶
func (o *DeleteCollectionNotFound) IsCode(code int) bool
IsCode returns true when this delete collection not found response a status code equal to that given
func (*DeleteCollectionNotFound) IsRedirect ¶
func (o *DeleteCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this delete collection not found response has a 3xx status code
func (*DeleteCollectionNotFound) IsServerError ¶
func (o *DeleteCollectionNotFound) IsServerError() bool
IsServerError returns true when this delete collection not found response has a 5xx status code
func (*DeleteCollectionNotFound) IsSuccess ¶
func (o *DeleteCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this delete collection not found response has a 2xx status code
func (*DeleteCollectionNotFound) String ¶
func (o *DeleteCollectionNotFound) String() string
type DeleteCollectionNotFoundBody ¶
type DeleteCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
DeleteCollectionNotFoundBody delete collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionNotFoundBody
func (*DeleteCollectionNotFoundBody) ContextValidate ¶
func (o *DeleteCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection not found body based on the context it is used
func (*DeleteCollectionNotFoundBody) MarshalBinary ¶
func (o *DeleteCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionNotFoundBody) UnmarshalBinary ¶
func (o *DeleteCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionNotFoundBodyErrorsItems0 ¶
type DeleteCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionNotFoundBodyErrorsItems0 delete collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionNotFoundBodyErrorsItems0
func (*DeleteCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection not found body errors items0 based on the context it is used
func (*DeleteCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionNotFoundBodyErrorsItems0Links ¶
type DeleteCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionNotFoundBodyErrorsItems0Links
func (*DeleteCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection not found body errors items0 links based on context it is used
func (*DeleteCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionNotFoundBodyErrorsItems0Source ¶
type DeleteCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionNotFoundBodyErrorsItems0Source delete collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionNotFoundBodyErrorsItems0Source
func (*DeleteCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection not found body errors items0 source based on context it is used
func (*DeleteCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionNotFoundBodyJsonapi ¶
type DeleteCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionNotFoundBodyJsonapi delete collection not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionNotFoundBodyJsonapi
func (*DeleteCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection not found body jsonapi based on context it is used
func (*DeleteCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionParams ¶
type DeleteCollectionParams struct { /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCollectionParams contains all the parameters to send to the API endpoint
for the delete collection operation. Typically these are written to a http.Request.
func NewDeleteCollectionParams ¶
func NewDeleteCollectionParams() *DeleteCollectionParams
NewDeleteCollectionParams creates a new DeleteCollectionParams 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 NewDeleteCollectionParamsWithContext ¶
func NewDeleteCollectionParamsWithContext(ctx context.Context) *DeleteCollectionParams
NewDeleteCollectionParamsWithContext creates a new DeleteCollectionParams object with the ability to set a context for a request.
func NewDeleteCollectionParamsWithHTTPClient ¶
func NewDeleteCollectionParamsWithHTTPClient(client *http.Client) *DeleteCollectionParams
NewDeleteCollectionParamsWithHTTPClient creates a new DeleteCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCollectionParamsWithTimeout ¶
func NewDeleteCollectionParamsWithTimeout(timeout time.Duration) *DeleteCollectionParams
NewDeleteCollectionParamsWithTimeout creates a new DeleteCollectionParams object with the ability to set a timeout on a request.
func (*DeleteCollectionParams) SetCollectionID ¶
func (o *DeleteCollectionParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the delete collection params
func (*DeleteCollectionParams) SetContext ¶
func (o *DeleteCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete collection params
func (*DeleteCollectionParams) SetDefaults ¶
func (o *DeleteCollectionParams) SetDefaults()
SetDefaults hydrates default values in the delete collection params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCollectionParams) SetHTTPClient ¶
func (o *DeleteCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete collection params
func (*DeleteCollectionParams) SetOrgID ¶
func (o *DeleteCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the delete collection params
func (*DeleteCollectionParams) SetTimeout ¶
func (o *DeleteCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete collection params
func (*DeleteCollectionParams) SetVersion ¶
func (o *DeleteCollectionParams) SetVersion(version string)
SetVersion adds the version to the delete collection params
func (*DeleteCollectionParams) WithCollectionID ¶
func (o *DeleteCollectionParams) WithCollectionID(collectionID strfmt.UUID) *DeleteCollectionParams
WithCollectionID adds the collectionID to the delete collection params
func (*DeleteCollectionParams) WithContext ¶
func (o *DeleteCollectionParams) WithContext(ctx context.Context) *DeleteCollectionParams
WithContext adds the context to the delete collection params
func (*DeleteCollectionParams) WithDefaults ¶
func (o *DeleteCollectionParams) WithDefaults() *DeleteCollectionParams
WithDefaults hydrates default values in the delete collection params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCollectionParams) WithHTTPClient ¶
func (o *DeleteCollectionParams) WithHTTPClient(client *http.Client) *DeleteCollectionParams
WithHTTPClient adds the HTTPClient to the delete collection params
func (*DeleteCollectionParams) WithOrgID ¶
func (o *DeleteCollectionParams) WithOrgID(orgID strfmt.UUID) *DeleteCollectionParams
WithOrgID adds the orgID to the delete collection params
func (*DeleteCollectionParams) WithTimeout ¶
func (o *DeleteCollectionParams) WithTimeout(timeout time.Duration) *DeleteCollectionParams
WithTimeout adds the timeout to the delete collection params
func (*DeleteCollectionParams) WithVersion ¶
func (o *DeleteCollectionParams) WithVersion(version string) *DeleteCollectionParams
WithVersion adds the version to the delete collection params
func (*DeleteCollectionParams) WriteToRequest ¶
func (o *DeleteCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCollectionReader ¶
type DeleteCollectionReader struct {
// contains filtered or unexported fields
}
DeleteCollectionReader is a Reader for the DeleteCollection structure.
func (*DeleteCollectionReader) ReadResponse ¶
func (o *DeleteCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCollectionUnauthorized ¶
type DeleteCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
DeleteCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewDeleteCollectionUnauthorized ¶
func NewDeleteCollectionUnauthorized() *DeleteCollectionUnauthorized
NewDeleteCollectionUnauthorized creates a DeleteCollectionUnauthorized with default headers values
func (*DeleteCollectionUnauthorized) Code ¶
func (o *DeleteCollectionUnauthorized) Code() int
Code gets the status code for the delete collection unauthorized response
func (*DeleteCollectionUnauthorized) Error ¶
func (o *DeleteCollectionUnauthorized) Error() string
func (*DeleteCollectionUnauthorized) GetPayload ¶
func (o *DeleteCollectionUnauthorized) GetPayload() *DeleteCollectionUnauthorizedBody
func (*DeleteCollectionUnauthorized) IsClientError ¶
func (o *DeleteCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this delete collection unauthorized response has a 4xx status code
func (*DeleteCollectionUnauthorized) IsCode ¶
func (o *DeleteCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this delete collection unauthorized response a status code equal to that given
func (*DeleteCollectionUnauthorized) IsRedirect ¶
func (o *DeleteCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete collection unauthorized response has a 3xx status code
func (*DeleteCollectionUnauthorized) IsServerError ¶
func (o *DeleteCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this delete collection unauthorized response has a 5xx status code
func (*DeleteCollectionUnauthorized) IsSuccess ¶
func (o *DeleteCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete collection unauthorized response has a 2xx status code
func (*DeleteCollectionUnauthorized) String ¶
func (o *DeleteCollectionUnauthorized) String() string
type DeleteCollectionUnauthorizedBody ¶
type DeleteCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *DeleteCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
DeleteCollectionUnauthorizedBody delete collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteCollectionUnauthorizedBody
func (*DeleteCollectionUnauthorizedBody) ContextValidate ¶
func (o *DeleteCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection unauthorized body based on the context it is used
func (*DeleteCollectionUnauthorizedBody) MarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionUnauthorizedBodyErrorsItems0 ¶
type DeleteCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *DeleteCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *DeleteCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
DeleteCollectionUnauthorizedBodyErrorsItems0 delete collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionUnauthorizedBodyErrorsItems0
func (*DeleteCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete collection unauthorized body errors items0 based on the context it is used
func (*DeleteCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionUnauthorizedBodyErrorsItems0Links ¶
type DeleteCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteCollectionUnauthorizedBodyErrorsItems0Links
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection unauthorized body errors items0 links based on context it is used
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionUnauthorizedBodyErrorsItems0Source ¶
type DeleteCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteCollectionUnauthorizedBodyErrorsItems0Source delete collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionUnauthorizedBodyErrorsItems0Source
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection unauthorized body errors items0 source based on context it is used
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteCollectionUnauthorizedBodyJsonapi ¶
type DeleteCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteCollectionUnauthorizedBodyJsonapi delete collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionUnauthorizedBodyJsonapi
func (*DeleteCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *DeleteCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete collection unauthorized body jsonapi based on context it is used
func (*DeleteCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionBadRequest ¶
type DeleteProjectsCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteProjectsCollectionBadRequestBody }
DeleteProjectsCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewDeleteProjectsCollectionBadRequest ¶
func NewDeleteProjectsCollectionBadRequest() *DeleteProjectsCollectionBadRequest
NewDeleteProjectsCollectionBadRequest creates a DeleteProjectsCollectionBadRequest with default headers values
func (*DeleteProjectsCollectionBadRequest) Code ¶
func (o *DeleteProjectsCollectionBadRequest) Code() int
Code gets the status code for the delete projects collection bad request response
func (*DeleteProjectsCollectionBadRequest) Error ¶
func (o *DeleteProjectsCollectionBadRequest) Error() string
func (*DeleteProjectsCollectionBadRequest) GetPayload ¶
func (o *DeleteProjectsCollectionBadRequest) GetPayload() *DeleteProjectsCollectionBadRequestBody
func (*DeleteProjectsCollectionBadRequest) IsClientError ¶
func (o *DeleteProjectsCollectionBadRequest) IsClientError() bool
IsClientError returns true when this delete projects collection bad request response has a 4xx status code
func (*DeleteProjectsCollectionBadRequest) IsCode ¶
func (o *DeleteProjectsCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this delete projects collection bad request response a status code equal to that given
func (*DeleteProjectsCollectionBadRequest) IsRedirect ¶
func (o *DeleteProjectsCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete projects collection bad request response has a 3xx status code
func (*DeleteProjectsCollectionBadRequest) IsServerError ¶
func (o *DeleteProjectsCollectionBadRequest) IsServerError() bool
IsServerError returns true when this delete projects collection bad request response has a 5xx status code
func (*DeleteProjectsCollectionBadRequest) IsSuccess ¶
func (o *DeleteProjectsCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete projects collection bad request response has a 2xx status code
func (*DeleteProjectsCollectionBadRequest) String ¶
func (o *DeleteProjectsCollectionBadRequest) String() string
type DeleteProjectsCollectionBadRequestBody ¶
type DeleteProjectsCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteProjectsCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionBadRequestBody delete projects collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionBadRequestBody
func (*DeleteProjectsCollectionBadRequestBody) ContextValidate ¶
func (o *DeleteProjectsCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection bad request body based on the context it is used
func (*DeleteProjectsCollectionBadRequestBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionBadRequestBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionBadRequestBodyErrorsItems0 ¶
type DeleteProjectsCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionBadRequestBodyErrorsItems0 delete projects collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionBadRequestBodyErrorsItems0
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection bad request body errors items0 based on the context it is used
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionBadRequestBodyErrorsItems0Links ¶
type DeleteProjectsCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionBadRequestBodyErrorsItems0Links
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection bad request body errors items0 links based on context it is used
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionBadRequestBodyErrorsItems0Source ¶
type DeleteProjectsCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionBadRequestBodyErrorsItems0Source delete projects collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionBadRequestBodyErrorsItems0Source
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection bad request body errors items0 source based on context it is used
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionBadRequestBodyJsonapi ¶
type DeleteProjectsCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionBadRequestBodyJsonapi delete projects collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionBadRequestBodyJsonapi
func (*DeleteProjectsCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection bad request body jsonapi based on context it is used
func (*DeleteProjectsCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionConflict ¶
type DeleteProjectsCollectionConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteProjectsCollectionConflictBody }
DeleteProjectsCollectionConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewDeleteProjectsCollectionConflict ¶
func NewDeleteProjectsCollectionConflict() *DeleteProjectsCollectionConflict
NewDeleteProjectsCollectionConflict creates a DeleteProjectsCollectionConflict with default headers values
func (*DeleteProjectsCollectionConflict) Code ¶
func (o *DeleteProjectsCollectionConflict) Code() int
Code gets the status code for the delete projects collection conflict response
func (*DeleteProjectsCollectionConflict) Error ¶
func (o *DeleteProjectsCollectionConflict) Error() string
func (*DeleteProjectsCollectionConflict) GetPayload ¶
func (o *DeleteProjectsCollectionConflict) GetPayload() *DeleteProjectsCollectionConflictBody
func (*DeleteProjectsCollectionConflict) IsClientError ¶
func (o *DeleteProjectsCollectionConflict) IsClientError() bool
IsClientError returns true when this delete projects collection conflict response has a 4xx status code
func (*DeleteProjectsCollectionConflict) IsCode ¶
func (o *DeleteProjectsCollectionConflict) IsCode(code int) bool
IsCode returns true when this delete projects collection conflict response a status code equal to that given
func (*DeleteProjectsCollectionConflict) IsRedirect ¶
func (o *DeleteProjectsCollectionConflict) IsRedirect() bool
IsRedirect returns true when this delete projects collection conflict response has a 3xx status code
func (*DeleteProjectsCollectionConflict) IsServerError ¶
func (o *DeleteProjectsCollectionConflict) IsServerError() bool
IsServerError returns true when this delete projects collection conflict response has a 5xx status code
func (*DeleteProjectsCollectionConflict) IsSuccess ¶
func (o *DeleteProjectsCollectionConflict) IsSuccess() bool
IsSuccess returns true when this delete projects collection conflict response has a 2xx status code
func (*DeleteProjectsCollectionConflict) String ¶
func (o *DeleteProjectsCollectionConflict) String() string
type DeleteProjectsCollectionConflictBody ¶
type DeleteProjectsCollectionConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteProjectsCollectionConflictBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionConflictBody delete projects collection conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionConflictBody
func (*DeleteProjectsCollectionConflictBody) ContextValidate ¶
func (o *DeleteProjectsCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection conflict body based on the context it is used
func (*DeleteProjectsCollectionConflictBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionConflictBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionConflictBodyErrorsItems0 ¶
type DeleteProjectsCollectionConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteProjectsCollectionConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteProjectsCollectionConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionConflictBodyErrorsItems0 delete projects collection conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionConflictBodyErrorsItems0
func (*DeleteProjectsCollectionConflictBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection conflict body errors items0 based on the context it is used
func (*DeleteProjectsCollectionConflictBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionConflictBodyErrorsItems0Links ¶
type DeleteProjectsCollectionConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionConflictBodyErrorsItems0Links
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection conflict body errors items0 links based on context it is used
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionConflictBodyErrorsItems0Source ¶
type DeleteProjectsCollectionConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionConflictBodyErrorsItems0Source delete projects collection conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionConflictBodyErrorsItems0Source
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection conflict body errors items0 source based on context it is used
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionConflictBodyJsonapi ¶
type DeleteProjectsCollectionConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionConflictBodyJsonapi delete projects collection conflict body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionConflictBodyJsonapi
func (*DeleteProjectsCollectionConflictBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection conflict body jsonapi based on context it is used
func (*DeleteProjectsCollectionConflictBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionConflictBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionForbidden ¶
type DeleteProjectsCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteProjectsCollectionForbiddenBody }
DeleteProjectsCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewDeleteProjectsCollectionForbidden ¶
func NewDeleteProjectsCollectionForbidden() *DeleteProjectsCollectionForbidden
NewDeleteProjectsCollectionForbidden creates a DeleteProjectsCollectionForbidden with default headers values
func (*DeleteProjectsCollectionForbidden) Code ¶
func (o *DeleteProjectsCollectionForbidden) Code() int
Code gets the status code for the delete projects collection forbidden response
func (*DeleteProjectsCollectionForbidden) Error ¶
func (o *DeleteProjectsCollectionForbidden) Error() string
func (*DeleteProjectsCollectionForbidden) GetPayload ¶
func (o *DeleteProjectsCollectionForbidden) GetPayload() *DeleteProjectsCollectionForbiddenBody
func (*DeleteProjectsCollectionForbidden) IsClientError ¶
func (o *DeleteProjectsCollectionForbidden) IsClientError() bool
IsClientError returns true when this delete projects collection forbidden response has a 4xx status code
func (*DeleteProjectsCollectionForbidden) IsCode ¶
func (o *DeleteProjectsCollectionForbidden) IsCode(code int) bool
IsCode returns true when this delete projects collection forbidden response a status code equal to that given
func (*DeleteProjectsCollectionForbidden) IsRedirect ¶
func (o *DeleteProjectsCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this delete projects collection forbidden response has a 3xx status code
func (*DeleteProjectsCollectionForbidden) IsServerError ¶
func (o *DeleteProjectsCollectionForbidden) IsServerError() bool
IsServerError returns true when this delete projects collection forbidden response has a 5xx status code
func (*DeleteProjectsCollectionForbidden) IsSuccess ¶
func (o *DeleteProjectsCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this delete projects collection forbidden response has a 2xx status code
func (*DeleteProjectsCollectionForbidden) String ¶
func (o *DeleteProjectsCollectionForbidden) String() string
type DeleteProjectsCollectionForbiddenBody ¶
type DeleteProjectsCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteProjectsCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionForbiddenBody delete projects collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionForbiddenBody
func (*DeleteProjectsCollectionForbiddenBody) ContextValidate ¶
func (o *DeleteProjectsCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection forbidden body based on the context it is used
func (*DeleteProjectsCollectionForbiddenBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionForbiddenBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionForbiddenBodyErrorsItems0 ¶
type DeleteProjectsCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionForbiddenBodyErrorsItems0 delete projects collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionForbiddenBodyErrorsItems0
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection forbidden body errors items0 based on the context it is used
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionForbiddenBodyErrorsItems0Links ¶
type DeleteProjectsCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionForbiddenBodyErrorsItems0Links
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection forbidden body errors items0 links based on context it is used
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionForbiddenBodyErrorsItems0Source ¶
type DeleteProjectsCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionForbiddenBodyErrorsItems0Source delete projects collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionForbiddenBodyErrorsItems0Source
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection forbidden body errors items0 source based on context it is used
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionForbiddenBodyJsonapi ¶
type DeleteProjectsCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionForbiddenBodyJsonapi delete projects collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionForbiddenBodyJsonapi
func (*DeleteProjectsCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection forbidden body jsonapi based on context it is used
func (*DeleteProjectsCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionInternalServerError ¶
type DeleteProjectsCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteProjectsCollectionInternalServerErrorBody }
DeleteProjectsCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewDeleteProjectsCollectionInternalServerError ¶
func NewDeleteProjectsCollectionInternalServerError() *DeleteProjectsCollectionInternalServerError
NewDeleteProjectsCollectionInternalServerError creates a DeleteProjectsCollectionInternalServerError with default headers values
func (*DeleteProjectsCollectionInternalServerError) Code ¶
func (o *DeleteProjectsCollectionInternalServerError) Code() int
Code gets the status code for the delete projects collection internal server error response
func (*DeleteProjectsCollectionInternalServerError) Error ¶
func (o *DeleteProjectsCollectionInternalServerError) Error() string
func (*DeleteProjectsCollectionInternalServerError) GetPayload ¶
func (o *DeleteProjectsCollectionInternalServerError) GetPayload() *DeleteProjectsCollectionInternalServerErrorBody
func (*DeleteProjectsCollectionInternalServerError) IsClientError ¶
func (o *DeleteProjectsCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this delete projects collection internal server error response has a 4xx status code
func (*DeleteProjectsCollectionInternalServerError) IsCode ¶
func (o *DeleteProjectsCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this delete projects collection internal server error response a status code equal to that given
func (*DeleteProjectsCollectionInternalServerError) IsRedirect ¶
func (o *DeleteProjectsCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete projects collection internal server error response has a 3xx status code
func (*DeleteProjectsCollectionInternalServerError) IsServerError ¶
func (o *DeleteProjectsCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this delete projects collection internal server error response has a 5xx status code
func (*DeleteProjectsCollectionInternalServerError) IsSuccess ¶
func (o *DeleteProjectsCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete projects collection internal server error response has a 2xx status code
func (*DeleteProjectsCollectionInternalServerError) String ¶
func (o *DeleteProjectsCollectionInternalServerError) String() string
type DeleteProjectsCollectionInternalServerErrorBody ¶
type DeleteProjectsCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteProjectsCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionInternalServerErrorBody delete projects collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionInternalServerErrorBody
func (*DeleteProjectsCollectionInternalServerErrorBody) ContextValidate ¶
func (o *DeleteProjectsCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection internal server error body based on the context it is used
func (*DeleteProjectsCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0 ¶
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0 delete projects collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection internal server error body errors items0 based on the context it is used
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links ¶
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection internal server error body errors items0 links based on context it is used
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source ¶
type DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source delete projects collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection internal server error body errors items0 source based on context it is used
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionInternalServerErrorBodyJsonapi ¶
type DeleteProjectsCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionInternalServerErrorBodyJsonapi delete projects collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionInternalServerErrorBodyJsonapi
func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection internal server error body jsonapi based on context it is used
func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionNoContent ¶
type DeleteProjectsCollectionNoContent struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime }
DeleteProjectsCollectionNoContent describes a response with status code 204, with default header values.
successfully removing projects from a collection
func NewDeleteProjectsCollectionNoContent ¶
func NewDeleteProjectsCollectionNoContent() *DeleteProjectsCollectionNoContent
NewDeleteProjectsCollectionNoContent creates a DeleteProjectsCollectionNoContent with default headers values
func (*DeleteProjectsCollectionNoContent) Code ¶
func (o *DeleteProjectsCollectionNoContent) Code() int
Code gets the status code for the delete projects collection no content response
func (*DeleteProjectsCollectionNoContent) Error ¶
func (o *DeleteProjectsCollectionNoContent) Error() string
func (*DeleteProjectsCollectionNoContent) IsClientError ¶
func (o *DeleteProjectsCollectionNoContent) IsClientError() bool
IsClientError returns true when this delete projects collection no content response has a 4xx status code
func (*DeleteProjectsCollectionNoContent) IsCode ¶
func (o *DeleteProjectsCollectionNoContent) IsCode(code int) bool
IsCode returns true when this delete projects collection no content response a status code equal to that given
func (*DeleteProjectsCollectionNoContent) IsRedirect ¶
func (o *DeleteProjectsCollectionNoContent) IsRedirect() bool
IsRedirect returns true when this delete projects collection no content response has a 3xx status code
func (*DeleteProjectsCollectionNoContent) IsServerError ¶
func (o *DeleteProjectsCollectionNoContent) IsServerError() bool
IsServerError returns true when this delete projects collection no content response has a 5xx status code
func (*DeleteProjectsCollectionNoContent) IsSuccess ¶
func (o *DeleteProjectsCollectionNoContent) IsSuccess() bool
IsSuccess returns true when this delete projects collection no content response has a 2xx status code
func (*DeleteProjectsCollectionNoContent) String ¶
func (o *DeleteProjectsCollectionNoContent) String() string
type DeleteProjectsCollectionNotFound ¶
type DeleteProjectsCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteProjectsCollectionNotFoundBody }
DeleteProjectsCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewDeleteProjectsCollectionNotFound ¶
func NewDeleteProjectsCollectionNotFound() *DeleteProjectsCollectionNotFound
NewDeleteProjectsCollectionNotFound creates a DeleteProjectsCollectionNotFound with default headers values
func (*DeleteProjectsCollectionNotFound) Code ¶
func (o *DeleteProjectsCollectionNotFound) Code() int
Code gets the status code for the delete projects collection not found response
func (*DeleteProjectsCollectionNotFound) Error ¶
func (o *DeleteProjectsCollectionNotFound) Error() string
func (*DeleteProjectsCollectionNotFound) GetPayload ¶
func (o *DeleteProjectsCollectionNotFound) GetPayload() *DeleteProjectsCollectionNotFoundBody
func (*DeleteProjectsCollectionNotFound) IsClientError ¶
func (o *DeleteProjectsCollectionNotFound) IsClientError() bool
IsClientError returns true when this delete projects collection not found response has a 4xx status code
func (*DeleteProjectsCollectionNotFound) IsCode ¶
func (o *DeleteProjectsCollectionNotFound) IsCode(code int) bool
IsCode returns true when this delete projects collection not found response a status code equal to that given
func (*DeleteProjectsCollectionNotFound) IsRedirect ¶
func (o *DeleteProjectsCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this delete projects collection not found response has a 3xx status code
func (*DeleteProjectsCollectionNotFound) IsServerError ¶
func (o *DeleteProjectsCollectionNotFound) IsServerError() bool
IsServerError returns true when this delete projects collection not found response has a 5xx status code
func (*DeleteProjectsCollectionNotFound) IsSuccess ¶
func (o *DeleteProjectsCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this delete projects collection not found response has a 2xx status code
func (*DeleteProjectsCollectionNotFound) String ¶
func (o *DeleteProjectsCollectionNotFound) String() string
type DeleteProjectsCollectionNotFoundBody ¶
type DeleteProjectsCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteProjectsCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionNotFoundBody delete projects collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionNotFoundBody
func (*DeleteProjectsCollectionNotFoundBody) ContextValidate ¶
func (o *DeleteProjectsCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection not found body based on the context it is used
func (*DeleteProjectsCollectionNotFoundBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionNotFoundBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionNotFoundBodyErrorsItems0 ¶
type DeleteProjectsCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionNotFoundBodyErrorsItems0 delete projects collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionNotFoundBodyErrorsItems0
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection not found body errors items0 based on the context it is used
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionNotFoundBodyErrorsItems0Links ¶
type DeleteProjectsCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionNotFoundBodyErrorsItems0Links
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection not found body errors items0 links based on context it is used
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionNotFoundBodyErrorsItems0Source ¶
type DeleteProjectsCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionNotFoundBodyErrorsItems0Source delete projects collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionNotFoundBodyErrorsItems0Source
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection not found body errors items0 source based on context it is used
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionNotFoundBodyJsonapi ¶
type DeleteProjectsCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionNotFoundBodyJsonapi delete projects collection not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionNotFoundBodyJsonapi
func (*DeleteProjectsCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection not found body jsonapi based on context it is used
func (*DeleteProjectsCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionParams ¶
type DeleteProjectsCollectionParams struct { // Body. Body *models.DeleteProjectsFromCollectionRequest /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectsCollectionParams contains all the parameters to send to the API endpoint
for the delete projects collection operation. Typically these are written to a http.Request.
func NewDeleteProjectsCollectionParams ¶
func NewDeleteProjectsCollectionParams() *DeleteProjectsCollectionParams
NewDeleteProjectsCollectionParams creates a new DeleteProjectsCollectionParams 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 NewDeleteProjectsCollectionParamsWithContext ¶
func NewDeleteProjectsCollectionParamsWithContext(ctx context.Context) *DeleteProjectsCollectionParams
NewDeleteProjectsCollectionParamsWithContext creates a new DeleteProjectsCollectionParams object with the ability to set a context for a request.
func NewDeleteProjectsCollectionParamsWithHTTPClient ¶
func NewDeleteProjectsCollectionParamsWithHTTPClient(client *http.Client) *DeleteProjectsCollectionParams
NewDeleteProjectsCollectionParamsWithHTTPClient creates a new DeleteProjectsCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectsCollectionParamsWithTimeout ¶
func NewDeleteProjectsCollectionParamsWithTimeout(timeout time.Duration) *DeleteProjectsCollectionParams
NewDeleteProjectsCollectionParamsWithTimeout creates a new DeleteProjectsCollectionParams object with the ability to set a timeout on a request.
func (*DeleteProjectsCollectionParams) SetBody ¶
func (o *DeleteProjectsCollectionParams) SetBody(body *models.DeleteProjectsFromCollectionRequest)
SetBody adds the body to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetCollectionID ¶
func (o *DeleteProjectsCollectionParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetContext ¶
func (o *DeleteProjectsCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetDefaults ¶
func (o *DeleteProjectsCollectionParams) SetDefaults()
SetDefaults hydrates default values in the delete projects collection params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectsCollectionParams) SetHTTPClient ¶
func (o *DeleteProjectsCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetOrgID ¶
func (o *DeleteProjectsCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetTimeout ¶
func (o *DeleteProjectsCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete projects collection params
func (*DeleteProjectsCollectionParams) SetVersion ¶
func (o *DeleteProjectsCollectionParams) SetVersion(version string)
SetVersion adds the version to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithBody ¶
func (o *DeleteProjectsCollectionParams) WithBody(body *models.DeleteProjectsFromCollectionRequest) *DeleteProjectsCollectionParams
WithBody adds the body to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithCollectionID ¶
func (o *DeleteProjectsCollectionParams) WithCollectionID(collectionID strfmt.UUID) *DeleteProjectsCollectionParams
WithCollectionID adds the collectionID to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithContext ¶
func (o *DeleteProjectsCollectionParams) WithContext(ctx context.Context) *DeleteProjectsCollectionParams
WithContext adds the context to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithDefaults ¶
func (o *DeleteProjectsCollectionParams) WithDefaults() *DeleteProjectsCollectionParams
WithDefaults hydrates default values in the delete projects collection params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectsCollectionParams) WithHTTPClient ¶
func (o *DeleteProjectsCollectionParams) WithHTTPClient(client *http.Client) *DeleteProjectsCollectionParams
WithHTTPClient adds the HTTPClient to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithOrgID ¶
func (o *DeleteProjectsCollectionParams) WithOrgID(orgID strfmt.UUID) *DeleteProjectsCollectionParams
WithOrgID adds the orgID to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithTimeout ¶
func (o *DeleteProjectsCollectionParams) WithTimeout(timeout time.Duration) *DeleteProjectsCollectionParams
WithTimeout adds the timeout to the delete projects collection params
func (*DeleteProjectsCollectionParams) WithVersion ¶
func (o *DeleteProjectsCollectionParams) WithVersion(version string) *DeleteProjectsCollectionParams
WithVersion adds the version to the delete projects collection params
func (*DeleteProjectsCollectionParams) WriteToRequest ¶
func (o *DeleteProjectsCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectsCollectionReader ¶
type DeleteProjectsCollectionReader struct {
// contains filtered or unexported fields
}
DeleteProjectsCollectionReader is a Reader for the DeleteProjectsCollection structure.
func (*DeleteProjectsCollectionReader) ReadResponse ¶
func (o *DeleteProjectsCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectsCollectionUnauthorized ¶
type DeleteProjectsCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
DeleteProjectsCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewDeleteProjectsCollectionUnauthorized ¶
func NewDeleteProjectsCollectionUnauthorized() *DeleteProjectsCollectionUnauthorized
NewDeleteProjectsCollectionUnauthorized creates a DeleteProjectsCollectionUnauthorized with default headers values
func (*DeleteProjectsCollectionUnauthorized) Code ¶
func (o *DeleteProjectsCollectionUnauthorized) Code() int
Code gets the status code for the delete projects collection unauthorized response
func (*DeleteProjectsCollectionUnauthorized) Error ¶
func (o *DeleteProjectsCollectionUnauthorized) Error() string
func (*DeleteProjectsCollectionUnauthorized) GetPayload ¶
func (o *DeleteProjectsCollectionUnauthorized) GetPayload() *DeleteProjectsCollectionUnauthorizedBody
func (*DeleteProjectsCollectionUnauthorized) IsClientError ¶
func (o *DeleteProjectsCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this delete projects collection unauthorized response has a 4xx status code
func (*DeleteProjectsCollectionUnauthorized) IsCode ¶
func (o *DeleteProjectsCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this delete projects collection unauthorized response a status code equal to that given
func (*DeleteProjectsCollectionUnauthorized) IsRedirect ¶
func (o *DeleteProjectsCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete projects collection unauthorized response has a 3xx status code
func (*DeleteProjectsCollectionUnauthorized) IsServerError ¶
func (o *DeleteProjectsCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this delete projects collection unauthorized response has a 5xx status code
func (*DeleteProjectsCollectionUnauthorized) IsSuccess ¶
func (o *DeleteProjectsCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete projects collection unauthorized response has a 2xx status code
func (*DeleteProjectsCollectionUnauthorized) String ¶
func (o *DeleteProjectsCollectionUnauthorized) String() string
type DeleteProjectsCollectionUnauthorizedBody ¶
type DeleteProjectsCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *DeleteProjectsCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
DeleteProjectsCollectionUnauthorizedBody delete projects collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteProjectsCollectionUnauthorizedBody
func (*DeleteProjectsCollectionUnauthorizedBody) ContextValidate ¶
func (o *DeleteProjectsCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection unauthorized body based on the context it is used
func (*DeleteProjectsCollectionUnauthorizedBody) MarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 ¶
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 delete projects collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionUnauthorizedBodyErrorsItems0
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects collection unauthorized body errors items0 based on the context it is used
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links ¶
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection unauthorized body errors items0 links based on context it is used
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source ¶
type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source delete projects collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection unauthorized body errors items0 source based on context it is used
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsCollectionUnauthorizedBodyJsonapi ¶
type DeleteProjectsCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteProjectsCollectionUnauthorizedBodyJsonapi delete projects collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionUnauthorizedBodyJsonapi
func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects collection unauthorized body jsonapi based on context it is used
func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteProjectsCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionBadRequest ¶
type GetCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionBadRequestBody }
GetCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewGetCollectionBadRequest ¶
func NewGetCollectionBadRequest() *GetCollectionBadRequest
NewGetCollectionBadRequest creates a GetCollectionBadRequest with default headers values
func (*GetCollectionBadRequest) Code ¶
func (o *GetCollectionBadRequest) Code() int
Code gets the status code for the get collection bad request response
func (*GetCollectionBadRequest) Error ¶
func (o *GetCollectionBadRequest) Error() string
func (*GetCollectionBadRequest) GetPayload ¶
func (o *GetCollectionBadRequest) GetPayload() *GetCollectionBadRequestBody
func (*GetCollectionBadRequest) IsClientError ¶
func (o *GetCollectionBadRequest) IsClientError() bool
IsClientError returns true when this get collection bad request response has a 4xx status code
func (*GetCollectionBadRequest) IsCode ¶
func (o *GetCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this get collection bad request response a status code equal to that given
func (*GetCollectionBadRequest) IsRedirect ¶
func (o *GetCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this get collection bad request response has a 3xx status code
func (*GetCollectionBadRequest) IsServerError ¶
func (o *GetCollectionBadRequest) IsServerError() bool
IsServerError returns true when this get collection bad request response has a 5xx status code
func (*GetCollectionBadRequest) IsSuccess ¶
func (o *GetCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this get collection bad request response has a 2xx status code
func (*GetCollectionBadRequest) String ¶
func (o *GetCollectionBadRequest) String() string
type GetCollectionBadRequestBody ¶
type GetCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
GetCollectionBadRequestBody get collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionBadRequestBody
func (*GetCollectionBadRequestBody) ContextValidate ¶
func (o *GetCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection bad request body based on the context it is used
func (*GetCollectionBadRequestBody) MarshalBinary ¶
func (o *GetCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionBadRequestBody) UnmarshalBinary ¶
func (o *GetCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionBadRequestBodyErrorsItems0 ¶
type GetCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionBadRequestBodyErrorsItems0 get collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionBadRequestBodyErrorsItems0
func (*GetCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection bad request body errors items0 based on the context it is used
func (*GetCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionBadRequestBodyErrorsItems0Links ¶
type GetCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionBadRequestBodyErrorsItems0Links
func (*GetCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection bad request body errors items0 links based on context it is used
func (*GetCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionBadRequestBodyErrorsItems0Source ¶
type GetCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionBadRequestBodyErrorsItems0Source get collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionBadRequestBodyErrorsItems0Source
func (*GetCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection bad request body errors items0 source based on context it is used
func (*GetCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionBadRequestBodyJsonapi ¶
type GetCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionBadRequestBodyJsonapi get collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionBadRequestBodyJsonapi
func (*GetCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection bad request body jsonapi based on context it is used
func (*GetCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionConflict ¶
type GetCollectionConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionConflictBody }
GetCollectionConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewGetCollectionConflict ¶
func NewGetCollectionConflict() *GetCollectionConflict
NewGetCollectionConflict creates a GetCollectionConflict with default headers values
func (*GetCollectionConflict) Code ¶
func (o *GetCollectionConflict) Code() int
Code gets the status code for the get collection conflict response
func (*GetCollectionConflict) Error ¶
func (o *GetCollectionConflict) Error() string
func (*GetCollectionConflict) GetPayload ¶
func (o *GetCollectionConflict) GetPayload() *GetCollectionConflictBody
func (*GetCollectionConflict) IsClientError ¶
func (o *GetCollectionConflict) IsClientError() bool
IsClientError returns true when this get collection conflict response has a 4xx status code
func (*GetCollectionConflict) IsCode ¶
func (o *GetCollectionConflict) IsCode(code int) bool
IsCode returns true when this get collection conflict response a status code equal to that given
func (*GetCollectionConflict) IsRedirect ¶
func (o *GetCollectionConflict) IsRedirect() bool
IsRedirect returns true when this get collection conflict response has a 3xx status code
func (*GetCollectionConflict) IsServerError ¶
func (o *GetCollectionConflict) IsServerError() bool
IsServerError returns true when this get collection conflict response has a 5xx status code
func (*GetCollectionConflict) IsSuccess ¶
func (o *GetCollectionConflict) IsSuccess() bool
IsSuccess returns true when this get collection conflict response has a 2xx status code
func (*GetCollectionConflict) String ¶
func (o *GetCollectionConflict) String() string
type GetCollectionConflictBody ¶
type GetCollectionConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionConflictBodyJsonapi `json:"jsonapi"` }
GetCollectionConflictBody get collection conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionConflictBody
func (*GetCollectionConflictBody) ContextValidate ¶
func (o *GetCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection conflict body based on the context it is used
func (*GetCollectionConflictBody) MarshalBinary ¶
func (o *GetCollectionConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionConflictBody) UnmarshalBinary ¶
func (o *GetCollectionConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionConflictBodyErrorsItems0 ¶
type GetCollectionConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionConflictBodyErrorsItems0 get collection conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionConflictBodyErrorsItems0
func (*GetCollectionConflictBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection conflict body errors items0 based on the context it is used
func (*GetCollectionConflictBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionConflictBodyErrorsItems0Links ¶
type GetCollectionConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionConflictBodyErrorsItems0Links
func (*GetCollectionConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection conflict body errors items0 links based on context it is used
func (*GetCollectionConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionConflictBodyErrorsItems0Source ¶
type GetCollectionConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionConflictBodyErrorsItems0Source get collection conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionConflictBodyErrorsItems0Source
func (*GetCollectionConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection conflict body errors items0 source based on context it is used
func (*GetCollectionConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionConflictBodyJsonapi ¶
type GetCollectionConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionConflictBodyJsonapi get collection conflict body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionConflictBodyJsonapi
func (*GetCollectionConflictBodyJsonapi) ContextValidate ¶
func (o *GetCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection conflict body jsonapi based on context it is used
func (*GetCollectionConflictBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionConflictBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionForbidden ¶
type GetCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionForbiddenBody }
GetCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetCollectionForbidden ¶
func NewGetCollectionForbidden() *GetCollectionForbidden
NewGetCollectionForbidden creates a GetCollectionForbidden with default headers values
func (*GetCollectionForbidden) Code ¶
func (o *GetCollectionForbidden) Code() int
Code gets the status code for the get collection forbidden response
func (*GetCollectionForbidden) Error ¶
func (o *GetCollectionForbidden) Error() string
func (*GetCollectionForbidden) GetPayload ¶
func (o *GetCollectionForbidden) GetPayload() *GetCollectionForbiddenBody
func (*GetCollectionForbidden) IsClientError ¶
func (o *GetCollectionForbidden) IsClientError() bool
IsClientError returns true when this get collection forbidden response has a 4xx status code
func (*GetCollectionForbidden) IsCode ¶
func (o *GetCollectionForbidden) IsCode(code int) bool
IsCode returns true when this get collection forbidden response a status code equal to that given
func (*GetCollectionForbidden) IsRedirect ¶
func (o *GetCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this get collection forbidden response has a 3xx status code
func (*GetCollectionForbidden) IsServerError ¶
func (o *GetCollectionForbidden) IsServerError() bool
IsServerError returns true when this get collection forbidden response has a 5xx status code
func (*GetCollectionForbidden) IsSuccess ¶
func (o *GetCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this get collection forbidden response has a 2xx status code
func (*GetCollectionForbidden) String ¶
func (o *GetCollectionForbidden) String() string
type GetCollectionForbiddenBody ¶
type GetCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
GetCollectionForbiddenBody get collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionForbiddenBody
func (*GetCollectionForbiddenBody) ContextValidate ¶
func (o *GetCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection forbidden body based on the context it is used
func (*GetCollectionForbiddenBody) MarshalBinary ¶
func (o *GetCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionForbiddenBody) UnmarshalBinary ¶
func (o *GetCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionForbiddenBodyErrorsItems0 ¶
type GetCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionForbiddenBodyErrorsItems0 get collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionForbiddenBodyErrorsItems0
func (*GetCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection forbidden body errors items0 based on the context it is used
func (*GetCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionForbiddenBodyErrorsItems0Links ¶
type GetCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionForbiddenBodyErrorsItems0Links
func (*GetCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection forbidden body errors items0 links based on context it is used
func (*GetCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionForbiddenBodyErrorsItems0Source ¶
type GetCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionForbiddenBodyErrorsItems0Source get collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionForbiddenBodyErrorsItems0Source
func (*GetCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection forbidden body errors items0 source based on context it is used
func (*GetCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionForbiddenBodyJsonapi ¶
type GetCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionForbiddenBodyJsonapi get collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionForbiddenBodyJsonapi
func (*GetCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection forbidden body jsonapi based on context it is used
func (*GetCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionInternalServerError ¶
type GetCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionInternalServerErrorBody }
GetCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewGetCollectionInternalServerError ¶
func NewGetCollectionInternalServerError() *GetCollectionInternalServerError
NewGetCollectionInternalServerError creates a GetCollectionInternalServerError with default headers values
func (*GetCollectionInternalServerError) Code ¶
func (o *GetCollectionInternalServerError) Code() int
Code gets the status code for the get collection internal server error response
func (*GetCollectionInternalServerError) Error ¶
func (o *GetCollectionInternalServerError) Error() string
func (*GetCollectionInternalServerError) GetPayload ¶
func (o *GetCollectionInternalServerError) GetPayload() *GetCollectionInternalServerErrorBody
func (*GetCollectionInternalServerError) IsClientError ¶
func (o *GetCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this get collection internal server error response has a 4xx status code
func (*GetCollectionInternalServerError) IsCode ¶
func (o *GetCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this get collection internal server error response a status code equal to that given
func (*GetCollectionInternalServerError) IsRedirect ¶
func (o *GetCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get collection internal server error response has a 3xx status code
func (*GetCollectionInternalServerError) IsServerError ¶
func (o *GetCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this get collection internal server error response has a 5xx status code
func (*GetCollectionInternalServerError) IsSuccess ¶
func (o *GetCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get collection internal server error response has a 2xx status code
func (*GetCollectionInternalServerError) String ¶
func (o *GetCollectionInternalServerError) String() string
type GetCollectionInternalServerErrorBody ¶
type GetCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetCollectionInternalServerErrorBody get collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionInternalServerErrorBody
func (*GetCollectionInternalServerErrorBody) ContextValidate ¶
func (o *GetCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection internal server error body based on the context it is used
func (*GetCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *GetCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionInternalServerErrorBodyErrorsItems0 ¶
type GetCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionInternalServerErrorBodyErrorsItems0 get collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionInternalServerErrorBodyErrorsItems0
func (*GetCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection internal server error body errors items0 based on the context it is used
func (*GetCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionInternalServerErrorBodyErrorsItems0Links ¶
type GetCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionInternalServerErrorBodyErrorsItems0Links
func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection internal server error body errors items0 links based on context it is used
func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionInternalServerErrorBodyErrorsItems0Source ¶
type GetCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionInternalServerErrorBodyErrorsItems0Source get collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionInternalServerErrorBodyErrorsItems0Source
func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection internal server error body errors items0 source based on context it is used
func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionInternalServerErrorBodyJsonapi ¶
type GetCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionInternalServerErrorBodyJsonapi get collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionInternalServerErrorBodyJsonapi
func (*GetCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection internal server error body jsonapi based on context it is used
func (*GetCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionNotFound ¶
type GetCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionNotFoundBody }
GetCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetCollectionNotFound ¶
func NewGetCollectionNotFound() *GetCollectionNotFound
NewGetCollectionNotFound creates a GetCollectionNotFound with default headers values
func (*GetCollectionNotFound) Code ¶
func (o *GetCollectionNotFound) Code() int
Code gets the status code for the get collection not found response
func (*GetCollectionNotFound) Error ¶
func (o *GetCollectionNotFound) Error() string
func (*GetCollectionNotFound) GetPayload ¶
func (o *GetCollectionNotFound) GetPayload() *GetCollectionNotFoundBody
func (*GetCollectionNotFound) IsClientError ¶
func (o *GetCollectionNotFound) IsClientError() bool
IsClientError returns true when this get collection not found response has a 4xx status code
func (*GetCollectionNotFound) IsCode ¶
func (o *GetCollectionNotFound) IsCode(code int) bool
IsCode returns true when this get collection not found response a status code equal to that given
func (*GetCollectionNotFound) IsRedirect ¶
func (o *GetCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this get collection not found response has a 3xx status code
func (*GetCollectionNotFound) IsServerError ¶
func (o *GetCollectionNotFound) IsServerError() bool
IsServerError returns true when this get collection not found response has a 5xx status code
func (*GetCollectionNotFound) IsSuccess ¶
func (o *GetCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this get collection not found response has a 2xx status code
func (*GetCollectionNotFound) String ¶
func (o *GetCollectionNotFound) String() string
type GetCollectionNotFoundBody ¶
type GetCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
GetCollectionNotFoundBody get collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionNotFoundBody
func (*GetCollectionNotFoundBody) ContextValidate ¶
func (o *GetCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection not found body based on the context it is used
func (*GetCollectionNotFoundBody) MarshalBinary ¶
func (o *GetCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionNotFoundBody) UnmarshalBinary ¶
func (o *GetCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionNotFoundBodyErrorsItems0 ¶
type GetCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionNotFoundBodyErrorsItems0 get collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionNotFoundBodyErrorsItems0
func (*GetCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection not found body errors items0 based on the context it is used
func (*GetCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionNotFoundBodyErrorsItems0Links ¶
type GetCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionNotFoundBodyErrorsItems0Links
func (*GetCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection not found body errors items0 links based on context it is used
func (*GetCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionNotFoundBodyErrorsItems0Source ¶
type GetCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionNotFoundBodyErrorsItems0Source get collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionNotFoundBodyErrorsItems0Source
func (*GetCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection not found body errors items0 source based on context it is used
func (*GetCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionNotFoundBodyJsonapi ¶
type GetCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionNotFoundBodyJsonapi get collection not found body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionNotFoundBodyJsonapi
func (*GetCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection not found body jsonapi based on context it is used
func (*GetCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionOK ¶
type GetCollectionOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionOKBody }
GetCollectionOK describes a response with status code 200, with default header values.
Returned collection
func NewGetCollectionOK ¶
func NewGetCollectionOK() *GetCollectionOK
NewGetCollectionOK creates a GetCollectionOK with default headers values
func (*GetCollectionOK) Code ¶
func (o *GetCollectionOK) Code() int
Code gets the status code for the get collection o k response
func (*GetCollectionOK) Error ¶
func (o *GetCollectionOK) Error() string
func (*GetCollectionOK) GetPayload ¶
func (o *GetCollectionOK) GetPayload() *GetCollectionOKBody
func (*GetCollectionOK) IsClientError ¶
func (o *GetCollectionOK) IsClientError() bool
IsClientError returns true when this get collection o k response has a 4xx status code
func (*GetCollectionOK) IsCode ¶
func (o *GetCollectionOK) IsCode(code int) bool
IsCode returns true when this get collection o k response a status code equal to that given
func (*GetCollectionOK) IsRedirect ¶
func (o *GetCollectionOK) IsRedirect() bool
IsRedirect returns true when this get collection o k response has a 3xx status code
func (*GetCollectionOK) IsServerError ¶
func (o *GetCollectionOK) IsServerError() bool
IsServerError returns true when this get collection o k response has a 5xx status code
func (*GetCollectionOK) IsSuccess ¶
func (o *GetCollectionOK) IsSuccess() bool
IsSuccess returns true when this get collection o k response has a 2xx status code
func (*GetCollectionOK) String ¶
func (o *GetCollectionOK) String() string
type GetCollectionOKBody ¶
type GetCollectionOKBody struct { // data Data *GetCollectionOKBodyData `json:"data,omitempty"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.SelfLink `json:"links,omitempty"` }
GetCollectionOKBody get collection o k body swagger:model GetCollectionOKBody
func (*GetCollectionOKBody) ContextValidate ¶
ContextValidate validate this get collection o k body based on the context it is used
func (*GetCollectionOKBody) MarshalBinary ¶
func (o *GetCollectionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionOKBody) UnmarshalBinary ¶
func (o *GetCollectionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionOKBodyData ¶
type GetCollectionOKBodyData struct { // attributes // Required: true Attributes *models.CollectionAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships // Required: true Relationships *models.CollectionRelationships `json:"relationships"` // type Type models.Types `json:"type,omitempty"` }
GetCollectionOKBodyData collection resource object swagger:model GetCollectionOKBodyData
func (*GetCollectionOKBodyData) ContextValidate ¶
func (o *GetCollectionOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection o k body data based on the context it is used
func (*GetCollectionOKBodyData) MarshalBinary ¶
func (o *GetCollectionOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionOKBodyData) UnmarshalBinary ¶
func (o *GetCollectionOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionParams ¶
type GetCollectionParams struct { /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCollectionParams contains all the parameters to send to the API endpoint
for the get collection operation. Typically these are written to a http.Request.
func NewGetCollectionParams ¶
func NewGetCollectionParams() *GetCollectionParams
NewGetCollectionParams creates a new GetCollectionParams 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 NewGetCollectionParamsWithContext ¶
func NewGetCollectionParamsWithContext(ctx context.Context) *GetCollectionParams
NewGetCollectionParamsWithContext creates a new GetCollectionParams object with the ability to set a context for a request.
func NewGetCollectionParamsWithHTTPClient ¶
func NewGetCollectionParamsWithHTTPClient(client *http.Client) *GetCollectionParams
NewGetCollectionParamsWithHTTPClient creates a new GetCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollectionParamsWithTimeout ¶
func NewGetCollectionParamsWithTimeout(timeout time.Duration) *GetCollectionParams
NewGetCollectionParamsWithTimeout creates a new GetCollectionParams object with the ability to set a timeout on a request.
func (*GetCollectionParams) SetCollectionID ¶
func (o *GetCollectionParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the get collection params
func (*GetCollectionParams) SetContext ¶
func (o *GetCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get collection params
func (*GetCollectionParams) SetDefaults ¶
func (o *GetCollectionParams) SetDefaults()
SetDefaults hydrates default values in the get collection params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionParams) SetHTTPClient ¶
func (o *GetCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get collection params
func (*GetCollectionParams) SetOrgID ¶
func (o *GetCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get collection params
func (*GetCollectionParams) SetTimeout ¶
func (o *GetCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get collection params
func (*GetCollectionParams) SetVersion ¶
func (o *GetCollectionParams) SetVersion(version string)
SetVersion adds the version to the get collection params
func (*GetCollectionParams) WithCollectionID ¶
func (o *GetCollectionParams) WithCollectionID(collectionID strfmt.UUID) *GetCollectionParams
WithCollectionID adds the collectionID to the get collection params
func (*GetCollectionParams) WithContext ¶
func (o *GetCollectionParams) WithContext(ctx context.Context) *GetCollectionParams
WithContext adds the context to the get collection params
func (*GetCollectionParams) WithDefaults ¶
func (o *GetCollectionParams) WithDefaults() *GetCollectionParams
WithDefaults hydrates default values in the get collection params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionParams) WithHTTPClient ¶
func (o *GetCollectionParams) WithHTTPClient(client *http.Client) *GetCollectionParams
WithHTTPClient adds the HTTPClient to the get collection params
func (*GetCollectionParams) WithOrgID ¶
func (o *GetCollectionParams) WithOrgID(orgID strfmt.UUID) *GetCollectionParams
WithOrgID adds the orgID to the get collection params
func (*GetCollectionParams) WithTimeout ¶
func (o *GetCollectionParams) WithTimeout(timeout time.Duration) *GetCollectionParams
WithTimeout adds the timeout to the get collection params
func (*GetCollectionParams) WithVersion ¶
func (o *GetCollectionParams) WithVersion(version string) *GetCollectionParams
WithVersion adds the version to the get collection params
func (*GetCollectionParams) WriteToRequest ¶
func (o *GetCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCollectionReader ¶
type GetCollectionReader struct {
// contains filtered or unexported fields
}
GetCollectionReader is a Reader for the GetCollection structure.
func (*GetCollectionReader) ReadResponse ¶
func (o *GetCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCollectionUnauthorized ¶
type GetCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetCollectionUnauthorized ¶
func NewGetCollectionUnauthorized() *GetCollectionUnauthorized
NewGetCollectionUnauthorized creates a GetCollectionUnauthorized with default headers values
func (*GetCollectionUnauthorized) Code ¶
func (o *GetCollectionUnauthorized) Code() int
Code gets the status code for the get collection unauthorized response
func (*GetCollectionUnauthorized) Error ¶
func (o *GetCollectionUnauthorized) Error() string
func (*GetCollectionUnauthorized) GetPayload ¶
func (o *GetCollectionUnauthorized) GetPayload() *GetCollectionUnauthorizedBody
func (*GetCollectionUnauthorized) IsClientError ¶
func (o *GetCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this get collection unauthorized response has a 4xx status code
func (*GetCollectionUnauthorized) IsCode ¶
func (o *GetCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this get collection unauthorized response a status code equal to that given
func (*GetCollectionUnauthorized) IsRedirect ¶
func (o *GetCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get collection unauthorized response has a 3xx status code
func (*GetCollectionUnauthorized) IsServerError ¶
func (o *GetCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this get collection unauthorized response has a 5xx status code
func (*GetCollectionUnauthorized) IsSuccess ¶
func (o *GetCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get collection unauthorized response has a 2xx status code
func (*GetCollectionUnauthorized) String ¶
func (o *GetCollectionUnauthorized) String() string
type GetCollectionUnauthorizedBody ¶
type GetCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetCollectionUnauthorizedBody get collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionUnauthorizedBody
func (*GetCollectionUnauthorizedBody) ContextValidate ¶
func (o *GetCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection unauthorized body based on the context it is used
func (*GetCollectionUnauthorizedBody) MarshalBinary ¶
func (o *GetCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *GetCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionUnauthorizedBodyErrorsItems0 ¶
type GetCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *GetCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionUnauthorizedBodyErrorsItems0 get collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionUnauthorizedBodyErrorsItems0
func (*GetCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collection unauthorized body errors items0 based on the context it is used
func (*GetCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionUnauthorizedBodyErrorsItems0Links ¶
type GetCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionUnauthorizedBodyErrorsItems0Links
func (*GetCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection unauthorized body errors items0 links based on context it is used
func (*GetCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionUnauthorizedBodyErrorsItems0Source ¶
type GetCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionUnauthorizedBodyErrorsItems0Source get collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionUnauthorizedBodyErrorsItems0Source
func (*GetCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection unauthorized body errors items0 source based on context it is used
func (*GetCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionUnauthorizedBodyJsonapi ¶
type GetCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionUnauthorizedBodyJsonapi get collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionUnauthorizedBodyJsonapi
func (*GetCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collection unauthorized body jsonapi based on context it is used
func (*GetCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsBadRequest ¶
type GetCollectionsBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionsBadRequestBody }
GetCollectionsBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewGetCollectionsBadRequest ¶
func NewGetCollectionsBadRequest() *GetCollectionsBadRequest
NewGetCollectionsBadRequest creates a GetCollectionsBadRequest with default headers values
func (*GetCollectionsBadRequest) Code ¶
func (o *GetCollectionsBadRequest) Code() int
Code gets the status code for the get collections bad request response
func (*GetCollectionsBadRequest) Error ¶
func (o *GetCollectionsBadRequest) Error() string
func (*GetCollectionsBadRequest) GetPayload ¶
func (o *GetCollectionsBadRequest) GetPayload() *GetCollectionsBadRequestBody
func (*GetCollectionsBadRequest) IsClientError ¶
func (o *GetCollectionsBadRequest) IsClientError() bool
IsClientError returns true when this get collections bad request response has a 4xx status code
func (*GetCollectionsBadRequest) IsCode ¶
func (o *GetCollectionsBadRequest) IsCode(code int) bool
IsCode returns true when this get collections bad request response a status code equal to that given
func (*GetCollectionsBadRequest) IsRedirect ¶
func (o *GetCollectionsBadRequest) IsRedirect() bool
IsRedirect returns true when this get collections bad request response has a 3xx status code
func (*GetCollectionsBadRequest) IsServerError ¶
func (o *GetCollectionsBadRequest) IsServerError() bool
IsServerError returns true when this get collections bad request response has a 5xx status code
func (*GetCollectionsBadRequest) IsSuccess ¶
func (o *GetCollectionsBadRequest) IsSuccess() bool
IsSuccess returns true when this get collections bad request response has a 2xx status code
func (*GetCollectionsBadRequest) String ¶
func (o *GetCollectionsBadRequest) String() string
type GetCollectionsBadRequestBody ¶
type GetCollectionsBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionsBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionsBadRequestBodyJsonapi `json:"jsonapi"` }
GetCollectionsBadRequestBody get collections bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionsBadRequestBody
func (*GetCollectionsBadRequestBody) ContextValidate ¶
func (o *GetCollectionsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections bad request body based on the context it is used
func (*GetCollectionsBadRequestBody) MarshalBinary ¶
func (o *GetCollectionsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsBadRequestBody) UnmarshalBinary ¶
func (o *GetCollectionsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsBadRequestBodyErrorsItems0 ¶
type GetCollectionsBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionsBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionsBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionsBadRequestBodyErrorsItems0 get collections bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsBadRequestBodyErrorsItems0
func (*GetCollectionsBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections bad request body errors items0 based on the context it is used
func (*GetCollectionsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsBadRequestBodyErrorsItems0Links ¶
type GetCollectionsBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionsBadRequestBodyErrorsItems0Links
func (*GetCollectionsBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections bad request body errors items0 links based on context it is used
func (*GetCollectionsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsBadRequestBodyErrorsItems0Source ¶
type GetCollectionsBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionsBadRequestBodyErrorsItems0Source get collections bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsBadRequestBodyErrorsItems0Source
func (*GetCollectionsBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections bad request body errors items0 source based on context it is used
func (*GetCollectionsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsBadRequestBodyJsonapi ¶
type GetCollectionsBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionsBadRequestBodyJsonapi get collections bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionsBadRequestBodyJsonapi
func (*GetCollectionsBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetCollectionsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections bad request body jsonapi based on context it is used
func (*GetCollectionsBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsForbidden ¶
type GetCollectionsForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionsForbiddenBody }
GetCollectionsForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetCollectionsForbidden ¶
func NewGetCollectionsForbidden() *GetCollectionsForbidden
NewGetCollectionsForbidden creates a GetCollectionsForbidden with default headers values
func (*GetCollectionsForbidden) Code ¶
func (o *GetCollectionsForbidden) Code() int
Code gets the status code for the get collections forbidden response
func (*GetCollectionsForbidden) Error ¶
func (o *GetCollectionsForbidden) Error() string
func (*GetCollectionsForbidden) GetPayload ¶
func (o *GetCollectionsForbidden) GetPayload() *GetCollectionsForbiddenBody
func (*GetCollectionsForbidden) IsClientError ¶
func (o *GetCollectionsForbidden) IsClientError() bool
IsClientError returns true when this get collections forbidden response has a 4xx status code
func (*GetCollectionsForbidden) IsCode ¶
func (o *GetCollectionsForbidden) IsCode(code int) bool
IsCode returns true when this get collections forbidden response a status code equal to that given
func (*GetCollectionsForbidden) IsRedirect ¶
func (o *GetCollectionsForbidden) IsRedirect() bool
IsRedirect returns true when this get collections forbidden response has a 3xx status code
func (*GetCollectionsForbidden) IsServerError ¶
func (o *GetCollectionsForbidden) IsServerError() bool
IsServerError returns true when this get collections forbidden response has a 5xx status code
func (*GetCollectionsForbidden) IsSuccess ¶
func (o *GetCollectionsForbidden) IsSuccess() bool
IsSuccess returns true when this get collections forbidden response has a 2xx status code
func (*GetCollectionsForbidden) String ¶
func (o *GetCollectionsForbidden) String() string
type GetCollectionsForbiddenBody ¶
type GetCollectionsForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionsForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionsForbiddenBodyJsonapi `json:"jsonapi"` }
GetCollectionsForbiddenBody get collections forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionsForbiddenBody
func (*GetCollectionsForbiddenBody) ContextValidate ¶
func (o *GetCollectionsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections forbidden body based on the context it is used
func (*GetCollectionsForbiddenBody) MarshalBinary ¶
func (o *GetCollectionsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsForbiddenBody) UnmarshalBinary ¶
func (o *GetCollectionsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsForbiddenBodyErrorsItems0 ¶
type GetCollectionsForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionsForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionsForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionsForbiddenBodyErrorsItems0 get collections forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsForbiddenBodyErrorsItems0
func (*GetCollectionsForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections forbidden body errors items0 based on the context it is used
func (*GetCollectionsForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsForbiddenBodyErrorsItems0Links ¶
type GetCollectionsForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionsForbiddenBodyErrorsItems0Links
func (*GetCollectionsForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections forbidden body errors items0 links based on context it is used
func (*GetCollectionsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsForbiddenBodyErrorsItems0Source ¶
type GetCollectionsForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionsForbiddenBodyErrorsItems0Source get collections forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsForbiddenBodyErrorsItems0Source
func (*GetCollectionsForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections forbidden body errors items0 source based on context it is used
func (*GetCollectionsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsForbiddenBodyJsonapi ¶
type GetCollectionsForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionsForbiddenBodyJsonapi get collections forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionsForbiddenBodyJsonapi
func (*GetCollectionsForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetCollectionsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections forbidden body jsonapi based on context it is used
func (*GetCollectionsForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsInternalServerError ¶
type GetCollectionsInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionsInternalServerErrorBody }
GetCollectionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewGetCollectionsInternalServerError ¶
func NewGetCollectionsInternalServerError() *GetCollectionsInternalServerError
NewGetCollectionsInternalServerError creates a GetCollectionsInternalServerError with default headers values
func (*GetCollectionsInternalServerError) Code ¶
func (o *GetCollectionsInternalServerError) Code() int
Code gets the status code for the get collections internal server error response
func (*GetCollectionsInternalServerError) Error ¶
func (o *GetCollectionsInternalServerError) Error() string
func (*GetCollectionsInternalServerError) GetPayload ¶
func (o *GetCollectionsInternalServerError) GetPayload() *GetCollectionsInternalServerErrorBody
func (*GetCollectionsInternalServerError) IsClientError ¶
func (o *GetCollectionsInternalServerError) IsClientError() bool
IsClientError returns true when this get collections internal server error response has a 4xx status code
func (*GetCollectionsInternalServerError) IsCode ¶
func (o *GetCollectionsInternalServerError) IsCode(code int) bool
IsCode returns true when this get collections internal server error response a status code equal to that given
func (*GetCollectionsInternalServerError) IsRedirect ¶
func (o *GetCollectionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get collections internal server error response has a 3xx status code
func (*GetCollectionsInternalServerError) IsServerError ¶
func (o *GetCollectionsInternalServerError) IsServerError() bool
IsServerError returns true when this get collections internal server error response has a 5xx status code
func (*GetCollectionsInternalServerError) IsSuccess ¶
func (o *GetCollectionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get collections internal server error response has a 2xx status code
func (*GetCollectionsInternalServerError) String ¶
func (o *GetCollectionsInternalServerError) String() string
type GetCollectionsInternalServerErrorBody ¶
type GetCollectionsInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionsInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionsInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetCollectionsInternalServerErrorBody get collections internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionsInternalServerErrorBody
func (*GetCollectionsInternalServerErrorBody) ContextValidate ¶
func (o *GetCollectionsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections internal server error body based on the context it is used
func (*GetCollectionsInternalServerErrorBody) MarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsInternalServerErrorBodyErrorsItems0 ¶
type GetCollectionsInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionsInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionsInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionsInternalServerErrorBodyErrorsItems0 get collections internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsInternalServerErrorBodyErrorsItems0
func (*GetCollectionsInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections internal server error body errors items0 based on the context it is used
func (*GetCollectionsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsInternalServerErrorBodyErrorsItems0Links ¶
type GetCollectionsInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionsInternalServerErrorBodyErrorsItems0Links
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections internal server error body errors items0 links based on context it is used
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsInternalServerErrorBodyErrorsItems0Source ¶
type GetCollectionsInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionsInternalServerErrorBodyErrorsItems0Source get collections internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsInternalServerErrorBodyErrorsItems0Source
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections internal server error body errors items0 source based on context it is used
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsInternalServerErrorBodyJsonapi ¶
type GetCollectionsInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionsInternalServerErrorBodyJsonapi get collections internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionsInternalServerErrorBodyJsonapi
func (*GetCollectionsInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetCollectionsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections internal server error body jsonapi based on context it is used
func (*GetCollectionsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsNotFound ¶
type GetCollectionsNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionsNotFoundBody }
GetCollectionsNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetCollectionsNotFound ¶
func NewGetCollectionsNotFound() *GetCollectionsNotFound
NewGetCollectionsNotFound creates a GetCollectionsNotFound with default headers values
func (*GetCollectionsNotFound) Code ¶
func (o *GetCollectionsNotFound) Code() int
Code gets the status code for the get collections not found response
func (*GetCollectionsNotFound) Error ¶
func (o *GetCollectionsNotFound) Error() string
func (*GetCollectionsNotFound) GetPayload ¶
func (o *GetCollectionsNotFound) GetPayload() *GetCollectionsNotFoundBody
func (*GetCollectionsNotFound) IsClientError ¶
func (o *GetCollectionsNotFound) IsClientError() bool
IsClientError returns true when this get collections not found response has a 4xx status code
func (*GetCollectionsNotFound) IsCode ¶
func (o *GetCollectionsNotFound) IsCode(code int) bool
IsCode returns true when this get collections not found response a status code equal to that given
func (*GetCollectionsNotFound) IsRedirect ¶
func (o *GetCollectionsNotFound) IsRedirect() bool
IsRedirect returns true when this get collections not found response has a 3xx status code
func (*GetCollectionsNotFound) IsServerError ¶
func (o *GetCollectionsNotFound) IsServerError() bool
IsServerError returns true when this get collections not found response has a 5xx status code
func (*GetCollectionsNotFound) IsSuccess ¶
func (o *GetCollectionsNotFound) IsSuccess() bool
IsSuccess returns true when this get collections not found response has a 2xx status code
func (*GetCollectionsNotFound) String ¶
func (o *GetCollectionsNotFound) String() string
type GetCollectionsNotFoundBody ¶
type GetCollectionsNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionsNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetCollectionsNotFoundBodyJsonapi `json:"jsonapi"` }
GetCollectionsNotFoundBody get collections not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionsNotFoundBody
func (*GetCollectionsNotFoundBody) ContextValidate ¶
func (o *GetCollectionsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections not found body based on the context it is used
func (*GetCollectionsNotFoundBody) MarshalBinary ¶
func (o *GetCollectionsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsNotFoundBody) UnmarshalBinary ¶
func (o *GetCollectionsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsNotFoundBodyErrorsItems0 ¶
type GetCollectionsNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetCollectionsNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetCollectionsNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionsNotFoundBodyErrorsItems0 get collections not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsNotFoundBodyErrorsItems0
func (*GetCollectionsNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections not found body errors items0 based on the context it is used
func (*GetCollectionsNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsNotFoundBodyErrorsItems0Links ¶
type GetCollectionsNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionsNotFoundBodyErrorsItems0Links
func (*GetCollectionsNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections not found body errors items0 links based on context it is used
func (*GetCollectionsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsNotFoundBodyErrorsItems0Source ¶
type GetCollectionsNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionsNotFoundBodyErrorsItems0Source get collections not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsNotFoundBodyErrorsItems0Source
func (*GetCollectionsNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections not found body errors items0 source based on context it is used
func (*GetCollectionsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsNotFoundBodyJsonapi ¶
type GetCollectionsNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionsNotFoundBodyJsonapi get collections not found body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionsNotFoundBodyJsonapi
func (*GetCollectionsNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetCollectionsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections not found body jsonapi based on context it is used
func (*GetCollectionsNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsOK ¶
type GetCollectionsOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetCollectionsOKBody }
GetCollectionsOK describes a response with status code 200, with default header values.
Returns a list of collections
func NewGetCollectionsOK ¶
func NewGetCollectionsOK() *GetCollectionsOK
NewGetCollectionsOK creates a GetCollectionsOK with default headers values
func (*GetCollectionsOK) Code ¶
func (o *GetCollectionsOK) Code() int
Code gets the status code for the get collections o k response
func (*GetCollectionsOK) Error ¶
func (o *GetCollectionsOK) Error() string
func (*GetCollectionsOK) GetPayload ¶
func (o *GetCollectionsOK) GetPayload() *GetCollectionsOKBody
func (*GetCollectionsOK) IsClientError ¶
func (o *GetCollectionsOK) IsClientError() bool
IsClientError returns true when this get collections o k response has a 4xx status code
func (*GetCollectionsOK) IsCode ¶
func (o *GetCollectionsOK) IsCode(code int) bool
IsCode returns true when this get collections o k response a status code equal to that given
func (*GetCollectionsOK) IsRedirect ¶
func (o *GetCollectionsOK) IsRedirect() bool
IsRedirect returns true when this get collections o k response has a 3xx status code
func (*GetCollectionsOK) IsServerError ¶
func (o *GetCollectionsOK) IsServerError() bool
IsServerError returns true when this get collections o k response has a 5xx status code
func (*GetCollectionsOK) IsSuccess ¶
func (o *GetCollectionsOK) IsSuccess() bool
IsSuccess returns true when this get collections o k response has a 2xx status code
func (*GetCollectionsOK) String ¶
func (o *GetCollectionsOK) String() string
type GetCollectionsOKBody ¶
type GetCollectionsOKBody struct { // data Data []*models.CollectionResponse `json:"data"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.PaginatedLinks `json:"links,omitempty"` }
GetCollectionsOKBody get collections o k body swagger:model GetCollectionsOKBody
func (*GetCollectionsOKBody) ContextValidate ¶
ContextValidate validate this get collections o k body based on the context it is used
func (*GetCollectionsOKBody) MarshalBinary ¶
func (o *GetCollectionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsOKBody) UnmarshalBinary ¶
func (o *GetCollectionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsParams ¶
type GetCollectionsParams struct { /* Direction. Return collections sorted in the specified direction Default: "DESC" */ Direction *string /* EndingBefore. Return the page of results immediately before this cursor */ EndingBefore *string /* IsGenerated. Return collections where is_generated matches the provided boolean */ IsGenerated bool /* Limit. Number of results to return per page Format: int32 Default: 10 */ Limit *int32 /* Name. Return collections which names include the provided string */ Name string /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Sort. Return collections sorted by the specified attributes */ Sort *string /* StartingAfter. Return the page of results immediately after this cursor */ StartingAfter *string /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCollectionsParams contains all the parameters to send to the API endpoint
for the get collections operation. Typically these are written to a http.Request.
func NewGetCollectionsParams ¶
func NewGetCollectionsParams() *GetCollectionsParams
NewGetCollectionsParams creates a new GetCollectionsParams 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 NewGetCollectionsParamsWithContext ¶
func NewGetCollectionsParamsWithContext(ctx context.Context) *GetCollectionsParams
NewGetCollectionsParamsWithContext creates a new GetCollectionsParams object with the ability to set a context for a request.
func NewGetCollectionsParamsWithHTTPClient ¶
func NewGetCollectionsParamsWithHTTPClient(client *http.Client) *GetCollectionsParams
NewGetCollectionsParamsWithHTTPClient creates a new GetCollectionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollectionsParamsWithTimeout ¶
func NewGetCollectionsParamsWithTimeout(timeout time.Duration) *GetCollectionsParams
NewGetCollectionsParamsWithTimeout creates a new GetCollectionsParams object with the ability to set a timeout on a request.
func (*GetCollectionsParams) SetContext ¶
func (o *GetCollectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get collections params
func (*GetCollectionsParams) SetDefaults ¶
func (o *GetCollectionsParams) SetDefaults()
SetDefaults hydrates default values in the get collections params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionsParams) SetDirection ¶
func (o *GetCollectionsParams) SetDirection(direction *string)
SetDirection adds the direction to the get collections params
func (*GetCollectionsParams) SetEndingBefore ¶
func (o *GetCollectionsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get collections params
func (*GetCollectionsParams) SetHTTPClient ¶
func (o *GetCollectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get collections params
func (*GetCollectionsParams) SetIsGenerated ¶
func (o *GetCollectionsParams) SetIsGenerated(isGenerated bool)
SetIsGenerated adds the isGenerated to the get collections params
func (*GetCollectionsParams) SetLimit ¶
func (o *GetCollectionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get collections params
func (*GetCollectionsParams) SetName ¶
func (o *GetCollectionsParams) SetName(name string)
SetName adds the name to the get collections params
func (*GetCollectionsParams) SetOrgID ¶
func (o *GetCollectionsParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get collections params
func (*GetCollectionsParams) SetSort ¶
func (o *GetCollectionsParams) SetSort(sort *string)
SetSort adds the sort to the get collections params
func (*GetCollectionsParams) SetStartingAfter ¶
func (o *GetCollectionsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get collections params
func (*GetCollectionsParams) SetTimeout ¶
func (o *GetCollectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get collections params
func (*GetCollectionsParams) SetVersion ¶
func (o *GetCollectionsParams) SetVersion(version string)
SetVersion adds the version to the get collections params
func (*GetCollectionsParams) WithContext ¶
func (o *GetCollectionsParams) WithContext(ctx context.Context) *GetCollectionsParams
WithContext adds the context to the get collections params
func (*GetCollectionsParams) WithDefaults ¶
func (o *GetCollectionsParams) WithDefaults() *GetCollectionsParams
WithDefaults hydrates default values in the get collections params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionsParams) WithDirection ¶
func (o *GetCollectionsParams) WithDirection(direction *string) *GetCollectionsParams
WithDirection adds the direction to the get collections params
func (*GetCollectionsParams) WithEndingBefore ¶
func (o *GetCollectionsParams) WithEndingBefore(endingBefore *string) *GetCollectionsParams
WithEndingBefore adds the endingBefore to the get collections params
func (*GetCollectionsParams) WithHTTPClient ¶
func (o *GetCollectionsParams) WithHTTPClient(client *http.Client) *GetCollectionsParams
WithHTTPClient adds the HTTPClient to the get collections params
func (*GetCollectionsParams) WithIsGenerated ¶
func (o *GetCollectionsParams) WithIsGenerated(isGenerated bool) *GetCollectionsParams
WithIsGenerated adds the isGenerated to the get collections params
func (*GetCollectionsParams) WithLimit ¶
func (o *GetCollectionsParams) WithLimit(limit *int32) *GetCollectionsParams
WithLimit adds the limit to the get collections params
func (*GetCollectionsParams) WithName ¶
func (o *GetCollectionsParams) WithName(name string) *GetCollectionsParams
WithName adds the name to the get collections params
func (*GetCollectionsParams) WithOrgID ¶
func (o *GetCollectionsParams) WithOrgID(orgID strfmt.UUID) *GetCollectionsParams
WithOrgID adds the orgID to the get collections params
func (*GetCollectionsParams) WithSort ¶
func (o *GetCollectionsParams) WithSort(sort *string) *GetCollectionsParams
WithSort adds the sort to the get collections params
func (*GetCollectionsParams) WithStartingAfter ¶
func (o *GetCollectionsParams) WithStartingAfter(startingAfter *string) *GetCollectionsParams
WithStartingAfter adds the startingAfter to the get collections params
func (*GetCollectionsParams) WithTimeout ¶
func (o *GetCollectionsParams) WithTimeout(timeout time.Duration) *GetCollectionsParams
WithTimeout adds the timeout to the get collections params
func (*GetCollectionsParams) WithVersion ¶
func (o *GetCollectionsParams) WithVersion(version string) *GetCollectionsParams
WithVersion adds the version to the get collections params
func (*GetCollectionsParams) WriteToRequest ¶
func (o *GetCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCollectionsReader ¶
type GetCollectionsReader struct {
// contains filtered or unexported fields
}
GetCollectionsReader is a Reader for the GetCollections structure.
func (*GetCollectionsReader) ReadResponse ¶
func (o *GetCollectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCollectionsUnauthorized ¶
type GetCollectionsUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetCollectionsUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetCollectionsUnauthorized ¶
func NewGetCollectionsUnauthorized() *GetCollectionsUnauthorized
NewGetCollectionsUnauthorized creates a GetCollectionsUnauthorized with default headers values
func (*GetCollectionsUnauthorized) Code ¶
func (o *GetCollectionsUnauthorized) Code() int
Code gets the status code for the get collections unauthorized response
func (*GetCollectionsUnauthorized) Error ¶
func (o *GetCollectionsUnauthorized) Error() string
func (*GetCollectionsUnauthorized) GetPayload ¶
func (o *GetCollectionsUnauthorized) GetPayload() *GetCollectionsUnauthorizedBody
func (*GetCollectionsUnauthorized) IsClientError ¶
func (o *GetCollectionsUnauthorized) IsClientError() bool
IsClientError returns true when this get collections unauthorized response has a 4xx status code
func (*GetCollectionsUnauthorized) IsCode ¶
func (o *GetCollectionsUnauthorized) IsCode(code int) bool
IsCode returns true when this get collections unauthorized response a status code equal to that given
func (*GetCollectionsUnauthorized) IsRedirect ¶
func (o *GetCollectionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get collections unauthorized response has a 3xx status code
func (*GetCollectionsUnauthorized) IsServerError ¶
func (o *GetCollectionsUnauthorized) IsServerError() bool
IsServerError returns true when this get collections unauthorized response has a 5xx status code
func (*GetCollectionsUnauthorized) IsSuccess ¶
func (o *GetCollectionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get collections unauthorized response has a 2xx status code
func (*GetCollectionsUnauthorized) String ¶
func (o *GetCollectionsUnauthorized) String() string
type GetCollectionsUnauthorizedBody ¶
type GetCollectionsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetCollectionsUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetCollectionsUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetCollectionsUnauthorizedBody get collections unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetCollectionsUnauthorizedBody
func (*GetCollectionsUnauthorizedBody) ContextValidate ¶
func (o *GetCollectionsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections unauthorized body based on the context it is used
func (*GetCollectionsUnauthorizedBody) MarshalBinary ¶
func (o *GetCollectionsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsUnauthorizedBody) UnmarshalBinary ¶
func (o *GetCollectionsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsUnauthorizedBodyErrorsItems0 ¶
type GetCollectionsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *GetCollectionsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetCollectionsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetCollectionsUnauthorizedBodyErrorsItems0 get collections unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsUnauthorizedBodyErrorsItems0
func (*GetCollectionsUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get collections unauthorized body errors items0 based on the context it is used
func (*GetCollectionsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsUnauthorizedBodyErrorsItems0Links ¶
type GetCollectionsUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetCollectionsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetCollectionsUnauthorizedBodyErrorsItems0Links
func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections unauthorized body errors items0 links based on context it is used
func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsUnauthorizedBodyErrorsItems0Source ¶
type GetCollectionsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetCollectionsUnauthorizedBodyErrorsItems0Source get collections unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsUnauthorizedBodyErrorsItems0Source
func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections unauthorized body errors items0 source based on context it is used
func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCollectionsUnauthorizedBodyJsonapi ¶
type GetCollectionsUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetCollectionsUnauthorizedBodyJsonapi get collections unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetCollectionsUnauthorizedBodyJsonapi
func (*GetCollectionsUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetCollectionsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get collections unauthorized body jsonapi based on context it is used
func (*GetCollectionsUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCollectionsUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetCollectionsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionBadRequest ¶
type GetProjectsOfCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetProjectsOfCollectionBadRequestBody }
GetProjectsOfCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewGetProjectsOfCollectionBadRequest ¶
func NewGetProjectsOfCollectionBadRequest() *GetProjectsOfCollectionBadRequest
NewGetProjectsOfCollectionBadRequest creates a GetProjectsOfCollectionBadRequest with default headers values
func (*GetProjectsOfCollectionBadRequest) Code ¶
func (o *GetProjectsOfCollectionBadRequest) Code() int
Code gets the status code for the get projects of collection bad request response
func (*GetProjectsOfCollectionBadRequest) Error ¶
func (o *GetProjectsOfCollectionBadRequest) Error() string
func (*GetProjectsOfCollectionBadRequest) GetPayload ¶
func (o *GetProjectsOfCollectionBadRequest) GetPayload() *GetProjectsOfCollectionBadRequestBody
func (*GetProjectsOfCollectionBadRequest) IsClientError ¶
func (o *GetProjectsOfCollectionBadRequest) IsClientError() bool
IsClientError returns true when this get projects of collection bad request response has a 4xx status code
func (*GetProjectsOfCollectionBadRequest) IsCode ¶
func (o *GetProjectsOfCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this get projects of collection bad request response a status code equal to that given
func (*GetProjectsOfCollectionBadRequest) IsRedirect ¶
func (o *GetProjectsOfCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this get projects of collection bad request response has a 3xx status code
func (*GetProjectsOfCollectionBadRequest) IsServerError ¶
func (o *GetProjectsOfCollectionBadRequest) IsServerError() bool
IsServerError returns true when this get projects of collection bad request response has a 5xx status code
func (*GetProjectsOfCollectionBadRequest) IsSuccess ¶
func (o *GetProjectsOfCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this get projects of collection bad request response has a 2xx status code
func (*GetProjectsOfCollectionBadRequest) String ¶
func (o *GetProjectsOfCollectionBadRequest) String() string
type GetProjectsOfCollectionBadRequestBody ¶
type GetProjectsOfCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetProjectsOfCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetProjectsOfCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
GetProjectsOfCollectionBadRequestBody get projects of collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetProjectsOfCollectionBadRequestBody
func (*GetProjectsOfCollectionBadRequestBody) ContextValidate ¶
func (o *GetProjectsOfCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection bad request body based on the context it is used
func (*GetProjectsOfCollectionBadRequestBody) MarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionBadRequestBody) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionBadRequestBodyErrorsItems0 ¶
type GetProjectsOfCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetProjectsOfCollectionBadRequestBodyErrorsItems0 get projects of collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionBadRequestBodyErrorsItems0
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection bad request body errors items0 based on the context it is used
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionBadRequestBodyErrorsItems0Links ¶
type GetProjectsOfCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetProjectsOfCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetProjectsOfCollectionBadRequestBodyErrorsItems0Links
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection bad request body errors items0 links based on context it is used
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionBadRequestBodyErrorsItems0Source ¶
type GetProjectsOfCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetProjectsOfCollectionBadRequestBodyErrorsItems0Source get projects of collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionBadRequestBodyErrorsItems0Source
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection bad request body errors items0 source based on context it is used
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionBadRequestBodyJsonapi ¶
type GetProjectsOfCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetProjectsOfCollectionBadRequestBodyJsonapi get projects of collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionBadRequestBodyJsonapi
func (*GetProjectsOfCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection bad request body jsonapi based on context it is used
func (*GetProjectsOfCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionForbidden ¶
type GetProjectsOfCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetProjectsOfCollectionForbiddenBody }
GetProjectsOfCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetProjectsOfCollectionForbidden ¶
func NewGetProjectsOfCollectionForbidden() *GetProjectsOfCollectionForbidden
NewGetProjectsOfCollectionForbidden creates a GetProjectsOfCollectionForbidden with default headers values
func (*GetProjectsOfCollectionForbidden) Code ¶
func (o *GetProjectsOfCollectionForbidden) Code() int
Code gets the status code for the get projects of collection forbidden response
func (*GetProjectsOfCollectionForbidden) Error ¶
func (o *GetProjectsOfCollectionForbidden) Error() string
func (*GetProjectsOfCollectionForbidden) GetPayload ¶
func (o *GetProjectsOfCollectionForbidden) GetPayload() *GetProjectsOfCollectionForbiddenBody
func (*GetProjectsOfCollectionForbidden) IsClientError ¶
func (o *GetProjectsOfCollectionForbidden) IsClientError() bool
IsClientError returns true when this get projects of collection forbidden response has a 4xx status code
func (*GetProjectsOfCollectionForbidden) IsCode ¶
func (o *GetProjectsOfCollectionForbidden) IsCode(code int) bool
IsCode returns true when this get projects of collection forbidden response a status code equal to that given
func (*GetProjectsOfCollectionForbidden) IsRedirect ¶
func (o *GetProjectsOfCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this get projects of collection forbidden response has a 3xx status code
func (*GetProjectsOfCollectionForbidden) IsServerError ¶
func (o *GetProjectsOfCollectionForbidden) IsServerError() bool
IsServerError returns true when this get projects of collection forbidden response has a 5xx status code
func (*GetProjectsOfCollectionForbidden) IsSuccess ¶
func (o *GetProjectsOfCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this get projects of collection forbidden response has a 2xx status code
func (*GetProjectsOfCollectionForbidden) String ¶
func (o *GetProjectsOfCollectionForbidden) String() string
type GetProjectsOfCollectionForbiddenBody ¶
type GetProjectsOfCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetProjectsOfCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetProjectsOfCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
GetProjectsOfCollectionForbiddenBody get projects of collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetProjectsOfCollectionForbiddenBody
func (*GetProjectsOfCollectionForbiddenBody) ContextValidate ¶
func (o *GetProjectsOfCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection forbidden body based on the context it is used
func (*GetProjectsOfCollectionForbiddenBody) MarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionForbiddenBody) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionForbiddenBodyErrorsItems0 ¶
type GetProjectsOfCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetProjectsOfCollectionForbiddenBodyErrorsItems0 get projects of collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionForbiddenBodyErrorsItems0
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection forbidden body errors items0 based on the context it is used
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionForbiddenBodyErrorsItems0Links ¶
type GetProjectsOfCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetProjectsOfCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetProjectsOfCollectionForbiddenBodyErrorsItems0Links
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection forbidden body errors items0 links based on context it is used
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionForbiddenBodyErrorsItems0Source ¶
type GetProjectsOfCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetProjectsOfCollectionForbiddenBodyErrorsItems0Source get projects of collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionForbiddenBodyErrorsItems0Source
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection forbidden body errors items0 source based on context it is used
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionForbiddenBodyJsonapi ¶
type GetProjectsOfCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetProjectsOfCollectionForbiddenBodyJsonapi get projects of collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionForbiddenBodyJsonapi
func (*GetProjectsOfCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection forbidden body jsonapi based on context it is used
func (*GetProjectsOfCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionInternalServerError ¶
type GetProjectsOfCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetProjectsOfCollectionInternalServerErrorBody }
GetProjectsOfCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewGetProjectsOfCollectionInternalServerError ¶
func NewGetProjectsOfCollectionInternalServerError() *GetProjectsOfCollectionInternalServerError
NewGetProjectsOfCollectionInternalServerError creates a GetProjectsOfCollectionInternalServerError with default headers values
func (*GetProjectsOfCollectionInternalServerError) Code ¶
func (o *GetProjectsOfCollectionInternalServerError) Code() int
Code gets the status code for the get projects of collection internal server error response
func (*GetProjectsOfCollectionInternalServerError) Error ¶
func (o *GetProjectsOfCollectionInternalServerError) Error() string
func (*GetProjectsOfCollectionInternalServerError) GetPayload ¶
func (o *GetProjectsOfCollectionInternalServerError) GetPayload() *GetProjectsOfCollectionInternalServerErrorBody
func (*GetProjectsOfCollectionInternalServerError) IsClientError ¶
func (o *GetProjectsOfCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this get projects of collection internal server error response has a 4xx status code
func (*GetProjectsOfCollectionInternalServerError) IsCode ¶
func (o *GetProjectsOfCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this get projects of collection internal server error response a status code equal to that given
func (*GetProjectsOfCollectionInternalServerError) IsRedirect ¶
func (o *GetProjectsOfCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get projects of collection internal server error response has a 3xx status code
func (*GetProjectsOfCollectionInternalServerError) IsServerError ¶
func (o *GetProjectsOfCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this get projects of collection internal server error response has a 5xx status code
func (*GetProjectsOfCollectionInternalServerError) IsSuccess ¶
func (o *GetProjectsOfCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get projects of collection internal server error response has a 2xx status code
func (*GetProjectsOfCollectionInternalServerError) String ¶
func (o *GetProjectsOfCollectionInternalServerError) String() string
type GetProjectsOfCollectionInternalServerErrorBody ¶
type GetProjectsOfCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetProjectsOfCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetProjectsOfCollectionInternalServerErrorBody get projects of collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetProjectsOfCollectionInternalServerErrorBody
func (*GetProjectsOfCollectionInternalServerErrorBody) ContextValidate ¶
func (o *GetProjectsOfCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection internal server error body based on the context it is used
func (*GetProjectsOfCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0 ¶
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0 get projects of collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection internal server error body errors items0 based on the context it is used
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links ¶
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection internal server error body errors items0 links based on context it is used
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source ¶
type GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source get projects of collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection internal server error body errors items0 source based on context it is used
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionInternalServerErrorBodyJsonapi ¶
type GetProjectsOfCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetProjectsOfCollectionInternalServerErrorBodyJsonapi get projects of collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionInternalServerErrorBodyJsonapi
func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection internal server error body jsonapi based on context it is used
func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionNotFound ¶
type GetProjectsOfCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetProjectsOfCollectionNotFoundBody }
GetProjectsOfCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetProjectsOfCollectionNotFound ¶
func NewGetProjectsOfCollectionNotFound() *GetProjectsOfCollectionNotFound
NewGetProjectsOfCollectionNotFound creates a GetProjectsOfCollectionNotFound with default headers values
func (*GetProjectsOfCollectionNotFound) Code ¶
func (o *GetProjectsOfCollectionNotFound) Code() int
Code gets the status code for the get projects of collection not found response
func (*GetProjectsOfCollectionNotFound) Error ¶
func (o *GetProjectsOfCollectionNotFound) Error() string
func (*GetProjectsOfCollectionNotFound) GetPayload ¶
func (o *GetProjectsOfCollectionNotFound) GetPayload() *GetProjectsOfCollectionNotFoundBody
func (*GetProjectsOfCollectionNotFound) IsClientError ¶
func (o *GetProjectsOfCollectionNotFound) IsClientError() bool
IsClientError returns true when this get projects of collection not found response has a 4xx status code
func (*GetProjectsOfCollectionNotFound) IsCode ¶
func (o *GetProjectsOfCollectionNotFound) IsCode(code int) bool
IsCode returns true when this get projects of collection not found response a status code equal to that given
func (*GetProjectsOfCollectionNotFound) IsRedirect ¶
func (o *GetProjectsOfCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this get projects of collection not found response has a 3xx status code
func (*GetProjectsOfCollectionNotFound) IsServerError ¶
func (o *GetProjectsOfCollectionNotFound) IsServerError() bool
IsServerError returns true when this get projects of collection not found response has a 5xx status code
func (*GetProjectsOfCollectionNotFound) IsSuccess ¶
func (o *GetProjectsOfCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this get projects of collection not found response has a 2xx status code
func (*GetProjectsOfCollectionNotFound) String ¶
func (o *GetProjectsOfCollectionNotFound) String() string
type GetProjectsOfCollectionNotFoundBody ¶
type GetProjectsOfCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetProjectsOfCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetProjectsOfCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
GetProjectsOfCollectionNotFoundBody get projects of collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetProjectsOfCollectionNotFoundBody
func (*GetProjectsOfCollectionNotFoundBody) ContextValidate ¶
func (o *GetProjectsOfCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection not found body based on the context it is used
func (*GetProjectsOfCollectionNotFoundBody) MarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionNotFoundBody) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionNotFoundBodyErrorsItems0 ¶
type GetProjectsOfCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetProjectsOfCollectionNotFoundBodyErrorsItems0 get projects of collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionNotFoundBodyErrorsItems0
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection not found body errors items0 based on the context it is used
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionNotFoundBodyErrorsItems0Links ¶
type GetProjectsOfCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetProjectsOfCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetProjectsOfCollectionNotFoundBodyErrorsItems0Links
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection not found body errors items0 links based on context it is used
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionNotFoundBodyErrorsItems0Source ¶
type GetProjectsOfCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetProjectsOfCollectionNotFoundBodyErrorsItems0Source get projects of collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionNotFoundBodyErrorsItems0Source
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection not found body errors items0 source based on context it is used
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionNotFoundBodyJsonapi ¶
type GetProjectsOfCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetProjectsOfCollectionNotFoundBodyJsonapi get projects of collection not found body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionNotFoundBodyJsonapi
func (*GetProjectsOfCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection not found body jsonapi based on context it is used
func (*GetProjectsOfCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionOK ¶
type GetProjectsOfCollectionOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *models.GetProjectsOfCollectionResponse }
GetProjectsOfCollectionOK describes a response with status code 200, with default header values.
Returns a list of projects from the specified collection
func NewGetProjectsOfCollectionOK ¶
func NewGetProjectsOfCollectionOK() *GetProjectsOfCollectionOK
NewGetProjectsOfCollectionOK creates a GetProjectsOfCollectionOK with default headers values
func (*GetProjectsOfCollectionOK) Code ¶
func (o *GetProjectsOfCollectionOK) Code() int
Code gets the status code for the get projects of collection o k response
func (*GetProjectsOfCollectionOK) Error ¶
func (o *GetProjectsOfCollectionOK) Error() string
func (*GetProjectsOfCollectionOK) GetPayload ¶
func (o *GetProjectsOfCollectionOK) GetPayload() *models.GetProjectsOfCollectionResponse
func (*GetProjectsOfCollectionOK) IsClientError ¶
func (o *GetProjectsOfCollectionOK) IsClientError() bool
IsClientError returns true when this get projects of collection o k response has a 4xx status code
func (*GetProjectsOfCollectionOK) IsCode ¶
func (o *GetProjectsOfCollectionOK) IsCode(code int) bool
IsCode returns true when this get projects of collection o k response a status code equal to that given
func (*GetProjectsOfCollectionOK) IsRedirect ¶
func (o *GetProjectsOfCollectionOK) IsRedirect() bool
IsRedirect returns true when this get projects of collection o k response has a 3xx status code
func (*GetProjectsOfCollectionOK) IsServerError ¶
func (o *GetProjectsOfCollectionOK) IsServerError() bool
IsServerError returns true when this get projects of collection o k response has a 5xx status code
func (*GetProjectsOfCollectionOK) IsSuccess ¶
func (o *GetProjectsOfCollectionOK) IsSuccess() bool
IsSuccess returns true when this get projects of collection o k response has a 2xx status code
func (*GetProjectsOfCollectionOK) String ¶
func (o *GetProjectsOfCollectionOK) String() string
type GetProjectsOfCollectionParams ¶
type GetProjectsOfCollectionParams struct { /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* Direction. Return projects sorted in the specified direction Default: "DESC" */ Direction *string /* EndingBefore. Return the page of results immediately before this cursor */ EndingBefore *string /* Integration. Return projects that match the provided integration types */ Integration []string /* Limit. Number of results to return per page Format: int32 Default: 10 */ Limit *int32 /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Show. Return projects that are with or without issues */ Show []string /* Sort. Return projects sorted by the specified attributes */ Sort *string /* StartingAfter. Return the page of results immediately after this cursor */ StartingAfter *string /* TargetID. Return projects that belong to the provided targets */ TargetID []strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectsOfCollectionParams contains all the parameters to send to the API endpoint
for the get projects of collection operation. Typically these are written to a http.Request.
func NewGetProjectsOfCollectionParams ¶
func NewGetProjectsOfCollectionParams() *GetProjectsOfCollectionParams
NewGetProjectsOfCollectionParams creates a new GetProjectsOfCollectionParams 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 NewGetProjectsOfCollectionParamsWithContext ¶
func NewGetProjectsOfCollectionParamsWithContext(ctx context.Context) *GetProjectsOfCollectionParams
NewGetProjectsOfCollectionParamsWithContext creates a new GetProjectsOfCollectionParams object with the ability to set a context for a request.
func NewGetProjectsOfCollectionParamsWithHTTPClient ¶
func NewGetProjectsOfCollectionParamsWithHTTPClient(client *http.Client) *GetProjectsOfCollectionParams
NewGetProjectsOfCollectionParamsWithHTTPClient creates a new GetProjectsOfCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectsOfCollectionParamsWithTimeout ¶
func NewGetProjectsOfCollectionParamsWithTimeout(timeout time.Duration) *GetProjectsOfCollectionParams
NewGetProjectsOfCollectionParamsWithTimeout creates a new GetProjectsOfCollectionParams object with the ability to set a timeout on a request.
func (*GetProjectsOfCollectionParams) SetCollectionID ¶
func (o *GetProjectsOfCollectionParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetContext ¶
func (o *GetProjectsOfCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetDefaults ¶
func (o *GetProjectsOfCollectionParams) SetDefaults()
SetDefaults hydrates default values in the get projects of collection params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectsOfCollectionParams) SetDirection ¶
func (o *GetProjectsOfCollectionParams) SetDirection(direction *string)
SetDirection adds the direction to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetEndingBefore ¶
func (o *GetProjectsOfCollectionParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetHTTPClient ¶
func (o *GetProjectsOfCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetIntegration ¶
func (o *GetProjectsOfCollectionParams) SetIntegration(integration []string)
SetIntegration adds the integration to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetLimit ¶
func (o *GetProjectsOfCollectionParams) SetLimit(limit *int32)
SetLimit adds the limit to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetOrgID ¶
func (o *GetProjectsOfCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetShow ¶
func (o *GetProjectsOfCollectionParams) SetShow(show []string)
SetShow adds the show to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetSort ¶
func (o *GetProjectsOfCollectionParams) SetSort(sort *string)
SetSort adds the sort to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetStartingAfter ¶
func (o *GetProjectsOfCollectionParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetTargetID ¶
func (o *GetProjectsOfCollectionParams) SetTargetID(targetID []strfmt.UUID)
SetTargetID adds the targetId to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetTimeout ¶
func (o *GetProjectsOfCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get projects of collection params
func (*GetProjectsOfCollectionParams) SetVersion ¶
func (o *GetProjectsOfCollectionParams) SetVersion(version string)
SetVersion adds the version to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithCollectionID ¶
func (o *GetProjectsOfCollectionParams) WithCollectionID(collectionID strfmt.UUID) *GetProjectsOfCollectionParams
WithCollectionID adds the collectionID to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithContext ¶
func (o *GetProjectsOfCollectionParams) WithContext(ctx context.Context) *GetProjectsOfCollectionParams
WithContext adds the context to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithDefaults ¶
func (o *GetProjectsOfCollectionParams) WithDefaults() *GetProjectsOfCollectionParams
WithDefaults hydrates default values in the get projects of collection params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectsOfCollectionParams) WithDirection ¶
func (o *GetProjectsOfCollectionParams) WithDirection(direction *string) *GetProjectsOfCollectionParams
WithDirection adds the direction to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithEndingBefore ¶
func (o *GetProjectsOfCollectionParams) WithEndingBefore(endingBefore *string) *GetProjectsOfCollectionParams
WithEndingBefore adds the endingBefore to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithHTTPClient ¶
func (o *GetProjectsOfCollectionParams) WithHTTPClient(client *http.Client) *GetProjectsOfCollectionParams
WithHTTPClient adds the HTTPClient to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithIntegration ¶
func (o *GetProjectsOfCollectionParams) WithIntegration(integration []string) *GetProjectsOfCollectionParams
WithIntegration adds the integration to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithLimit ¶
func (o *GetProjectsOfCollectionParams) WithLimit(limit *int32) *GetProjectsOfCollectionParams
WithLimit adds the limit to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithOrgID ¶
func (o *GetProjectsOfCollectionParams) WithOrgID(orgID strfmt.UUID) *GetProjectsOfCollectionParams
WithOrgID adds the orgID to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithShow ¶
func (o *GetProjectsOfCollectionParams) WithShow(show []string) *GetProjectsOfCollectionParams
WithShow adds the show to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithSort ¶
func (o *GetProjectsOfCollectionParams) WithSort(sort *string) *GetProjectsOfCollectionParams
WithSort adds the sort to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithStartingAfter ¶
func (o *GetProjectsOfCollectionParams) WithStartingAfter(startingAfter *string) *GetProjectsOfCollectionParams
WithStartingAfter adds the startingAfter to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithTargetID ¶
func (o *GetProjectsOfCollectionParams) WithTargetID(targetID []strfmt.UUID) *GetProjectsOfCollectionParams
WithTargetID adds the targetID to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithTimeout ¶
func (o *GetProjectsOfCollectionParams) WithTimeout(timeout time.Duration) *GetProjectsOfCollectionParams
WithTimeout adds the timeout to the get projects of collection params
func (*GetProjectsOfCollectionParams) WithVersion ¶
func (o *GetProjectsOfCollectionParams) WithVersion(version string) *GetProjectsOfCollectionParams
WithVersion adds the version to the get projects of collection params
func (*GetProjectsOfCollectionParams) WriteToRequest ¶
func (o *GetProjectsOfCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectsOfCollectionReader ¶
type GetProjectsOfCollectionReader struct {
// contains filtered or unexported fields
}
GetProjectsOfCollectionReader is a Reader for the GetProjectsOfCollection structure.
func (*GetProjectsOfCollectionReader) ReadResponse ¶
func (o *GetProjectsOfCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectsOfCollectionUnauthorized ¶
type GetProjectsOfCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetProjectsOfCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetProjectsOfCollectionUnauthorized ¶
func NewGetProjectsOfCollectionUnauthorized() *GetProjectsOfCollectionUnauthorized
NewGetProjectsOfCollectionUnauthorized creates a GetProjectsOfCollectionUnauthorized with default headers values
func (*GetProjectsOfCollectionUnauthorized) Code ¶
func (o *GetProjectsOfCollectionUnauthorized) Code() int
Code gets the status code for the get projects of collection unauthorized response
func (*GetProjectsOfCollectionUnauthorized) Error ¶
func (o *GetProjectsOfCollectionUnauthorized) Error() string
func (*GetProjectsOfCollectionUnauthorized) GetPayload ¶
func (o *GetProjectsOfCollectionUnauthorized) GetPayload() *GetProjectsOfCollectionUnauthorizedBody
func (*GetProjectsOfCollectionUnauthorized) IsClientError ¶
func (o *GetProjectsOfCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this get projects of collection unauthorized response has a 4xx status code
func (*GetProjectsOfCollectionUnauthorized) IsCode ¶
func (o *GetProjectsOfCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this get projects of collection unauthorized response a status code equal to that given
func (*GetProjectsOfCollectionUnauthorized) IsRedirect ¶
func (o *GetProjectsOfCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get projects of collection unauthorized response has a 3xx status code
func (*GetProjectsOfCollectionUnauthorized) IsServerError ¶
func (o *GetProjectsOfCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this get projects of collection unauthorized response has a 5xx status code
func (*GetProjectsOfCollectionUnauthorized) IsSuccess ¶
func (o *GetProjectsOfCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get projects of collection unauthorized response has a 2xx status code
func (*GetProjectsOfCollectionUnauthorized) String ¶
func (o *GetProjectsOfCollectionUnauthorized) String() string
type GetProjectsOfCollectionUnauthorizedBody ¶
type GetProjectsOfCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetProjectsOfCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetProjectsOfCollectionUnauthorizedBody get projects of collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetProjectsOfCollectionUnauthorizedBody
func (*GetProjectsOfCollectionUnauthorizedBody) ContextValidate ¶
func (o *GetProjectsOfCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection unauthorized body based on the context it is used
func (*GetProjectsOfCollectionUnauthorizedBody) MarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 ¶
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 get projects of collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionUnauthorizedBodyErrorsItems0
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection unauthorized body errors items0 based on the context it is used
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links ¶
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection unauthorized body errors items0 links based on context it is used
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source ¶
type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source get projects of collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection unauthorized body errors items0 source based on context it is used
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionUnauthorizedBodyJsonapi ¶
type GetProjectsOfCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetProjectsOfCollectionUnauthorizedBodyJsonapi get projects of collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionUnauthorizedBodyJsonapi
func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get projects of collection unauthorized body jsonapi based on context it is used
func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetProjectsOfCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionBadRequest ¶
type UpdateCollectionBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionBadRequestBody }
UpdateCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewUpdateCollectionBadRequest ¶
func NewUpdateCollectionBadRequest() *UpdateCollectionBadRequest
NewUpdateCollectionBadRequest creates a UpdateCollectionBadRequest with default headers values
func (*UpdateCollectionBadRequest) Code ¶
func (o *UpdateCollectionBadRequest) Code() int
Code gets the status code for the update collection bad request response
func (*UpdateCollectionBadRequest) Error ¶
func (o *UpdateCollectionBadRequest) Error() string
func (*UpdateCollectionBadRequest) GetPayload ¶
func (o *UpdateCollectionBadRequest) GetPayload() *UpdateCollectionBadRequestBody
func (*UpdateCollectionBadRequest) IsClientError ¶
func (o *UpdateCollectionBadRequest) IsClientError() bool
IsClientError returns true when this update collection bad request response has a 4xx status code
func (*UpdateCollectionBadRequest) IsCode ¶
func (o *UpdateCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this update collection bad request response a status code equal to that given
func (*UpdateCollectionBadRequest) IsRedirect ¶
func (o *UpdateCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this update collection bad request response has a 3xx status code
func (*UpdateCollectionBadRequest) IsServerError ¶
func (o *UpdateCollectionBadRequest) IsServerError() bool
IsServerError returns true when this update collection bad request response has a 5xx status code
func (*UpdateCollectionBadRequest) IsSuccess ¶
func (o *UpdateCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this update collection bad request response has a 2xx status code
func (*UpdateCollectionBadRequest) String ¶
func (o *UpdateCollectionBadRequest) String() string
type UpdateCollectionBadRequestBody ¶
type UpdateCollectionBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionBadRequestBodyJsonapi `json:"jsonapi"` }
UpdateCollectionBadRequestBody update collection bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionBadRequestBody
func (*UpdateCollectionBadRequestBody) ContextValidate ¶
func (o *UpdateCollectionBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection bad request body based on the context it is used
func (*UpdateCollectionBadRequestBody) MarshalBinary ¶
func (o *UpdateCollectionBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionBadRequestBody) UnmarshalBinary ¶
func (o *UpdateCollectionBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionBadRequestBodyErrorsItems0 ¶
type UpdateCollectionBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionBadRequestBodyErrorsItems0 update collection bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionBadRequestBodyErrorsItems0
func (*UpdateCollectionBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection bad request body errors items0 based on the context it is used
func (*UpdateCollectionBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionBadRequestBodyErrorsItems0Links ¶
type UpdateCollectionBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionBadRequestBodyErrorsItems0Links
func (*UpdateCollectionBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection bad request body errors items0 links based on context it is used
func (*UpdateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionBadRequestBodyErrorsItems0Source ¶
type UpdateCollectionBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionBadRequestBodyErrorsItems0Source update collection bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionBadRequestBodyErrorsItems0Source
func (*UpdateCollectionBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection bad request body errors items0 source based on context it is used
func (*UpdateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionBadRequestBodyJsonapi ¶
type UpdateCollectionBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionBadRequestBodyJsonapi update collection bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionBadRequestBodyJsonapi
func (*UpdateCollectionBadRequestBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection bad request body jsonapi based on context it is used
func (*UpdateCollectionBadRequestBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionConflict ¶
type UpdateCollectionConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionConflictBody }
UpdateCollectionConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewUpdateCollectionConflict ¶
func NewUpdateCollectionConflict() *UpdateCollectionConflict
NewUpdateCollectionConflict creates a UpdateCollectionConflict with default headers values
func (*UpdateCollectionConflict) Code ¶
func (o *UpdateCollectionConflict) Code() int
Code gets the status code for the update collection conflict response
func (*UpdateCollectionConflict) Error ¶
func (o *UpdateCollectionConflict) Error() string
func (*UpdateCollectionConflict) GetPayload ¶
func (o *UpdateCollectionConflict) GetPayload() *UpdateCollectionConflictBody
func (*UpdateCollectionConflict) IsClientError ¶
func (o *UpdateCollectionConflict) IsClientError() bool
IsClientError returns true when this update collection conflict response has a 4xx status code
func (*UpdateCollectionConflict) IsCode ¶
func (o *UpdateCollectionConflict) IsCode(code int) bool
IsCode returns true when this update collection conflict response a status code equal to that given
func (*UpdateCollectionConflict) IsRedirect ¶
func (o *UpdateCollectionConflict) IsRedirect() bool
IsRedirect returns true when this update collection conflict response has a 3xx status code
func (*UpdateCollectionConflict) IsServerError ¶
func (o *UpdateCollectionConflict) IsServerError() bool
IsServerError returns true when this update collection conflict response has a 5xx status code
func (*UpdateCollectionConflict) IsSuccess ¶
func (o *UpdateCollectionConflict) IsSuccess() bool
IsSuccess returns true when this update collection conflict response has a 2xx status code
func (*UpdateCollectionConflict) String ¶
func (o *UpdateCollectionConflict) String() string
type UpdateCollectionConflictBody ¶
type UpdateCollectionConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionConflictBodyJsonapi `json:"jsonapi"` }
UpdateCollectionConflictBody update collection conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionConflictBody
func (*UpdateCollectionConflictBody) ContextValidate ¶
func (o *UpdateCollectionConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection conflict body based on the context it is used
func (*UpdateCollectionConflictBody) MarshalBinary ¶
func (o *UpdateCollectionConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionConflictBody) UnmarshalBinary ¶
func (o *UpdateCollectionConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionConflictBodyErrorsItems0 ¶
type UpdateCollectionConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionConflictBodyErrorsItems0 update collection conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionConflictBodyErrorsItems0
func (*UpdateCollectionConflictBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection conflict body errors items0 based on the context it is used
func (*UpdateCollectionConflictBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionConflictBodyErrorsItems0Links ¶
type UpdateCollectionConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionConflictBodyErrorsItems0Links
func (*UpdateCollectionConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection conflict body errors items0 links based on context it is used
func (*UpdateCollectionConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionConflictBodyErrorsItems0Source ¶
type UpdateCollectionConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionConflictBodyErrorsItems0Source update collection conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionConflictBodyErrorsItems0Source
func (*UpdateCollectionConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection conflict body errors items0 source based on context it is used
func (*UpdateCollectionConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionConflictBodyJsonapi ¶
type UpdateCollectionConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionConflictBodyJsonapi update collection conflict body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionConflictBodyJsonapi
func (*UpdateCollectionConflictBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection conflict body jsonapi based on context it is used
func (*UpdateCollectionConflictBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionConflictBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionForbidden ¶
type UpdateCollectionForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionForbiddenBody }
UpdateCollectionForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewUpdateCollectionForbidden ¶
func NewUpdateCollectionForbidden() *UpdateCollectionForbidden
NewUpdateCollectionForbidden creates a UpdateCollectionForbidden with default headers values
func (*UpdateCollectionForbidden) Code ¶
func (o *UpdateCollectionForbidden) Code() int
Code gets the status code for the update collection forbidden response
func (*UpdateCollectionForbidden) Error ¶
func (o *UpdateCollectionForbidden) Error() string
func (*UpdateCollectionForbidden) GetPayload ¶
func (o *UpdateCollectionForbidden) GetPayload() *UpdateCollectionForbiddenBody
func (*UpdateCollectionForbidden) IsClientError ¶
func (o *UpdateCollectionForbidden) IsClientError() bool
IsClientError returns true when this update collection forbidden response has a 4xx status code
func (*UpdateCollectionForbidden) IsCode ¶
func (o *UpdateCollectionForbidden) IsCode(code int) bool
IsCode returns true when this update collection forbidden response a status code equal to that given
func (*UpdateCollectionForbidden) IsRedirect ¶
func (o *UpdateCollectionForbidden) IsRedirect() bool
IsRedirect returns true when this update collection forbidden response has a 3xx status code
func (*UpdateCollectionForbidden) IsServerError ¶
func (o *UpdateCollectionForbidden) IsServerError() bool
IsServerError returns true when this update collection forbidden response has a 5xx status code
func (*UpdateCollectionForbidden) IsSuccess ¶
func (o *UpdateCollectionForbidden) IsSuccess() bool
IsSuccess returns true when this update collection forbidden response has a 2xx status code
func (*UpdateCollectionForbidden) String ¶
func (o *UpdateCollectionForbidden) String() string
type UpdateCollectionForbiddenBody ¶
type UpdateCollectionForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionForbiddenBodyJsonapi `json:"jsonapi"` }
UpdateCollectionForbiddenBody update collection forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionForbiddenBody
func (*UpdateCollectionForbiddenBody) ContextValidate ¶
func (o *UpdateCollectionForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection forbidden body based on the context it is used
func (*UpdateCollectionForbiddenBody) MarshalBinary ¶
func (o *UpdateCollectionForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionForbiddenBody) UnmarshalBinary ¶
func (o *UpdateCollectionForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionForbiddenBodyErrorsItems0 ¶
type UpdateCollectionForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionForbiddenBodyErrorsItems0 update collection forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionForbiddenBodyErrorsItems0
func (*UpdateCollectionForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection forbidden body errors items0 based on the context it is used
func (*UpdateCollectionForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionForbiddenBodyErrorsItems0Links ¶
type UpdateCollectionForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionForbiddenBodyErrorsItems0Links
func (*UpdateCollectionForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection forbidden body errors items0 links based on context it is used
func (*UpdateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionForbiddenBodyErrorsItems0Source ¶
type UpdateCollectionForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionForbiddenBodyErrorsItems0Source update collection forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionForbiddenBodyErrorsItems0Source
func (*UpdateCollectionForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection forbidden body errors items0 source based on context it is used
func (*UpdateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionForbiddenBodyJsonapi ¶
type UpdateCollectionForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionForbiddenBodyJsonapi update collection forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionForbiddenBodyJsonapi
func (*UpdateCollectionForbiddenBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection forbidden body jsonapi based on context it is used
func (*UpdateCollectionForbiddenBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionInternalServerError ¶
type UpdateCollectionInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionInternalServerErrorBody }
UpdateCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewUpdateCollectionInternalServerError ¶
func NewUpdateCollectionInternalServerError() *UpdateCollectionInternalServerError
NewUpdateCollectionInternalServerError creates a UpdateCollectionInternalServerError with default headers values
func (*UpdateCollectionInternalServerError) Code ¶
func (o *UpdateCollectionInternalServerError) Code() int
Code gets the status code for the update collection internal server error response
func (*UpdateCollectionInternalServerError) Error ¶
func (o *UpdateCollectionInternalServerError) Error() string
func (*UpdateCollectionInternalServerError) GetPayload ¶
func (o *UpdateCollectionInternalServerError) GetPayload() *UpdateCollectionInternalServerErrorBody
func (*UpdateCollectionInternalServerError) IsClientError ¶
func (o *UpdateCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this update collection internal server error response has a 4xx status code
func (*UpdateCollectionInternalServerError) IsCode ¶
func (o *UpdateCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this update collection internal server error response a status code equal to that given
func (*UpdateCollectionInternalServerError) IsRedirect ¶
func (o *UpdateCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this update collection internal server error response has a 3xx status code
func (*UpdateCollectionInternalServerError) IsServerError ¶
func (o *UpdateCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this update collection internal server error response has a 5xx status code
func (*UpdateCollectionInternalServerError) IsSuccess ¶
func (o *UpdateCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this update collection internal server error response has a 2xx status code
func (*UpdateCollectionInternalServerError) String ¶
func (o *UpdateCollectionInternalServerError) String() string
type UpdateCollectionInternalServerErrorBody ¶
type UpdateCollectionInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionInternalServerErrorBodyJsonapi `json:"jsonapi"` }
UpdateCollectionInternalServerErrorBody update collection internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionInternalServerErrorBody
func (*UpdateCollectionInternalServerErrorBody) ContextValidate ¶
func (o *UpdateCollectionInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection internal server error body based on the context it is used
func (*UpdateCollectionInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionInternalServerErrorBodyErrorsItems0 ¶
type UpdateCollectionInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionInternalServerErrorBodyErrorsItems0 update collection internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionInternalServerErrorBodyErrorsItems0
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection internal server error body errors items0 based on the context it is used
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionInternalServerErrorBodyErrorsItems0Links ¶
type UpdateCollectionInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionInternalServerErrorBodyErrorsItems0Links
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection internal server error body errors items0 links based on context it is used
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionInternalServerErrorBodyErrorsItems0Source ¶
type UpdateCollectionInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionInternalServerErrorBodyErrorsItems0Source update collection internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionInternalServerErrorBodyErrorsItems0Source
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection internal server error body errors items0 source based on context it is used
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionInternalServerErrorBodyJsonapi ¶
type UpdateCollectionInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionInternalServerErrorBodyJsonapi update collection internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionInternalServerErrorBodyJsonapi
func (*UpdateCollectionInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection internal server error body jsonapi based on context it is used
func (*UpdateCollectionInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionNotFound ¶
type UpdateCollectionNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionNotFoundBody }
UpdateCollectionNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewUpdateCollectionNotFound ¶
func NewUpdateCollectionNotFound() *UpdateCollectionNotFound
NewUpdateCollectionNotFound creates a UpdateCollectionNotFound with default headers values
func (*UpdateCollectionNotFound) Code ¶
func (o *UpdateCollectionNotFound) Code() int
Code gets the status code for the update collection not found response
func (*UpdateCollectionNotFound) Error ¶
func (o *UpdateCollectionNotFound) Error() string
func (*UpdateCollectionNotFound) GetPayload ¶
func (o *UpdateCollectionNotFound) GetPayload() *UpdateCollectionNotFoundBody
func (*UpdateCollectionNotFound) IsClientError ¶
func (o *UpdateCollectionNotFound) IsClientError() bool
IsClientError returns true when this update collection not found response has a 4xx status code
func (*UpdateCollectionNotFound) IsCode ¶
func (o *UpdateCollectionNotFound) IsCode(code int) bool
IsCode returns true when this update collection not found response a status code equal to that given
func (*UpdateCollectionNotFound) IsRedirect ¶
func (o *UpdateCollectionNotFound) IsRedirect() bool
IsRedirect returns true when this update collection not found response has a 3xx status code
func (*UpdateCollectionNotFound) IsServerError ¶
func (o *UpdateCollectionNotFound) IsServerError() bool
IsServerError returns true when this update collection not found response has a 5xx status code
func (*UpdateCollectionNotFound) IsSuccess ¶
func (o *UpdateCollectionNotFound) IsSuccess() bool
IsSuccess returns true when this update collection not found response has a 2xx status code
func (*UpdateCollectionNotFound) String ¶
func (o *UpdateCollectionNotFound) String() string
type UpdateCollectionNotFoundBody ¶
type UpdateCollectionNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionNotFoundBodyJsonapi `json:"jsonapi"` }
UpdateCollectionNotFoundBody update collection not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionNotFoundBody
func (*UpdateCollectionNotFoundBody) ContextValidate ¶
func (o *UpdateCollectionNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection not found body based on the context it is used
func (*UpdateCollectionNotFoundBody) MarshalBinary ¶
func (o *UpdateCollectionNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionNotFoundBody) UnmarshalBinary ¶
func (o *UpdateCollectionNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionNotFoundBodyErrorsItems0 ¶
type UpdateCollectionNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionNotFoundBodyErrorsItems0 update collection not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionNotFoundBodyErrorsItems0
func (*UpdateCollectionNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection not found body errors items0 based on the context it is used
func (*UpdateCollectionNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionNotFoundBodyErrorsItems0Links ¶
type UpdateCollectionNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionNotFoundBodyErrorsItems0Links
func (*UpdateCollectionNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection not found body errors items0 links based on context it is used
func (*UpdateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionNotFoundBodyErrorsItems0Source ¶
type UpdateCollectionNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionNotFoundBodyErrorsItems0Source update collection not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionNotFoundBodyErrorsItems0Source
func (*UpdateCollectionNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection not found body errors items0 source based on context it is used
func (*UpdateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionNotFoundBodyJsonapi ¶
type UpdateCollectionNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionNotFoundBodyJsonapi update collection not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionNotFoundBodyJsonapi
func (*UpdateCollectionNotFoundBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection not found body jsonapi based on context it is used
func (*UpdateCollectionNotFoundBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionOK ¶
type UpdateCollectionOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionOKBody }
UpdateCollectionOK describes a response with status code 200, with default header values.
Returned collection
func NewUpdateCollectionOK ¶
func NewUpdateCollectionOK() *UpdateCollectionOK
NewUpdateCollectionOK creates a UpdateCollectionOK with default headers values
func (*UpdateCollectionOK) Code ¶
func (o *UpdateCollectionOK) Code() int
Code gets the status code for the update collection o k response
func (*UpdateCollectionOK) Error ¶
func (o *UpdateCollectionOK) Error() string
func (*UpdateCollectionOK) GetPayload ¶
func (o *UpdateCollectionOK) GetPayload() *UpdateCollectionOKBody
func (*UpdateCollectionOK) IsClientError ¶
func (o *UpdateCollectionOK) IsClientError() bool
IsClientError returns true when this update collection o k response has a 4xx status code
func (*UpdateCollectionOK) IsCode ¶
func (o *UpdateCollectionOK) IsCode(code int) bool
IsCode returns true when this update collection o k response a status code equal to that given
func (*UpdateCollectionOK) IsRedirect ¶
func (o *UpdateCollectionOK) IsRedirect() bool
IsRedirect returns true when this update collection o k response has a 3xx status code
func (*UpdateCollectionOK) IsServerError ¶
func (o *UpdateCollectionOK) IsServerError() bool
IsServerError returns true when this update collection o k response has a 5xx status code
func (*UpdateCollectionOK) IsSuccess ¶
func (o *UpdateCollectionOK) IsSuccess() bool
IsSuccess returns true when this update collection o k response has a 2xx status code
func (*UpdateCollectionOK) String ¶
func (o *UpdateCollectionOK) String() string
type UpdateCollectionOKBody ¶
type UpdateCollectionOKBody struct { // data Data *UpdateCollectionOKBodyData `json:"data,omitempty"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.SelfLink `json:"links,omitempty"` }
UpdateCollectionOKBody update collection o k body swagger:model UpdateCollectionOKBody
func (*UpdateCollectionOKBody) ContextValidate ¶
func (o *UpdateCollectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection o k body based on the context it is used
func (*UpdateCollectionOKBody) MarshalBinary ¶
func (o *UpdateCollectionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionOKBody) UnmarshalBinary ¶
func (o *UpdateCollectionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionOKBodyData ¶
type UpdateCollectionOKBodyData struct { // attributes // Required: true Attributes *models.CollectionAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships // Required: true Relationships *models.CollectionRelationships `json:"relationships"` // type Type models.Types `json:"type,omitempty"` }
UpdateCollectionOKBodyData collection resource object swagger:model UpdateCollectionOKBodyData
func (*UpdateCollectionOKBodyData) ContextValidate ¶
func (o *UpdateCollectionOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection o k body data based on the context it is used
func (*UpdateCollectionOKBodyData) MarshalBinary ¶
func (o *UpdateCollectionOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionOKBodyData) UnmarshalBinary ¶
func (o *UpdateCollectionOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionParams ¶
type UpdateCollectionParams struct { // Body. Body *models.UpdateCollectionRequest /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCollectionParams contains all the parameters to send to the API endpoint
for the update collection operation. Typically these are written to a http.Request.
func NewUpdateCollectionParams ¶
func NewUpdateCollectionParams() *UpdateCollectionParams
NewUpdateCollectionParams creates a new UpdateCollectionParams 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 NewUpdateCollectionParamsWithContext ¶
func NewUpdateCollectionParamsWithContext(ctx context.Context) *UpdateCollectionParams
NewUpdateCollectionParamsWithContext creates a new UpdateCollectionParams object with the ability to set a context for a request.
func NewUpdateCollectionParamsWithHTTPClient ¶
func NewUpdateCollectionParamsWithHTTPClient(client *http.Client) *UpdateCollectionParams
NewUpdateCollectionParamsWithHTTPClient creates a new UpdateCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCollectionParamsWithTimeout ¶
func NewUpdateCollectionParamsWithTimeout(timeout time.Duration) *UpdateCollectionParams
NewUpdateCollectionParamsWithTimeout creates a new UpdateCollectionParams object with the ability to set a timeout on a request.
func (*UpdateCollectionParams) SetBody ¶
func (o *UpdateCollectionParams) SetBody(body *models.UpdateCollectionRequest)
SetBody adds the body to the update collection params
func (*UpdateCollectionParams) SetCollectionID ¶
func (o *UpdateCollectionParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the update collection params
func (*UpdateCollectionParams) SetContext ¶
func (o *UpdateCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the update collection params
func (*UpdateCollectionParams) SetDefaults ¶
func (o *UpdateCollectionParams) SetDefaults()
SetDefaults hydrates default values in the update collection params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCollectionParams) SetHTTPClient ¶
func (o *UpdateCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update collection params
func (*UpdateCollectionParams) SetOrgID ¶
func (o *UpdateCollectionParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the update collection params
func (*UpdateCollectionParams) SetTimeout ¶
func (o *UpdateCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update collection params
func (*UpdateCollectionParams) SetVersion ¶
func (o *UpdateCollectionParams) SetVersion(version string)
SetVersion adds the version to the update collection params
func (*UpdateCollectionParams) WithBody ¶
func (o *UpdateCollectionParams) WithBody(body *models.UpdateCollectionRequest) *UpdateCollectionParams
WithBody adds the body to the update collection params
func (*UpdateCollectionParams) WithCollectionID ¶
func (o *UpdateCollectionParams) WithCollectionID(collectionID strfmt.UUID) *UpdateCollectionParams
WithCollectionID adds the collectionID to the update collection params
func (*UpdateCollectionParams) WithContext ¶
func (o *UpdateCollectionParams) WithContext(ctx context.Context) *UpdateCollectionParams
WithContext adds the context to the update collection params
func (*UpdateCollectionParams) WithDefaults ¶
func (o *UpdateCollectionParams) WithDefaults() *UpdateCollectionParams
WithDefaults hydrates default values in the update collection params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCollectionParams) WithHTTPClient ¶
func (o *UpdateCollectionParams) WithHTTPClient(client *http.Client) *UpdateCollectionParams
WithHTTPClient adds the HTTPClient to the update collection params
func (*UpdateCollectionParams) WithOrgID ¶
func (o *UpdateCollectionParams) WithOrgID(orgID strfmt.UUID) *UpdateCollectionParams
WithOrgID adds the orgID to the update collection params
func (*UpdateCollectionParams) WithTimeout ¶
func (o *UpdateCollectionParams) WithTimeout(timeout time.Duration) *UpdateCollectionParams
WithTimeout adds the timeout to the update collection params
func (*UpdateCollectionParams) WithVersion ¶
func (o *UpdateCollectionParams) WithVersion(version string) *UpdateCollectionParams
WithVersion adds the version to the update collection params
func (*UpdateCollectionParams) WriteToRequest ¶
func (o *UpdateCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCollectionReader ¶
type UpdateCollectionReader struct {
// contains filtered or unexported fields
}
UpdateCollectionReader is a Reader for the UpdateCollection structure.
func (*UpdateCollectionReader) ReadResponse ¶
func (o *UpdateCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCollectionUnauthorized ¶
type UpdateCollectionUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
UpdateCollectionUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewUpdateCollectionUnauthorized ¶
func NewUpdateCollectionUnauthorized() *UpdateCollectionUnauthorized
NewUpdateCollectionUnauthorized creates a UpdateCollectionUnauthorized with default headers values
func (*UpdateCollectionUnauthorized) Code ¶
func (o *UpdateCollectionUnauthorized) Code() int
Code gets the status code for the update collection unauthorized response
func (*UpdateCollectionUnauthorized) Error ¶
func (o *UpdateCollectionUnauthorized) Error() string
func (*UpdateCollectionUnauthorized) GetPayload ¶
func (o *UpdateCollectionUnauthorized) GetPayload() *UpdateCollectionUnauthorizedBody
func (*UpdateCollectionUnauthorized) IsClientError ¶
func (o *UpdateCollectionUnauthorized) IsClientError() bool
IsClientError returns true when this update collection unauthorized response has a 4xx status code
func (*UpdateCollectionUnauthorized) IsCode ¶
func (o *UpdateCollectionUnauthorized) IsCode(code int) bool
IsCode returns true when this update collection unauthorized response a status code equal to that given
func (*UpdateCollectionUnauthorized) IsRedirect ¶
func (o *UpdateCollectionUnauthorized) IsRedirect() bool
IsRedirect returns true when this update collection unauthorized response has a 3xx status code
func (*UpdateCollectionUnauthorized) IsServerError ¶
func (o *UpdateCollectionUnauthorized) IsServerError() bool
IsServerError returns true when this update collection unauthorized response has a 5xx status code
func (*UpdateCollectionUnauthorized) IsSuccess ¶
func (o *UpdateCollectionUnauthorized) IsSuccess() bool
IsSuccess returns true when this update collection unauthorized response has a 2xx status code
func (*UpdateCollectionUnauthorized) String ¶
func (o *UpdateCollectionUnauthorized) String() string
type UpdateCollectionUnauthorizedBody ¶
type UpdateCollectionUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *UpdateCollectionUnauthorizedBodyJsonapi `json:"jsonapi"` }
UpdateCollectionUnauthorizedBody update collection unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionUnauthorizedBody
func (*UpdateCollectionUnauthorizedBody) ContextValidate ¶
func (o *UpdateCollectionUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection unauthorized body based on the context it is used
func (*UpdateCollectionUnauthorizedBody) MarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionUnauthorizedBody) UnmarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionUnauthorizedBodyErrorsItems0 ¶
type UpdateCollectionUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *UpdateCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *UpdateCollectionUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionUnauthorizedBodyErrorsItems0 update collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionUnauthorizedBodyErrorsItems0
func (*UpdateCollectionUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection unauthorized body errors items0 based on the context it is used
func (*UpdateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionUnauthorizedBodyErrorsItems0Links ¶
type UpdateCollectionUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionUnauthorizedBodyErrorsItems0Links
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection unauthorized body errors items0 links based on context it is used
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionUnauthorizedBodyErrorsItems0Source ¶
type UpdateCollectionUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionUnauthorizedBodyErrorsItems0Source update collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionUnauthorizedBodyErrorsItems0Source
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection unauthorized body errors items0 source based on context it is used
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionUnauthorizedBodyJsonapi ¶
type UpdateCollectionUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionUnauthorizedBodyJsonapi update collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionUnauthorizedBodyJsonapi
func (*UpdateCollectionUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection unauthorized body jsonapi based on context it is used
func (*UpdateCollectionUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsBadRequest ¶
type UpdateCollectionWithProjectsBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionWithProjectsBadRequestBody }
UpdateCollectionWithProjectsBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewUpdateCollectionWithProjectsBadRequest ¶
func NewUpdateCollectionWithProjectsBadRequest() *UpdateCollectionWithProjectsBadRequest
NewUpdateCollectionWithProjectsBadRequest creates a UpdateCollectionWithProjectsBadRequest with default headers values
func (*UpdateCollectionWithProjectsBadRequest) Code ¶
func (o *UpdateCollectionWithProjectsBadRequest) Code() int
Code gets the status code for the update collection with projects bad request response
func (*UpdateCollectionWithProjectsBadRequest) Error ¶
func (o *UpdateCollectionWithProjectsBadRequest) Error() string
func (*UpdateCollectionWithProjectsBadRequest) GetPayload ¶
func (o *UpdateCollectionWithProjectsBadRequest) GetPayload() *UpdateCollectionWithProjectsBadRequestBody
func (*UpdateCollectionWithProjectsBadRequest) IsClientError ¶
func (o *UpdateCollectionWithProjectsBadRequest) IsClientError() bool
IsClientError returns true when this update collection with projects bad request response has a 4xx status code
func (*UpdateCollectionWithProjectsBadRequest) IsCode ¶
func (o *UpdateCollectionWithProjectsBadRequest) IsCode(code int) bool
IsCode returns true when this update collection with projects bad request response a status code equal to that given
func (*UpdateCollectionWithProjectsBadRequest) IsRedirect ¶
func (o *UpdateCollectionWithProjectsBadRequest) IsRedirect() bool
IsRedirect returns true when this update collection with projects bad request response has a 3xx status code
func (*UpdateCollectionWithProjectsBadRequest) IsServerError ¶
func (o *UpdateCollectionWithProjectsBadRequest) IsServerError() bool
IsServerError returns true when this update collection with projects bad request response has a 5xx status code
func (*UpdateCollectionWithProjectsBadRequest) IsSuccess ¶
func (o *UpdateCollectionWithProjectsBadRequest) IsSuccess() bool
IsSuccess returns true when this update collection with projects bad request response has a 2xx status code
func (*UpdateCollectionWithProjectsBadRequest) String ¶
func (o *UpdateCollectionWithProjectsBadRequest) String() string
type UpdateCollectionWithProjectsBadRequestBody ¶
type UpdateCollectionWithProjectsBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionWithProjectsBadRequestBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsBadRequestBody update collection with projects bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsBadRequestBody
func (*UpdateCollectionWithProjectsBadRequestBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects bad request body based on the context it is used
func (*UpdateCollectionWithProjectsBadRequestBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsBadRequestBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsBadRequestBodyErrorsItems0 update collection with projects bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsBadRequestBodyErrorsItems0
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects bad request body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects bad request body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source update collection with projects bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects bad request body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsBadRequestBodyJsonapi ¶
type UpdateCollectionWithProjectsBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsBadRequestBodyJsonapi update collection with projects bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsBadRequestBodyJsonapi
func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects bad request body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsConflict ¶
type UpdateCollectionWithProjectsConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionWithProjectsConflictBody }
UpdateCollectionWithProjectsConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewUpdateCollectionWithProjectsConflict ¶
func NewUpdateCollectionWithProjectsConflict() *UpdateCollectionWithProjectsConflict
NewUpdateCollectionWithProjectsConflict creates a UpdateCollectionWithProjectsConflict with default headers values
func (*UpdateCollectionWithProjectsConflict) Code ¶
func (o *UpdateCollectionWithProjectsConflict) Code() int
Code gets the status code for the update collection with projects conflict response
func (*UpdateCollectionWithProjectsConflict) Error ¶
func (o *UpdateCollectionWithProjectsConflict) Error() string
func (*UpdateCollectionWithProjectsConflict) GetPayload ¶
func (o *UpdateCollectionWithProjectsConflict) GetPayload() *UpdateCollectionWithProjectsConflictBody
func (*UpdateCollectionWithProjectsConflict) IsClientError ¶
func (o *UpdateCollectionWithProjectsConflict) IsClientError() bool
IsClientError returns true when this update collection with projects conflict response has a 4xx status code
func (*UpdateCollectionWithProjectsConflict) IsCode ¶
func (o *UpdateCollectionWithProjectsConflict) IsCode(code int) bool
IsCode returns true when this update collection with projects conflict response a status code equal to that given
func (*UpdateCollectionWithProjectsConflict) IsRedirect ¶
func (o *UpdateCollectionWithProjectsConflict) IsRedirect() bool
IsRedirect returns true when this update collection with projects conflict response has a 3xx status code
func (*UpdateCollectionWithProjectsConflict) IsServerError ¶
func (o *UpdateCollectionWithProjectsConflict) IsServerError() bool
IsServerError returns true when this update collection with projects conflict response has a 5xx status code
func (*UpdateCollectionWithProjectsConflict) IsSuccess ¶
func (o *UpdateCollectionWithProjectsConflict) IsSuccess() bool
IsSuccess returns true when this update collection with projects conflict response has a 2xx status code
func (*UpdateCollectionWithProjectsConflict) String ¶
func (o *UpdateCollectionWithProjectsConflict) String() string
type UpdateCollectionWithProjectsConflictBody ¶
type UpdateCollectionWithProjectsConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionWithProjectsConflictBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsConflictBody update collection with projects conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsConflictBody
func (*UpdateCollectionWithProjectsConflictBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects conflict body based on the context it is used
func (*UpdateCollectionWithProjectsConflictBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsConflictBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsConflictBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsConflictBodyErrorsItems0 update collection with projects conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsConflictBodyErrorsItems0
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects conflict body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsConflictBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsConflictBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects conflict body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsConflictBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsConflictBodyErrorsItems0Source update collection with projects conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsConflictBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects conflict body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsConflictBodyJsonapi ¶
type UpdateCollectionWithProjectsConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsConflictBodyJsonapi update collection with projects conflict body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsConflictBodyJsonapi
func (*UpdateCollectionWithProjectsConflictBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects conflict body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsConflictBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsConflictBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsForbidden ¶
type UpdateCollectionWithProjectsForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionWithProjectsForbiddenBody }
UpdateCollectionWithProjectsForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewUpdateCollectionWithProjectsForbidden ¶
func NewUpdateCollectionWithProjectsForbidden() *UpdateCollectionWithProjectsForbidden
NewUpdateCollectionWithProjectsForbidden creates a UpdateCollectionWithProjectsForbidden with default headers values
func (*UpdateCollectionWithProjectsForbidden) Code ¶
func (o *UpdateCollectionWithProjectsForbidden) Code() int
Code gets the status code for the update collection with projects forbidden response
func (*UpdateCollectionWithProjectsForbidden) Error ¶
func (o *UpdateCollectionWithProjectsForbidden) Error() string
func (*UpdateCollectionWithProjectsForbidden) GetPayload ¶
func (o *UpdateCollectionWithProjectsForbidden) GetPayload() *UpdateCollectionWithProjectsForbiddenBody
func (*UpdateCollectionWithProjectsForbidden) IsClientError ¶
func (o *UpdateCollectionWithProjectsForbidden) IsClientError() bool
IsClientError returns true when this update collection with projects forbidden response has a 4xx status code
func (*UpdateCollectionWithProjectsForbidden) IsCode ¶
func (o *UpdateCollectionWithProjectsForbidden) IsCode(code int) bool
IsCode returns true when this update collection with projects forbidden response a status code equal to that given
func (*UpdateCollectionWithProjectsForbidden) IsRedirect ¶
func (o *UpdateCollectionWithProjectsForbidden) IsRedirect() bool
IsRedirect returns true when this update collection with projects forbidden response has a 3xx status code
func (*UpdateCollectionWithProjectsForbidden) IsServerError ¶
func (o *UpdateCollectionWithProjectsForbidden) IsServerError() bool
IsServerError returns true when this update collection with projects forbidden response has a 5xx status code
func (*UpdateCollectionWithProjectsForbidden) IsSuccess ¶
func (o *UpdateCollectionWithProjectsForbidden) IsSuccess() bool
IsSuccess returns true when this update collection with projects forbidden response has a 2xx status code
func (*UpdateCollectionWithProjectsForbidden) String ¶
func (o *UpdateCollectionWithProjectsForbidden) String() string
type UpdateCollectionWithProjectsForbiddenBody ¶
type UpdateCollectionWithProjectsForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionWithProjectsForbiddenBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsForbiddenBody update collection with projects forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsForbiddenBody
func (*UpdateCollectionWithProjectsForbiddenBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects forbidden body based on the context it is used
func (*UpdateCollectionWithProjectsForbiddenBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsForbiddenBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsForbiddenBodyErrorsItems0 update collection with projects forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsForbiddenBodyErrorsItems0
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects forbidden body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects forbidden body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source update collection with projects forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects forbidden body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsForbiddenBodyJsonapi ¶
type UpdateCollectionWithProjectsForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsForbiddenBodyJsonapi update collection with projects forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsForbiddenBodyJsonapi
func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects forbidden body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsInternalServerError ¶
type UpdateCollectionWithProjectsInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionWithProjectsInternalServerErrorBody }
UpdateCollectionWithProjectsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewUpdateCollectionWithProjectsInternalServerError ¶
func NewUpdateCollectionWithProjectsInternalServerError() *UpdateCollectionWithProjectsInternalServerError
NewUpdateCollectionWithProjectsInternalServerError creates a UpdateCollectionWithProjectsInternalServerError with default headers values
func (*UpdateCollectionWithProjectsInternalServerError) Code ¶
func (o *UpdateCollectionWithProjectsInternalServerError) Code() int
Code gets the status code for the update collection with projects internal server error response
func (*UpdateCollectionWithProjectsInternalServerError) Error ¶
func (o *UpdateCollectionWithProjectsInternalServerError) Error() string
func (*UpdateCollectionWithProjectsInternalServerError) GetPayload ¶
func (o *UpdateCollectionWithProjectsInternalServerError) GetPayload() *UpdateCollectionWithProjectsInternalServerErrorBody
func (*UpdateCollectionWithProjectsInternalServerError) IsClientError ¶
func (o *UpdateCollectionWithProjectsInternalServerError) IsClientError() bool
IsClientError returns true when this update collection with projects internal server error response has a 4xx status code
func (*UpdateCollectionWithProjectsInternalServerError) IsCode ¶
func (o *UpdateCollectionWithProjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this update collection with projects internal server error response a status code equal to that given
func (*UpdateCollectionWithProjectsInternalServerError) IsRedirect ¶
func (o *UpdateCollectionWithProjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update collection with projects internal server error response has a 3xx status code
func (*UpdateCollectionWithProjectsInternalServerError) IsServerError ¶
func (o *UpdateCollectionWithProjectsInternalServerError) IsServerError() bool
IsServerError returns true when this update collection with projects internal server error response has a 5xx status code
func (*UpdateCollectionWithProjectsInternalServerError) IsSuccess ¶
func (o *UpdateCollectionWithProjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update collection with projects internal server error response has a 2xx status code
func (*UpdateCollectionWithProjectsInternalServerError) String ¶
func (o *UpdateCollectionWithProjectsInternalServerError) String() string
type UpdateCollectionWithProjectsInternalServerErrorBody ¶
type UpdateCollectionWithProjectsInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsInternalServerErrorBody update collection with projects internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsInternalServerErrorBody
func (*UpdateCollectionWithProjectsInternalServerErrorBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects internal server error body based on the context it is used
func (*UpdateCollectionWithProjectsInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0 update collection with projects internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects internal server error body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects internal server error body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) Validate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
Validate validates this update collection with projects internal server error body errors items0 links
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source update collection with projects internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects internal server error body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) Validate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
Validate validates this update collection with projects internal server error body errors items0 source
type UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi ¶
type UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi update collection with projects internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi
func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects internal server error body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsNoContent ¶
type UpdateCollectionWithProjectsNoContent struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header providing a URL for the location of a resource Format: url */ Location string /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime }
UpdateCollectionWithProjectsNoContent describes a response with status code 204, with default header values.
successfully adding projects to a collection
func NewUpdateCollectionWithProjectsNoContent ¶
func NewUpdateCollectionWithProjectsNoContent() *UpdateCollectionWithProjectsNoContent
NewUpdateCollectionWithProjectsNoContent creates a UpdateCollectionWithProjectsNoContent with default headers values
func (*UpdateCollectionWithProjectsNoContent) Code ¶
func (o *UpdateCollectionWithProjectsNoContent) Code() int
Code gets the status code for the update collection with projects no content response
func (*UpdateCollectionWithProjectsNoContent) Error ¶
func (o *UpdateCollectionWithProjectsNoContent) Error() string
func (*UpdateCollectionWithProjectsNoContent) IsClientError ¶
func (o *UpdateCollectionWithProjectsNoContent) IsClientError() bool
IsClientError returns true when this update collection with projects no content response has a 4xx status code
func (*UpdateCollectionWithProjectsNoContent) IsCode ¶
func (o *UpdateCollectionWithProjectsNoContent) IsCode(code int) bool
IsCode returns true when this update collection with projects no content response a status code equal to that given
func (*UpdateCollectionWithProjectsNoContent) IsRedirect ¶
func (o *UpdateCollectionWithProjectsNoContent) IsRedirect() bool
IsRedirect returns true when this update collection with projects no content response has a 3xx status code
func (*UpdateCollectionWithProjectsNoContent) IsServerError ¶
func (o *UpdateCollectionWithProjectsNoContent) IsServerError() bool
IsServerError returns true when this update collection with projects no content response has a 5xx status code
func (*UpdateCollectionWithProjectsNoContent) IsSuccess ¶
func (o *UpdateCollectionWithProjectsNoContent) IsSuccess() bool
IsSuccess returns true when this update collection with projects no content response has a 2xx status code
func (*UpdateCollectionWithProjectsNoContent) String ¶
func (o *UpdateCollectionWithProjectsNoContent) String() string
type UpdateCollectionWithProjectsNotFound ¶
type UpdateCollectionWithProjectsNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateCollectionWithProjectsNotFoundBody }
UpdateCollectionWithProjectsNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewUpdateCollectionWithProjectsNotFound ¶
func NewUpdateCollectionWithProjectsNotFound() *UpdateCollectionWithProjectsNotFound
NewUpdateCollectionWithProjectsNotFound creates a UpdateCollectionWithProjectsNotFound with default headers values
func (*UpdateCollectionWithProjectsNotFound) Code ¶
func (o *UpdateCollectionWithProjectsNotFound) Code() int
Code gets the status code for the update collection with projects not found response
func (*UpdateCollectionWithProjectsNotFound) Error ¶
func (o *UpdateCollectionWithProjectsNotFound) Error() string
func (*UpdateCollectionWithProjectsNotFound) GetPayload ¶
func (o *UpdateCollectionWithProjectsNotFound) GetPayload() *UpdateCollectionWithProjectsNotFoundBody
func (*UpdateCollectionWithProjectsNotFound) IsClientError ¶
func (o *UpdateCollectionWithProjectsNotFound) IsClientError() bool
IsClientError returns true when this update collection with projects not found response has a 4xx status code
func (*UpdateCollectionWithProjectsNotFound) IsCode ¶
func (o *UpdateCollectionWithProjectsNotFound) IsCode(code int) bool
IsCode returns true when this update collection with projects not found response a status code equal to that given
func (*UpdateCollectionWithProjectsNotFound) IsRedirect ¶
func (o *UpdateCollectionWithProjectsNotFound) IsRedirect() bool
IsRedirect returns true when this update collection with projects not found response has a 3xx status code
func (*UpdateCollectionWithProjectsNotFound) IsServerError ¶
func (o *UpdateCollectionWithProjectsNotFound) IsServerError() bool
IsServerError returns true when this update collection with projects not found response has a 5xx status code
func (*UpdateCollectionWithProjectsNotFound) IsSuccess ¶
func (o *UpdateCollectionWithProjectsNotFound) IsSuccess() bool
IsSuccess returns true when this update collection with projects not found response has a 2xx status code
func (*UpdateCollectionWithProjectsNotFound) String ¶
func (o *UpdateCollectionWithProjectsNotFound) String() string
type UpdateCollectionWithProjectsNotFoundBody ¶
type UpdateCollectionWithProjectsNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateCollectionWithProjectsNotFoundBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsNotFoundBody update collection with projects not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsNotFoundBody
func (*UpdateCollectionWithProjectsNotFoundBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects not found body based on the context it is used
func (*UpdateCollectionWithProjectsNotFoundBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsNotFoundBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsNotFoundBodyErrorsItems0 update collection with projects not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsNotFoundBodyErrorsItems0
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects not found body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects not found body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source update collection with projects not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects not found body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsNotFoundBodyJsonapi ¶
type UpdateCollectionWithProjectsNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsNotFoundBodyJsonapi update collection with projects not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsNotFoundBodyJsonapi
func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects not found body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsParams ¶
type UpdateCollectionWithProjectsParams struct { // Body. Body *models.UpdateCollectionWithProjectsRequest /* CollectionID. Unique identifier for a collection Format: uuid */ CollectionID strfmt.UUID /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCollectionWithProjectsParams contains all the parameters to send to the API endpoint
for the update collection with projects operation. Typically these are written to a http.Request.
func NewUpdateCollectionWithProjectsParams ¶
func NewUpdateCollectionWithProjectsParams() *UpdateCollectionWithProjectsParams
NewUpdateCollectionWithProjectsParams creates a new UpdateCollectionWithProjectsParams 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 NewUpdateCollectionWithProjectsParamsWithContext ¶
func NewUpdateCollectionWithProjectsParamsWithContext(ctx context.Context) *UpdateCollectionWithProjectsParams
NewUpdateCollectionWithProjectsParamsWithContext creates a new UpdateCollectionWithProjectsParams object with the ability to set a context for a request.
func NewUpdateCollectionWithProjectsParamsWithHTTPClient ¶
func NewUpdateCollectionWithProjectsParamsWithHTTPClient(client *http.Client) *UpdateCollectionWithProjectsParams
NewUpdateCollectionWithProjectsParamsWithHTTPClient creates a new UpdateCollectionWithProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCollectionWithProjectsParamsWithTimeout ¶
func NewUpdateCollectionWithProjectsParamsWithTimeout(timeout time.Duration) *UpdateCollectionWithProjectsParams
NewUpdateCollectionWithProjectsParamsWithTimeout creates a new UpdateCollectionWithProjectsParams object with the ability to set a timeout on a request.
func (*UpdateCollectionWithProjectsParams) SetBody ¶
func (o *UpdateCollectionWithProjectsParams) SetBody(body *models.UpdateCollectionWithProjectsRequest)
SetBody adds the body to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetCollectionID ¶
func (o *UpdateCollectionWithProjectsParams) SetCollectionID(collectionID strfmt.UUID)
SetCollectionID adds the collectionId to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetContext ¶
func (o *UpdateCollectionWithProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetDefaults ¶
func (o *UpdateCollectionWithProjectsParams) SetDefaults()
SetDefaults hydrates default values in the update collection with projects params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCollectionWithProjectsParams) SetHTTPClient ¶
func (o *UpdateCollectionWithProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetOrgID ¶
func (o *UpdateCollectionWithProjectsParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetTimeout ¶
func (o *UpdateCollectionWithProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) SetVersion ¶
func (o *UpdateCollectionWithProjectsParams) SetVersion(version string)
SetVersion adds the version to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithBody ¶
func (o *UpdateCollectionWithProjectsParams) WithBody(body *models.UpdateCollectionWithProjectsRequest) *UpdateCollectionWithProjectsParams
WithBody adds the body to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithCollectionID ¶
func (o *UpdateCollectionWithProjectsParams) WithCollectionID(collectionID strfmt.UUID) *UpdateCollectionWithProjectsParams
WithCollectionID adds the collectionID to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithContext ¶
func (o *UpdateCollectionWithProjectsParams) WithContext(ctx context.Context) *UpdateCollectionWithProjectsParams
WithContext adds the context to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithDefaults ¶
func (o *UpdateCollectionWithProjectsParams) WithDefaults() *UpdateCollectionWithProjectsParams
WithDefaults hydrates default values in the update collection with projects params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCollectionWithProjectsParams) WithHTTPClient ¶
func (o *UpdateCollectionWithProjectsParams) WithHTTPClient(client *http.Client) *UpdateCollectionWithProjectsParams
WithHTTPClient adds the HTTPClient to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithOrgID ¶
func (o *UpdateCollectionWithProjectsParams) WithOrgID(orgID strfmt.UUID) *UpdateCollectionWithProjectsParams
WithOrgID adds the orgID to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithTimeout ¶
func (o *UpdateCollectionWithProjectsParams) WithTimeout(timeout time.Duration) *UpdateCollectionWithProjectsParams
WithTimeout adds the timeout to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WithVersion ¶
func (o *UpdateCollectionWithProjectsParams) WithVersion(version string) *UpdateCollectionWithProjectsParams
WithVersion adds the version to the update collection with projects params
func (*UpdateCollectionWithProjectsParams) WriteToRequest ¶
func (o *UpdateCollectionWithProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCollectionWithProjectsReader ¶
type UpdateCollectionWithProjectsReader struct {
// contains filtered or unexported fields
}
UpdateCollectionWithProjectsReader is a Reader for the UpdateCollectionWithProjects structure.
func (*UpdateCollectionWithProjectsReader) ReadResponse ¶
func (o *UpdateCollectionWithProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCollectionWithProjectsUnauthorized ¶
type UpdateCollectionWithProjectsUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
UpdateCollectionWithProjectsUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewUpdateCollectionWithProjectsUnauthorized ¶
func NewUpdateCollectionWithProjectsUnauthorized() *UpdateCollectionWithProjectsUnauthorized
NewUpdateCollectionWithProjectsUnauthorized creates a UpdateCollectionWithProjectsUnauthorized with default headers values
func (*UpdateCollectionWithProjectsUnauthorized) Code ¶
func (o *UpdateCollectionWithProjectsUnauthorized) Code() int
Code gets the status code for the update collection with projects unauthorized response
func (*UpdateCollectionWithProjectsUnauthorized) Error ¶
func (o *UpdateCollectionWithProjectsUnauthorized) Error() string
func (*UpdateCollectionWithProjectsUnauthorized) GetPayload ¶
func (o *UpdateCollectionWithProjectsUnauthorized) GetPayload() *UpdateCollectionWithProjectsUnauthorizedBody
func (*UpdateCollectionWithProjectsUnauthorized) IsClientError ¶
func (o *UpdateCollectionWithProjectsUnauthorized) IsClientError() bool
IsClientError returns true when this update collection with projects unauthorized response has a 4xx status code
func (*UpdateCollectionWithProjectsUnauthorized) IsCode ¶
func (o *UpdateCollectionWithProjectsUnauthorized) IsCode(code int) bool
IsCode returns true when this update collection with projects unauthorized response a status code equal to that given
func (*UpdateCollectionWithProjectsUnauthorized) IsRedirect ¶
func (o *UpdateCollectionWithProjectsUnauthorized) IsRedirect() bool
IsRedirect returns true when this update collection with projects unauthorized response has a 3xx status code
func (*UpdateCollectionWithProjectsUnauthorized) IsServerError ¶
func (o *UpdateCollectionWithProjectsUnauthorized) IsServerError() bool
IsServerError returns true when this update collection with projects unauthorized response has a 5xx status code
func (*UpdateCollectionWithProjectsUnauthorized) IsSuccess ¶
func (o *UpdateCollectionWithProjectsUnauthorized) IsSuccess() bool
IsSuccess returns true when this update collection with projects unauthorized response has a 2xx status code
func (*UpdateCollectionWithProjectsUnauthorized) String ¶
func (o *UpdateCollectionWithProjectsUnauthorized) String() string
type UpdateCollectionWithProjectsUnauthorizedBody ¶
type UpdateCollectionWithProjectsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi `json:"jsonapi"` }
UpdateCollectionWithProjectsUnauthorizedBody update collection with projects unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateCollectionWithProjectsUnauthorizedBody
func (*UpdateCollectionWithProjectsUnauthorizedBody) ContextValidate ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects unauthorized body based on the context it is used
func (*UpdateCollectionWithProjectsUnauthorizedBody) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsUnauthorizedBody) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 ¶
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 update collection with projects unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects unauthorized body errors items0 based on the context it is used
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links ¶
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects unauthorized body errors items0 links based on context it is used
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source ¶
type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source update collection with projects unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects unauthorized body errors items0 source based on context it is used
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsUnauthorizedBodyJsonapi ¶
type UpdateCollectionWithProjectsUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateCollectionWithProjectsUnauthorizedBodyJsonapi update collection with projects unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyJsonapi
func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects unauthorized body jsonapi based on context it is used
func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- collection_client.go
- create_collection_parameters.go
- create_collection_responses.go
- delete_collection_parameters.go
- delete_collection_responses.go
- delete_projects_collection_parameters.go
- delete_projects_collection_responses.go
- get_collection_parameters.go
- get_collection_responses.go
- get_collections_parameters.go
- get_collections_responses.go
- get_projects_of_collection_parameters.go
- get_projects_of_collection_responses.go
- update_collection_parameters.go
- update_collection_responses.go
- update_collection_with_projects_parameters.go
- update_collection_with_projects_responses.go