collection

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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 (*CreateCollectionBadRequest) GetPayload

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

func (*CreateCollectionBadRequestBody) Validate

func (o *CreateCollectionBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create collection bad request body

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

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

func (*CreateCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this create collection bad request body errors items0

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

ContextValidate validates this create collection bad request body errors items0 links based on context it is used

func (*CreateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this create collection bad request body errors items0 links

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

ContextValidate validates this create collection bad request body errors items0 source based on context it is used

func (*CreateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this create collection bad request body errors items0 source

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

func (*CreateCollectionBadRequestBodyJsonapi) Validate

Validate validates this create collection bad request body jsonapi

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 (*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

func (*CreateCollectionConflictBody) Validate

func (o *CreateCollectionConflictBody) Validate(formats strfmt.Registry) error

Validate validates this create collection conflict body

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

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

func (*CreateCollectionConflictBodyErrorsItems0) Validate

Validate validates this create collection conflict body errors items0

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

ContextValidate validates this create collection conflict body errors items0 links based on context it is used

func (*CreateCollectionConflictBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionConflictBodyErrorsItems0Links) Validate

Validate validates this create collection conflict body errors items0 links

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

ContextValidate validates this create collection conflict body errors items0 source based on context it is used

func (*CreateCollectionConflictBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionConflictBodyErrorsItems0Source) Validate

Validate validates this create collection conflict body errors items0 source

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

func (*CreateCollectionConflictBodyJsonapi) Validate

Validate validates this create collection conflict body jsonapi

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 (*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

func (*CreateCollectionCreatedBody) Validate

func (o *CreateCollectionCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this create collection created body

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

func (*CreateCollectionCreatedBodyData) Validate

Validate validates this create collection created body data

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 (*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

func (*CreateCollectionForbiddenBody) Validate

func (o *CreateCollectionForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create collection forbidden body

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

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

func (*CreateCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this create collection forbidden body errors items0

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

ContextValidate validates this create collection forbidden body errors items0 links based on context it is used

func (*CreateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this create collection forbidden body errors items0 links

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

ContextValidate validates this create collection forbidden body errors items0 source based on context it is used

func (*CreateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this create collection forbidden body errors items0 source

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

func (*CreateCollectionForbiddenBodyJsonapi) Validate

Validate validates this create collection forbidden body jsonapi

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

Code gets the status code for the create collection internal server error response

func (*CreateCollectionInternalServerError) Error

func (*CreateCollectionInternalServerError) GetPayload

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

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

IsSuccess returns true when this create collection internal server error response has a 2xx status code

func (*CreateCollectionInternalServerError) 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

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

func (*CreateCollectionInternalServerErrorBody) Validate

Validate validates this create collection internal server error body

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

ContextValidate validate this create collection internal server error body errors items0 based on the context it is used

func (*CreateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this create collection internal server error body errors items0

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

ContextValidate validates this create collection internal server error body errors items0 links based on context it is used

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this create collection internal server error body errors items0 links

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

ContextValidate validates this create collection internal server error body errors items0 source based on context it is used

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this create collection internal server error body errors items0 source

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

ContextValidate validates this create collection internal server error body jsonapi based on context it is used

func (*CreateCollectionInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this create collection internal server error body jsonapi

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 (*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

func (*CreateCollectionNotFoundBody) Validate

func (o *CreateCollectionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create collection not found body

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

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

func (*CreateCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this create collection not found body errors items0

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

ContextValidate validates this create collection not found body errors items0 links based on context it is used

func (*CreateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this create collection not found body errors items0 links

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

ContextValidate validates this create collection not found body errors items0 source based on context it is used

func (*CreateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this create collection not found body errors items0 source

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

func (*CreateCollectionNotFoundBodyJsonapi) Validate

Validate validates this create collection not found body jsonapi

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

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

WithBody adds the body to the create collection params

func (*CreateCollectionParams) WithContext

WithContext adds the context to the create collection params

func (*CreateCollectionParams) WithDefaults

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

WithOrgID adds the orgID to the create collection params

func (*CreateCollectionParams) WithTimeout

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

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 {

	/* 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 *CreateCollectionUnauthorizedBody
}

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

Code gets the status code for the create collection unauthorized response

func (*CreateCollectionUnauthorized) Error

func (*CreateCollectionUnauthorized) GetPayload

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

type CreateCollectionUnauthorizedBody

type CreateCollectionUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*CreateCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

func (*CreateCollectionUnauthorizedBody) Validate

Validate validates this create collection unauthorized body

type CreateCollectionUnauthorizedBodyErrorsItems0

type CreateCollectionUnauthorizedBodyErrorsItems0 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 *CreateCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *CreateCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

CreateCollectionUnauthorizedBodyErrorsItems0 create collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateCollectionUnauthorizedBodyErrorsItems0

func (*CreateCollectionUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this create collection unauthorized body errors items0 based on the context it is used

func (*CreateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this create collection unauthorized body errors items0

type CreateCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this create collection unauthorized body errors items0 links based on context it is used

func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this create collection unauthorized body errors items0 links

type CreateCollectionUnauthorizedBodyErrorsItems0Source

type CreateCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

CreateCollectionUnauthorizedBodyErrorsItems0Source create collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateCollectionUnauthorizedBodyErrorsItems0Source

func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this create collection unauthorized body errors items0 source based on context it is used

func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this create collection unauthorized body errors items0 source

type CreateCollectionUnauthorizedBodyJsonapi

type CreateCollectionUnauthorizedBodyJsonapi 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"`
}

CreateCollectionUnauthorizedBodyJsonapi create collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model CreateCollectionUnauthorizedBodyJsonapi

func (*CreateCollectionUnauthorizedBodyJsonapi) ContextValidate

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

func (*CreateCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this create collection unauthorized body jsonapi

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 (*DeleteCollectionBadRequest) GetPayload

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

func (*DeleteCollectionBadRequestBody) Validate

func (o *DeleteCollectionBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this delete collection bad request body

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

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

func (*DeleteCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this delete collection bad request body errors items0

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

ContextValidate validates this delete collection bad request body errors items0 links based on context it is used

func (*DeleteCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this delete collection bad request body errors items0 links

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

ContextValidate validates this delete collection bad request body errors items0 source based on context it is used

func (*DeleteCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this delete collection bad request body errors items0 source

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

func (*DeleteCollectionBadRequestBodyJsonapi) Validate

Validate validates this delete collection bad request body jsonapi

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 (*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

func (*DeleteCollectionConflictBody) Validate

func (o *DeleteCollectionConflictBody) Validate(formats strfmt.Registry) error

Validate validates this delete collection conflict body

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

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

func (*DeleteCollectionConflictBodyErrorsItems0) Validate

Validate validates this delete collection conflict body errors items0

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

ContextValidate validates this delete collection conflict body errors items0 links based on context it is used

func (*DeleteCollectionConflictBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionConflictBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionConflictBodyErrorsItems0Links) Validate

Validate validates this delete collection conflict body errors items0 links

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

ContextValidate validates this delete collection conflict body errors items0 source based on context it is used

func (*DeleteCollectionConflictBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionConflictBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionConflictBodyErrorsItems0Source) Validate

Validate validates this delete collection conflict body errors items0 source

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

func (*DeleteCollectionConflictBodyJsonapi) Validate

Validate validates this delete collection conflict body jsonapi

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 (*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

func (*DeleteCollectionForbiddenBody) Validate

func (o *DeleteCollectionForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this delete collection forbidden body

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

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

func (*DeleteCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this delete collection forbidden body errors items0

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

ContextValidate validates this delete collection forbidden body errors items0 links based on context it is used

func (*DeleteCollectionForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete collection forbidden body errors items0 links

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

ContextValidate validates this delete collection forbidden body errors items0 source based on context it is used

func (*DeleteCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete collection forbidden body errors items0 source

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

func (*DeleteCollectionForbiddenBodyJsonapi) Validate

Validate validates this delete collection forbidden body jsonapi

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

Code gets the status code for the delete collection internal server error response

func (*DeleteCollectionInternalServerError) Error

func (*DeleteCollectionInternalServerError) GetPayload

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

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

IsSuccess returns true when this delete collection internal server error response has a 2xx status code

func (*DeleteCollectionInternalServerError) 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

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

func (*DeleteCollectionInternalServerErrorBody) Validate

Validate validates this delete collection internal server error body

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

ContextValidate validate this delete collection internal server error body errors items0 based on the context it is used

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this delete collection internal server error body errors items0

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

ContextValidate validates this delete collection internal server error body errors items0 links based on context it is used

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this delete collection internal server error body errors items0 links

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

ContextValidate validates this delete collection internal server error body errors items0 source based on context it is used

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this delete collection internal server error body errors items0 source

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

ContextValidate validates this delete collection internal server error body jsonapi based on context it is used

func (*DeleteCollectionInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this delete collection internal server error body jsonapi

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 (*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

func (*DeleteCollectionNotFoundBody) Validate

func (o *DeleteCollectionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this delete collection not found body

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

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

func (*DeleteCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this delete collection not found body errors items0

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

ContextValidate validates this delete collection not found body errors items0 links based on context it is used

func (*DeleteCollectionNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this delete collection not found body errors items0 links

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

ContextValidate validates this delete collection not found body errors items0 source based on context it is used

func (*DeleteCollectionNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this delete collection not found body errors items0 source

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

func (*DeleteCollectionNotFoundBodyJsonapi) Validate

Validate validates this delete collection not found body jsonapi

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

WithContext adds the context to the delete collection params

func (*DeleteCollectionParams) WithDefaults

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

WithOrgID adds the orgID to the delete collection params

func (*DeleteCollectionParams) WithTimeout

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

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 {

	/* 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 *DeleteCollectionUnauthorizedBody
}

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

Code gets the status code for the delete collection unauthorized response

func (*DeleteCollectionUnauthorized) Error

func (*DeleteCollectionUnauthorized) GetPayload

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

type DeleteCollectionUnauthorizedBody

type DeleteCollectionUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*DeleteCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

func (*DeleteCollectionUnauthorizedBody) Validate

Validate validates this delete collection unauthorized body

type DeleteCollectionUnauthorizedBodyErrorsItems0

type DeleteCollectionUnauthorizedBodyErrorsItems0 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 *DeleteCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *DeleteCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

DeleteCollectionUnauthorizedBodyErrorsItems0 delete collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteCollectionUnauthorizedBodyErrorsItems0

func (*DeleteCollectionUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this delete collection unauthorized body errors items0 based on the context it is used

func (*DeleteCollectionUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete collection unauthorized body errors items0

type DeleteCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this delete collection unauthorized body errors items0 links based on context it is used

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete collection unauthorized body errors items0 links

type DeleteCollectionUnauthorizedBodyErrorsItems0Source

type DeleteCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

DeleteCollectionUnauthorizedBodyErrorsItems0Source delete collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteCollectionUnauthorizedBodyErrorsItems0Source

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete collection unauthorized body errors items0 source based on context it is used

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete collection unauthorized body errors items0 source

type DeleteCollectionUnauthorizedBodyJsonapi

type DeleteCollectionUnauthorizedBodyJsonapi 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"`
}

DeleteCollectionUnauthorizedBodyJsonapi delete collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteCollectionUnauthorizedBodyJsonapi

func (*DeleteCollectionUnauthorizedBodyJsonapi) ContextValidate

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

func (*DeleteCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this delete collection unauthorized body jsonapi

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

Code gets the status code for the delete projects collection bad request response

func (*DeleteProjectsCollectionBadRequest) Error

func (*DeleteProjectsCollectionBadRequest) GetPayload

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

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

IsSuccess returns true when this delete projects collection bad request response has a 2xx status code

func (*DeleteProjectsCollectionBadRequest) 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

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

func (*DeleteProjectsCollectionBadRequestBody) Validate

Validate validates this delete projects collection bad request body

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

ContextValidate validate this delete projects collection bad request body errors items0 based on the context it is used

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this delete projects collection bad request body errors items0

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

ContextValidate validates this delete projects collection bad request body errors items0 links based on context it is used

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this delete projects collection bad request body errors items0 links

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

ContextValidate validates this delete projects collection bad request body errors items0 source based on context it is used

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this delete projects collection bad request body errors items0 source

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

ContextValidate validates this delete projects collection bad request body jsonapi based on context it is used

func (*DeleteProjectsCollectionBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionBadRequestBodyJsonapi) Validate

Validate validates this delete projects collection bad request body jsonapi

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

Code gets the status code for the delete projects collection conflict response

func (*DeleteProjectsCollectionConflict) Error

func (*DeleteProjectsCollectionConflict) GetPayload

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

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

func (*DeleteProjectsCollectionConflictBody) Validate

Validate validates this delete projects collection conflict body

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

ContextValidate validate this delete projects collection conflict body errors items0 based on the context it is used

func (*DeleteProjectsCollectionConflictBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0) Validate

Validate validates this delete projects collection conflict body errors items0

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

ContextValidate validates this delete projects collection conflict body errors items0 links based on context it is used

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Links) Validate

Validate validates this delete projects collection conflict body errors items0 links

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

ContextValidate validates this delete projects collection conflict body errors items0 source based on context it is used

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionConflictBodyErrorsItems0Source) Validate

Validate validates this delete projects collection conflict body errors items0 source

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

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

func (*DeleteProjectsCollectionConflictBodyJsonapi) Validate

Validate validates this delete projects collection conflict body jsonapi

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

Code gets the status code for the delete projects collection forbidden response

func (*DeleteProjectsCollectionForbidden) Error

func (*DeleteProjectsCollectionForbidden) GetPayload

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

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

func (*DeleteProjectsCollectionForbiddenBody) Validate

Validate validates this delete projects collection forbidden body

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

ContextValidate validate this delete projects collection forbidden body errors items0 based on the context it is used

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this delete projects collection forbidden body errors items0

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

ContextValidate validates this delete projects collection forbidden body errors items0 links based on context it is used

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete projects collection forbidden body errors items0 links

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

ContextValidate validates this delete projects collection forbidden body errors items0 source based on context it is used

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete projects collection forbidden body errors items0 source

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

ContextValidate validates this delete projects collection forbidden body jsonapi based on context it is used

func (*DeleteProjectsCollectionForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionForbiddenBodyJsonapi) Validate

Validate validates this delete projects collection forbidden body jsonapi

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

Code gets the status code for the delete projects collection internal server error response

func (*DeleteProjectsCollectionInternalServerError) Error

func (*DeleteProjectsCollectionInternalServerError) GetPayload

func (*DeleteProjectsCollectionInternalServerError) IsClientError

IsClientError returns true when this delete projects collection internal server error response has a 4xx status code

func (*DeleteProjectsCollectionInternalServerError) IsCode

IsCode returns true when this delete projects collection internal server error response a status code equal to that given

func (*DeleteProjectsCollectionInternalServerError) IsRedirect

IsRedirect returns true when this delete projects collection internal server error response has a 3xx status code

func (*DeleteProjectsCollectionInternalServerError) IsServerError

IsServerError returns true when this delete projects collection internal server error response has a 5xx status code

func (*DeleteProjectsCollectionInternalServerError) IsSuccess

IsSuccess returns true when this delete projects collection internal server error response has a 2xx status code

func (*DeleteProjectsCollectionInternalServerError) 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

ContextValidate validate this delete projects collection internal server error body based on the context it is used

func (*DeleteProjectsCollectionInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBody) Validate

Validate validates this delete projects collection internal server error body

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

ContextValidate validate this delete projects collection internal server error body errors items0 based on the context it is used

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this delete projects collection internal server error body errors items0

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

ContextValidate validates this delete projects collection internal server error body errors items0 links based on context it is used

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this delete projects collection internal server error body errors items0 links

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

ContextValidate validates this delete projects collection internal server error body errors items0 source based on context it is used

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this delete projects collection internal server error body errors items0 source

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

ContextValidate validates this delete projects collection internal server error body jsonapi based on context it is used

func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this delete projects collection internal server error body jsonapi

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

Code gets the status code for the delete projects collection no content response

func (*DeleteProjectsCollectionNoContent) Error

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

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

Code gets the status code for the delete projects collection not found response

func (*DeleteProjectsCollectionNotFound) Error

func (*DeleteProjectsCollectionNotFound) GetPayload

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

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

func (*DeleteProjectsCollectionNotFoundBody) Validate

Validate validates this delete projects collection not found body

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

ContextValidate validate this delete projects collection not found body errors items0 based on the context it is used

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this delete projects collection not found body errors items0

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

ContextValidate validates this delete projects collection not found body errors items0 links based on context it is used

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this delete projects collection not found body errors items0 links

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

ContextValidate validates this delete projects collection not found body errors items0 source based on context it is used

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this delete projects collection not found body errors items0 source

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

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

func (*DeleteProjectsCollectionNotFoundBodyJsonapi) Validate

Validate validates this delete projects collection not found body jsonapi

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

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

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

WithContext adds the context to the delete projects collection params

func (*DeleteProjectsCollectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete projects collection params

func (*DeleteProjectsCollectionParams) WithOrgID

WithOrgID adds the orgID to the delete projects collection params

func (*DeleteProjectsCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete projects collection params

func (*DeleteProjectsCollectionParams) WithVersion

WithVersion adds the version to the delete projects collection params

func (*DeleteProjectsCollectionParams) WriteToRequest

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 {

	/* 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 *DeleteProjectsCollectionUnauthorizedBody
}

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

Code gets the status code for the delete projects collection unauthorized response

func (*DeleteProjectsCollectionUnauthorized) Error

func (*DeleteProjectsCollectionUnauthorized) GetPayload

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

IsCode returns true when this delete projects collection unauthorized response a status code equal to that given

func (*DeleteProjectsCollectionUnauthorized) IsRedirect

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

IsSuccess returns true when this delete projects collection unauthorized response has a 2xx status code

func (*DeleteProjectsCollectionUnauthorized) String

type DeleteProjectsCollectionUnauthorizedBody

type DeleteProjectsCollectionUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

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

func (*DeleteProjectsCollectionUnauthorizedBody) Validate

Validate validates this delete projects collection unauthorized body

type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0

type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 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 *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

DeleteProjectsCollectionUnauthorizedBodyErrorsItems0 delete projects collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteProjectsCollectionUnauthorizedBodyErrorsItems0

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this delete projects collection unauthorized body errors items0 based on the context it is used

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete projects collection unauthorized body errors items0

type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this delete projects collection unauthorized body errors items0 links based on context it is used

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete projects collection unauthorized body errors items0 links

type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source

type DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source delete projects collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete projects collection unauthorized body errors items0 source based on context it is used

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete projects collection unauthorized body errors items0 source

type DeleteProjectsCollectionUnauthorizedBodyJsonapi

type DeleteProjectsCollectionUnauthorizedBodyJsonapi 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"`
}

DeleteProjectsCollectionUnauthorizedBodyJsonapi delete projects collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteProjectsCollectionUnauthorizedBodyJsonapi

func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this delete projects collection unauthorized body jsonapi based on context it is used

func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteProjectsCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this delete projects collection unauthorized body jsonapi

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 (*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

func (*GetCollectionBadRequestBody) Validate

func (o *GetCollectionBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get collection bad request body

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

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

func (*GetCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this get collection bad request body errors items0

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

ContextValidate validates this get collection bad request body errors items0 links based on context it is used

func (*GetCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this get collection bad request body errors items0 links

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

ContextValidate validates this get collection bad request body errors items0 source based on context it is used

func (*GetCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this get collection bad request body errors items0 source

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

func (*GetCollectionBadRequestBodyJsonapi) Validate

Validate validates this get collection bad request body jsonapi

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 (*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

func (*GetCollectionConflictBody) Validate

func (o *GetCollectionConflictBody) Validate(formats strfmt.Registry) error

Validate validates this get collection conflict body

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

func (*GetCollectionConflictBodyErrorsItems0) Validate

Validate validates this get collection conflict body errors items0

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

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

func (*GetCollectionConflictBodyErrorsItems0Links) Validate

Validate validates this get collection conflict body errors items0 links

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

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

func (*GetCollectionConflictBodyErrorsItems0Source) Validate

Validate validates this get collection conflict body errors items0 source

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

func (*GetCollectionConflictBodyJsonapi) Validate

Validate validates this get collection conflict body jsonapi

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 (*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

func (*GetCollectionForbiddenBody) Validate

func (o *GetCollectionForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this get collection forbidden body

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

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

func (*GetCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this get collection forbidden body errors items0

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

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

func (*GetCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this get collection forbidden body errors items0 links

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

ContextValidate validates this get collection forbidden body errors items0 source based on context it is used

func (*GetCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this get collection forbidden body errors items0 source

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

func (*GetCollectionForbiddenBodyJsonapi) Validate

Validate validates this get collection forbidden body jsonapi

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

Code gets the status code for the get collection internal server error response

func (*GetCollectionInternalServerError) Error

func (*GetCollectionInternalServerError) GetPayload

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

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

func (*GetCollectionInternalServerErrorBody) Validate

Validate validates this get collection internal server error body

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

ContextValidate validate this get collection internal server error body errors items0 based on the context it is used

func (*GetCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get collection internal server error body errors items0

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

ContextValidate validates this get collection internal server error body errors items0 links based on context it is used

func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get collection internal server error body errors items0 links

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

ContextValidate validates this get collection internal server error body errors items0 source based on context it is used

func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get collection internal server error body errors items0 source

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

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

func (*GetCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this get collection internal server error body jsonapi

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 (*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

func (*GetCollectionNotFoundBody) Validate

func (o *GetCollectionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get collection not found body

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

func (*GetCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this get collection not found body errors items0

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

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

func (*GetCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this get collection not found body errors items0 links

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

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

func (*GetCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this get collection not found body errors items0 source

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

func (*GetCollectionNotFoundBodyJsonapi) Validate

Validate validates this get collection not found body jsonapi

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

func (o *GetCollectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetCollectionOKBody) Validate

func (o *GetCollectionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get collection o k body

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

func (*GetCollectionOKBodyData) Validate

func (o *GetCollectionOKBodyData) Validate(formats strfmt.Registry) error

Validate validates this get collection o k body data

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

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 {

	/* 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 *GetCollectionUnauthorizedBody
}

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 (*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 {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

func (*GetCollectionUnauthorizedBody) Validate

func (o *GetCollectionUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get collection unauthorized body

type GetCollectionUnauthorizedBodyErrorsItems0

type GetCollectionUnauthorizedBodyErrorsItems0 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 *GetCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

GetCollectionUnauthorizedBodyErrorsItems0 get collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionUnauthorizedBodyErrorsItems0

func (*GetCollectionUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*GetCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this get collection unauthorized body errors items0

type GetCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this get collection unauthorized body errors items0 links based on context it is used

func (*GetCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get collection unauthorized body errors items0 links

type GetCollectionUnauthorizedBodyErrorsItems0Source

type GetCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

GetCollectionUnauthorizedBodyErrorsItems0Source get collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionUnauthorizedBodyErrorsItems0Source

func (*GetCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get collection unauthorized body errors items0 source based on context it is used

func (*GetCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get collection unauthorized body errors items0 source

type GetCollectionUnauthorizedBodyJsonapi

type GetCollectionUnauthorizedBodyJsonapi 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"`
}

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

func (*GetCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this get collection unauthorized body jsonapi

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 (*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

func (*GetCollectionsBadRequestBody) Validate

func (o *GetCollectionsBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get collections bad request body

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

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

func (*GetCollectionsBadRequestBodyErrorsItems0) Validate

Validate validates this get collections bad request body errors items0

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

ContextValidate validates this get collections bad request body errors items0 links based on context it is used

func (*GetCollectionsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsBadRequestBodyErrorsItems0Links) Validate

Validate validates this get collections bad request body errors items0 links

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

ContextValidate validates this get collections bad request body errors items0 source based on context it is used

func (*GetCollectionsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsBadRequestBodyErrorsItems0Source) Validate

Validate validates this get collections bad request body errors items0 source

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

func (*GetCollectionsBadRequestBodyJsonapi) Validate

Validate validates this get collections bad request body jsonapi

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 (*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

func (*GetCollectionsForbiddenBody) Validate

func (o *GetCollectionsForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this get collections forbidden body

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

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

func (*GetCollectionsForbiddenBodyErrorsItems0) Validate

Validate validates this get collections forbidden body errors items0

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

ContextValidate validates this get collections forbidden body errors items0 links based on context it is used

func (*GetCollectionsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsForbiddenBodyErrorsItems0Links) Validate

Validate validates this get collections forbidden body errors items0 links

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

ContextValidate validates this get collections forbidden body errors items0 source based on context it is used

func (*GetCollectionsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsForbiddenBodyErrorsItems0Source) Validate

Validate validates this get collections forbidden body errors items0 source

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

func (*GetCollectionsForbiddenBodyJsonapi) Validate

Validate validates this get collections forbidden body jsonapi

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

Code gets the status code for the get collections internal server error response

func (*GetCollectionsInternalServerError) Error

func (*GetCollectionsInternalServerError) GetPayload

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

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

func (*GetCollectionsInternalServerErrorBody) Validate

Validate validates this get collections internal server error body

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

ContextValidate validate this get collections internal server error body errors items0 based on the context it is used

func (*GetCollectionsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get collections internal server error body errors items0

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

ContextValidate validates this get collections internal server error body errors items0 links based on context it is used

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get collections internal server error body errors items0 links

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

ContextValidate validates this get collections internal server error body errors items0 source based on context it is used

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get collections internal server error body errors items0 source

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

ContextValidate validates this get collections internal server error body jsonapi based on context it is used

func (*GetCollectionsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsInternalServerErrorBodyJsonapi) Validate

Validate validates this get collections internal server error body jsonapi

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 (*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

func (*GetCollectionsNotFoundBody) Validate

func (o *GetCollectionsNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get collections not found body

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

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

func (*GetCollectionsNotFoundBodyErrorsItems0) Validate

Validate validates this get collections not found body errors items0

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

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

func (*GetCollectionsNotFoundBodyErrorsItems0Links) Validate

Validate validates this get collections not found body errors items0 links

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

ContextValidate validates this get collections not found body errors items0 source based on context it is used

func (*GetCollectionsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsNotFoundBodyErrorsItems0Source) Validate

Validate validates this get collections not found body errors items0 source

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

func (*GetCollectionsNotFoundBodyJsonapi) Validate

Validate validates this get collections not found body jsonapi

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

func (o *GetCollectionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetCollectionsOKBody) Validate

func (o *GetCollectionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get collections o k body

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

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

WithName adds the name to the get collections params

func (*GetCollectionsParams) WithOrgID

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 {

	/* 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 *GetCollectionsUnauthorizedBody
}

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 (*GetCollectionsUnauthorized) GetPayload

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 {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetCollectionsUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

func (*GetCollectionsUnauthorizedBody) Validate

func (o *GetCollectionsUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get collections unauthorized body

type GetCollectionsUnauthorizedBodyErrorsItems0

type GetCollectionsUnauthorizedBodyErrorsItems0 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 *GetCollectionsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetCollectionsUnauthorizedBodyErrorsItems0Source `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"`
}

GetCollectionsUnauthorizedBodyErrorsItems0 get collections unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetCollectionsUnauthorizedBodyErrorsItems0

func (*GetCollectionsUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*GetCollectionsUnauthorizedBodyErrorsItems0) Validate

Validate validates this get collections unauthorized body errors items0

type GetCollectionsUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this get collections unauthorized body errors items0 links based on context it is used

func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get collections unauthorized body errors items0 links

type GetCollectionsUnauthorizedBodyErrorsItems0Source

type GetCollectionsUnauthorizedBodyErrorsItems0Source 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"`
}

GetCollectionsUnauthorizedBodyErrorsItems0Source get collections unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetCollectionsUnauthorizedBodyErrorsItems0Source

func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get collections unauthorized body errors items0 source based on context it is used

func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCollectionsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get collections unauthorized body errors items0 source

type GetCollectionsUnauthorizedBodyJsonapi

type GetCollectionsUnauthorizedBodyJsonapi 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"`
}

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

func (*GetCollectionsUnauthorizedBodyJsonapi) Validate

Validate validates this get collections unauthorized body jsonapi

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

Code gets the status code for the get projects of collection bad request response

func (*GetProjectsOfCollectionBadRequest) Error

func (*GetProjectsOfCollectionBadRequest) GetPayload

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

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

func (*GetProjectsOfCollectionBadRequestBody) Validate

Validate validates this get projects of collection bad request body

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

ContextValidate validate this get projects of collection bad request body errors items0 based on the context it is used

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this get projects of collection bad request body errors items0

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

ContextValidate validates this get projects of collection bad request body errors items0 links based on context it is used

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this get projects of collection bad request body errors items0 links

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

ContextValidate validates this get projects of collection bad request body errors items0 source based on context it is used

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this get projects of collection bad request body errors items0 source

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

ContextValidate validates this get projects of collection bad request body jsonapi based on context it is used

func (*GetProjectsOfCollectionBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionBadRequestBodyJsonapi) Validate

Validate validates this get projects of collection bad request body jsonapi

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

Code gets the status code for the get projects of collection forbidden response

func (*GetProjectsOfCollectionForbidden) Error

func (*GetProjectsOfCollectionForbidden) GetPayload

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

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

func (*GetProjectsOfCollectionForbiddenBody) Validate

Validate validates this get projects of collection forbidden body

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

ContextValidate validate this get projects of collection forbidden body errors items0 based on the context it is used

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this get projects of collection forbidden body errors items0

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

ContextValidate validates this get projects of collection forbidden body errors items0 links based on context it is used

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this get projects of collection forbidden body errors items0 links

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

ContextValidate validates this get projects of collection forbidden body errors items0 source based on context it is used

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this get projects of collection forbidden body errors items0 source

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

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

func (*GetProjectsOfCollectionForbiddenBodyJsonapi) Validate

Validate validates this get projects of collection forbidden body jsonapi

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

Code gets the status code for the get projects of collection internal server error response

func (*GetProjectsOfCollectionInternalServerError) Error

func (*GetProjectsOfCollectionInternalServerError) GetPayload

func (*GetProjectsOfCollectionInternalServerError) IsClientError

IsClientError returns true when this get projects of collection internal server error response has a 4xx status code

func (*GetProjectsOfCollectionInternalServerError) IsCode

IsCode returns true when this get projects of collection internal server error response a status code equal to that given

func (*GetProjectsOfCollectionInternalServerError) IsRedirect

IsRedirect returns true when this get projects of collection internal server error response has a 3xx status code

func (*GetProjectsOfCollectionInternalServerError) IsServerError

IsServerError returns true when this get projects of collection internal server error response has a 5xx status code

func (*GetProjectsOfCollectionInternalServerError) IsSuccess

IsSuccess returns true when this get projects of collection internal server error response has a 2xx status code

func (*GetProjectsOfCollectionInternalServerError) 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

ContextValidate validate this get projects of collection internal server error body based on the context it is used

func (*GetProjectsOfCollectionInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBody) Validate

Validate validates this get projects of collection internal server error body

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

ContextValidate validate this get projects of collection internal server error body errors items0 based on the context it is used

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get projects of collection internal server error body errors items0

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

ContextValidate validates this get projects of collection internal server error body errors items0 links based on context it is used

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get projects of collection internal server error body errors items0 links

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

ContextValidate validates this get projects of collection internal server error body errors items0 source based on context it is used

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get projects of collection internal server error body errors items0 source

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

ContextValidate validates this get projects of collection internal server error body jsonapi based on context it is used

func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this get projects of collection internal server error body jsonapi

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

Code gets the status code for the get projects of collection not found response

func (*GetProjectsOfCollectionNotFound) Error

func (*GetProjectsOfCollectionNotFound) GetPayload

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

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

func (*GetProjectsOfCollectionNotFoundBody) Validate

Validate validates this get projects of collection not found body

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

ContextValidate validate this get projects of collection not found body errors items0 based on the context it is used

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this get projects of collection not found body errors items0

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

ContextValidate validates this get projects of collection not found body errors items0 links based on context it is used

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this get projects of collection not found body errors items0 links

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

ContextValidate validates this get projects of collection not found body errors items0 source based on context it is used

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this get projects of collection not found body errors items0 source

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

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

func (*GetProjectsOfCollectionNotFoundBodyJsonapi) Validate

Validate validates this get projects of collection not found body jsonapi

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 (*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

WithContext adds the context to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithDefaults

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

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

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

WithLimit adds the limit to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithOrgID

WithOrgID adds the orgID to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithShow

WithShow adds the show to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithSort

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

WithTargetID adds the targetID to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithTimeout

WithTimeout adds the timeout to the get projects of collection params

func (*GetProjectsOfCollectionParams) WithVersion

WithVersion adds the version to the get projects of collection params

func (*GetProjectsOfCollectionParams) WriteToRequest

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 {

	/* 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 *GetProjectsOfCollectionUnauthorizedBody
}

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

Code gets the status code for the get projects of collection unauthorized response

func (*GetProjectsOfCollectionUnauthorized) Error

func (*GetProjectsOfCollectionUnauthorized) GetPayload

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

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

IsSuccess returns true when this get projects of collection unauthorized response has a 2xx status code

func (*GetProjectsOfCollectionUnauthorized) String

type GetProjectsOfCollectionUnauthorizedBody

type GetProjectsOfCollectionUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

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

func (*GetProjectsOfCollectionUnauthorizedBody) Validate

Validate validates this get projects of collection unauthorized body

type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0

type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 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 *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

GetProjectsOfCollectionUnauthorizedBodyErrorsItems0 get projects of collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetProjectsOfCollectionUnauthorizedBodyErrorsItems0

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this get projects of collection unauthorized body errors items0 based on the context it is used

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this get projects of collection unauthorized body errors items0

type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this get projects of collection unauthorized body errors items0 links based on context it is used

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get projects of collection unauthorized body errors items0 links

type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source

type GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source get projects of collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get projects of collection unauthorized body errors items0 source based on context it is used

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get projects of collection unauthorized body errors items0 source

type GetProjectsOfCollectionUnauthorizedBodyJsonapi

type GetProjectsOfCollectionUnauthorizedBodyJsonapi 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"`
}

GetProjectsOfCollectionUnauthorizedBodyJsonapi get projects of collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetProjectsOfCollectionUnauthorizedBodyJsonapi

func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this get projects of collection unauthorized body jsonapi based on context it is used

func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetProjectsOfCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this get projects of collection unauthorized body jsonapi

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 (*UpdateCollectionBadRequest) GetPayload

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

func (*UpdateCollectionBadRequestBody) Validate

func (o *UpdateCollectionBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this update collection bad request body

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

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

func (*UpdateCollectionBadRequestBodyErrorsItems0) Validate

Validate validates this update collection bad request body errors items0

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

ContextValidate validates this update collection bad request body errors items0 links based on context it is used

func (*UpdateCollectionBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionBadRequestBodyErrorsItems0Links) Validate

Validate validates this update collection bad request body errors items0 links

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

ContextValidate validates this update collection bad request body errors items0 source based on context it is used

func (*UpdateCollectionBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionBadRequestBodyErrorsItems0Source) Validate

Validate validates this update collection bad request body errors items0 source

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

func (*UpdateCollectionBadRequestBodyJsonapi) Validate

Validate validates this update collection bad request body jsonapi

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 (*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

func (*UpdateCollectionConflictBody) Validate

func (o *UpdateCollectionConflictBody) Validate(formats strfmt.Registry) error

Validate validates this update collection conflict body

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

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

func (*UpdateCollectionConflictBodyErrorsItems0) Validate

Validate validates this update collection conflict body errors items0

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

ContextValidate validates this update collection conflict body errors items0 links based on context it is used

func (*UpdateCollectionConflictBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionConflictBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionConflictBodyErrorsItems0Links) Validate

Validate validates this update collection conflict body errors items0 links

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

ContextValidate validates this update collection conflict body errors items0 source based on context it is used

func (*UpdateCollectionConflictBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionConflictBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionConflictBodyErrorsItems0Source) Validate

Validate validates this update collection conflict body errors items0 source

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

func (*UpdateCollectionConflictBodyJsonapi) Validate

Validate validates this update collection conflict body jsonapi

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 (*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

func (*UpdateCollectionForbiddenBody) Validate

func (o *UpdateCollectionForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this update collection forbidden body

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

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

func (*UpdateCollectionForbiddenBodyErrorsItems0) Validate

Validate validates this update collection forbidden body errors items0

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

ContextValidate validates this update collection forbidden body errors items0 links based on context it is used

func (*UpdateCollectionForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionForbiddenBodyErrorsItems0Links) Validate

Validate validates this update collection forbidden body errors items0 links

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

ContextValidate validates this update collection forbidden body errors items0 source based on context it is used

func (*UpdateCollectionForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionForbiddenBodyErrorsItems0Source) Validate

Validate validates this update collection forbidden body errors items0 source

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

func (*UpdateCollectionForbiddenBodyJsonapi) Validate

Validate validates this update collection forbidden body jsonapi

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

Code gets the status code for the update collection internal server error response

func (*UpdateCollectionInternalServerError) Error

func (*UpdateCollectionInternalServerError) GetPayload

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

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

IsSuccess returns true when this update collection internal server error response has a 2xx status code

func (*UpdateCollectionInternalServerError) 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

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

func (*UpdateCollectionInternalServerErrorBody) Validate

Validate validates this update collection internal server error body

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

ContextValidate validate this update collection internal server error body errors items0 based on the context it is used

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update collection internal server error body errors items0

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

ContextValidate validates this update collection internal server error body errors items0 links based on context it is used

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update collection internal server error body errors items0 links

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

ContextValidate validates this update collection internal server error body errors items0 source based on context it is used

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update collection internal server error body errors items0 source

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

ContextValidate validates this update collection internal server error body jsonapi based on context it is used

func (*UpdateCollectionInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionInternalServerErrorBodyJsonapi) Validate

Validate validates this update collection internal server error body jsonapi

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 (*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

func (*UpdateCollectionNotFoundBody) Validate

func (o *UpdateCollectionNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this update collection not found body

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

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

func (*UpdateCollectionNotFoundBodyErrorsItems0) Validate

Validate validates this update collection not found body errors items0

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

ContextValidate validates this update collection not found body errors items0 links based on context it is used

func (*UpdateCollectionNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionNotFoundBodyErrorsItems0Links) Validate

Validate validates this update collection not found body errors items0 links

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

ContextValidate validates this update collection not found body errors items0 source based on context it is used

func (*UpdateCollectionNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionNotFoundBodyErrorsItems0Source) Validate

Validate validates this update collection not found body errors items0 source

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

func (*UpdateCollectionNotFoundBodyJsonapi) Validate

Validate validates this update collection not found body jsonapi

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

func (*UpdateCollectionOKBody) Validate

func (o *UpdateCollectionOKBody) Validate(formats strfmt.Registry) error

Validate validates this update collection o k body

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

func (*UpdateCollectionOKBodyData) Validate

func (o *UpdateCollectionOKBodyData) Validate(formats strfmt.Registry) error

Validate validates this update collection o k body data

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

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

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

WithContext adds the context to the update collection params

func (*UpdateCollectionParams) WithDefaults

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

WithOrgID adds the orgID to the update collection params

func (*UpdateCollectionParams) WithTimeout

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

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 {

	/* 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 *UpdateCollectionUnauthorizedBody
}

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

Code gets the status code for the update collection unauthorized response

func (*UpdateCollectionUnauthorized) Error

func (*UpdateCollectionUnauthorized) GetPayload

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

type UpdateCollectionUnauthorizedBody

type UpdateCollectionUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateCollectionUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

func (*UpdateCollectionUnauthorizedBody) Validate

Validate validates this update collection unauthorized body

type UpdateCollectionUnauthorizedBodyErrorsItems0

type UpdateCollectionUnauthorizedBodyErrorsItems0 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 *UpdateCollectionUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateCollectionUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateCollectionUnauthorizedBodyErrorsItems0 update collection unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionUnauthorizedBodyErrorsItems0

func (*UpdateCollectionUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update collection unauthorized body errors items0 based on the context it is used

func (*UpdateCollectionUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0) Validate

Validate validates this update collection unauthorized body errors items0

type UpdateCollectionUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this update collection unauthorized body errors items0 links based on context it is used

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update collection unauthorized body errors items0 links

type UpdateCollectionUnauthorizedBodyErrorsItems0Source

type UpdateCollectionUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateCollectionUnauthorizedBodyErrorsItems0Source update collection unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionUnauthorizedBodyErrorsItems0Source

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update collection unauthorized body errors items0 source based on context it is used

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update collection unauthorized body errors items0 source

type UpdateCollectionUnauthorizedBodyJsonapi

type UpdateCollectionUnauthorizedBodyJsonapi 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"`
}

UpdateCollectionUnauthorizedBodyJsonapi update collection unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionUnauthorizedBodyJsonapi

func (*UpdateCollectionUnauthorizedBodyJsonapi) ContextValidate

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

func (*UpdateCollectionUnauthorizedBodyJsonapi) Validate

Validate validates this update collection unauthorized body jsonapi

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

Code gets the status code for the update collection with projects bad request response

func (*UpdateCollectionWithProjectsBadRequest) Error

func (*UpdateCollectionWithProjectsBadRequest) GetPayload

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

IsCode returns true when this update collection with projects bad request response a status code equal to that given

func (*UpdateCollectionWithProjectsBadRequest) IsRedirect

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

IsSuccess returns true when this update collection with projects bad request response has a 2xx status code

func (*UpdateCollectionWithProjectsBadRequest) 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

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

func (*UpdateCollectionWithProjectsBadRequestBody) Validate

Validate validates this update collection with projects bad request body

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

ContextValidate validate this update collection with projects bad request body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0) Validate

Validate validates this update collection with projects bad request body errors items0

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

ContextValidate validates this update collection with projects bad request body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Links) Validate

Validate validates this update collection with projects bad request body errors items0 links

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

ContextValidate validates this update collection with projects bad request body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyErrorsItems0Source) Validate

Validate validates this update collection with projects bad request body errors items0 source

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

ContextValidate validates this update collection with projects bad request body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsBadRequestBodyJsonapi) Validate

Validate validates this update collection with projects bad request body jsonapi

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

Code gets the status code for the update collection with projects conflict response

func (*UpdateCollectionWithProjectsConflict) Error

func (*UpdateCollectionWithProjectsConflict) GetPayload

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

IsCode returns true when this update collection with projects conflict response a status code equal to that given

func (*UpdateCollectionWithProjectsConflict) IsRedirect

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

IsSuccess returns true when this update collection with projects conflict response has a 2xx status code

func (*UpdateCollectionWithProjectsConflict) 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

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

func (*UpdateCollectionWithProjectsConflictBody) Validate

Validate validates this update collection with projects conflict body

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

ContextValidate validate this update collection with projects conflict body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0) Validate

Validate validates this update collection with projects conflict body errors items0

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

ContextValidate validates this update collection with projects conflict body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Links) Validate

Validate validates this update collection with projects conflict body errors items0 links

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

ContextValidate validates this update collection with projects conflict body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyErrorsItems0Source) Validate

Validate validates this update collection with projects conflict body errors items0 source

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

ContextValidate validates this update collection with projects conflict body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsConflictBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsConflictBodyJsonapi) Validate

Validate validates this update collection with projects conflict body jsonapi

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

Code gets the status code for the update collection with projects forbidden response

func (*UpdateCollectionWithProjectsForbidden) Error

func (*UpdateCollectionWithProjectsForbidden) GetPayload

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

IsCode returns true when this update collection with projects forbidden response a status code equal to that given

func (*UpdateCollectionWithProjectsForbidden) IsRedirect

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

IsSuccess returns true when this update collection with projects forbidden response has a 2xx status code

func (*UpdateCollectionWithProjectsForbidden) 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

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

func (*UpdateCollectionWithProjectsForbiddenBody) Validate

Validate validates this update collection with projects forbidden body

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

ContextValidate validate this update collection with projects forbidden body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0) Validate

Validate validates this update collection with projects forbidden body errors items0

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

ContextValidate validates this update collection with projects forbidden body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Links) Validate

Validate validates this update collection with projects forbidden body errors items0 links

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

ContextValidate validates this update collection with projects forbidden body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyErrorsItems0Source) Validate

Validate validates this update collection with projects forbidden body errors items0 source

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

ContextValidate validates this update collection with projects forbidden body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsForbiddenBodyJsonapi) Validate

Validate validates this update collection with projects forbidden body jsonapi

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

Code gets the status code for the update collection with projects internal server error response

func (*UpdateCollectionWithProjectsInternalServerError) Error

func (*UpdateCollectionWithProjectsInternalServerError) GetPayload

func (*UpdateCollectionWithProjectsInternalServerError) IsClientError

IsClientError returns true when this update collection with projects internal server error response has a 4xx status code

func (*UpdateCollectionWithProjectsInternalServerError) IsCode

IsCode returns true when this update collection with projects internal server error response a status code equal to that given

func (*UpdateCollectionWithProjectsInternalServerError) IsRedirect

IsRedirect returns true when this update collection with projects internal server error response has a 3xx status code

func (*UpdateCollectionWithProjectsInternalServerError) IsServerError

IsServerError returns true when this update collection with projects internal server error response has a 5xx status code

func (*UpdateCollectionWithProjectsInternalServerError) IsSuccess

IsSuccess returns true when this update collection with projects internal server error response has a 2xx status code

func (*UpdateCollectionWithProjectsInternalServerError) 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

ContextValidate validate this update collection with projects internal server error body based on the context it is used

func (*UpdateCollectionWithProjectsInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBody) Validate

Validate validates this update collection with projects internal server error body

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

ContextValidate validate this update collection with projects internal server error body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update collection with projects internal server error body errors items0

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

ContextValidate validates this update collection with projects internal server error body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Links) Validate

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

ContextValidate validates this update collection with projects internal server error body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyErrorsItems0Source) Validate

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

ContextValidate validates this update collection with projects internal server error body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsInternalServerErrorBodyJsonapi) Validate

Validate validates this update collection with projects internal server error body jsonapi

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

Code gets the status code for the update collection with projects no content response

func (*UpdateCollectionWithProjectsNoContent) Error

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

IsCode returns true when this update collection with projects no content response a status code equal to that given

func (*UpdateCollectionWithProjectsNoContent) IsRedirect

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

IsSuccess returns true when this update collection with projects no content response has a 2xx status code

func (*UpdateCollectionWithProjectsNoContent) 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

Code gets the status code for the update collection with projects not found response

func (*UpdateCollectionWithProjectsNotFound) Error

func (*UpdateCollectionWithProjectsNotFound) GetPayload

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

IsCode returns true when this update collection with projects not found response a status code equal to that given

func (*UpdateCollectionWithProjectsNotFound) IsRedirect

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

IsSuccess returns true when this update collection with projects not found response has a 2xx status code

func (*UpdateCollectionWithProjectsNotFound) 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

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

func (*UpdateCollectionWithProjectsNotFoundBody) Validate

Validate validates this update collection with projects not found body

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

ContextValidate validate this update collection with projects not found body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0) Validate

Validate validates this update collection with projects not found body errors items0

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

ContextValidate validates this update collection with projects not found body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Links) Validate

Validate validates this update collection with projects not found body errors items0 links

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

ContextValidate validates this update collection with projects not found body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyErrorsItems0Source) Validate

Validate validates this update collection with projects not found body errors items0 source

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

ContextValidate validates this update collection with projects not found body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsNotFoundBodyJsonapi) Validate

Validate validates this update collection with projects not found body jsonapi

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

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

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

WithBody adds the body to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithCollectionID

WithCollectionID adds the collectionID to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithContext

WithContext adds the context to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithOrgID

WithOrgID adds the orgID to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithTimeout

WithTimeout adds the timeout to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WithVersion

WithVersion adds the version to the update collection with projects params

func (*UpdateCollectionWithProjectsParams) WriteToRequest

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 {

	/* 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 *UpdateCollectionWithProjectsUnauthorizedBody
}

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

Code gets the status code for the update collection with projects unauthorized response

func (*UpdateCollectionWithProjectsUnauthorized) Error

func (*UpdateCollectionWithProjectsUnauthorized) GetPayload

func (*UpdateCollectionWithProjectsUnauthorized) IsClientError

IsClientError returns true when this update collection with projects unauthorized response has a 4xx status code

func (*UpdateCollectionWithProjectsUnauthorized) IsCode

IsCode returns true when this update collection with projects unauthorized response a status code equal to that given

func (*UpdateCollectionWithProjectsUnauthorized) IsRedirect

IsRedirect returns true when this update collection with projects unauthorized response has a 3xx status code

func (*UpdateCollectionWithProjectsUnauthorized) IsServerError

IsServerError returns true when this update collection with projects unauthorized response has a 5xx status code

func (*UpdateCollectionWithProjectsUnauthorized) IsSuccess

IsSuccess returns true when this update collection with projects unauthorized response has a 2xx status code

func (*UpdateCollectionWithProjectsUnauthorized) String

type UpdateCollectionWithProjectsUnauthorizedBody

type UpdateCollectionWithProjectsUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// 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

ContextValidate validate this update collection with projects unauthorized body based on the context it is used

func (*UpdateCollectionWithProjectsUnauthorizedBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBody) Validate

Validate validates this update collection with projects unauthorized body

type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0

type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 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 *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0 update collection with projects unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update collection with projects unauthorized body errors items0 based on the context it is used

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0) Validate

Validate validates this update collection with projects unauthorized body errors items0

type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links struct {

	// about
	// 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

ContextValidate validates this update collection with projects unauthorized body errors items0 links based on context it is used

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update collection with projects unauthorized body errors items0 links

type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source

type UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source update collection with projects unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update collection with projects unauthorized body errors items0 source based on context it is used

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update collection with projects unauthorized body errors items0 source

type UpdateCollectionWithProjectsUnauthorizedBodyJsonapi

type UpdateCollectionWithProjectsUnauthorizedBodyJsonapi 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"`
}

UpdateCollectionWithProjectsUnauthorizedBodyJsonapi update collection with projects unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateCollectionWithProjectsUnauthorizedBodyJsonapi

func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update collection with projects unauthorized body jsonapi based on context it is used

func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateCollectionWithProjectsUnauthorizedBodyJsonapi) Validate

Validate validates this update collection with projects unauthorized body jsonapi

Jump to

Keyboard shortcuts

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