projects

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 projects API

func (*Client) DeleteOrgProject

func (a *Client) DeleteOrgProject(params *DeleteOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgProjectNoContent, error)

DeleteOrgProject deletes project by project ID

Delete one project in the organization by project ID.

func (*Client) GetOrgProject

func (a *Client) GetOrgProject(params *GetOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgProjectOK, error)

GetOrgProject gets project by project ID

Get one project of the organization by project ID.

func (*Client) ListOrgProjects

func (a *Client) ListOrgProjects(params *ListOrgProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgProjectsOK, error)

ListOrgProjects lists all projects for an org with the given org ID

List all Projects for an Org.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateOrgProject

func (a *Client) UpdateOrgProject(params *UpdateOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgProjectOK, error)

UpdateOrgProject updates project by project ID

Updates one project of the organization by project ID.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteOrgProject(params *DeleteOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgProjectNoContent, error)

	GetOrgProject(params *GetOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgProjectOK, error)

	ListOrgProjects(params *ListOrgProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgProjectsOK, error)

	UpdateOrgProject(params *UpdateOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgProjectOK, 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 projects API client.

type DeleteOrgProjectBadRequest

type DeleteOrgProjectBadRequest 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 *DeleteOrgProjectBadRequestBody
}

DeleteOrgProjectBadRequest 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 NewDeleteOrgProjectBadRequest

func NewDeleteOrgProjectBadRequest() *DeleteOrgProjectBadRequest

NewDeleteOrgProjectBadRequest creates a DeleteOrgProjectBadRequest with default headers values

func (*DeleteOrgProjectBadRequest) Code

func (o *DeleteOrgProjectBadRequest) Code() int

Code gets the status code for the delete org project bad request response

func (*DeleteOrgProjectBadRequest) Error

func (*DeleteOrgProjectBadRequest) GetPayload

func (*DeleteOrgProjectBadRequest) IsClientError

func (o *DeleteOrgProjectBadRequest) IsClientError() bool

IsClientError returns true when this delete org project bad request response has a 4xx status code

func (*DeleteOrgProjectBadRequest) IsCode

func (o *DeleteOrgProjectBadRequest) IsCode(code int) bool

IsCode returns true when this delete org project bad request response a status code equal to that given

func (*DeleteOrgProjectBadRequest) IsRedirect

func (o *DeleteOrgProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this delete org project bad request response has a 3xx status code

func (*DeleteOrgProjectBadRequest) IsServerError

func (o *DeleteOrgProjectBadRequest) IsServerError() bool

IsServerError returns true when this delete org project bad request response has a 5xx status code

func (*DeleteOrgProjectBadRequest) IsSuccess

func (o *DeleteOrgProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this delete org project bad request response has a 2xx status code

func (*DeleteOrgProjectBadRequest) String

func (o *DeleteOrgProjectBadRequest) String() string

type DeleteOrgProjectBadRequestBody

type DeleteOrgProjectBadRequestBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *DeleteOrgProjectBadRequestBodyJsonapi `json:"jsonapi"`
}

DeleteOrgProjectBadRequestBody delete org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectBadRequestBody

func (*DeleteOrgProjectBadRequestBody) ContextValidate

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

ContextValidate validate this delete org project bad request body based on the context it is used

func (*DeleteOrgProjectBadRequestBody) MarshalBinary

func (o *DeleteOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBody) UnmarshalBinary

func (o *DeleteOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBody) Validate

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

Validate validates this delete org project bad request body

type DeleteOrgProjectBadRequestBodyErrorsItems0

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

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

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

DeleteOrgProjectBadRequestBodyErrorsItems0 delete org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0

func (*DeleteOrgProjectBadRequestBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgProjectBadRequestBodyErrorsItems0) MarshalBinary

func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary

func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0) Validate

Validate validates this delete org project bad request body errors items0

type DeleteOrgProjectBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

DeleteOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0Links

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) Validate

Validate validates this delete org project bad request body errors items0 links

type DeleteOrgProjectBadRequestBodyErrorsItems0Source

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

DeleteOrgProjectBadRequestBodyErrorsItems0Source delete org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0Source

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) Validate

Validate validates this delete org project bad request body errors items0 source

type DeleteOrgProjectBadRequestBodyJsonapi

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

DeleteOrgProjectBadRequestBodyJsonapi delete org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectBadRequestBodyJsonapi

func (*DeleteOrgProjectBadRequestBodyJsonapi) ContextValidate

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

ContextValidate validates this delete org project bad request body jsonapi based on context it is used

func (*DeleteOrgProjectBadRequestBodyJsonapi) MarshalBinary

func (o *DeleteOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyJsonapi) UnmarshalBinary

func (o *DeleteOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectBadRequestBodyJsonapi) Validate

Validate validates this delete org project bad request body jsonapi

type DeleteOrgProjectForbidden

type DeleteOrgProjectForbidden 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 *DeleteOrgProjectForbiddenBody
}

DeleteOrgProjectForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewDeleteOrgProjectForbidden

func NewDeleteOrgProjectForbidden() *DeleteOrgProjectForbidden

NewDeleteOrgProjectForbidden creates a DeleteOrgProjectForbidden with default headers values

func (*DeleteOrgProjectForbidden) Code

func (o *DeleteOrgProjectForbidden) Code() int

Code gets the status code for the delete org project forbidden response

func (*DeleteOrgProjectForbidden) Error

func (o *DeleteOrgProjectForbidden) Error() string

func (*DeleteOrgProjectForbidden) GetPayload

func (*DeleteOrgProjectForbidden) IsClientError

func (o *DeleteOrgProjectForbidden) IsClientError() bool

IsClientError returns true when this delete org project forbidden response has a 4xx status code

func (*DeleteOrgProjectForbidden) IsCode

func (o *DeleteOrgProjectForbidden) IsCode(code int) bool

IsCode returns true when this delete org project forbidden response a status code equal to that given

func (*DeleteOrgProjectForbidden) IsRedirect

func (o *DeleteOrgProjectForbidden) IsRedirect() bool

IsRedirect returns true when this delete org project forbidden response has a 3xx status code

func (*DeleteOrgProjectForbidden) IsServerError

func (o *DeleteOrgProjectForbidden) IsServerError() bool

IsServerError returns true when this delete org project forbidden response has a 5xx status code

func (*DeleteOrgProjectForbidden) IsSuccess

func (o *DeleteOrgProjectForbidden) IsSuccess() bool

IsSuccess returns true when this delete org project forbidden response has a 2xx status code

func (*DeleteOrgProjectForbidden) String

func (o *DeleteOrgProjectForbidden) String() string

type DeleteOrgProjectForbiddenBody

type DeleteOrgProjectForbiddenBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *DeleteOrgProjectForbiddenBodyJsonapi `json:"jsonapi"`
}

DeleteOrgProjectForbiddenBody delete org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectForbiddenBody

func (*DeleteOrgProjectForbiddenBody) ContextValidate

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

ContextValidate validate this delete org project forbidden body based on the context it is used

func (*DeleteOrgProjectForbiddenBody) MarshalBinary

func (o *DeleteOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBody) UnmarshalBinary

func (o *DeleteOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBody) Validate

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

Validate validates this delete org project forbidden body

type DeleteOrgProjectForbiddenBodyErrorsItems0

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

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

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

DeleteOrgProjectForbiddenBodyErrorsItems0 delete org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0

func (*DeleteOrgProjectForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this delete org project forbidden body errors items0 based on the context it is used

func (*DeleteOrgProjectForbiddenBodyErrorsItems0) MarshalBinary

func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary

func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0) Validate

Validate validates this delete org project forbidden body errors items0

type DeleteOrgProjectForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

DeleteOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0Links

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete org project forbidden body errors items0 links

type DeleteOrgProjectForbiddenBodyErrorsItems0Source

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

DeleteOrgProjectForbiddenBodyErrorsItems0Source delete org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0Source

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete org project forbidden body errors items0 source

type DeleteOrgProjectForbiddenBodyJsonapi

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

DeleteOrgProjectForbiddenBodyJsonapi delete org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectForbiddenBodyJsonapi

func (*DeleteOrgProjectForbiddenBodyJsonapi) ContextValidate

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

ContextValidate validates this delete org project forbidden body jsonapi based on context it is used

func (*DeleteOrgProjectForbiddenBodyJsonapi) MarshalBinary

func (o *DeleteOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyJsonapi) UnmarshalBinary

func (o *DeleteOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectForbiddenBodyJsonapi) Validate

Validate validates this delete org project forbidden body jsonapi

type DeleteOrgProjectInternalServerError

type DeleteOrgProjectInternalServerError 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 *DeleteOrgProjectInternalServerErrorBody
}

DeleteOrgProjectInternalServerError 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 NewDeleteOrgProjectInternalServerError

func NewDeleteOrgProjectInternalServerError() *DeleteOrgProjectInternalServerError

NewDeleteOrgProjectInternalServerError creates a DeleteOrgProjectInternalServerError with default headers values

func (*DeleteOrgProjectInternalServerError) Code

Code gets the status code for the delete org project internal server error response

func (*DeleteOrgProjectInternalServerError) Error

func (*DeleteOrgProjectInternalServerError) GetPayload

func (*DeleteOrgProjectInternalServerError) IsClientError

func (o *DeleteOrgProjectInternalServerError) IsClientError() bool

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

func (*DeleteOrgProjectInternalServerError) IsCode

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

func (*DeleteOrgProjectInternalServerError) IsRedirect

func (o *DeleteOrgProjectInternalServerError) IsRedirect() bool

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

func (*DeleteOrgProjectInternalServerError) IsServerError

func (o *DeleteOrgProjectInternalServerError) IsServerError() bool

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

func (*DeleteOrgProjectInternalServerError) IsSuccess

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

func (*DeleteOrgProjectInternalServerError) String

type DeleteOrgProjectInternalServerErrorBody

type DeleteOrgProjectInternalServerErrorBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *DeleteOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

DeleteOrgProjectInternalServerErrorBody delete org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectInternalServerErrorBody

func (*DeleteOrgProjectInternalServerErrorBody) ContextValidate

ContextValidate validate this delete org project internal server error body based on the context it is used

func (*DeleteOrgProjectInternalServerErrorBody) MarshalBinary

func (o *DeleteOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBody) UnmarshalBinary

func (o *DeleteOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBody) Validate

Validate validates this delete org project internal server error body

type DeleteOrgProjectInternalServerErrorBodyErrorsItems0

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

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

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

DeleteOrgProjectInternalServerErrorBodyErrorsItems0 delete org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) Validate

Validate validates this delete org project internal server error body errors items0

type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this delete org project internal server error body errors items0 links

type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source

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

DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source delete org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this delete org project internal server error body errors items0 source

type DeleteOrgProjectInternalServerErrorBodyJsonapi

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

DeleteOrgProjectInternalServerErrorBodyJsonapi delete org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectInternalServerErrorBodyJsonapi

func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) ContextValidate

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

func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) Validate

Validate validates this delete org project internal server error body jsonapi

type DeleteOrgProjectNoContent

type DeleteOrgProjectNoContent 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
}

DeleteOrgProjectNoContent describes a response with status code 204, with default header values.

The project has been deleted

func NewDeleteOrgProjectNoContent

func NewDeleteOrgProjectNoContent() *DeleteOrgProjectNoContent

NewDeleteOrgProjectNoContent creates a DeleteOrgProjectNoContent with default headers values

func (*DeleteOrgProjectNoContent) Code

func (o *DeleteOrgProjectNoContent) Code() int

Code gets the status code for the delete org project no content response

func (*DeleteOrgProjectNoContent) Error

func (o *DeleteOrgProjectNoContent) Error() string

func (*DeleteOrgProjectNoContent) IsClientError

func (o *DeleteOrgProjectNoContent) IsClientError() bool

IsClientError returns true when this delete org project no content response has a 4xx status code

func (*DeleteOrgProjectNoContent) IsCode

func (o *DeleteOrgProjectNoContent) IsCode(code int) bool

IsCode returns true when this delete org project no content response a status code equal to that given

func (*DeleteOrgProjectNoContent) IsRedirect

func (o *DeleteOrgProjectNoContent) IsRedirect() bool

IsRedirect returns true when this delete org project no content response has a 3xx status code

func (*DeleteOrgProjectNoContent) IsServerError

func (o *DeleteOrgProjectNoContent) IsServerError() bool

IsServerError returns true when this delete org project no content response has a 5xx status code

func (*DeleteOrgProjectNoContent) IsSuccess

func (o *DeleteOrgProjectNoContent) IsSuccess() bool

IsSuccess returns true when this delete org project no content response has a 2xx status code

func (*DeleteOrgProjectNoContent) String

func (o *DeleteOrgProjectNoContent) String() string

type DeleteOrgProjectNotFound

type DeleteOrgProjectNotFound 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 *DeleteOrgProjectNotFoundBody
}

DeleteOrgProjectNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewDeleteOrgProjectNotFound

func NewDeleteOrgProjectNotFound() *DeleteOrgProjectNotFound

NewDeleteOrgProjectNotFound creates a DeleteOrgProjectNotFound with default headers values

func (*DeleteOrgProjectNotFound) Code

func (o *DeleteOrgProjectNotFound) Code() int

Code gets the status code for the delete org project not found response

func (*DeleteOrgProjectNotFound) Error

func (o *DeleteOrgProjectNotFound) Error() string

func (*DeleteOrgProjectNotFound) GetPayload

func (*DeleteOrgProjectNotFound) IsClientError

func (o *DeleteOrgProjectNotFound) IsClientError() bool

IsClientError returns true when this delete org project not found response has a 4xx status code

func (*DeleteOrgProjectNotFound) IsCode

func (o *DeleteOrgProjectNotFound) IsCode(code int) bool

IsCode returns true when this delete org project not found response a status code equal to that given

func (*DeleteOrgProjectNotFound) IsRedirect

func (o *DeleteOrgProjectNotFound) IsRedirect() bool

IsRedirect returns true when this delete org project not found response has a 3xx status code

func (*DeleteOrgProjectNotFound) IsServerError

func (o *DeleteOrgProjectNotFound) IsServerError() bool

IsServerError returns true when this delete org project not found response has a 5xx status code

func (*DeleteOrgProjectNotFound) IsSuccess

func (o *DeleteOrgProjectNotFound) IsSuccess() bool

IsSuccess returns true when this delete org project not found response has a 2xx status code

func (*DeleteOrgProjectNotFound) String

func (o *DeleteOrgProjectNotFound) String() string

type DeleteOrgProjectNotFoundBody

type DeleteOrgProjectNotFoundBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *DeleteOrgProjectNotFoundBodyJsonapi `json:"jsonapi"`
}

DeleteOrgProjectNotFoundBody delete org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectNotFoundBody

func (*DeleteOrgProjectNotFoundBody) ContextValidate

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

ContextValidate validate this delete org project not found body based on the context it is used

func (*DeleteOrgProjectNotFoundBody) MarshalBinary

func (o *DeleteOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBody) UnmarshalBinary

func (o *DeleteOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBody) Validate

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

Validate validates this delete org project not found body

type DeleteOrgProjectNotFoundBodyErrorsItems0

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

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

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

DeleteOrgProjectNotFoundBodyErrorsItems0 delete org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0

func (*DeleteOrgProjectNotFoundBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgProjectNotFoundBodyErrorsItems0) MarshalBinary

func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary

func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0) Validate

Validate validates this delete org project not found body errors items0

type DeleteOrgProjectNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

DeleteOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0Links

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) Validate

Validate validates this delete org project not found body errors items0 links

type DeleteOrgProjectNotFoundBodyErrorsItems0Source

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

DeleteOrgProjectNotFoundBodyErrorsItems0Source delete org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0Source

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) Validate

Validate validates this delete org project not found body errors items0 source

type DeleteOrgProjectNotFoundBodyJsonapi

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

DeleteOrgProjectNotFoundBodyJsonapi delete org project not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectNotFoundBodyJsonapi

func (*DeleteOrgProjectNotFoundBodyJsonapi) ContextValidate

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

ContextValidate validates this delete org project not found body jsonapi based on context it is used

func (*DeleteOrgProjectNotFoundBodyJsonapi) MarshalBinary

func (o *DeleteOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyJsonapi) UnmarshalBinary

func (o *DeleteOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectNotFoundBodyJsonapi) Validate

Validate validates this delete org project not found body jsonapi

type DeleteOrgProjectParams

type DeleteOrgProjectParams struct {

	/* OrgID.

	   The ID of the org to which the project belongs to.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ProjectID.

	   The ID of the project.

	   Format: uuid
	*/
	ProjectID 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
}

DeleteOrgProjectParams contains all the parameters to send to the API endpoint

for the delete org project operation.

Typically these are written to a http.Request.

func NewDeleteOrgProjectParams

func NewDeleteOrgProjectParams() *DeleteOrgProjectParams

NewDeleteOrgProjectParams creates a new DeleteOrgProjectParams 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 NewDeleteOrgProjectParamsWithContext

func NewDeleteOrgProjectParamsWithContext(ctx context.Context) *DeleteOrgProjectParams

NewDeleteOrgProjectParamsWithContext creates a new DeleteOrgProjectParams object with the ability to set a context for a request.

func NewDeleteOrgProjectParamsWithHTTPClient

func NewDeleteOrgProjectParamsWithHTTPClient(client *http.Client) *DeleteOrgProjectParams

NewDeleteOrgProjectParamsWithHTTPClient creates a new DeleteOrgProjectParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrgProjectParamsWithTimeout

func NewDeleteOrgProjectParamsWithTimeout(timeout time.Duration) *DeleteOrgProjectParams

NewDeleteOrgProjectParamsWithTimeout creates a new DeleteOrgProjectParams object with the ability to set a timeout on a request.

func (*DeleteOrgProjectParams) SetContext

func (o *DeleteOrgProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the delete org project params

func (*DeleteOrgProjectParams) SetDefaults

func (o *DeleteOrgProjectParams) SetDefaults()

SetDefaults hydrates default values in the delete org project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrgProjectParams) SetHTTPClient

func (o *DeleteOrgProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete org project params

func (*DeleteOrgProjectParams) SetOrgID

func (o *DeleteOrgProjectParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the delete org project params

func (*DeleteOrgProjectParams) SetProjectID

func (o *DeleteOrgProjectParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the delete org project params

func (*DeleteOrgProjectParams) SetTimeout

func (o *DeleteOrgProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete org project params

func (*DeleteOrgProjectParams) SetVersion

func (o *DeleteOrgProjectParams) SetVersion(version string)

SetVersion adds the version to the delete org project params

func (*DeleteOrgProjectParams) WithContext

WithContext adds the context to the delete org project params

func (*DeleteOrgProjectParams) WithDefaults

WithDefaults hydrates default values in the delete org project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteOrgProjectParams) WithHTTPClient

func (o *DeleteOrgProjectParams) WithHTTPClient(client *http.Client) *DeleteOrgProjectParams

WithHTTPClient adds the HTTPClient to the delete org project params

func (*DeleteOrgProjectParams) WithOrgID

WithOrgID adds the orgID to the delete org project params

func (*DeleteOrgProjectParams) WithProjectID

func (o *DeleteOrgProjectParams) WithProjectID(projectID strfmt.UUID) *DeleteOrgProjectParams

WithProjectID adds the projectID to the delete org project params

func (*DeleteOrgProjectParams) WithTimeout

WithTimeout adds the timeout to the delete org project params

func (*DeleteOrgProjectParams) WithVersion

func (o *DeleteOrgProjectParams) WithVersion(version string) *DeleteOrgProjectParams

WithVersion adds the version to the delete org project params

func (*DeleteOrgProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrgProjectReader

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

DeleteOrgProjectReader is a Reader for the DeleteOrgProject structure.

func (*DeleteOrgProjectReader) ReadResponse

func (o *DeleteOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteOrgProjectUnauthorized

type DeleteOrgProjectUnauthorized 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 *DeleteOrgProjectUnauthorizedBody
}

DeleteOrgProjectUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewDeleteOrgProjectUnauthorized

func NewDeleteOrgProjectUnauthorized() *DeleteOrgProjectUnauthorized

NewDeleteOrgProjectUnauthorized creates a DeleteOrgProjectUnauthorized with default headers values

func (*DeleteOrgProjectUnauthorized) Code

Code gets the status code for the delete org project unauthorized response

func (*DeleteOrgProjectUnauthorized) Error

func (*DeleteOrgProjectUnauthorized) GetPayload

func (*DeleteOrgProjectUnauthorized) IsClientError

func (o *DeleteOrgProjectUnauthorized) IsClientError() bool

IsClientError returns true when this delete org project unauthorized response has a 4xx status code

func (*DeleteOrgProjectUnauthorized) IsCode

func (o *DeleteOrgProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this delete org project unauthorized response a status code equal to that given

func (*DeleteOrgProjectUnauthorized) IsRedirect

func (o *DeleteOrgProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete org project unauthorized response has a 3xx status code

func (*DeleteOrgProjectUnauthorized) IsServerError

func (o *DeleteOrgProjectUnauthorized) IsServerError() bool

IsServerError returns true when this delete org project unauthorized response has a 5xx status code

func (*DeleteOrgProjectUnauthorized) IsSuccess

func (o *DeleteOrgProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete org project unauthorized response has a 2xx status code

func (*DeleteOrgProjectUnauthorized) String

type DeleteOrgProjectUnauthorizedBody

type DeleteOrgProjectUnauthorizedBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *DeleteOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"`
}

DeleteOrgProjectUnauthorizedBody delete org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectUnauthorizedBody

func (*DeleteOrgProjectUnauthorizedBody) ContextValidate

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

ContextValidate validate this delete org project unauthorized body based on the context it is used

func (*DeleteOrgProjectUnauthorizedBody) MarshalBinary

func (o *DeleteOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBody) UnmarshalBinary

func (o *DeleteOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBody) Validate

Validate validates this delete org project unauthorized body

type DeleteOrgProjectUnauthorizedBodyErrorsItems0

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

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

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

DeleteOrgProjectUnauthorizedBodyErrorsItems0 delete org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete org project unauthorized body errors items0

type DeleteOrgProjectUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

DeleteOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0Links

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete org project unauthorized body errors items0 links

type DeleteOrgProjectUnauthorizedBodyErrorsItems0Source

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

DeleteOrgProjectUnauthorizedBodyErrorsItems0Source delete org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0Source

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete org project unauthorized body errors items0 source

type DeleteOrgProjectUnauthorizedBodyJsonapi

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

DeleteOrgProjectUnauthorizedBodyJsonapi delete org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectUnauthorizedBodyJsonapi

func (*DeleteOrgProjectUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this delete org project unauthorized body jsonapi based on context it is used

func (*DeleteOrgProjectUnauthorizedBodyJsonapi) MarshalBinary

func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary

func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrgProjectUnauthorizedBodyJsonapi) Validate

Validate validates this delete org project unauthorized body jsonapi

type GetOrgProjectBadRequest

type GetOrgProjectBadRequest 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 *GetOrgProjectBadRequestBody
}

GetOrgProjectBadRequest 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 NewGetOrgProjectBadRequest

func NewGetOrgProjectBadRequest() *GetOrgProjectBadRequest

NewGetOrgProjectBadRequest creates a GetOrgProjectBadRequest with default headers values

func (*GetOrgProjectBadRequest) Code

func (o *GetOrgProjectBadRequest) Code() int

Code gets the status code for the get org project bad request response

func (*GetOrgProjectBadRequest) Error

func (o *GetOrgProjectBadRequest) Error() string

func (*GetOrgProjectBadRequest) GetPayload

func (*GetOrgProjectBadRequest) IsClientError

func (o *GetOrgProjectBadRequest) IsClientError() bool

IsClientError returns true when this get org project bad request response has a 4xx status code

func (*GetOrgProjectBadRequest) IsCode

func (o *GetOrgProjectBadRequest) IsCode(code int) bool

IsCode returns true when this get org project bad request response a status code equal to that given

func (*GetOrgProjectBadRequest) IsRedirect

func (o *GetOrgProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this get org project bad request response has a 3xx status code

func (*GetOrgProjectBadRequest) IsServerError

func (o *GetOrgProjectBadRequest) IsServerError() bool

IsServerError returns true when this get org project bad request response has a 5xx status code

func (*GetOrgProjectBadRequest) IsSuccess

func (o *GetOrgProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this get org project bad request response has a 2xx status code

func (*GetOrgProjectBadRequest) String

func (o *GetOrgProjectBadRequest) String() string

type GetOrgProjectBadRequestBody

type GetOrgProjectBadRequestBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *GetOrgProjectBadRequestBodyJsonapi `json:"jsonapi"`
}

GetOrgProjectBadRequestBody get org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectBadRequestBody

func (*GetOrgProjectBadRequestBody) ContextValidate

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

ContextValidate validate this get org project bad request body based on the context it is used

func (*GetOrgProjectBadRequestBody) MarshalBinary

func (o *GetOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectBadRequestBody) UnmarshalBinary

func (o *GetOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectBadRequestBody) Validate

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

Validate validates this get org project bad request body

type GetOrgProjectBadRequestBodyErrorsItems0

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

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

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

GetOrgProjectBadRequestBodyErrorsItems0 get org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0

func (*GetOrgProjectBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this get org project bad request body errors items0 based on the context it is used

func (*GetOrgProjectBadRequestBodyErrorsItems0) MarshalBinary

func (o *GetOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary

func (o *GetOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0) Validate

Validate validates this get org project bad request body errors items0

type GetOrgProjectBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0Links

func (*GetOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0Links) Validate

Validate validates this get org project bad request body errors items0 links

type GetOrgProjectBadRequestBodyErrorsItems0Source

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

GetOrgProjectBadRequestBodyErrorsItems0Source get org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0Source

func (*GetOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyErrorsItems0Source) Validate

Validate validates this get org project bad request body errors items0 source

type GetOrgProjectBadRequestBodyJsonapi

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

GetOrgProjectBadRequestBodyJsonapi get org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectBadRequestBodyJsonapi

func (*GetOrgProjectBadRequestBodyJsonapi) ContextValidate

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

ContextValidate validates this get org project bad request body jsonapi based on context it is used

func (*GetOrgProjectBadRequestBodyJsonapi) MarshalBinary

func (o *GetOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyJsonapi) UnmarshalBinary

func (o *GetOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectBadRequestBodyJsonapi) Validate

Validate validates this get org project bad request body jsonapi

type GetOrgProjectForbidden

type GetOrgProjectForbidden 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 *GetOrgProjectForbiddenBody
}

GetOrgProjectForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewGetOrgProjectForbidden

func NewGetOrgProjectForbidden() *GetOrgProjectForbidden

NewGetOrgProjectForbidden creates a GetOrgProjectForbidden with default headers values

func (*GetOrgProjectForbidden) Code

func (o *GetOrgProjectForbidden) Code() int

Code gets the status code for the get org project forbidden response

func (*GetOrgProjectForbidden) Error

func (o *GetOrgProjectForbidden) Error() string

func (*GetOrgProjectForbidden) GetPayload

func (*GetOrgProjectForbidden) IsClientError

func (o *GetOrgProjectForbidden) IsClientError() bool

IsClientError returns true when this get org project forbidden response has a 4xx status code

func (*GetOrgProjectForbidden) IsCode

func (o *GetOrgProjectForbidden) IsCode(code int) bool

IsCode returns true when this get org project forbidden response a status code equal to that given

func (*GetOrgProjectForbidden) IsRedirect

func (o *GetOrgProjectForbidden) IsRedirect() bool

IsRedirect returns true when this get org project forbidden response has a 3xx status code

func (*GetOrgProjectForbidden) IsServerError

func (o *GetOrgProjectForbidden) IsServerError() bool

IsServerError returns true when this get org project forbidden response has a 5xx status code

func (*GetOrgProjectForbidden) IsSuccess

func (o *GetOrgProjectForbidden) IsSuccess() bool

IsSuccess returns true when this get org project forbidden response has a 2xx status code

func (*GetOrgProjectForbidden) String

func (o *GetOrgProjectForbidden) String() string

type GetOrgProjectForbiddenBody

type GetOrgProjectForbiddenBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *GetOrgProjectForbiddenBodyJsonapi `json:"jsonapi"`
}

GetOrgProjectForbiddenBody get org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectForbiddenBody

func (*GetOrgProjectForbiddenBody) ContextValidate

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

ContextValidate validate this get org project forbidden body based on the context it is used

func (*GetOrgProjectForbiddenBody) MarshalBinary

func (o *GetOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectForbiddenBody) UnmarshalBinary

func (o *GetOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectForbiddenBody) Validate

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

Validate validates this get org project forbidden body

type GetOrgProjectForbiddenBodyErrorsItems0

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

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

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

GetOrgProjectForbiddenBodyErrorsItems0 get org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0

func (*GetOrgProjectForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this get org project forbidden body errors items0 based on the context it is used

func (*GetOrgProjectForbiddenBodyErrorsItems0) MarshalBinary

func (o *GetOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary

func (o *GetOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0) Validate

Validate validates this get org project forbidden body errors items0

type GetOrgProjectForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0Links

func (*GetOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary

func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary

func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0Links) Validate

Validate validates this get org project forbidden body errors items0 links

type GetOrgProjectForbiddenBodyErrorsItems0Source

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

GetOrgProjectForbiddenBodyErrorsItems0Source get org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0Source

func (*GetOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyErrorsItems0Source) Validate

Validate validates this get org project forbidden body errors items0 source

type GetOrgProjectForbiddenBodyJsonapi

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

GetOrgProjectForbiddenBodyJsonapi get org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectForbiddenBodyJsonapi

func (*GetOrgProjectForbiddenBodyJsonapi) ContextValidate

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

ContextValidate validates this get org project forbidden body jsonapi based on context it is used

func (*GetOrgProjectForbiddenBodyJsonapi) MarshalBinary

func (o *GetOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyJsonapi) UnmarshalBinary

func (o *GetOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectForbiddenBodyJsonapi) Validate

Validate validates this get org project forbidden body jsonapi

type GetOrgProjectInternalServerError

type GetOrgProjectInternalServerError 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 *GetOrgProjectInternalServerErrorBody
}

GetOrgProjectInternalServerError 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 NewGetOrgProjectInternalServerError

func NewGetOrgProjectInternalServerError() *GetOrgProjectInternalServerError

NewGetOrgProjectInternalServerError creates a GetOrgProjectInternalServerError with default headers values

func (*GetOrgProjectInternalServerError) Code

Code gets the status code for the get org project internal server error response

func (*GetOrgProjectInternalServerError) Error

func (*GetOrgProjectInternalServerError) GetPayload

func (*GetOrgProjectInternalServerError) IsClientError

func (o *GetOrgProjectInternalServerError) IsClientError() bool

IsClientError returns true when this get org project internal server error response has a 4xx status code

func (*GetOrgProjectInternalServerError) IsCode

func (o *GetOrgProjectInternalServerError) IsCode(code int) bool

IsCode returns true when this get org project internal server error response a status code equal to that given

func (*GetOrgProjectInternalServerError) IsRedirect

func (o *GetOrgProjectInternalServerError) IsRedirect() bool

IsRedirect returns true when this get org project internal server error response has a 3xx status code

func (*GetOrgProjectInternalServerError) IsServerError

func (o *GetOrgProjectInternalServerError) IsServerError() bool

IsServerError returns true when this get org project internal server error response has a 5xx status code

func (*GetOrgProjectInternalServerError) IsSuccess

func (o *GetOrgProjectInternalServerError) IsSuccess() bool

IsSuccess returns true when this get org project internal server error response has a 2xx status code

func (*GetOrgProjectInternalServerError) String

type GetOrgProjectInternalServerErrorBody

type GetOrgProjectInternalServerErrorBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *GetOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

GetOrgProjectInternalServerErrorBody get org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectInternalServerErrorBody

func (*GetOrgProjectInternalServerErrorBody) ContextValidate

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

ContextValidate validate this get org project internal server error body based on the context it is used

func (*GetOrgProjectInternalServerErrorBody) MarshalBinary

func (o *GetOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBody) UnmarshalBinary

func (o *GetOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBody) Validate

Validate validates this get org project internal server error body

type GetOrgProjectInternalServerErrorBodyErrorsItems0

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

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

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

GetOrgProjectInternalServerErrorBodyErrorsItems0 get org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get org project internal server error body errors items0

type GetOrgProjectInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0Links

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get org project internal server error body errors items0 links

type GetOrgProjectInternalServerErrorBodyErrorsItems0Source

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

GetOrgProjectInternalServerErrorBodyErrorsItems0Source get org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0Source

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get org project internal server error body errors items0 source

type GetOrgProjectInternalServerErrorBodyJsonapi

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

GetOrgProjectInternalServerErrorBodyJsonapi get org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectInternalServerErrorBodyJsonapi

func (*GetOrgProjectInternalServerErrorBodyJsonapi) ContextValidate

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

func (*GetOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary

func (o *GetOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary

func (o *GetOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectInternalServerErrorBodyJsonapi) Validate

Validate validates this get org project internal server error body jsonapi

type GetOrgProjectNotFound

type GetOrgProjectNotFound 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 *GetOrgProjectNotFoundBody
}

GetOrgProjectNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewGetOrgProjectNotFound

func NewGetOrgProjectNotFound() *GetOrgProjectNotFound

NewGetOrgProjectNotFound creates a GetOrgProjectNotFound with default headers values

func (*GetOrgProjectNotFound) Code

func (o *GetOrgProjectNotFound) Code() int

Code gets the status code for the get org project not found response

func (*GetOrgProjectNotFound) Error

func (o *GetOrgProjectNotFound) Error() string

func (*GetOrgProjectNotFound) GetPayload

func (*GetOrgProjectNotFound) IsClientError

func (o *GetOrgProjectNotFound) IsClientError() bool

IsClientError returns true when this get org project not found response has a 4xx status code

func (*GetOrgProjectNotFound) IsCode

func (o *GetOrgProjectNotFound) IsCode(code int) bool

IsCode returns true when this get org project not found response a status code equal to that given

func (*GetOrgProjectNotFound) IsRedirect

func (o *GetOrgProjectNotFound) IsRedirect() bool

IsRedirect returns true when this get org project not found response has a 3xx status code

func (*GetOrgProjectNotFound) IsServerError

func (o *GetOrgProjectNotFound) IsServerError() bool

IsServerError returns true when this get org project not found response has a 5xx status code

func (*GetOrgProjectNotFound) IsSuccess

func (o *GetOrgProjectNotFound) IsSuccess() bool

IsSuccess returns true when this get org project not found response has a 2xx status code

func (*GetOrgProjectNotFound) String

func (o *GetOrgProjectNotFound) String() string

type GetOrgProjectNotFoundBody

type GetOrgProjectNotFoundBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *GetOrgProjectNotFoundBodyJsonapi `json:"jsonapi"`
}

GetOrgProjectNotFoundBody get org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectNotFoundBody

func (*GetOrgProjectNotFoundBody) ContextValidate

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

ContextValidate validate this get org project not found body based on the context it is used

func (*GetOrgProjectNotFoundBody) MarshalBinary

func (o *GetOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectNotFoundBody) UnmarshalBinary

func (o *GetOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectNotFoundBody) Validate

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

Validate validates this get org project not found body

type GetOrgProjectNotFoundBodyErrorsItems0

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

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

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

GetOrgProjectNotFoundBodyErrorsItems0 get org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0

func (*GetOrgProjectNotFoundBodyErrorsItems0) ContextValidate

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

ContextValidate validate this get org project not found body errors items0 based on the context it is used

func (*GetOrgProjectNotFoundBodyErrorsItems0) MarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0) Validate

Validate validates this get org project not found body errors items0

type GetOrgProjectNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0Links

func (*GetOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get org project not found body errors items0 links based on context it is used

func (*GetOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0Links) Validate

Validate validates this get org project not found body errors items0 links

type GetOrgProjectNotFoundBodyErrorsItems0Source

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

GetOrgProjectNotFoundBodyErrorsItems0Source get org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0Source

func (*GetOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary

func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyErrorsItems0Source) Validate

Validate validates this get org project not found body errors items0 source

type GetOrgProjectNotFoundBodyJsonapi

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

GetOrgProjectNotFoundBodyJsonapi get org project not found body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectNotFoundBodyJsonapi

func (*GetOrgProjectNotFoundBodyJsonapi) ContextValidate

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

ContextValidate validates this get org project not found body jsonapi based on context it is used

func (*GetOrgProjectNotFoundBodyJsonapi) MarshalBinary

func (o *GetOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyJsonapi) UnmarshalBinary

func (o *GetOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectNotFoundBodyJsonapi) Validate

Validate validates this get org project not found body jsonapi

type GetOrgProjectOK

type GetOrgProjectOK 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 *GetOrgProjectOKBody
}

GetOrgProjectOK describes a response with status code 200, with default header values.

A project is returned for the targeted org

func NewGetOrgProjectOK

func NewGetOrgProjectOK() *GetOrgProjectOK

NewGetOrgProjectOK creates a GetOrgProjectOK with default headers values

func (*GetOrgProjectOK) Code

func (o *GetOrgProjectOK) Code() int

Code gets the status code for the get org project o k response

func (*GetOrgProjectOK) Error

func (o *GetOrgProjectOK) Error() string

func (*GetOrgProjectOK) GetPayload

func (o *GetOrgProjectOK) GetPayload() *GetOrgProjectOKBody

func (*GetOrgProjectOK) IsClientError

func (o *GetOrgProjectOK) IsClientError() bool

IsClientError returns true when this get org project o k response has a 4xx status code

func (*GetOrgProjectOK) IsCode

func (o *GetOrgProjectOK) IsCode(code int) bool

IsCode returns true when this get org project o k response a status code equal to that given

func (*GetOrgProjectOK) IsRedirect

func (o *GetOrgProjectOK) IsRedirect() bool

IsRedirect returns true when this get org project o k response has a 3xx status code

func (*GetOrgProjectOK) IsServerError

func (o *GetOrgProjectOK) IsServerError() bool

IsServerError returns true when this get org project o k response has a 5xx status code

func (*GetOrgProjectOK) IsSuccess

func (o *GetOrgProjectOK) IsSuccess() bool

IsSuccess returns true when this get org project o k response has a 2xx status code

func (*GetOrgProjectOK) String

func (o *GetOrgProjectOK) String() string

type GetOrgProjectOKBody

type GetOrgProjectOKBody struct {

	// data
	// Required: true
	Data *GetOrgProjectOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`
}

GetOrgProjectOKBody get org project o k body swagger:model GetOrgProjectOKBody

func (*GetOrgProjectOKBody) ContextValidate

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

ContextValidate validate this get org project o k body based on the context it is used

func (*GetOrgProjectOKBody) MarshalBinary

func (o *GetOrgProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectOKBody) UnmarshalBinary

func (o *GetOrgProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectOKBody) Validate

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

Validate validates this get org project o k body

type GetOrgProjectOKBodyData

type GetOrgProjectOKBodyData struct {

	// attributes
	// Required: true
	Attributes *models.ProjectAttributes `json:"attributes"`

	// The Resource ID.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// meta
	Meta *GetOrgProjectOKBodyDataMeta `json:"meta,omitempty"`

	// relationships
	Relationships *models.ProjectRelationships `json:"relationships,omitempty"`

	// The Resource type.
	// Example: project
	// Required: true
	Type *string `json:"type"`
}

GetOrgProjectOKBodyData get org project o k body data swagger:model GetOrgProjectOKBodyData

func (*GetOrgProjectOKBodyData) ContextValidate

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

ContextValidate validate this get org project o k body data based on the context it is used

func (*GetOrgProjectOKBodyData) MarshalBinary

func (o *GetOrgProjectOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectOKBodyData) UnmarshalBinary

func (o *GetOrgProjectOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectOKBodyData) Validate

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

Validate validates this get org project o k body data

type GetOrgProjectOKBodyDataMeta

type GetOrgProjectOKBodyDataMeta struct {

	// The date that the project was last uploaded and monitored using cli.
	// Example: 2021-05-29T09:50:54.014Z
	// Format: date-time
	CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"`

	// latest dependency total
	LatestDependencyTotal *models.LatestDependencyTotal `json:"latest_dependency_total,omitempty"`

	// latest issue counts
	LatestIssueCounts *models.LatestIssueCounts `json:"latest_issue_counts,omitempty"`
}

GetOrgProjectOKBodyDataMeta get org project o k body data meta swagger:model GetOrgProjectOKBodyDataMeta

func (*GetOrgProjectOKBodyDataMeta) ContextValidate

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

ContextValidate validate this get org project o k body data meta based on the context it is used

func (*GetOrgProjectOKBodyDataMeta) MarshalBinary

func (o *GetOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectOKBodyDataMeta) UnmarshalBinary

func (o *GetOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectOKBodyDataMeta) Validate

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

Validate validates this get org project o k body data meta

type GetOrgProjectParams

type GetOrgProjectParams struct {

	/* Expand.

	   Expand relationships.
	*/
	Expand []string

	/* MetaLatestDependencyTotal.

	   Include the total number of dependencies found in the most recent scan of this project
	*/
	MetaLatestDependencyTotal *bool

	/* MetaLatestIssueCounts.

	   Include a summary count for the issues found in the most recent scan of this project
	*/
	MetaLatestIssueCounts *bool

	/* OrgID.

	   The ID of the org to which the project belongs to.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ProjectID.

	   The ID of the project.

	   Format: uuid
	*/
	ProjectID 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
}

GetOrgProjectParams contains all the parameters to send to the API endpoint

for the get org project operation.

Typically these are written to a http.Request.

func NewGetOrgProjectParams

func NewGetOrgProjectParams() *GetOrgProjectParams

NewGetOrgProjectParams creates a new GetOrgProjectParams 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 NewGetOrgProjectParamsWithContext

func NewGetOrgProjectParamsWithContext(ctx context.Context) *GetOrgProjectParams

NewGetOrgProjectParamsWithContext creates a new GetOrgProjectParams object with the ability to set a context for a request.

func NewGetOrgProjectParamsWithHTTPClient

func NewGetOrgProjectParamsWithHTTPClient(client *http.Client) *GetOrgProjectParams

NewGetOrgProjectParamsWithHTTPClient creates a new GetOrgProjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgProjectParamsWithTimeout

func NewGetOrgProjectParamsWithTimeout(timeout time.Duration) *GetOrgProjectParams

NewGetOrgProjectParamsWithTimeout creates a new GetOrgProjectParams object with the ability to set a timeout on a request.

func (*GetOrgProjectParams) SetContext

func (o *GetOrgProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the get org project params

func (*GetOrgProjectParams) SetDefaults

func (o *GetOrgProjectParams) SetDefaults()

SetDefaults hydrates default values in the get org project params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrgProjectParams) SetExpand

func (o *GetOrgProjectParams) SetExpand(expand []string)

SetExpand adds the expand to the get org project params

func (*GetOrgProjectParams) SetHTTPClient

func (o *GetOrgProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org project params

func (*GetOrgProjectParams) SetMetaLatestDependencyTotal

func (o *GetOrgProjectParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)

SetMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the get org project params

func (*GetOrgProjectParams) SetMetaLatestIssueCounts

func (o *GetOrgProjectParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)

SetMetaLatestIssueCounts adds the metaLatestIssueCounts to the get org project params

func (*GetOrgProjectParams) SetOrgID

func (o *GetOrgProjectParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the get org project params

func (*GetOrgProjectParams) SetProjectID

func (o *GetOrgProjectParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the get org project params

func (*GetOrgProjectParams) SetTimeout

func (o *GetOrgProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org project params

func (*GetOrgProjectParams) SetVersion

func (o *GetOrgProjectParams) SetVersion(version string)

SetVersion adds the version to the get org project params

func (*GetOrgProjectParams) WithContext

WithContext adds the context to the get org project params

func (*GetOrgProjectParams) WithDefaults

func (o *GetOrgProjectParams) WithDefaults() *GetOrgProjectParams

WithDefaults hydrates default values in the get org project params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrgProjectParams) WithExpand

func (o *GetOrgProjectParams) WithExpand(expand []string) *GetOrgProjectParams

WithExpand adds the expand to the get org project params

func (*GetOrgProjectParams) WithHTTPClient

func (o *GetOrgProjectParams) WithHTTPClient(client *http.Client) *GetOrgProjectParams

WithHTTPClient adds the HTTPClient to the get org project params

func (*GetOrgProjectParams) WithMetaLatestDependencyTotal

func (o *GetOrgProjectParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *GetOrgProjectParams

WithMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the get org project params

func (*GetOrgProjectParams) WithMetaLatestIssueCounts

func (o *GetOrgProjectParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *GetOrgProjectParams

WithMetaLatestIssueCounts adds the metaLatestIssueCounts to the get org project params

func (*GetOrgProjectParams) WithOrgID

func (o *GetOrgProjectParams) WithOrgID(orgID strfmt.UUID) *GetOrgProjectParams

WithOrgID adds the orgID to the get org project params

func (*GetOrgProjectParams) WithProjectID

func (o *GetOrgProjectParams) WithProjectID(projectID strfmt.UUID) *GetOrgProjectParams

WithProjectID adds the projectID to the get org project params

func (*GetOrgProjectParams) WithTimeout

func (o *GetOrgProjectParams) WithTimeout(timeout time.Duration) *GetOrgProjectParams

WithTimeout adds the timeout to the get org project params

func (*GetOrgProjectParams) WithVersion

func (o *GetOrgProjectParams) WithVersion(version string) *GetOrgProjectParams

WithVersion adds the version to the get org project params

func (*GetOrgProjectParams) WriteToRequest

func (o *GetOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrgProjectReader

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

GetOrgProjectReader is a Reader for the GetOrgProject structure.

func (*GetOrgProjectReader) ReadResponse

func (o *GetOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrgProjectUnauthorized

type GetOrgProjectUnauthorized 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 *GetOrgProjectUnauthorizedBody
}

GetOrgProjectUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewGetOrgProjectUnauthorized

func NewGetOrgProjectUnauthorized() *GetOrgProjectUnauthorized

NewGetOrgProjectUnauthorized creates a GetOrgProjectUnauthorized with default headers values

func (*GetOrgProjectUnauthorized) Code

func (o *GetOrgProjectUnauthorized) Code() int

Code gets the status code for the get org project unauthorized response

func (*GetOrgProjectUnauthorized) Error

func (o *GetOrgProjectUnauthorized) Error() string

func (*GetOrgProjectUnauthorized) GetPayload

func (*GetOrgProjectUnauthorized) IsClientError

func (o *GetOrgProjectUnauthorized) IsClientError() bool

IsClientError returns true when this get org project unauthorized response has a 4xx status code

func (*GetOrgProjectUnauthorized) IsCode

func (o *GetOrgProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this get org project unauthorized response a status code equal to that given

func (*GetOrgProjectUnauthorized) IsRedirect

func (o *GetOrgProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this get org project unauthorized response has a 3xx status code

func (*GetOrgProjectUnauthorized) IsServerError

func (o *GetOrgProjectUnauthorized) IsServerError() bool

IsServerError returns true when this get org project unauthorized response has a 5xx status code

func (*GetOrgProjectUnauthorized) IsSuccess

func (o *GetOrgProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this get org project unauthorized response has a 2xx status code

func (*GetOrgProjectUnauthorized) String

func (o *GetOrgProjectUnauthorized) String() string

type GetOrgProjectUnauthorizedBody

type GetOrgProjectUnauthorizedBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *GetOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"`
}

GetOrgProjectUnauthorizedBody get org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectUnauthorizedBody

func (*GetOrgProjectUnauthorizedBody) ContextValidate

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

ContextValidate validate this get org project unauthorized body based on the context it is used

func (*GetOrgProjectUnauthorizedBody) MarshalBinary

func (o *GetOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBody) UnmarshalBinary

func (o *GetOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBody) Validate

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

Validate validates this get org project unauthorized body

type GetOrgProjectUnauthorizedBodyErrorsItems0

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

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

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

GetOrgProjectUnauthorizedBodyErrorsItems0 get org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0

func (*GetOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this get org project unauthorized body errors items0 based on the context it is used

func (*GetOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary

func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary

func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0) Validate

Validate validates this get org project unauthorized body errors items0

type GetOrgProjectUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0Links

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get org project unauthorized body errors items0 links

type GetOrgProjectUnauthorizedBodyErrorsItems0Source

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

GetOrgProjectUnauthorizedBodyErrorsItems0Source get org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0Source

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get org project unauthorized body errors items0 source

type GetOrgProjectUnauthorizedBodyJsonapi

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

GetOrgProjectUnauthorizedBodyJsonapi get org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectUnauthorizedBodyJsonapi

func (*GetOrgProjectUnauthorizedBodyJsonapi) ContextValidate

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

ContextValidate validates this get org project unauthorized body jsonapi based on context it is used

func (*GetOrgProjectUnauthorizedBodyJsonapi) MarshalBinary

func (o *GetOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary

func (o *GetOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrgProjectUnauthorizedBodyJsonapi) Validate

Validate validates this get org project unauthorized body jsonapi

type ListOrgProjectsBadRequest

type ListOrgProjectsBadRequest 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 *ListOrgProjectsBadRequestBody
}

ListOrgProjectsBadRequest 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 NewListOrgProjectsBadRequest

func NewListOrgProjectsBadRequest() *ListOrgProjectsBadRequest

NewListOrgProjectsBadRequest creates a ListOrgProjectsBadRequest with default headers values

func (*ListOrgProjectsBadRequest) Code

func (o *ListOrgProjectsBadRequest) Code() int

Code gets the status code for the list org projects bad request response

func (*ListOrgProjectsBadRequest) Error

func (o *ListOrgProjectsBadRequest) Error() string

func (*ListOrgProjectsBadRequest) GetPayload

func (*ListOrgProjectsBadRequest) IsClientError

func (o *ListOrgProjectsBadRequest) IsClientError() bool

IsClientError returns true when this list org projects bad request response has a 4xx status code

func (*ListOrgProjectsBadRequest) IsCode

func (o *ListOrgProjectsBadRequest) IsCode(code int) bool

IsCode returns true when this list org projects bad request response a status code equal to that given

func (*ListOrgProjectsBadRequest) IsRedirect

func (o *ListOrgProjectsBadRequest) IsRedirect() bool

IsRedirect returns true when this list org projects bad request response has a 3xx status code

func (*ListOrgProjectsBadRequest) IsServerError

func (o *ListOrgProjectsBadRequest) IsServerError() bool

IsServerError returns true when this list org projects bad request response has a 5xx status code

func (*ListOrgProjectsBadRequest) IsSuccess

func (o *ListOrgProjectsBadRequest) IsSuccess() bool

IsSuccess returns true when this list org projects bad request response has a 2xx status code

func (*ListOrgProjectsBadRequest) String

func (o *ListOrgProjectsBadRequest) String() string

type ListOrgProjectsBadRequestBody

type ListOrgProjectsBadRequestBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *ListOrgProjectsBadRequestBodyJsonapi `json:"jsonapi"`
}

ListOrgProjectsBadRequestBody list org projects bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsBadRequestBody

func (*ListOrgProjectsBadRequestBody) ContextValidate

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

ContextValidate validate this list org projects bad request body based on the context it is used

func (*ListOrgProjectsBadRequestBody) MarshalBinary

func (o *ListOrgProjectsBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBody) UnmarshalBinary

func (o *ListOrgProjectsBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBody) Validate

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

Validate validates this list org projects bad request body

type ListOrgProjectsBadRequestBodyErrorsItems0

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

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

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

ListOrgProjectsBadRequestBodyErrorsItems0 list org projects bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0

func (*ListOrgProjectsBadRequestBodyErrorsItems0) ContextValidate

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

func (*ListOrgProjectsBadRequestBodyErrorsItems0) MarshalBinary

func (o *ListOrgProjectsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0) UnmarshalBinary

func (o *ListOrgProjectsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0) Validate

Validate validates this list org projects bad request body errors items0

type ListOrgProjectsBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

ListOrgProjectsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0Links

func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) Validate

Validate validates this list org projects bad request body errors items0 links

type ListOrgProjectsBadRequestBodyErrorsItems0Source

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

ListOrgProjectsBadRequestBodyErrorsItems0Source list org projects bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0Source

func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) Validate

Validate validates this list org projects bad request body errors items0 source

type ListOrgProjectsBadRequestBodyJsonapi

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

ListOrgProjectsBadRequestBodyJsonapi list org projects bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsBadRequestBodyJsonapi

func (*ListOrgProjectsBadRequestBodyJsonapi) ContextValidate

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

ContextValidate validates this list org projects bad request body jsonapi based on context it is used

func (*ListOrgProjectsBadRequestBodyJsonapi) MarshalBinary

func (o *ListOrgProjectsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyJsonapi) UnmarshalBinary

func (o *ListOrgProjectsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsBadRequestBodyJsonapi) Validate

Validate validates this list org projects bad request body jsonapi

type ListOrgProjectsForbidden

type ListOrgProjectsForbidden 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 *ListOrgProjectsForbiddenBody
}

ListOrgProjectsForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewListOrgProjectsForbidden

func NewListOrgProjectsForbidden() *ListOrgProjectsForbidden

NewListOrgProjectsForbidden creates a ListOrgProjectsForbidden with default headers values

func (*ListOrgProjectsForbidden) Code

func (o *ListOrgProjectsForbidden) Code() int

Code gets the status code for the list org projects forbidden response

func (*ListOrgProjectsForbidden) Error

func (o *ListOrgProjectsForbidden) Error() string

func (*ListOrgProjectsForbidden) GetPayload

func (*ListOrgProjectsForbidden) IsClientError

func (o *ListOrgProjectsForbidden) IsClientError() bool

IsClientError returns true when this list org projects forbidden response has a 4xx status code

func (*ListOrgProjectsForbidden) IsCode

func (o *ListOrgProjectsForbidden) IsCode(code int) bool

IsCode returns true when this list org projects forbidden response a status code equal to that given

func (*ListOrgProjectsForbidden) IsRedirect

func (o *ListOrgProjectsForbidden) IsRedirect() bool

IsRedirect returns true when this list org projects forbidden response has a 3xx status code

func (*ListOrgProjectsForbidden) IsServerError

func (o *ListOrgProjectsForbidden) IsServerError() bool

IsServerError returns true when this list org projects forbidden response has a 5xx status code

func (*ListOrgProjectsForbidden) IsSuccess

func (o *ListOrgProjectsForbidden) IsSuccess() bool

IsSuccess returns true when this list org projects forbidden response has a 2xx status code

func (*ListOrgProjectsForbidden) String

func (o *ListOrgProjectsForbidden) String() string

type ListOrgProjectsForbiddenBody

type ListOrgProjectsForbiddenBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *ListOrgProjectsForbiddenBodyJsonapi `json:"jsonapi"`
}

ListOrgProjectsForbiddenBody list org projects forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsForbiddenBody

func (*ListOrgProjectsForbiddenBody) ContextValidate

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

ContextValidate validate this list org projects forbidden body based on the context it is used

func (*ListOrgProjectsForbiddenBody) MarshalBinary

func (o *ListOrgProjectsForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBody) UnmarshalBinary

func (o *ListOrgProjectsForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBody) Validate

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

Validate validates this list org projects forbidden body

type ListOrgProjectsForbiddenBodyErrorsItems0

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

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

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

ListOrgProjectsForbiddenBodyErrorsItems0 list org projects forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0

func (*ListOrgProjectsForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this list org projects forbidden body errors items0 based on the context it is used

func (*ListOrgProjectsForbiddenBodyErrorsItems0) MarshalBinary

func (o *ListOrgProjectsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0) UnmarshalBinary

func (o *ListOrgProjectsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0) Validate

Validate validates this list org projects forbidden body errors items0

type ListOrgProjectsForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

ListOrgProjectsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0Links

func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this list org projects forbidden body errors items0 links based on context it is used

func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) Validate

Validate validates this list org projects forbidden body errors items0 links

type ListOrgProjectsForbiddenBodyErrorsItems0Source

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

ListOrgProjectsForbiddenBodyErrorsItems0Source list org projects forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0Source

func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this list org projects forbidden body errors items0 source based on context it is used

func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) Validate

Validate validates this list org projects forbidden body errors items0 source

type ListOrgProjectsForbiddenBodyJsonapi

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

ListOrgProjectsForbiddenBodyJsonapi list org projects forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsForbiddenBodyJsonapi

func (*ListOrgProjectsForbiddenBodyJsonapi) ContextValidate

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

ContextValidate validates this list org projects forbidden body jsonapi based on context it is used

func (*ListOrgProjectsForbiddenBodyJsonapi) MarshalBinary

func (o *ListOrgProjectsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyJsonapi) UnmarshalBinary

func (o *ListOrgProjectsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsForbiddenBodyJsonapi) Validate

Validate validates this list org projects forbidden body jsonapi

type ListOrgProjectsInternalServerError

type ListOrgProjectsInternalServerError 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 *ListOrgProjectsInternalServerErrorBody
}

ListOrgProjectsInternalServerError 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 NewListOrgProjectsInternalServerError

func NewListOrgProjectsInternalServerError() *ListOrgProjectsInternalServerError

NewListOrgProjectsInternalServerError creates a ListOrgProjectsInternalServerError with default headers values

func (*ListOrgProjectsInternalServerError) Code

Code gets the status code for the list org projects internal server error response

func (*ListOrgProjectsInternalServerError) Error

func (*ListOrgProjectsInternalServerError) GetPayload

func (*ListOrgProjectsInternalServerError) IsClientError

func (o *ListOrgProjectsInternalServerError) IsClientError() bool

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

func (*ListOrgProjectsInternalServerError) IsCode

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

func (*ListOrgProjectsInternalServerError) IsRedirect

func (o *ListOrgProjectsInternalServerError) IsRedirect() bool

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

func (*ListOrgProjectsInternalServerError) IsServerError

func (o *ListOrgProjectsInternalServerError) IsServerError() bool

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

func (*ListOrgProjectsInternalServerError) IsSuccess

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

func (*ListOrgProjectsInternalServerError) String

type ListOrgProjectsInternalServerErrorBody

type ListOrgProjectsInternalServerErrorBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *ListOrgProjectsInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

ListOrgProjectsInternalServerErrorBody list org projects internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsInternalServerErrorBody

func (*ListOrgProjectsInternalServerErrorBody) ContextValidate

ContextValidate validate this list org projects internal server error body based on the context it is used

func (*ListOrgProjectsInternalServerErrorBody) MarshalBinary

func (o *ListOrgProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBody) UnmarshalBinary

func (o *ListOrgProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBody) Validate

Validate validates this list org projects internal server error body

type ListOrgProjectsInternalServerErrorBodyErrorsItems0

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

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

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

ListOrgProjectsInternalServerErrorBodyErrorsItems0 list org projects internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this list org projects internal server error body errors items0

type ListOrgProjectsInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

ListOrgProjectsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0Links

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this list org projects internal server error body errors items0 links

type ListOrgProjectsInternalServerErrorBodyErrorsItems0Source

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

ListOrgProjectsInternalServerErrorBodyErrorsItems0Source list org projects internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0Source

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this list org projects internal server error body errors items0 source

type ListOrgProjectsInternalServerErrorBodyJsonapi

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

ListOrgProjectsInternalServerErrorBodyJsonapi list org projects internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsInternalServerErrorBodyJsonapi

func (*ListOrgProjectsInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this list org projects internal server error body jsonapi based on context it is used

func (*ListOrgProjectsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsInternalServerErrorBodyJsonapi) Validate

Validate validates this list org projects internal server error body jsonapi

type ListOrgProjectsNotFound

type ListOrgProjectsNotFound 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 *ListOrgProjectsNotFoundBody
}

ListOrgProjectsNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewListOrgProjectsNotFound

func NewListOrgProjectsNotFound() *ListOrgProjectsNotFound

NewListOrgProjectsNotFound creates a ListOrgProjectsNotFound with default headers values

func (*ListOrgProjectsNotFound) Code

func (o *ListOrgProjectsNotFound) Code() int

Code gets the status code for the list org projects not found response

func (*ListOrgProjectsNotFound) Error

func (o *ListOrgProjectsNotFound) Error() string

func (*ListOrgProjectsNotFound) GetPayload

func (*ListOrgProjectsNotFound) IsClientError

func (o *ListOrgProjectsNotFound) IsClientError() bool

IsClientError returns true when this list org projects not found response has a 4xx status code

func (*ListOrgProjectsNotFound) IsCode

func (o *ListOrgProjectsNotFound) IsCode(code int) bool

IsCode returns true when this list org projects not found response a status code equal to that given

func (*ListOrgProjectsNotFound) IsRedirect

func (o *ListOrgProjectsNotFound) IsRedirect() bool

IsRedirect returns true when this list org projects not found response has a 3xx status code

func (*ListOrgProjectsNotFound) IsServerError

func (o *ListOrgProjectsNotFound) IsServerError() bool

IsServerError returns true when this list org projects not found response has a 5xx status code

func (*ListOrgProjectsNotFound) IsSuccess

func (o *ListOrgProjectsNotFound) IsSuccess() bool

IsSuccess returns true when this list org projects not found response has a 2xx status code

func (*ListOrgProjectsNotFound) String

func (o *ListOrgProjectsNotFound) String() string

type ListOrgProjectsNotFoundBody

type ListOrgProjectsNotFoundBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *ListOrgProjectsNotFoundBodyJsonapi `json:"jsonapi"`
}

ListOrgProjectsNotFoundBody list org projects not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsNotFoundBody

func (*ListOrgProjectsNotFoundBody) ContextValidate

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

ContextValidate validate this list org projects not found body based on the context it is used

func (*ListOrgProjectsNotFoundBody) MarshalBinary

func (o *ListOrgProjectsNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBody) UnmarshalBinary

func (o *ListOrgProjectsNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBody) Validate

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

Validate validates this list org projects not found body

type ListOrgProjectsNotFoundBodyErrorsItems0

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

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

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

ListOrgProjectsNotFoundBodyErrorsItems0 list org projects not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0

func (*ListOrgProjectsNotFoundBodyErrorsItems0) ContextValidate

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

func (*ListOrgProjectsNotFoundBodyErrorsItems0) MarshalBinary

func (o *ListOrgProjectsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0) UnmarshalBinary

func (o *ListOrgProjectsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0) Validate

Validate validates this list org projects not found body errors items0

type ListOrgProjectsNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

ListOrgProjectsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0Links

func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) Validate

Validate validates this list org projects not found body errors items0 links

type ListOrgProjectsNotFoundBodyErrorsItems0Source

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

ListOrgProjectsNotFoundBodyErrorsItems0Source list org projects not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0Source

func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) Validate

Validate validates this list org projects not found body errors items0 source

type ListOrgProjectsNotFoundBodyJsonapi

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

ListOrgProjectsNotFoundBodyJsonapi list org projects not found body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsNotFoundBodyJsonapi

func (*ListOrgProjectsNotFoundBodyJsonapi) ContextValidate

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

ContextValidate validates this list org projects not found body jsonapi based on context it is used

func (*ListOrgProjectsNotFoundBodyJsonapi) MarshalBinary

func (o *ListOrgProjectsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyJsonapi) UnmarshalBinary

func (o *ListOrgProjectsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsNotFoundBodyJsonapi) Validate

Validate validates this list org projects not found body jsonapi

type ListOrgProjectsOK

type ListOrgProjectsOK 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 *ListOrgProjectsOKBody
}

ListOrgProjectsOK describes a response with status code 200, with default header values.

A list of projects is returned for the targeted org

func NewListOrgProjectsOK

func NewListOrgProjectsOK() *ListOrgProjectsOK

NewListOrgProjectsOK creates a ListOrgProjectsOK with default headers values

func (*ListOrgProjectsOK) Code

func (o *ListOrgProjectsOK) Code() int

Code gets the status code for the list org projects o k response

func (*ListOrgProjectsOK) Error

func (o *ListOrgProjectsOK) Error() string

func (*ListOrgProjectsOK) GetPayload

func (o *ListOrgProjectsOK) GetPayload() *ListOrgProjectsOKBody

func (*ListOrgProjectsOK) IsClientError

func (o *ListOrgProjectsOK) IsClientError() bool

IsClientError returns true when this list org projects o k response has a 4xx status code

func (*ListOrgProjectsOK) IsCode

func (o *ListOrgProjectsOK) IsCode(code int) bool

IsCode returns true when this list org projects o k response a status code equal to that given

func (*ListOrgProjectsOK) IsRedirect

func (o *ListOrgProjectsOK) IsRedirect() bool

IsRedirect returns true when this list org projects o k response has a 3xx status code

func (*ListOrgProjectsOK) IsServerError

func (o *ListOrgProjectsOK) IsServerError() bool

IsServerError returns true when this list org projects o k response has a 5xx status code

func (*ListOrgProjectsOK) IsSuccess

func (o *ListOrgProjectsOK) IsSuccess() bool

IsSuccess returns true when this list org projects o k response has a 2xx status code

func (*ListOrgProjectsOK) String

func (o *ListOrgProjectsOK) String() string

type ListOrgProjectsOKBody

type ListOrgProjectsOKBody struct {

	// data
	Data []*ListOrgProjectsOKBodyDataItems0 `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`

	// meta
	Meta *ListOrgProjectsOKBodyMeta `json:"meta,omitempty"`
}

ListOrgProjectsOKBody list org projects o k body swagger:model ListOrgProjectsOKBody

func (*ListOrgProjectsOKBody) ContextValidate

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

ContextValidate validate this list org projects o k body based on the context it is used

func (*ListOrgProjectsOKBody) MarshalBinary

func (o *ListOrgProjectsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsOKBody) UnmarshalBinary

func (o *ListOrgProjectsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsOKBody) Validate

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

Validate validates this list org projects o k body

type ListOrgProjectsOKBodyDataItems0

type ListOrgProjectsOKBodyDataItems0 struct {

	// attributes
	// Required: true
	Attributes *models.ProjectAttributes `json:"attributes"`

	// Resource ID.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// meta
	Meta *ListOrgProjectsOKBodyDataItems0Meta `json:"meta,omitempty"`

	// relationships
	Relationships *models.ProjectRelationships `json:"relationships,omitempty"`

	// The Resource type.
	// Example: project
	// Required: true
	Type *string `json:"type"`
}

ListOrgProjectsOKBodyDataItems0 list org projects o k body data items0 swagger:model ListOrgProjectsOKBodyDataItems0

func (*ListOrgProjectsOKBodyDataItems0) ContextValidate

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

ContextValidate validate this list org projects o k body data items0 based on the context it is used

func (*ListOrgProjectsOKBodyDataItems0) MarshalBinary

func (o *ListOrgProjectsOKBodyDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsOKBodyDataItems0) UnmarshalBinary

func (o *ListOrgProjectsOKBodyDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsOKBodyDataItems0) Validate

Validate validates this list org projects o k body data items0

type ListOrgProjectsOKBodyDataItems0Meta

type ListOrgProjectsOKBodyDataItems0Meta struct {

	// The date that the project was last uploaded and monitored using cli.
	// Example: 2021-05-29T09:50:54.014Z
	// Format: date-time
	CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"`

	// latest dependency total
	LatestDependencyTotal *models.LatestDependencyTotal `json:"latest_dependency_total,omitempty"`

	// latest issue counts
	LatestIssueCounts *models.LatestIssueCounts `json:"latest_issue_counts,omitempty"`
}

ListOrgProjectsOKBodyDataItems0Meta list org projects o k body data items0 meta swagger:model ListOrgProjectsOKBodyDataItems0Meta

func (*ListOrgProjectsOKBodyDataItems0Meta) ContextValidate

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

ContextValidate validate this list org projects o k body data items0 meta based on the context it is used

func (*ListOrgProjectsOKBodyDataItems0Meta) MarshalBinary

func (o *ListOrgProjectsOKBodyDataItems0Meta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsOKBodyDataItems0Meta) UnmarshalBinary

func (o *ListOrgProjectsOKBodyDataItems0Meta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsOKBodyDataItems0Meta) Validate

Validate validates this list org projects o k body data items0 meta

type ListOrgProjectsOKBodyMeta

type ListOrgProjectsOKBodyMeta struct {

	// count
	// Minimum: 0
	Count *float64 `json:"count,omitempty"`
}

ListOrgProjectsOKBodyMeta list org projects o k body meta swagger:model ListOrgProjectsOKBodyMeta

func (*ListOrgProjectsOKBodyMeta) ContextValidate

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

ContextValidate validates this list org projects o k body meta based on context it is used

func (*ListOrgProjectsOKBodyMeta) MarshalBinary

func (o *ListOrgProjectsOKBodyMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsOKBodyMeta) UnmarshalBinary

func (o *ListOrgProjectsOKBodyMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsOKBodyMeta) Validate

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

Validate validates this list org projects o k body meta

type ListOrgProjectsParams

type ListOrgProjectsParams struct {

	/* BusinessCriticality.

	   Return projects that match all the provided business_criticality value
	*/
	BusinessCriticality []string

	/* CliMonitoredAfter.

	   Filter projects uploaded and monitored after this date (encoded value)

	   Format: date-time
	*/
	CliMonitoredAfter *strfmt.DateTime

	/* CliMonitoredBefore.

	   Filter projects uploaded and monitored before this date (encoded value)

	   Format: date-time
	*/
	CliMonitoredBefore *strfmt.DateTime

	/* EndingBefore.

	   Return the page of results immediately before this cursor
	*/
	EndingBefore *string

	/* Environment.

	   Return projects that match all the provided environment values
	*/
	Environment []string

	/* Expand.

	   Expand relationships.
	*/
	Expand []string

	/* Ids.

	   Return projects that match the provided IDs.
	*/
	Ids []strfmt.UUID

	/* ImportingUserPublicID.

	   Return projects that match the provided importing user public ids.
	*/
	ImportingUserPublicID []string

	/* Lifecycle.

	   Return projects that match all the provided lifecycle values
	*/
	Lifecycle []string

	/* Limit.

	   Number of results to return per page

	   Format: int32
	   Default: 10
	*/
	Limit *int32

	/* MetaLatestDependencyTotal.

	   Include the total number of dependencies found in the most recent scan of this project
	*/
	MetaLatestDependencyTotal *bool

	/* MetaLatestIssueCounts.

	   Include a summary count for the issues found in the most recent scan of this project
	*/
	MetaLatestIssueCounts *bool

	/* MetaCount.

	   The collection count.
	*/
	MetaCount *string

	/* Names.

	   Return projects that match the provided names.
	*/
	Names []string

	/* OrgID.

	   The ID of the org that the projects belong to.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* Origins.

	   Return projects that match the provided origins.
	*/
	Origins []string

	/* StartingAfter.

	   Return the page of results immediately after this cursor
	*/
	StartingAfter *string

	/* Tags.

	   Return projects that match all the provided tags
	*/
	Tags []string

	/* TargetFile.

	   Return projects that match the provided target file
	*/
	TargetFile *string

	/* TargetID.

	   Return projects that belong to the provided targets
	*/
	TargetID []strfmt.UUID

	/* TargetReference.

	   Return projects that match the provided target reference
	*/
	TargetReference *string

	/* TargetRuntime.

	   Return projects that match the provided target runtime
	*/
	TargetRuntime *string

	/* Types.

	   Return projects that match the provided types.
	*/
	Types []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
}

ListOrgProjectsParams contains all the parameters to send to the API endpoint

for the list org projects operation.

Typically these are written to a http.Request.

func NewListOrgProjectsParams

func NewListOrgProjectsParams() *ListOrgProjectsParams

NewListOrgProjectsParams creates a new ListOrgProjectsParams 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 NewListOrgProjectsParamsWithContext

func NewListOrgProjectsParamsWithContext(ctx context.Context) *ListOrgProjectsParams

NewListOrgProjectsParamsWithContext creates a new ListOrgProjectsParams object with the ability to set a context for a request.

func NewListOrgProjectsParamsWithHTTPClient

func NewListOrgProjectsParamsWithHTTPClient(client *http.Client) *ListOrgProjectsParams

NewListOrgProjectsParamsWithHTTPClient creates a new ListOrgProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgProjectsParamsWithTimeout

func NewListOrgProjectsParamsWithTimeout(timeout time.Duration) *ListOrgProjectsParams

NewListOrgProjectsParamsWithTimeout creates a new ListOrgProjectsParams object with the ability to set a timeout on a request.

func (*ListOrgProjectsParams) SetBusinessCriticality

func (o *ListOrgProjectsParams) SetBusinessCriticality(businessCriticality []string)

SetBusinessCriticality adds the businessCriticality to the list org projects params

func (*ListOrgProjectsParams) SetCliMonitoredAfter

func (o *ListOrgProjectsParams) SetCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime)

SetCliMonitoredAfter adds the cliMonitoredAfter to the list org projects params

func (*ListOrgProjectsParams) SetCliMonitoredBefore

func (o *ListOrgProjectsParams) SetCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime)

SetCliMonitoredBefore adds the cliMonitoredBefore to the list org projects params

func (*ListOrgProjectsParams) SetContext

func (o *ListOrgProjectsParams) SetContext(ctx context.Context)

SetContext adds the context to the list org projects params

func (*ListOrgProjectsParams) SetDefaults

func (o *ListOrgProjectsParams) SetDefaults()

SetDefaults hydrates default values in the list org projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrgProjectsParams) SetEndingBefore

func (o *ListOrgProjectsParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the list org projects params

func (*ListOrgProjectsParams) SetEnvironment

func (o *ListOrgProjectsParams) SetEnvironment(environment []string)

SetEnvironment adds the environment to the list org projects params

func (*ListOrgProjectsParams) SetExpand

func (o *ListOrgProjectsParams) SetExpand(expand []string)

SetExpand adds the expand to the list org projects params

func (*ListOrgProjectsParams) SetHTTPClient

func (o *ListOrgProjectsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list org projects params

func (*ListOrgProjectsParams) SetIds

func (o *ListOrgProjectsParams) SetIds(ids []strfmt.UUID)

SetIds adds the ids to the list org projects params

func (*ListOrgProjectsParams) SetImportingUserPublicID

func (o *ListOrgProjectsParams) SetImportingUserPublicID(importingUserPublicID []string)

SetImportingUserPublicID adds the importingUserPublicId to the list org projects params

func (*ListOrgProjectsParams) SetLifecycle

func (o *ListOrgProjectsParams) SetLifecycle(lifecycle []string)

SetLifecycle adds the lifecycle to the list org projects params

func (*ListOrgProjectsParams) SetLimit

func (o *ListOrgProjectsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list org projects params

func (*ListOrgProjectsParams) SetMetaCount

func (o *ListOrgProjectsParams) SetMetaCount(metaCount *string)

SetMetaCount adds the metaCount to the list org projects params

func (*ListOrgProjectsParams) SetMetaLatestDependencyTotal

func (o *ListOrgProjectsParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)

SetMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the list org projects params

func (*ListOrgProjectsParams) SetMetaLatestIssueCounts

func (o *ListOrgProjectsParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)

SetMetaLatestIssueCounts adds the metaLatestIssueCounts to the list org projects params

func (*ListOrgProjectsParams) SetNames

func (o *ListOrgProjectsParams) SetNames(names []string)

SetNames adds the names to the list org projects params

func (*ListOrgProjectsParams) SetOrgID

func (o *ListOrgProjectsParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the list org projects params

func (*ListOrgProjectsParams) SetOrigins

func (o *ListOrgProjectsParams) SetOrigins(origins []string)

SetOrigins adds the origins to the list org projects params

func (*ListOrgProjectsParams) SetStartingAfter

func (o *ListOrgProjectsParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the list org projects params

func (*ListOrgProjectsParams) SetTags

func (o *ListOrgProjectsParams) SetTags(tags []string)

SetTags adds the tags to the list org projects params

func (*ListOrgProjectsParams) SetTargetFile

func (o *ListOrgProjectsParams) SetTargetFile(targetFile *string)

SetTargetFile adds the targetFile to the list org projects params

func (*ListOrgProjectsParams) SetTargetID

func (o *ListOrgProjectsParams) SetTargetID(targetID []strfmt.UUID)

SetTargetID adds the targetId to the list org projects params

func (*ListOrgProjectsParams) SetTargetReference

func (o *ListOrgProjectsParams) SetTargetReference(targetReference *string)

SetTargetReference adds the targetReference to the list org projects params

func (*ListOrgProjectsParams) SetTargetRuntime

func (o *ListOrgProjectsParams) SetTargetRuntime(targetRuntime *string)

SetTargetRuntime adds the targetRuntime to the list org projects params

func (*ListOrgProjectsParams) SetTimeout

func (o *ListOrgProjectsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list org projects params

func (*ListOrgProjectsParams) SetTypes

func (o *ListOrgProjectsParams) SetTypes(types []string)

SetTypes adds the types to the list org projects params

func (*ListOrgProjectsParams) SetVersion

func (o *ListOrgProjectsParams) SetVersion(version string)

SetVersion adds the version to the list org projects params

func (*ListOrgProjectsParams) WithBusinessCriticality

func (o *ListOrgProjectsParams) WithBusinessCriticality(businessCriticality []string) *ListOrgProjectsParams

WithBusinessCriticality adds the businessCriticality to the list org projects params

func (*ListOrgProjectsParams) WithCliMonitoredAfter

func (o *ListOrgProjectsParams) WithCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime) *ListOrgProjectsParams

WithCliMonitoredAfter adds the cliMonitoredAfter to the list org projects params

func (*ListOrgProjectsParams) WithCliMonitoredBefore

func (o *ListOrgProjectsParams) WithCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime) *ListOrgProjectsParams

WithCliMonitoredBefore adds the cliMonitoredBefore to the list org projects params

func (*ListOrgProjectsParams) WithContext

WithContext adds the context to the list org projects params

func (*ListOrgProjectsParams) WithDefaults

func (o *ListOrgProjectsParams) WithDefaults() *ListOrgProjectsParams

WithDefaults hydrates default values in the list org projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListOrgProjectsParams) WithEndingBefore

func (o *ListOrgProjectsParams) WithEndingBefore(endingBefore *string) *ListOrgProjectsParams

WithEndingBefore adds the endingBefore to the list org projects params

func (*ListOrgProjectsParams) WithEnvironment

func (o *ListOrgProjectsParams) WithEnvironment(environment []string) *ListOrgProjectsParams

WithEnvironment adds the environment to the list org projects params

func (*ListOrgProjectsParams) WithExpand

func (o *ListOrgProjectsParams) WithExpand(expand []string) *ListOrgProjectsParams

WithExpand adds the expand to the list org projects params

func (*ListOrgProjectsParams) WithHTTPClient

func (o *ListOrgProjectsParams) WithHTTPClient(client *http.Client) *ListOrgProjectsParams

WithHTTPClient adds the HTTPClient to the list org projects params

func (*ListOrgProjectsParams) WithIds

WithIds adds the ids to the list org projects params

func (*ListOrgProjectsParams) WithImportingUserPublicID

func (o *ListOrgProjectsParams) WithImportingUserPublicID(importingUserPublicID []string) *ListOrgProjectsParams

WithImportingUserPublicID adds the importingUserPublicID to the list org projects params

func (*ListOrgProjectsParams) WithLifecycle

func (o *ListOrgProjectsParams) WithLifecycle(lifecycle []string) *ListOrgProjectsParams

WithLifecycle adds the lifecycle to the list org projects params

func (*ListOrgProjectsParams) WithLimit

func (o *ListOrgProjectsParams) WithLimit(limit *int32) *ListOrgProjectsParams

WithLimit adds the limit to the list org projects params

func (*ListOrgProjectsParams) WithMetaCount

func (o *ListOrgProjectsParams) WithMetaCount(metaCount *string) *ListOrgProjectsParams

WithMetaCount adds the metaCount to the list org projects params

func (*ListOrgProjectsParams) WithMetaLatestDependencyTotal

func (o *ListOrgProjectsParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *ListOrgProjectsParams

WithMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the list org projects params

func (*ListOrgProjectsParams) WithMetaLatestIssueCounts

func (o *ListOrgProjectsParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *ListOrgProjectsParams

WithMetaLatestIssueCounts adds the metaLatestIssueCounts to the list org projects params

func (*ListOrgProjectsParams) WithNames

func (o *ListOrgProjectsParams) WithNames(names []string) *ListOrgProjectsParams

WithNames adds the names to the list org projects params

func (*ListOrgProjectsParams) WithOrgID

WithOrgID adds the orgID to the list org projects params

func (*ListOrgProjectsParams) WithOrigins

func (o *ListOrgProjectsParams) WithOrigins(origins []string) *ListOrgProjectsParams

WithOrigins adds the origins to the list org projects params

func (*ListOrgProjectsParams) WithStartingAfter

func (o *ListOrgProjectsParams) WithStartingAfter(startingAfter *string) *ListOrgProjectsParams

WithStartingAfter adds the startingAfter to the list org projects params

func (*ListOrgProjectsParams) WithTags

func (o *ListOrgProjectsParams) WithTags(tags []string) *ListOrgProjectsParams

WithTags adds the tags to the list org projects params

func (*ListOrgProjectsParams) WithTargetFile

func (o *ListOrgProjectsParams) WithTargetFile(targetFile *string) *ListOrgProjectsParams

WithTargetFile adds the targetFile to the list org projects params

func (*ListOrgProjectsParams) WithTargetID

func (o *ListOrgProjectsParams) WithTargetID(targetID []strfmt.UUID) *ListOrgProjectsParams

WithTargetID adds the targetID to the list org projects params

func (*ListOrgProjectsParams) WithTargetReference

func (o *ListOrgProjectsParams) WithTargetReference(targetReference *string) *ListOrgProjectsParams

WithTargetReference adds the targetReference to the list org projects params

func (*ListOrgProjectsParams) WithTargetRuntime

func (o *ListOrgProjectsParams) WithTargetRuntime(targetRuntime *string) *ListOrgProjectsParams

WithTargetRuntime adds the targetRuntime to the list org projects params

func (*ListOrgProjectsParams) WithTimeout

func (o *ListOrgProjectsParams) WithTimeout(timeout time.Duration) *ListOrgProjectsParams

WithTimeout adds the timeout to the list org projects params

func (*ListOrgProjectsParams) WithTypes

func (o *ListOrgProjectsParams) WithTypes(types []string) *ListOrgProjectsParams

WithTypes adds the types to the list org projects params

func (*ListOrgProjectsParams) WithVersion

func (o *ListOrgProjectsParams) WithVersion(version string) *ListOrgProjectsParams

WithVersion adds the version to the list org projects params

func (*ListOrgProjectsParams) WriteToRequest

func (o *ListOrgProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListOrgProjectsReader

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

ListOrgProjectsReader is a Reader for the ListOrgProjects structure.

func (*ListOrgProjectsReader) ReadResponse

func (o *ListOrgProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListOrgProjectsUnauthorized

type ListOrgProjectsUnauthorized 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 *ListOrgProjectsUnauthorizedBody
}

ListOrgProjectsUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewListOrgProjectsUnauthorized

func NewListOrgProjectsUnauthorized() *ListOrgProjectsUnauthorized

NewListOrgProjectsUnauthorized creates a ListOrgProjectsUnauthorized with default headers values

func (*ListOrgProjectsUnauthorized) Code

func (o *ListOrgProjectsUnauthorized) Code() int

Code gets the status code for the list org projects unauthorized response

func (*ListOrgProjectsUnauthorized) Error

func (*ListOrgProjectsUnauthorized) GetPayload

func (*ListOrgProjectsUnauthorized) IsClientError

func (o *ListOrgProjectsUnauthorized) IsClientError() bool

IsClientError returns true when this list org projects unauthorized response has a 4xx status code

func (*ListOrgProjectsUnauthorized) IsCode

func (o *ListOrgProjectsUnauthorized) IsCode(code int) bool

IsCode returns true when this list org projects unauthorized response a status code equal to that given

func (*ListOrgProjectsUnauthorized) IsRedirect

func (o *ListOrgProjectsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list org projects unauthorized response has a 3xx status code

func (*ListOrgProjectsUnauthorized) IsServerError

func (o *ListOrgProjectsUnauthorized) IsServerError() bool

IsServerError returns true when this list org projects unauthorized response has a 5xx status code

func (*ListOrgProjectsUnauthorized) IsSuccess

func (o *ListOrgProjectsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list org projects unauthorized response has a 2xx status code

func (*ListOrgProjectsUnauthorized) String

func (o *ListOrgProjectsUnauthorized) String() string

type ListOrgProjectsUnauthorizedBody

type ListOrgProjectsUnauthorizedBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *ListOrgProjectsUnauthorizedBodyJsonapi `json:"jsonapi"`
}

ListOrgProjectsUnauthorizedBody list org projects unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsUnauthorizedBody

func (*ListOrgProjectsUnauthorizedBody) ContextValidate

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

ContextValidate validate this list org projects unauthorized body based on the context it is used

func (*ListOrgProjectsUnauthorizedBody) MarshalBinary

func (o *ListOrgProjectsUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBody) UnmarshalBinary

func (o *ListOrgProjectsUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBody) Validate

Validate validates this list org projects unauthorized body

type ListOrgProjectsUnauthorizedBodyErrorsItems0

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

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

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

ListOrgProjectsUnauthorizedBodyErrorsItems0 list org projects unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this list org projects unauthorized body errors items0 based on the context it is used

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) MarshalBinary

func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary

func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) Validate

Validate validates this list org projects unauthorized body errors items0

type ListOrgProjectsUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

ListOrgProjectsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0Links

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this list org projects unauthorized body errors items0 links based on context it is used

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this list org projects unauthorized body errors items0 links

type ListOrgProjectsUnauthorizedBodyErrorsItems0Source

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

ListOrgProjectsUnauthorizedBodyErrorsItems0Source list org projects unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0Source

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this list org projects unauthorized body errors items0 source based on context it is used

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this list org projects unauthorized body errors items0 source

type ListOrgProjectsUnauthorizedBodyJsonapi

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

ListOrgProjectsUnauthorizedBodyJsonapi list org projects unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsUnauthorizedBodyJsonapi

func (*ListOrgProjectsUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this list org projects unauthorized body jsonapi based on context it is used

func (*ListOrgProjectsUnauthorizedBodyJsonapi) MarshalBinary

func (o *ListOrgProjectsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyJsonapi) UnmarshalBinary

func (o *ListOrgProjectsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOrgProjectsUnauthorizedBodyJsonapi) Validate

Validate validates this list org projects unauthorized body jsonapi

type UpdateOrgProjectBadRequest

type UpdateOrgProjectBadRequest 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 *UpdateOrgProjectBadRequestBody
}

UpdateOrgProjectBadRequest 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 NewUpdateOrgProjectBadRequest

func NewUpdateOrgProjectBadRequest() *UpdateOrgProjectBadRequest

NewUpdateOrgProjectBadRequest creates a UpdateOrgProjectBadRequest with default headers values

func (*UpdateOrgProjectBadRequest) Code

func (o *UpdateOrgProjectBadRequest) Code() int

Code gets the status code for the update org project bad request response

func (*UpdateOrgProjectBadRequest) Error

func (*UpdateOrgProjectBadRequest) GetPayload

func (*UpdateOrgProjectBadRequest) IsClientError

func (o *UpdateOrgProjectBadRequest) IsClientError() bool

IsClientError returns true when this update org project bad request response has a 4xx status code

func (*UpdateOrgProjectBadRequest) IsCode

func (o *UpdateOrgProjectBadRequest) IsCode(code int) bool

IsCode returns true when this update org project bad request response a status code equal to that given

func (*UpdateOrgProjectBadRequest) IsRedirect

func (o *UpdateOrgProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this update org project bad request response has a 3xx status code

func (*UpdateOrgProjectBadRequest) IsServerError

func (o *UpdateOrgProjectBadRequest) IsServerError() bool

IsServerError returns true when this update org project bad request response has a 5xx status code

func (*UpdateOrgProjectBadRequest) IsSuccess

func (o *UpdateOrgProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this update org project bad request response has a 2xx status code

func (*UpdateOrgProjectBadRequest) String

func (o *UpdateOrgProjectBadRequest) String() string

type UpdateOrgProjectBadRequestBody

type UpdateOrgProjectBadRequestBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgProjectBadRequestBodyJsonapi `json:"jsonapi"`
}

UpdateOrgProjectBadRequestBody update org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectBadRequestBody

func (*UpdateOrgProjectBadRequestBody) ContextValidate

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

ContextValidate validate this update org project bad request body based on the context it is used

func (*UpdateOrgProjectBadRequestBody) MarshalBinary

func (o *UpdateOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBody) UnmarshalBinary

func (o *UpdateOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBody) Validate

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

Validate validates this update org project bad request body

type UpdateOrgProjectBadRequestBodyErrorsItems0

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

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

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

UpdateOrgProjectBadRequestBodyErrorsItems0 update org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0

func (*UpdateOrgProjectBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this update org project bad request body errors items0 based on the context it is used

func (*UpdateOrgProjectBadRequestBodyErrorsItems0) MarshalBinary

func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary

func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0) Validate

Validate validates this update org project bad request body errors items0

type UpdateOrgProjectBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0Links

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) Validate

Validate validates this update org project bad request body errors items0 links

type UpdateOrgProjectBadRequestBodyErrorsItems0Source

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

UpdateOrgProjectBadRequestBodyErrorsItems0Source update org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0Source

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) Validate

Validate validates this update org project bad request body errors items0 source

type UpdateOrgProjectBadRequestBodyJsonapi

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

UpdateOrgProjectBadRequestBodyJsonapi update org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectBadRequestBodyJsonapi

func (*UpdateOrgProjectBadRequestBodyJsonapi) ContextValidate

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

ContextValidate validates this update org project bad request body jsonapi based on context it is used

func (*UpdateOrgProjectBadRequestBodyJsonapi) MarshalBinary

func (o *UpdateOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectBadRequestBodyJsonapi) Validate

Validate validates this update org project bad request body jsonapi

type UpdateOrgProjectForbidden

type UpdateOrgProjectForbidden 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 *UpdateOrgProjectForbiddenBody
}

UpdateOrgProjectForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewUpdateOrgProjectForbidden

func NewUpdateOrgProjectForbidden() *UpdateOrgProjectForbidden

NewUpdateOrgProjectForbidden creates a UpdateOrgProjectForbidden with default headers values

func (*UpdateOrgProjectForbidden) Code

func (o *UpdateOrgProjectForbidden) Code() int

Code gets the status code for the update org project forbidden response

func (*UpdateOrgProjectForbidden) Error

func (o *UpdateOrgProjectForbidden) Error() string

func (*UpdateOrgProjectForbidden) GetPayload

func (*UpdateOrgProjectForbidden) IsClientError

func (o *UpdateOrgProjectForbidden) IsClientError() bool

IsClientError returns true when this update org project forbidden response has a 4xx status code

func (*UpdateOrgProjectForbidden) IsCode

func (o *UpdateOrgProjectForbidden) IsCode(code int) bool

IsCode returns true when this update org project forbidden response a status code equal to that given

func (*UpdateOrgProjectForbidden) IsRedirect

func (o *UpdateOrgProjectForbidden) IsRedirect() bool

IsRedirect returns true when this update org project forbidden response has a 3xx status code

func (*UpdateOrgProjectForbidden) IsServerError

func (o *UpdateOrgProjectForbidden) IsServerError() bool

IsServerError returns true when this update org project forbidden response has a 5xx status code

func (*UpdateOrgProjectForbidden) IsSuccess

func (o *UpdateOrgProjectForbidden) IsSuccess() bool

IsSuccess returns true when this update org project forbidden response has a 2xx status code

func (*UpdateOrgProjectForbidden) String

func (o *UpdateOrgProjectForbidden) String() string

type UpdateOrgProjectForbiddenBody

type UpdateOrgProjectForbiddenBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgProjectForbiddenBodyJsonapi `json:"jsonapi"`
}

UpdateOrgProjectForbiddenBody update org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectForbiddenBody

func (*UpdateOrgProjectForbiddenBody) ContextValidate

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

ContextValidate validate this update org project forbidden body based on the context it is used

func (*UpdateOrgProjectForbiddenBody) MarshalBinary

func (o *UpdateOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBody) UnmarshalBinary

func (o *UpdateOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBody) Validate

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

Validate validates this update org project forbidden body

type UpdateOrgProjectForbiddenBodyErrorsItems0

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

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

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

UpdateOrgProjectForbiddenBodyErrorsItems0 update org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0

func (*UpdateOrgProjectForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this update org project forbidden body errors items0 based on the context it is used

func (*UpdateOrgProjectForbiddenBodyErrorsItems0) MarshalBinary

func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary

func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0) Validate

Validate validates this update org project forbidden body errors items0

type UpdateOrgProjectForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0Links

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) Validate

Validate validates this update org project forbidden body errors items0 links

type UpdateOrgProjectForbiddenBodyErrorsItems0Source

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

UpdateOrgProjectForbiddenBodyErrorsItems0Source update org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0Source

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) Validate

Validate validates this update org project forbidden body errors items0 source

type UpdateOrgProjectForbiddenBodyJsonapi

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

UpdateOrgProjectForbiddenBodyJsonapi update org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectForbiddenBodyJsonapi

func (*UpdateOrgProjectForbiddenBodyJsonapi) ContextValidate

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

ContextValidate validates this update org project forbidden body jsonapi based on context it is used

func (*UpdateOrgProjectForbiddenBodyJsonapi) MarshalBinary

func (o *UpdateOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectForbiddenBodyJsonapi) Validate

Validate validates this update org project forbidden body jsonapi

type UpdateOrgProjectInternalServerError

type UpdateOrgProjectInternalServerError 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 *UpdateOrgProjectInternalServerErrorBody
}

UpdateOrgProjectInternalServerError 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 NewUpdateOrgProjectInternalServerError

func NewUpdateOrgProjectInternalServerError() *UpdateOrgProjectInternalServerError

NewUpdateOrgProjectInternalServerError creates a UpdateOrgProjectInternalServerError with default headers values

func (*UpdateOrgProjectInternalServerError) Code

Code gets the status code for the update org project internal server error response

func (*UpdateOrgProjectInternalServerError) Error

func (*UpdateOrgProjectInternalServerError) GetPayload

func (*UpdateOrgProjectInternalServerError) IsClientError

func (o *UpdateOrgProjectInternalServerError) IsClientError() bool

IsClientError returns true when this update org project internal server error response has a 4xx status code

func (*UpdateOrgProjectInternalServerError) IsCode

IsCode returns true when this update org project internal server error response a status code equal to that given

func (*UpdateOrgProjectInternalServerError) IsRedirect

func (o *UpdateOrgProjectInternalServerError) IsRedirect() bool

IsRedirect returns true when this update org project internal server error response has a 3xx status code

func (*UpdateOrgProjectInternalServerError) IsServerError

func (o *UpdateOrgProjectInternalServerError) IsServerError() bool

IsServerError returns true when this update org project internal server error response has a 5xx status code

func (*UpdateOrgProjectInternalServerError) IsSuccess

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

func (*UpdateOrgProjectInternalServerError) String

type UpdateOrgProjectInternalServerErrorBody

type UpdateOrgProjectInternalServerErrorBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

UpdateOrgProjectInternalServerErrorBody update org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectInternalServerErrorBody

func (*UpdateOrgProjectInternalServerErrorBody) ContextValidate

ContextValidate validate this update org project internal server error body based on the context it is used

func (*UpdateOrgProjectInternalServerErrorBody) MarshalBinary

func (o *UpdateOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBody) UnmarshalBinary

func (o *UpdateOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBody) Validate

Validate validates this update org project internal server error body

type UpdateOrgProjectInternalServerErrorBodyErrorsItems0

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

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

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

UpdateOrgProjectInternalServerErrorBodyErrorsItems0 update org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update org project internal server error body errors items0

type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update org project internal server error body errors items0 links

type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source

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

UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source update org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update org project internal server error body errors items0 source

type UpdateOrgProjectInternalServerErrorBodyJsonapi

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

UpdateOrgProjectInternalServerErrorBodyJsonapi update org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectInternalServerErrorBodyJsonapi

func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) ContextValidate

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

func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) Validate

Validate validates this update org project internal server error body jsonapi

type UpdateOrgProjectNotFound

type UpdateOrgProjectNotFound 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 *UpdateOrgProjectNotFoundBody
}

UpdateOrgProjectNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewUpdateOrgProjectNotFound

func NewUpdateOrgProjectNotFound() *UpdateOrgProjectNotFound

NewUpdateOrgProjectNotFound creates a UpdateOrgProjectNotFound with default headers values

func (*UpdateOrgProjectNotFound) Code

func (o *UpdateOrgProjectNotFound) Code() int

Code gets the status code for the update org project not found response

func (*UpdateOrgProjectNotFound) Error

func (o *UpdateOrgProjectNotFound) Error() string

func (*UpdateOrgProjectNotFound) GetPayload

func (*UpdateOrgProjectNotFound) IsClientError

func (o *UpdateOrgProjectNotFound) IsClientError() bool

IsClientError returns true when this update org project not found response has a 4xx status code

func (*UpdateOrgProjectNotFound) IsCode

func (o *UpdateOrgProjectNotFound) IsCode(code int) bool

IsCode returns true when this update org project not found response a status code equal to that given

func (*UpdateOrgProjectNotFound) IsRedirect

func (o *UpdateOrgProjectNotFound) IsRedirect() bool

IsRedirect returns true when this update org project not found response has a 3xx status code

func (*UpdateOrgProjectNotFound) IsServerError

func (o *UpdateOrgProjectNotFound) IsServerError() bool

IsServerError returns true when this update org project not found response has a 5xx status code

func (*UpdateOrgProjectNotFound) IsSuccess

func (o *UpdateOrgProjectNotFound) IsSuccess() bool

IsSuccess returns true when this update org project not found response has a 2xx status code

func (*UpdateOrgProjectNotFound) String

func (o *UpdateOrgProjectNotFound) String() string

type UpdateOrgProjectNotFoundBody

type UpdateOrgProjectNotFoundBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgProjectNotFoundBodyJsonapi `json:"jsonapi"`
}

UpdateOrgProjectNotFoundBody update org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectNotFoundBody

func (*UpdateOrgProjectNotFoundBody) ContextValidate

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

ContextValidate validate this update org project not found body based on the context it is used

func (*UpdateOrgProjectNotFoundBody) MarshalBinary

func (o *UpdateOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBody) UnmarshalBinary

func (o *UpdateOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBody) Validate

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

Validate validates this update org project not found body

type UpdateOrgProjectNotFoundBodyErrorsItems0

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

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

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

UpdateOrgProjectNotFoundBodyErrorsItems0 update org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0

func (*UpdateOrgProjectNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this update org project not found body errors items0 based on the context it is used

func (*UpdateOrgProjectNotFoundBodyErrorsItems0) MarshalBinary

func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary

func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0) Validate

Validate validates this update org project not found body errors items0

type UpdateOrgProjectNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0Links

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) Validate

Validate validates this update org project not found body errors items0 links

type UpdateOrgProjectNotFoundBodyErrorsItems0Source

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

UpdateOrgProjectNotFoundBodyErrorsItems0Source update org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0Source

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) Validate

Validate validates this update org project not found body errors items0 source

type UpdateOrgProjectNotFoundBodyJsonapi

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

UpdateOrgProjectNotFoundBodyJsonapi update org project not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectNotFoundBodyJsonapi

func (*UpdateOrgProjectNotFoundBodyJsonapi) ContextValidate

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

ContextValidate validates this update org project not found body jsonapi based on context it is used

func (*UpdateOrgProjectNotFoundBodyJsonapi) MarshalBinary

func (o *UpdateOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectNotFoundBodyJsonapi) Validate

Validate validates this update org project not found body jsonapi

type UpdateOrgProjectOK

type UpdateOrgProjectOK 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 *UpdateOrgProjectOKBody
}

UpdateOrgProjectOK describes a response with status code 200, with default header values.

A project is updated for the targeted org

func NewUpdateOrgProjectOK

func NewUpdateOrgProjectOK() *UpdateOrgProjectOK

NewUpdateOrgProjectOK creates a UpdateOrgProjectOK with default headers values

func (*UpdateOrgProjectOK) Code

func (o *UpdateOrgProjectOK) Code() int

Code gets the status code for the update org project o k response

func (*UpdateOrgProjectOK) Error

func (o *UpdateOrgProjectOK) Error() string

func (*UpdateOrgProjectOK) GetPayload

func (o *UpdateOrgProjectOK) GetPayload() *UpdateOrgProjectOKBody

func (*UpdateOrgProjectOK) IsClientError

func (o *UpdateOrgProjectOK) IsClientError() bool

IsClientError returns true when this update org project o k response has a 4xx status code

func (*UpdateOrgProjectOK) IsCode

func (o *UpdateOrgProjectOK) IsCode(code int) bool

IsCode returns true when this update org project o k response a status code equal to that given

func (*UpdateOrgProjectOK) IsRedirect

func (o *UpdateOrgProjectOK) IsRedirect() bool

IsRedirect returns true when this update org project o k response has a 3xx status code

func (*UpdateOrgProjectOK) IsServerError

func (o *UpdateOrgProjectOK) IsServerError() bool

IsServerError returns true when this update org project o k response has a 5xx status code

func (*UpdateOrgProjectOK) IsSuccess

func (o *UpdateOrgProjectOK) IsSuccess() bool

IsSuccess returns true when this update org project o k response has a 2xx status code

func (*UpdateOrgProjectOK) String

func (o *UpdateOrgProjectOK) String() string

type UpdateOrgProjectOKBody

type UpdateOrgProjectOKBody struct {

	// data
	// Required: true
	Data *UpdateOrgProjectOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`
}

UpdateOrgProjectOKBody update org project o k body swagger:model UpdateOrgProjectOKBody

func (*UpdateOrgProjectOKBody) ContextValidate

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

ContextValidate validate this update org project o k body based on the context it is used

func (*UpdateOrgProjectOKBody) MarshalBinary

func (o *UpdateOrgProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectOKBody) UnmarshalBinary

func (o *UpdateOrgProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectOKBody) Validate

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

Validate validates this update org project o k body

type UpdateOrgProjectOKBodyData

type UpdateOrgProjectOKBodyData struct {

	// attributes
	// Required: true
	Attributes *models.ProjectAttributes `json:"attributes"`

	// The Resource ID.
	// Example: 331ede0a-de94-456f-b788-166caeca58bf
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *models.Links `json:"links,omitempty"`

	// meta
	Meta *UpdateOrgProjectOKBodyDataMeta `json:"meta,omitempty"`

	// relationships
	Relationships *models.ProjectRelationships `json:"relationships,omitempty"`

	// The Resource type.
	// Example: project
	// Required: true
	Type *string `json:"type"`
}

UpdateOrgProjectOKBodyData update org project o k body data swagger:model UpdateOrgProjectOKBodyData

func (*UpdateOrgProjectOKBodyData) ContextValidate

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

ContextValidate validate this update org project o k body data based on the context it is used

func (*UpdateOrgProjectOKBodyData) MarshalBinary

func (o *UpdateOrgProjectOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectOKBodyData) UnmarshalBinary

func (o *UpdateOrgProjectOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectOKBodyData) Validate

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

Validate validates this update org project o k body data

type UpdateOrgProjectOKBodyDataMeta

type UpdateOrgProjectOKBodyDataMeta struct {

	// The date that the project was last uploaded and monitored using cli.
	// Example: 2021-05-29T09:50:54.014Z
	// Format: date-time
	CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"`
}

UpdateOrgProjectOKBodyDataMeta update org project o k body data meta swagger:model UpdateOrgProjectOKBodyDataMeta

func (*UpdateOrgProjectOKBodyDataMeta) ContextValidate

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

ContextValidate validates this update org project o k body data meta based on context it is used

func (*UpdateOrgProjectOKBodyDataMeta) MarshalBinary

func (o *UpdateOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectOKBodyDataMeta) UnmarshalBinary

func (o *UpdateOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectOKBodyDataMeta) Validate

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

Validate validates this update org project o k body data meta

type UpdateOrgProjectParams

type UpdateOrgProjectParams struct {

	/* Body.

	   The project attributes to be updated.
	*/
	Body *models.PatchProjectRequest

	/* Expand.

	   Expand relationships.
	*/
	Expand []string

	/* OrgID.

	   The ID of the Org the project belongs to.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ProjectID.

	   The ID of the project to patch.

	   Format: uuid
	*/
	ProjectID 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
}

UpdateOrgProjectParams contains all the parameters to send to the API endpoint

for the update org project operation.

Typically these are written to a http.Request.

func NewUpdateOrgProjectParams

func NewUpdateOrgProjectParams() *UpdateOrgProjectParams

NewUpdateOrgProjectParams creates a new UpdateOrgProjectParams 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 NewUpdateOrgProjectParamsWithContext

func NewUpdateOrgProjectParamsWithContext(ctx context.Context) *UpdateOrgProjectParams

NewUpdateOrgProjectParamsWithContext creates a new UpdateOrgProjectParams object with the ability to set a context for a request.

func NewUpdateOrgProjectParamsWithHTTPClient

func NewUpdateOrgProjectParamsWithHTTPClient(client *http.Client) *UpdateOrgProjectParams

NewUpdateOrgProjectParamsWithHTTPClient creates a new UpdateOrgProjectParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgProjectParamsWithTimeout

func NewUpdateOrgProjectParamsWithTimeout(timeout time.Duration) *UpdateOrgProjectParams

NewUpdateOrgProjectParamsWithTimeout creates a new UpdateOrgProjectParams object with the ability to set a timeout on a request.

func (*UpdateOrgProjectParams) SetBody

SetBody adds the body to the update org project params

func (*UpdateOrgProjectParams) SetContext

func (o *UpdateOrgProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the update org project params

func (*UpdateOrgProjectParams) SetDefaults

func (o *UpdateOrgProjectParams) SetDefaults()

SetDefaults hydrates default values in the update org project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgProjectParams) SetExpand

func (o *UpdateOrgProjectParams) SetExpand(expand []string)

SetExpand adds the expand to the update org project params

func (*UpdateOrgProjectParams) SetHTTPClient

func (o *UpdateOrgProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update org project params

func (*UpdateOrgProjectParams) SetOrgID

func (o *UpdateOrgProjectParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the update org project params

func (*UpdateOrgProjectParams) SetProjectID

func (o *UpdateOrgProjectParams) SetProjectID(projectID strfmt.UUID)

SetProjectID adds the projectId to the update org project params

func (*UpdateOrgProjectParams) SetTimeout

func (o *UpdateOrgProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update org project params

func (*UpdateOrgProjectParams) SetVersion

func (o *UpdateOrgProjectParams) SetVersion(version string)

SetVersion adds the version to the update org project params

func (*UpdateOrgProjectParams) WithBody

WithBody adds the body to the update org project params

func (*UpdateOrgProjectParams) WithContext

WithContext adds the context to the update org project params

func (*UpdateOrgProjectParams) WithDefaults

WithDefaults hydrates default values in the update org project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgProjectParams) WithExpand

func (o *UpdateOrgProjectParams) WithExpand(expand []string) *UpdateOrgProjectParams

WithExpand adds the expand to the update org project params

func (*UpdateOrgProjectParams) WithHTTPClient

func (o *UpdateOrgProjectParams) WithHTTPClient(client *http.Client) *UpdateOrgProjectParams

WithHTTPClient adds the HTTPClient to the update org project params

func (*UpdateOrgProjectParams) WithOrgID

WithOrgID adds the orgID to the update org project params

func (*UpdateOrgProjectParams) WithProjectID

func (o *UpdateOrgProjectParams) WithProjectID(projectID strfmt.UUID) *UpdateOrgProjectParams

WithProjectID adds the projectID to the update org project params

func (*UpdateOrgProjectParams) WithTimeout

WithTimeout adds the timeout to the update org project params

func (*UpdateOrgProjectParams) WithVersion

func (o *UpdateOrgProjectParams) WithVersion(version string) *UpdateOrgProjectParams

WithVersion adds the version to the update org project params

func (*UpdateOrgProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrgProjectReader

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

UpdateOrgProjectReader is a Reader for the UpdateOrgProject structure.

func (*UpdateOrgProjectReader) ReadResponse

func (o *UpdateOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateOrgProjectUnauthorized

type UpdateOrgProjectUnauthorized 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 *UpdateOrgProjectUnauthorizedBody
}

UpdateOrgProjectUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewUpdateOrgProjectUnauthorized

func NewUpdateOrgProjectUnauthorized() *UpdateOrgProjectUnauthorized

NewUpdateOrgProjectUnauthorized creates a UpdateOrgProjectUnauthorized with default headers values

func (*UpdateOrgProjectUnauthorized) Code

Code gets the status code for the update org project unauthorized response

func (*UpdateOrgProjectUnauthorized) Error

func (*UpdateOrgProjectUnauthorized) GetPayload

func (*UpdateOrgProjectUnauthorized) IsClientError

func (o *UpdateOrgProjectUnauthorized) IsClientError() bool

IsClientError returns true when this update org project unauthorized response has a 4xx status code

func (*UpdateOrgProjectUnauthorized) IsCode

func (o *UpdateOrgProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this update org project unauthorized response a status code equal to that given

func (*UpdateOrgProjectUnauthorized) IsRedirect

func (o *UpdateOrgProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org project unauthorized response has a 3xx status code

func (*UpdateOrgProjectUnauthorized) IsServerError

func (o *UpdateOrgProjectUnauthorized) IsServerError() bool

IsServerError returns true when this update org project unauthorized response has a 5xx status code

func (*UpdateOrgProjectUnauthorized) IsSuccess

func (o *UpdateOrgProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this update org project unauthorized response has a 2xx status code

func (*UpdateOrgProjectUnauthorized) String

type UpdateOrgProjectUnauthorizedBody

type UpdateOrgProjectUnauthorizedBody struct {

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

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"`
}

UpdateOrgProjectUnauthorizedBody update org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectUnauthorizedBody

func (*UpdateOrgProjectUnauthorizedBody) ContextValidate

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

ContextValidate validate this update org project unauthorized body based on the context it is used

func (*UpdateOrgProjectUnauthorizedBody) MarshalBinary

func (o *UpdateOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBody) UnmarshalBinary

func (o *UpdateOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBody) Validate

Validate validates this update org project unauthorized body

type UpdateOrgProjectUnauthorizedBodyErrorsItems0

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

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

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

UpdateOrgProjectUnauthorizedBodyErrorsItems0 update org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) Validate

Validate validates this update org project unauthorized body errors items0

type UpdateOrgProjectUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0Links

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update org project unauthorized body errors items0 links

type UpdateOrgProjectUnauthorizedBodyErrorsItems0Source

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

UpdateOrgProjectUnauthorizedBodyErrorsItems0Source update org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0Source

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update org project unauthorized body errors items0 source

type UpdateOrgProjectUnauthorizedBodyJsonapi

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

UpdateOrgProjectUnauthorizedBodyJsonapi update org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectUnauthorizedBodyJsonapi

func (*UpdateOrgProjectUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update org project unauthorized body jsonapi based on context it is used

func (*UpdateOrgProjectUnauthorizedBodyJsonapi) MarshalBinary

func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgProjectUnauthorizedBodyJsonapi) Validate

Validate validates this update org project unauthorized body jsonapi

Jump to

Keyboard shortcuts

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