orgs

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

func (*Client) GetOrg

func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error)

GetOrg gets organization

Get the full details of an organization.

func (*Client) ListOrgs

func (a *Client) ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error)

ListOrgs lists accessible organizations

Get a paginated list of organizations you have access to.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrg

func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, *UpdateOrgNoContent, error)

UpdateOrg updates organization

Update the details of an organization

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error)

	ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error)

	UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, *UpdateOrgNoContent, 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 orgs API client.

type GetOrgBadRequest

type GetOrgBadRequest 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 *GetOrgBadRequestBody
}

GetOrgBadRequest 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 NewGetOrgBadRequest

func NewGetOrgBadRequest() *GetOrgBadRequest

NewGetOrgBadRequest creates a GetOrgBadRequest with default headers values

func (*GetOrgBadRequest) Code

func (o *GetOrgBadRequest) Code() int

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

func (*GetOrgBadRequest) Error

func (o *GetOrgBadRequest) Error() string

func (*GetOrgBadRequest) GetPayload

func (o *GetOrgBadRequest) GetPayload() *GetOrgBadRequestBody

func (*GetOrgBadRequest) IsClientError

func (o *GetOrgBadRequest) IsClientError() bool

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

func (*GetOrgBadRequest) IsCode

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

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

func (*GetOrgBadRequest) IsRedirect

func (o *GetOrgBadRequest) IsRedirect() bool

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

func (*GetOrgBadRequest) IsServerError

func (o *GetOrgBadRequest) IsServerError() bool

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

func (*GetOrgBadRequest) IsSuccess

func (o *GetOrgBadRequest) IsSuccess() bool

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

func (*GetOrgBadRequest) String

func (o *GetOrgBadRequest) String() string

type GetOrgBadRequestBody

type GetOrgBadRequestBody struct {

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

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

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

func (*GetOrgBadRequestBody) ContextValidate

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

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

func (*GetOrgBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgBadRequestBody) Validate

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

Validate validates this get org bad request body

type GetOrgBadRequestBodyErrorsItems0

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

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

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

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

func (*GetOrgBadRequestBodyErrorsItems0) ContextValidate

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

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

func (*GetOrgBadRequestBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0) Validate

Validate validates this get org bad request body errors items0

type GetOrgBadRequestBodyErrorsItems0Links struct {

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

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

func (*GetOrgBadRequestBodyErrorsItems0Links) ContextValidate

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

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

func (*GetOrgBadRequestBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0Links) Validate

Validate validates this get org bad request body errors items0 links

type GetOrgBadRequestBodyErrorsItems0Source

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

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

func (*GetOrgBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgBadRequestBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgBadRequestBodyErrorsItems0Source) Validate

Validate validates this get org bad request body errors items0 source

type GetOrgBadRequestBodyJsonapi

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

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

func (*GetOrgBadRequestBodyJsonapi) ContextValidate

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

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

func (*GetOrgBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgBadRequestBodyJsonapi) Validate

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

Validate validates this get org bad request body jsonapi

type GetOrgConflict

type GetOrgConflict 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 *GetOrgConflictBody
}

GetOrgConflict describes a response with status code 409, with default header values.

Conflict: The requested operation conflicts with the current state of the resource in some way.

func NewGetOrgConflict

func NewGetOrgConflict() *GetOrgConflict

NewGetOrgConflict creates a GetOrgConflict with default headers values

func (*GetOrgConflict) Code

func (o *GetOrgConflict) Code() int

Code gets the status code for the get org conflict response

func (*GetOrgConflict) Error

func (o *GetOrgConflict) Error() string

func (*GetOrgConflict) GetPayload

func (o *GetOrgConflict) GetPayload() *GetOrgConflictBody

func (*GetOrgConflict) IsClientError

func (o *GetOrgConflict) IsClientError() bool

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

func (*GetOrgConflict) IsCode

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

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

func (*GetOrgConflict) IsRedirect

func (o *GetOrgConflict) IsRedirect() bool

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

func (*GetOrgConflict) IsServerError

func (o *GetOrgConflict) IsServerError() bool

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

func (*GetOrgConflict) IsSuccess

func (o *GetOrgConflict) IsSuccess() bool

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

func (*GetOrgConflict) String

func (o *GetOrgConflict) String() string

type GetOrgConflictBody

type GetOrgConflictBody struct {

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

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

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

func (*GetOrgConflictBody) ContextValidate

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

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

func (*GetOrgConflictBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgConflictBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgConflictBody) Validate

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

Validate validates this get org conflict body

type GetOrgConflictBodyErrorsItems0

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

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

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

GetOrgConflictBodyErrorsItems0 get org conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgConflictBodyErrorsItems0

func (*GetOrgConflictBodyErrorsItems0) ContextValidate

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

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

func (*GetOrgConflictBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0) Validate

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

Validate validates this get org conflict body errors items0

type GetOrgConflictBodyErrorsItems0Links struct {

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

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

func (*GetOrgConflictBodyErrorsItems0Links) ContextValidate

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

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

func (*GetOrgConflictBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0Links) Validate

Validate validates this get org conflict body errors items0 links

type GetOrgConflictBodyErrorsItems0Source

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

GetOrgConflictBodyErrorsItems0Source get org conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgConflictBodyErrorsItems0Source

func (*GetOrgConflictBodyErrorsItems0Source) ContextValidate

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

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

func (*GetOrgConflictBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgConflictBodyErrorsItems0Source) Validate

Validate validates this get org conflict body errors items0 source

type GetOrgConflictBodyJsonapi

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

GetOrgConflictBodyJsonapi get org conflict body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgConflictBodyJsonapi

func (*GetOrgConflictBodyJsonapi) ContextValidate

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

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

func (*GetOrgConflictBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgConflictBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgConflictBodyJsonapi) Validate

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

Validate validates this get org conflict body jsonapi

type GetOrgForbidden

type GetOrgForbidden 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 *GetOrgForbiddenBody
}

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

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

func NewGetOrgForbidden

func NewGetOrgForbidden() *GetOrgForbidden

NewGetOrgForbidden creates a GetOrgForbidden with default headers values

func (*GetOrgForbidden) Code

func (o *GetOrgForbidden) Code() int

Code gets the status code for the get org forbidden response

func (*GetOrgForbidden) Error

func (o *GetOrgForbidden) Error() string

func (*GetOrgForbidden) GetPayload

func (o *GetOrgForbidden) GetPayload() *GetOrgForbiddenBody

func (*GetOrgForbidden) IsClientError

func (o *GetOrgForbidden) IsClientError() bool

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

func (*GetOrgForbidden) IsCode

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

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

func (*GetOrgForbidden) IsRedirect

func (o *GetOrgForbidden) IsRedirect() bool

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

func (*GetOrgForbidden) IsServerError

func (o *GetOrgForbidden) IsServerError() bool

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

func (*GetOrgForbidden) IsSuccess

func (o *GetOrgForbidden) IsSuccess() bool

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

func (*GetOrgForbidden) String

func (o *GetOrgForbidden) String() string

type GetOrgForbiddenBody

type GetOrgForbiddenBody struct {

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

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

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

func (*GetOrgForbiddenBody) ContextValidate

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

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

func (*GetOrgForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgForbiddenBody) Validate

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

Validate validates this get org forbidden body

type GetOrgForbiddenBodyErrorsItems0

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

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

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

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

func (*GetOrgForbiddenBodyErrorsItems0) ContextValidate

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

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

func (*GetOrgForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0) Validate

Validate validates this get org forbidden body errors items0

type GetOrgForbiddenBodyErrorsItems0Links struct {

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

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

func (*GetOrgForbiddenBodyErrorsItems0Links) ContextValidate

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

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

func (*GetOrgForbiddenBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0Links) Validate

Validate validates this get org forbidden body errors items0 links

type GetOrgForbiddenBodyErrorsItems0Source

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

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

func (*GetOrgForbiddenBodyErrorsItems0Source) ContextValidate

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

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

func (*GetOrgForbiddenBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgForbiddenBodyErrorsItems0Source) Validate

Validate validates this get org forbidden body errors items0 source

type GetOrgForbiddenBodyJsonapi

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

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

func (*GetOrgForbiddenBodyJsonapi) ContextValidate

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

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

func (*GetOrgForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgForbiddenBodyJsonapi) Validate

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

Validate validates this get org forbidden body jsonapi

type GetOrgInternalServerError

type GetOrgInternalServerError 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 *GetOrgInternalServerErrorBody
}

GetOrgInternalServerError 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 NewGetOrgInternalServerError

func NewGetOrgInternalServerError() *GetOrgInternalServerError

NewGetOrgInternalServerError creates a GetOrgInternalServerError with default headers values

func (*GetOrgInternalServerError) Code

func (o *GetOrgInternalServerError) Code() int

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

func (*GetOrgInternalServerError) Error

func (o *GetOrgInternalServerError) Error() string

func (*GetOrgInternalServerError) GetPayload

func (*GetOrgInternalServerError) IsClientError

func (o *GetOrgInternalServerError) IsClientError() bool

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

func (*GetOrgInternalServerError) IsCode

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

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

func (*GetOrgInternalServerError) IsRedirect

func (o *GetOrgInternalServerError) IsRedirect() bool

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

func (*GetOrgInternalServerError) IsServerError

func (o *GetOrgInternalServerError) IsServerError() bool

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

func (*GetOrgInternalServerError) IsSuccess

func (o *GetOrgInternalServerError) IsSuccess() bool

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

func (*GetOrgInternalServerError) String

func (o *GetOrgInternalServerError) String() string

type GetOrgInternalServerErrorBody

type GetOrgInternalServerErrorBody struct {

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

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

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

func (*GetOrgInternalServerErrorBody) ContextValidate

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

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

func (*GetOrgInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgInternalServerErrorBody) Validate

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

Validate validates this get org internal server error body

type GetOrgInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*GetOrgInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*GetOrgInternalServerErrorBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get org internal server error body errors items0

type GetOrgInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*GetOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0Links) Validate

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

type GetOrgInternalServerErrorBodyErrorsItems0Source

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

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

func (*GetOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyErrorsItems0Source) Validate

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

type GetOrgInternalServerErrorBodyJsonapi

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

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

func (*GetOrgInternalServerErrorBodyJsonapi) ContextValidate

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

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

func (*GetOrgInternalServerErrorBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgInternalServerErrorBodyJsonapi) Validate

Validate validates this get org internal server error body jsonapi

type GetOrgNotFound

type GetOrgNotFound 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 *GetOrgNotFoundBody
}

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

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

func NewGetOrgNotFound

func NewGetOrgNotFound() *GetOrgNotFound

NewGetOrgNotFound creates a GetOrgNotFound with default headers values

func (*GetOrgNotFound) Code

func (o *GetOrgNotFound) Code() int

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

func (*GetOrgNotFound) Error

func (o *GetOrgNotFound) Error() string

func (*GetOrgNotFound) GetPayload

func (o *GetOrgNotFound) GetPayload() *GetOrgNotFoundBody

func (*GetOrgNotFound) IsClientError

func (o *GetOrgNotFound) IsClientError() bool

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

func (*GetOrgNotFound) IsCode

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

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

func (*GetOrgNotFound) IsRedirect

func (o *GetOrgNotFound) IsRedirect() bool

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

func (*GetOrgNotFound) IsServerError

func (o *GetOrgNotFound) IsServerError() bool

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

func (*GetOrgNotFound) IsSuccess

func (o *GetOrgNotFound) IsSuccess() bool

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

func (*GetOrgNotFound) String

func (o *GetOrgNotFound) String() string

type GetOrgNotFoundBody

type GetOrgNotFoundBody struct {

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

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

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

func (*GetOrgNotFoundBody) ContextValidate

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

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

func (*GetOrgNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgNotFoundBody) Validate

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

Validate validates this get org not found body

type GetOrgNotFoundBodyErrorsItems0

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

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

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

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

func (*GetOrgNotFoundBodyErrorsItems0) ContextValidate

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

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

func (*GetOrgNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0) Validate

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

Validate validates this get org not found body errors items0

type GetOrgNotFoundBodyErrorsItems0Links struct {

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

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

func (*GetOrgNotFoundBodyErrorsItems0Links) ContextValidate

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

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

func (*GetOrgNotFoundBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0Links) Validate

Validate validates this get org not found body errors items0 links

type GetOrgNotFoundBodyErrorsItems0Source

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

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

func (*GetOrgNotFoundBodyErrorsItems0Source) ContextValidate

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

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

func (*GetOrgNotFoundBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgNotFoundBodyErrorsItems0Source) Validate

Validate validates this get org not found body errors items0 source

type GetOrgNotFoundBodyJsonapi

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

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

func (*GetOrgNotFoundBodyJsonapi) ContextValidate

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

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

func (*GetOrgNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgNotFoundBodyJsonapi) Validate

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

Validate validates this get org not found body jsonapi

type GetOrgOK

type GetOrgOK 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 *GetOrgOKBody
}

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

Returns an instance of an organization

func NewGetOrgOK

func NewGetOrgOK() *GetOrgOK

NewGetOrgOK creates a GetOrgOK with default headers values

func (*GetOrgOK) Code

func (o *GetOrgOK) Code() int

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

func (*GetOrgOK) Error

func (o *GetOrgOK) Error() string

func (*GetOrgOK) GetPayload

func (o *GetOrgOK) GetPayload() *GetOrgOKBody

func (*GetOrgOK) IsClientError

func (o *GetOrgOK) IsClientError() bool

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

func (*GetOrgOK) IsCode

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

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

func (*GetOrgOK) IsRedirect

func (o *GetOrgOK) IsRedirect() bool

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

func (*GetOrgOK) IsServerError

func (o *GetOrgOK) IsServerError() bool

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

func (*GetOrgOK) IsSuccess

func (o *GetOrgOK) IsSuccess() bool

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

func (*GetOrgOK) String

func (o *GetOrgOK) String() string

type GetOrgOKBody

type GetOrgOKBody struct {

	// data
	Data *models.Org `json:"data,omitempty"`

	// jsonapi
	Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"`

	// links
	Links *models.SelfLink `json:"links,omitempty"`
}

GetOrgOKBody get org o k body swagger:model GetOrgOKBody

func (*GetOrgOKBody) ContextValidate

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

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

func (*GetOrgOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgOKBody) Validate

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

Validate validates this get org o k body

type GetOrgParams

type GetOrgParams struct {

	/* OrgID.

	   Unique identifier for org

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* Version.

	   The requested version of the endpoint to process the request
	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrgParams contains all the parameters to send to the API endpoint

for the get org operation.

Typically these are written to a http.Request.

func NewGetOrgParams

func NewGetOrgParams() *GetOrgParams

NewGetOrgParams creates a new GetOrgParams 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 NewGetOrgParamsWithContext

func NewGetOrgParamsWithContext(ctx context.Context) *GetOrgParams

NewGetOrgParamsWithContext creates a new GetOrgParams object with the ability to set a context for a request.

func NewGetOrgParamsWithHTTPClient

func NewGetOrgParamsWithHTTPClient(client *http.Client) *GetOrgParams

NewGetOrgParamsWithHTTPClient creates a new GetOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgParamsWithTimeout

func NewGetOrgParamsWithTimeout(timeout time.Duration) *GetOrgParams

NewGetOrgParamsWithTimeout creates a new GetOrgParams object with the ability to set a timeout on a request.

func (*GetOrgParams) SetContext

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

SetContext adds the context to the get org params

func (*GetOrgParams) SetDefaults

func (o *GetOrgParams) SetDefaults()

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

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

func (*GetOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org params

func (*GetOrgParams) SetOrgID

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

SetOrgID adds the orgId to the get org params

func (*GetOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get org params

func (*GetOrgParams) SetVersion

func (o *GetOrgParams) SetVersion(version string)

SetVersion adds the version to the get org params

func (*GetOrgParams) WithContext

func (o *GetOrgParams) WithContext(ctx context.Context) *GetOrgParams

WithContext adds the context to the get org params

func (*GetOrgParams) WithDefaults

func (o *GetOrgParams) WithDefaults() *GetOrgParams

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

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

func (*GetOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org params

func (*GetOrgParams) WithOrgID

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

WithOrgID adds the orgID to the get org params

func (*GetOrgParams) WithTimeout

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

WithTimeout adds the timeout to the get org params

func (*GetOrgParams) WithVersion

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

WithVersion adds the version to the get org params

func (*GetOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgReader

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

GetOrgReader is a Reader for the GetOrg structure.

func (*GetOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgUnauthorized

type GetOrgUnauthorized 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 *GetOrgUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewGetOrgUnauthorized

func NewGetOrgUnauthorized() *GetOrgUnauthorized

NewGetOrgUnauthorized creates a GetOrgUnauthorized with default headers values

func (*GetOrgUnauthorized) Code

func (o *GetOrgUnauthorized) Code() int

Code gets the status code for the get org unauthorized response

func (*GetOrgUnauthorized) Error

func (o *GetOrgUnauthorized) Error() string

func (*GetOrgUnauthorized) GetPayload

func (o *GetOrgUnauthorized) GetPayload() *GetOrgUnauthorizedBody

func (*GetOrgUnauthorized) IsClientError

func (o *GetOrgUnauthorized) IsClientError() bool

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

func (*GetOrgUnauthorized) IsCode

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

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

func (*GetOrgUnauthorized) IsRedirect

func (o *GetOrgUnauthorized) IsRedirect() bool

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

func (*GetOrgUnauthorized) IsServerError

func (o *GetOrgUnauthorized) IsServerError() bool

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

func (*GetOrgUnauthorized) IsSuccess

func (o *GetOrgUnauthorized) IsSuccess() bool

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

func (*GetOrgUnauthorized) String

func (o *GetOrgUnauthorized) String() string

type GetOrgUnauthorizedBody

type GetOrgUnauthorizedBody struct {

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

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

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

func (*GetOrgUnauthorizedBody) ContextValidate

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

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

func (*GetOrgUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgUnauthorizedBody) Validate

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

Validate validates this get org unauthorized body

type GetOrgUnauthorizedBodyErrorsItems0

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

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

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

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

func (*GetOrgUnauthorizedBodyErrorsItems0) ContextValidate

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

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

func (*GetOrgUnauthorizedBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0) Validate

Validate validates this get org unauthorized body errors items0

type GetOrgUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*GetOrgUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*GetOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get org unauthorized body errors items0 links

type GetOrgUnauthorizedBodyErrorsItems0Source

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

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

func (*GetOrgUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*GetOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get org unauthorized body errors items0 source

type GetOrgUnauthorizedBodyJsonapi

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

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

func (*GetOrgUnauthorizedBodyJsonapi) ContextValidate

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

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

func (*GetOrgUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrgUnauthorizedBodyJsonapi) Validate

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

Validate validates this get org unauthorized body jsonapi

type ListOrgsBadRequest

type ListOrgsBadRequest 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 *ListOrgsBadRequestBody
}

ListOrgsBadRequest 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 NewListOrgsBadRequest

func NewListOrgsBadRequest() *ListOrgsBadRequest

NewListOrgsBadRequest creates a ListOrgsBadRequest with default headers values

func (*ListOrgsBadRequest) Code

func (o *ListOrgsBadRequest) Code() int

Code gets the status code for the list orgs bad request response

func (*ListOrgsBadRequest) Error

func (o *ListOrgsBadRequest) Error() string

func (*ListOrgsBadRequest) GetPayload

func (o *ListOrgsBadRequest) GetPayload() *ListOrgsBadRequestBody

func (*ListOrgsBadRequest) IsClientError

func (o *ListOrgsBadRequest) IsClientError() bool

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

func (*ListOrgsBadRequest) IsCode

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

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

func (*ListOrgsBadRequest) IsRedirect

func (o *ListOrgsBadRequest) IsRedirect() bool

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

func (*ListOrgsBadRequest) IsServerError

func (o *ListOrgsBadRequest) IsServerError() bool

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

func (*ListOrgsBadRequest) IsSuccess

func (o *ListOrgsBadRequest) IsSuccess() bool

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

func (*ListOrgsBadRequest) String

func (o *ListOrgsBadRequest) String() string

type ListOrgsBadRequestBody

type ListOrgsBadRequestBody struct {

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

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

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

func (*ListOrgsBadRequestBody) ContextValidate

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

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

func (*ListOrgsBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsBadRequestBody) Validate

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

Validate validates this list orgs bad request body

type ListOrgsBadRequestBodyErrorsItems0

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

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

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

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

func (*ListOrgsBadRequestBodyErrorsItems0) ContextValidate

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

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

func (*ListOrgsBadRequestBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0) Validate

Validate validates this list orgs bad request body errors items0

type ListOrgsBadRequestBodyErrorsItems0Links struct {

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

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

func (*ListOrgsBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgsBadRequestBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0Links) Validate

Validate validates this list orgs bad request body errors items0 links

type ListOrgsBadRequestBodyErrorsItems0Source

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

ListOrgsBadRequestBodyErrorsItems0Source list orgs bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsBadRequestBodyErrorsItems0Source

func (*ListOrgsBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgsBadRequestBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsBadRequestBodyErrorsItems0Source) Validate

Validate validates this list orgs bad request body errors items0 source

type ListOrgsBadRequestBodyJsonapi

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

ListOrgsBadRequestBodyJsonapi list orgs bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsBadRequestBodyJsonapi

func (*ListOrgsBadRequestBodyJsonapi) ContextValidate

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

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

func (*ListOrgsBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsBadRequestBodyJsonapi) Validate

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

Validate validates this list orgs bad request body jsonapi

type ListOrgsForbidden

type ListOrgsForbidden 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 *ListOrgsForbiddenBody
}

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

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

func NewListOrgsForbidden

func NewListOrgsForbidden() *ListOrgsForbidden

NewListOrgsForbidden creates a ListOrgsForbidden with default headers values

func (*ListOrgsForbidden) Code

func (o *ListOrgsForbidden) Code() int

Code gets the status code for the list orgs forbidden response

func (*ListOrgsForbidden) Error

func (o *ListOrgsForbidden) Error() string

func (*ListOrgsForbidden) GetPayload

func (o *ListOrgsForbidden) GetPayload() *ListOrgsForbiddenBody

func (*ListOrgsForbidden) IsClientError

func (o *ListOrgsForbidden) IsClientError() bool

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

func (*ListOrgsForbidden) IsCode

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

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

func (*ListOrgsForbidden) IsRedirect

func (o *ListOrgsForbidden) IsRedirect() bool

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

func (*ListOrgsForbidden) IsServerError

func (o *ListOrgsForbidden) IsServerError() bool

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

func (*ListOrgsForbidden) IsSuccess

func (o *ListOrgsForbidden) IsSuccess() bool

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

func (*ListOrgsForbidden) String

func (o *ListOrgsForbidden) String() string

type ListOrgsForbiddenBody

type ListOrgsForbiddenBody struct {

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

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

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

func (*ListOrgsForbiddenBody) ContextValidate

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

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

func (*ListOrgsForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsForbiddenBody) Validate

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

Validate validates this list orgs forbidden body

type ListOrgsForbiddenBodyErrorsItems0

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

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

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

ListOrgsForbiddenBodyErrorsItems0 list orgs forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsForbiddenBodyErrorsItems0

func (*ListOrgsForbiddenBodyErrorsItems0) ContextValidate

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

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

func (*ListOrgsForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0) Validate

Validate validates this list orgs forbidden body errors items0

type ListOrgsForbiddenBodyErrorsItems0Links struct {

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

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

func (*ListOrgsForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgsForbiddenBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0Links) Validate

Validate validates this list orgs forbidden body errors items0 links

type ListOrgsForbiddenBodyErrorsItems0Source

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

ListOrgsForbiddenBodyErrorsItems0Source list orgs forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsForbiddenBodyErrorsItems0Source

func (*ListOrgsForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgsForbiddenBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsForbiddenBodyErrorsItems0Source) Validate

Validate validates this list orgs forbidden body errors items0 source

type ListOrgsForbiddenBodyJsonapi

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

ListOrgsForbiddenBodyJsonapi list orgs forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsForbiddenBodyJsonapi

func (*ListOrgsForbiddenBodyJsonapi) ContextValidate

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

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

func (*ListOrgsForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsForbiddenBodyJsonapi) Validate

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

Validate validates this list orgs forbidden body jsonapi

type ListOrgsInternalServerError

type ListOrgsInternalServerError 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 *ListOrgsInternalServerErrorBody
}

ListOrgsInternalServerError 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 NewListOrgsInternalServerError

func NewListOrgsInternalServerError() *ListOrgsInternalServerError

NewListOrgsInternalServerError creates a ListOrgsInternalServerError with default headers values

func (*ListOrgsInternalServerError) Code

func (o *ListOrgsInternalServerError) Code() int

Code gets the status code for the list orgs internal server error response

func (*ListOrgsInternalServerError) Error

func (*ListOrgsInternalServerError) GetPayload

func (*ListOrgsInternalServerError) IsClientError

func (o *ListOrgsInternalServerError) IsClientError() bool

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

func (*ListOrgsInternalServerError) IsCode

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

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

func (*ListOrgsInternalServerError) IsRedirect

func (o *ListOrgsInternalServerError) IsRedirect() bool

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

func (*ListOrgsInternalServerError) IsServerError

func (o *ListOrgsInternalServerError) IsServerError() bool

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

func (*ListOrgsInternalServerError) IsSuccess

func (o *ListOrgsInternalServerError) IsSuccess() bool

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

func (*ListOrgsInternalServerError) String

func (o *ListOrgsInternalServerError) String() string

type ListOrgsInternalServerErrorBody

type ListOrgsInternalServerErrorBody struct {

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

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

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

func (*ListOrgsInternalServerErrorBody) ContextValidate

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

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

func (*ListOrgsInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBody) Validate

Validate validates this list orgs internal server error body

type ListOrgsInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*ListOrgsInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*ListOrgsInternalServerErrorBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this list orgs internal server error body errors items0

type ListOrgsInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this list orgs internal server error body errors items0 links

type ListOrgsInternalServerErrorBodyErrorsItems0Source

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

ListOrgsInternalServerErrorBodyErrorsItems0Source list orgs internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsInternalServerErrorBodyErrorsItems0Source

func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this list orgs internal server error body errors items0 source

type ListOrgsInternalServerErrorBodyJsonapi

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

ListOrgsInternalServerErrorBodyJsonapi list orgs internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsInternalServerErrorBodyJsonapi

func (*ListOrgsInternalServerErrorBodyJsonapi) ContextValidate

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

func (*ListOrgsInternalServerErrorBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsInternalServerErrorBodyJsonapi) Validate

Validate validates this list orgs internal server error body jsonapi

type ListOrgsNotFound

type ListOrgsNotFound 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 *ListOrgsNotFoundBody
}

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

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

func NewListOrgsNotFound

func NewListOrgsNotFound() *ListOrgsNotFound

NewListOrgsNotFound creates a ListOrgsNotFound with default headers values

func (*ListOrgsNotFound) Code

func (o *ListOrgsNotFound) Code() int

Code gets the status code for the list orgs not found response

func (*ListOrgsNotFound) Error

func (o *ListOrgsNotFound) Error() string

func (*ListOrgsNotFound) GetPayload

func (o *ListOrgsNotFound) GetPayload() *ListOrgsNotFoundBody

func (*ListOrgsNotFound) IsClientError

func (o *ListOrgsNotFound) IsClientError() bool

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

func (*ListOrgsNotFound) IsCode

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

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

func (*ListOrgsNotFound) IsRedirect

func (o *ListOrgsNotFound) IsRedirect() bool

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

func (*ListOrgsNotFound) IsServerError

func (o *ListOrgsNotFound) IsServerError() bool

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

func (*ListOrgsNotFound) IsSuccess

func (o *ListOrgsNotFound) IsSuccess() bool

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

func (*ListOrgsNotFound) String

func (o *ListOrgsNotFound) String() string

type ListOrgsNotFoundBody

type ListOrgsNotFoundBody struct {

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

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

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

func (*ListOrgsNotFoundBody) ContextValidate

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

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

func (*ListOrgsNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsNotFoundBody) Validate

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

Validate validates this list orgs not found body

type ListOrgsNotFoundBodyErrorsItems0

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

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

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

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

func (*ListOrgsNotFoundBodyErrorsItems0) ContextValidate

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

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

func (*ListOrgsNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0) Validate

Validate validates this list orgs not found body errors items0

type ListOrgsNotFoundBodyErrorsItems0Links struct {

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

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

func (*ListOrgsNotFoundBodyErrorsItems0Links) ContextValidate

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

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

func (*ListOrgsNotFoundBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0Links) Validate

Validate validates this list orgs not found body errors items0 links

type ListOrgsNotFoundBodyErrorsItems0Source

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

ListOrgsNotFoundBodyErrorsItems0Source list orgs not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsNotFoundBodyErrorsItems0Source

func (*ListOrgsNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgsNotFoundBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsNotFoundBodyErrorsItems0Source) Validate

Validate validates this list orgs not found body errors items0 source

type ListOrgsNotFoundBodyJsonapi

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

ListOrgsNotFoundBodyJsonapi list orgs not found body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsNotFoundBodyJsonapi

func (*ListOrgsNotFoundBodyJsonapi) ContextValidate

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

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

func (*ListOrgsNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsNotFoundBodyJsonapi) Validate

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

Validate validates this list orgs not found body jsonapi

type ListOrgsOK

type ListOrgsOK 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 *ListOrgsOKBody
}

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

A list of organizations you have access to.

func NewListOrgsOK

func NewListOrgsOK() *ListOrgsOK

NewListOrgsOK creates a ListOrgsOK with default headers values

func (*ListOrgsOK) Code

func (o *ListOrgsOK) Code() int

Code gets the status code for the list orgs o k response

func (*ListOrgsOK) Error

func (o *ListOrgsOK) Error() string

func (*ListOrgsOK) GetPayload

func (o *ListOrgsOK) GetPayload() *ListOrgsOKBody

func (*ListOrgsOK) IsClientError

func (o *ListOrgsOK) IsClientError() bool

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

func (*ListOrgsOK) IsCode

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

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

func (*ListOrgsOK) IsRedirect

func (o *ListOrgsOK) IsRedirect() bool

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

func (*ListOrgsOK) IsServerError

func (o *ListOrgsOK) IsServerError() bool

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

func (*ListOrgsOK) IsSuccess

func (o *ListOrgsOK) IsSuccess() bool

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

func (*ListOrgsOK) String

func (o *ListOrgsOK) String() string

type ListOrgsOKBody

type ListOrgsOKBody struct {

	// data
	// Required: true
	Data []*models.OrgWithRelationships `json:"data"`

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

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

ListOrgsOKBody list orgs o k body swagger:model ListOrgsOKBody

func (*ListOrgsOKBody) ContextValidate

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

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

func (*ListOrgsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsOKBody) Validate

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

Validate validates this list orgs o k body

type ListOrgsParams

type ListOrgsParams struct {

	/* EndingBefore.

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

	/* Expand.

	   Expand the specified related resources in the response to include their attributes.
	*/
	Expand []string

	/* GroupID.

	   If set, only return organizations within the specified group

	   Format: uuid
	*/
	GroupID *strfmt.UUID

	/* IsPersonal.

	   If true, only return organizations that are not part of a group.
	*/
	IsPersonal *bool

	/* Limit.

	   Number of results to return per page

	   Format: int32
	   Default: 10
	*/
	Limit *int32

	/* Name.

	   Only return orgs whose name contains this value.
	*/
	Name *string

	/* Slug.

	   Only return orgs whose slug exactly matches this value.
	*/
	Slug *string

	/* StartingAfter.

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

	/* Version.

	   The requested version of the endpoint to process the request
	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListOrgsParams contains all the parameters to send to the API endpoint

for the list orgs operation.

Typically these are written to a http.Request.

func NewListOrgsParams

func NewListOrgsParams() *ListOrgsParams

NewListOrgsParams creates a new ListOrgsParams 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 NewListOrgsParamsWithContext

func NewListOrgsParamsWithContext(ctx context.Context) *ListOrgsParams

NewListOrgsParamsWithContext creates a new ListOrgsParams object with the ability to set a context for a request.

func NewListOrgsParamsWithHTTPClient

func NewListOrgsParamsWithHTTPClient(client *http.Client) *ListOrgsParams

NewListOrgsParamsWithHTTPClient creates a new ListOrgsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgsParamsWithTimeout

func NewListOrgsParamsWithTimeout(timeout time.Duration) *ListOrgsParams

NewListOrgsParamsWithTimeout creates a new ListOrgsParams object with the ability to set a timeout on a request.

func (*ListOrgsParams) SetContext

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

SetContext adds the context to the list orgs params

func (*ListOrgsParams) SetDefaults

func (o *ListOrgsParams) SetDefaults()

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

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

func (*ListOrgsParams) SetEndingBefore

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

SetEndingBefore adds the endingBefore to the list orgs params

func (*ListOrgsParams) SetExpand

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

SetExpand adds the expand to the list orgs params

func (*ListOrgsParams) SetGroupID

func (o *ListOrgsParams) SetGroupID(groupID *strfmt.UUID)

SetGroupID adds the groupId to the list orgs params

func (*ListOrgsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list orgs params

func (*ListOrgsParams) SetIsPersonal

func (o *ListOrgsParams) SetIsPersonal(isPersonal *bool)

SetIsPersonal adds the isPersonal to the list orgs params

func (*ListOrgsParams) SetLimit

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

SetLimit adds the limit to the list orgs params

func (*ListOrgsParams) SetName

func (o *ListOrgsParams) SetName(name *string)

SetName adds the name to the list orgs params

func (*ListOrgsParams) SetSlug

func (o *ListOrgsParams) SetSlug(slug *string)

SetSlug adds the slug to the list orgs params

func (*ListOrgsParams) SetStartingAfter

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

SetStartingAfter adds the startingAfter to the list orgs params

func (*ListOrgsParams) SetTimeout

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

SetTimeout adds the timeout to the list orgs params

func (*ListOrgsParams) SetVersion

func (o *ListOrgsParams) SetVersion(version string)

SetVersion adds the version to the list orgs params

func (*ListOrgsParams) WithContext

func (o *ListOrgsParams) WithContext(ctx context.Context) *ListOrgsParams

WithContext adds the context to the list orgs params

func (*ListOrgsParams) WithDefaults

func (o *ListOrgsParams) WithDefaults() *ListOrgsParams

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

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

func (*ListOrgsParams) WithEndingBefore

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

WithEndingBefore adds the endingBefore to the list orgs params

func (*ListOrgsParams) WithExpand

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

WithExpand adds the expand to the list orgs params

func (*ListOrgsParams) WithGroupID

func (o *ListOrgsParams) WithGroupID(groupID *strfmt.UUID) *ListOrgsParams

WithGroupID adds the groupID to the list orgs params

func (*ListOrgsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list orgs params

func (*ListOrgsParams) WithIsPersonal

func (o *ListOrgsParams) WithIsPersonal(isPersonal *bool) *ListOrgsParams

WithIsPersonal adds the isPersonal to the list orgs params

func (*ListOrgsParams) WithLimit

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

WithLimit adds the limit to the list orgs params

func (*ListOrgsParams) WithName

func (o *ListOrgsParams) WithName(name *string) *ListOrgsParams

WithName adds the name to the list orgs params

func (*ListOrgsParams) WithSlug

func (o *ListOrgsParams) WithSlug(slug *string) *ListOrgsParams

WithSlug adds the slug to the list orgs params

func (*ListOrgsParams) WithStartingAfter

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

WithStartingAfter adds the startingAfter to the list orgs params

func (*ListOrgsParams) WithTimeout

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

WithTimeout adds the timeout to the list orgs params

func (*ListOrgsParams) WithVersion

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

WithVersion adds the version to the list orgs params

func (*ListOrgsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListOrgsReader

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

ListOrgsReader is a Reader for the ListOrgs structure.

func (*ListOrgsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgsUnauthorized

type ListOrgsUnauthorized 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 *ListOrgsUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewListOrgsUnauthorized

func NewListOrgsUnauthorized() *ListOrgsUnauthorized

NewListOrgsUnauthorized creates a ListOrgsUnauthorized with default headers values

func (*ListOrgsUnauthorized) Code

func (o *ListOrgsUnauthorized) Code() int

Code gets the status code for the list orgs unauthorized response

func (*ListOrgsUnauthorized) Error

func (o *ListOrgsUnauthorized) Error() string

func (*ListOrgsUnauthorized) GetPayload

func (*ListOrgsUnauthorized) IsClientError

func (o *ListOrgsUnauthorized) IsClientError() bool

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

func (*ListOrgsUnauthorized) IsCode

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

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

func (*ListOrgsUnauthorized) IsRedirect

func (o *ListOrgsUnauthorized) IsRedirect() bool

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

func (*ListOrgsUnauthorized) IsServerError

func (o *ListOrgsUnauthorized) IsServerError() bool

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

func (*ListOrgsUnauthorized) IsSuccess

func (o *ListOrgsUnauthorized) IsSuccess() bool

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

func (*ListOrgsUnauthorized) String

func (o *ListOrgsUnauthorized) String() string

type ListOrgsUnauthorizedBody

type ListOrgsUnauthorizedBody struct {

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

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

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

func (*ListOrgsUnauthorizedBody) ContextValidate

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

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

func (*ListOrgsUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsUnauthorizedBody) Validate

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

Validate validates this list orgs unauthorized body

type ListOrgsUnauthorizedBodyErrorsItems0

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

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

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

ListOrgsUnauthorizedBodyErrorsItems0 list orgs unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsUnauthorizedBodyErrorsItems0

func (*ListOrgsUnauthorizedBodyErrorsItems0) ContextValidate

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

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

func (*ListOrgsUnauthorizedBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0) Validate

Validate validates this list orgs unauthorized body errors items0

type ListOrgsUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*ListOrgsUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgsUnauthorizedBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this list orgs unauthorized body errors items0 links

type ListOrgsUnauthorizedBodyErrorsItems0Source

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

ListOrgsUnauthorizedBodyErrorsItems0Source list orgs unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsUnauthorizedBodyErrorsItems0Source

func (*ListOrgsUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgsUnauthorizedBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this list orgs unauthorized body errors items0 source

type ListOrgsUnauthorizedBodyJsonapi

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

ListOrgsUnauthorizedBodyJsonapi list orgs unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsUnauthorizedBodyJsonapi

func (*ListOrgsUnauthorizedBodyJsonapi) ContextValidate

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

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

func (*ListOrgsUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgsUnauthorizedBodyJsonapi) Validate

Validate validates this list orgs unauthorized body jsonapi

type UpdateOrgBadRequest

type UpdateOrgBadRequest 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 *UpdateOrgBadRequestBody
}

UpdateOrgBadRequest 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 NewUpdateOrgBadRequest

func NewUpdateOrgBadRequest() *UpdateOrgBadRequest

NewUpdateOrgBadRequest creates a UpdateOrgBadRequest with default headers values

func (*UpdateOrgBadRequest) Code

func (o *UpdateOrgBadRequest) Code() int

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

func (*UpdateOrgBadRequest) Error

func (o *UpdateOrgBadRequest) Error() string

func (*UpdateOrgBadRequest) GetPayload

func (*UpdateOrgBadRequest) IsClientError

func (o *UpdateOrgBadRequest) IsClientError() bool

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

func (*UpdateOrgBadRequest) IsCode

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

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

func (*UpdateOrgBadRequest) IsRedirect

func (o *UpdateOrgBadRequest) IsRedirect() bool

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

func (*UpdateOrgBadRequest) IsServerError

func (o *UpdateOrgBadRequest) IsServerError() bool

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

func (*UpdateOrgBadRequest) IsSuccess

func (o *UpdateOrgBadRequest) IsSuccess() bool

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

func (*UpdateOrgBadRequest) String

func (o *UpdateOrgBadRequest) String() string

type UpdateOrgBadRequestBody

type UpdateOrgBadRequestBody struct {

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

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

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

func (*UpdateOrgBadRequestBody) ContextValidate

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

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

func (*UpdateOrgBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBadRequestBody) Validate

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

Validate validates this update org bad request body

type UpdateOrgBadRequestBodyErrorsItems0

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

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

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

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

func (*UpdateOrgBadRequestBodyErrorsItems0) ContextValidate

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

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

func (*UpdateOrgBadRequestBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0) Validate

Validate validates this update org bad request body errors items0

type UpdateOrgBadRequestBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgBadRequestBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0Links) Validate

Validate validates this update org bad request body errors items0 links

type UpdateOrgBadRequestBodyErrorsItems0Source

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

UpdateOrgBadRequestBodyErrorsItems0Source update org bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgBadRequestBodyErrorsItems0Source

func (*UpdateOrgBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgBadRequestBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyErrorsItems0Source) Validate

Validate validates this update org bad request body errors items0 source

type UpdateOrgBadRequestBodyJsonapi

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

UpdateOrgBadRequestBodyJsonapi update org bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgBadRequestBodyJsonapi

func (*UpdateOrgBadRequestBodyJsonapi) ContextValidate

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

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

func (*UpdateOrgBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBadRequestBodyJsonapi) Validate

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

Validate validates this update org bad request body jsonapi

type UpdateOrgBody

type UpdateOrgBody struct {

	// data
	// Required: true
	Data *UpdateOrgParamsBodyData `json:"data"`
}

UpdateOrgBody update org body swagger:model UpdateOrgBody

func (*UpdateOrgBody) ContextValidate

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

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

func (*UpdateOrgBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgBody) Validate

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

Validate validates this update org body

type UpdateOrgConflict

type UpdateOrgConflict 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 *UpdateOrgConflictBody
}

UpdateOrgConflict describes a response with status code 409, with default header values.

Conflict: The requested operation conflicts with the current state of the resource in some way.

func NewUpdateOrgConflict

func NewUpdateOrgConflict() *UpdateOrgConflict

NewUpdateOrgConflict creates a UpdateOrgConflict with default headers values

func (*UpdateOrgConflict) Code

func (o *UpdateOrgConflict) Code() int

Code gets the status code for the update org conflict response

func (*UpdateOrgConflict) Error

func (o *UpdateOrgConflict) Error() string

func (*UpdateOrgConflict) GetPayload

func (o *UpdateOrgConflict) GetPayload() *UpdateOrgConflictBody

func (*UpdateOrgConflict) IsClientError

func (o *UpdateOrgConflict) IsClientError() bool

IsClientError returns true when this update org conflict response has a 4xx status code

func (*UpdateOrgConflict) IsCode

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

IsCode returns true when this update org conflict response a status code equal to that given

func (*UpdateOrgConflict) IsRedirect

func (o *UpdateOrgConflict) IsRedirect() bool

IsRedirect returns true when this update org conflict response has a 3xx status code

func (*UpdateOrgConflict) IsServerError

func (o *UpdateOrgConflict) IsServerError() bool

IsServerError returns true when this update org conflict response has a 5xx status code

func (*UpdateOrgConflict) IsSuccess

func (o *UpdateOrgConflict) IsSuccess() bool

IsSuccess returns true when this update org conflict response has a 2xx status code

func (*UpdateOrgConflict) String

func (o *UpdateOrgConflict) String() string

type UpdateOrgConflictBody

type UpdateOrgConflictBody struct {

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

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

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

func (*UpdateOrgConflictBody) ContextValidate

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

ContextValidate validate this update org conflict body based on the context it is used

func (*UpdateOrgConflictBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgConflictBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgConflictBody) Validate

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

Validate validates this update org conflict body

type UpdateOrgConflictBodyErrorsItems0

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

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

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

UpdateOrgConflictBodyErrorsItems0 update org conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgConflictBodyErrorsItems0

func (*UpdateOrgConflictBodyErrorsItems0) ContextValidate

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

ContextValidate validate this update org conflict body errors items0 based on the context it is used

func (*UpdateOrgConflictBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0) Validate

Validate validates this update org conflict body errors items0

type UpdateOrgConflictBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgConflictBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgConflictBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0Links) Validate

Validate validates this update org conflict body errors items0 links

type UpdateOrgConflictBodyErrorsItems0Source

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

UpdateOrgConflictBodyErrorsItems0Source update org conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgConflictBodyErrorsItems0Source

func (*UpdateOrgConflictBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgConflictBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgConflictBodyErrorsItems0Source) Validate

Validate validates this update org conflict body errors items0 source

type UpdateOrgConflictBodyJsonapi

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

UpdateOrgConflictBodyJsonapi update org conflict body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgConflictBodyJsonapi

func (*UpdateOrgConflictBodyJsonapi) ContextValidate

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

ContextValidate validates this update org conflict body jsonapi based on context it is used

func (*UpdateOrgConflictBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgConflictBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgConflictBodyJsonapi) Validate

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

Validate validates this update org conflict body jsonapi

type UpdateOrgForbidden

type UpdateOrgForbidden 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 *UpdateOrgForbiddenBody
}

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

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

func NewUpdateOrgForbidden

func NewUpdateOrgForbidden() *UpdateOrgForbidden

NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values

func (*UpdateOrgForbidden) Code

func (o *UpdateOrgForbidden) Code() int

Code gets the status code for the update org forbidden response

func (*UpdateOrgForbidden) Error

func (o *UpdateOrgForbidden) Error() string

func (*UpdateOrgForbidden) GetPayload

func (o *UpdateOrgForbidden) GetPayload() *UpdateOrgForbiddenBody

func (*UpdateOrgForbidden) IsClientError

func (o *UpdateOrgForbidden) IsClientError() bool

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

func (*UpdateOrgForbidden) IsCode

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

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

func (*UpdateOrgForbidden) IsRedirect

func (o *UpdateOrgForbidden) IsRedirect() bool

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

func (*UpdateOrgForbidden) IsServerError

func (o *UpdateOrgForbidden) IsServerError() bool

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

func (*UpdateOrgForbidden) IsSuccess

func (o *UpdateOrgForbidden) IsSuccess() bool

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

func (*UpdateOrgForbidden) String

func (o *UpdateOrgForbidden) String() string

type UpdateOrgForbiddenBody

type UpdateOrgForbiddenBody struct {

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

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

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

func (*UpdateOrgForbiddenBody) ContextValidate

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

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

func (*UpdateOrgForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgForbiddenBody) Validate

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

Validate validates this update org forbidden body

type UpdateOrgForbiddenBodyErrorsItems0

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

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

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

UpdateOrgForbiddenBodyErrorsItems0 update org forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgForbiddenBodyErrorsItems0

func (*UpdateOrgForbiddenBodyErrorsItems0) ContextValidate

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

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

func (*UpdateOrgForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0) Validate

Validate validates this update org forbidden body errors items0

type UpdateOrgForbiddenBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgForbiddenBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0Links) Validate

Validate validates this update org forbidden body errors items0 links

type UpdateOrgForbiddenBodyErrorsItems0Source

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

UpdateOrgForbiddenBodyErrorsItems0Source update org forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgForbiddenBodyErrorsItems0Source

func (*UpdateOrgForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgForbiddenBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyErrorsItems0Source) Validate

Validate validates this update org forbidden body errors items0 source

type UpdateOrgForbiddenBodyJsonapi

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

UpdateOrgForbiddenBodyJsonapi update org forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgForbiddenBodyJsonapi

func (*UpdateOrgForbiddenBodyJsonapi) ContextValidate

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

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

func (*UpdateOrgForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgForbiddenBodyJsonapi) Validate

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

Validate validates this update org forbidden body jsonapi

type UpdateOrgInternalServerError

type UpdateOrgInternalServerError 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 *UpdateOrgInternalServerErrorBody
}

UpdateOrgInternalServerError 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 NewUpdateOrgInternalServerError

func NewUpdateOrgInternalServerError() *UpdateOrgInternalServerError

NewUpdateOrgInternalServerError creates a UpdateOrgInternalServerError with default headers values

func (*UpdateOrgInternalServerError) Code

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

func (*UpdateOrgInternalServerError) Error

func (*UpdateOrgInternalServerError) GetPayload

func (*UpdateOrgInternalServerError) IsClientError

func (o *UpdateOrgInternalServerError) IsClientError() bool

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

func (*UpdateOrgInternalServerError) IsCode

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

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

func (*UpdateOrgInternalServerError) IsRedirect

func (o *UpdateOrgInternalServerError) IsRedirect() bool

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

func (*UpdateOrgInternalServerError) IsServerError

func (o *UpdateOrgInternalServerError) IsServerError() bool

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

func (*UpdateOrgInternalServerError) IsSuccess

func (o *UpdateOrgInternalServerError) IsSuccess() bool

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

func (*UpdateOrgInternalServerError) String

type UpdateOrgInternalServerErrorBody

type UpdateOrgInternalServerErrorBody struct {

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

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

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

func (*UpdateOrgInternalServerErrorBody) ContextValidate

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

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

func (*UpdateOrgInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBody) Validate

Validate validates this update org internal server error body

type UpdateOrgInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*UpdateOrgInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*UpdateOrgInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update org internal server error body errors items0

type UpdateOrgInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) Validate

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

type UpdateOrgInternalServerErrorBodyErrorsItems0Source

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

UpdateOrgInternalServerErrorBodyErrorsItems0Source update org internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgInternalServerErrorBodyErrorsItems0Source

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) Validate

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

type UpdateOrgInternalServerErrorBodyJsonapi

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

UpdateOrgInternalServerErrorBodyJsonapi update org internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgInternalServerErrorBodyJsonapi

func (*UpdateOrgInternalServerErrorBodyJsonapi) ContextValidate

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

func (*UpdateOrgInternalServerErrorBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgInternalServerErrorBodyJsonapi) Validate

Validate validates this update org internal server error body jsonapi

type UpdateOrgNoContent

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

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

The operation completed successfully with no content

func NewUpdateOrgNoContent

func NewUpdateOrgNoContent() *UpdateOrgNoContent

NewUpdateOrgNoContent creates a UpdateOrgNoContent with default headers values

func (*UpdateOrgNoContent) Code

func (o *UpdateOrgNoContent) Code() int

Code gets the status code for the update org no content response

func (*UpdateOrgNoContent) Error

func (o *UpdateOrgNoContent) Error() string

func (*UpdateOrgNoContent) IsClientError

func (o *UpdateOrgNoContent) IsClientError() bool

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

func (*UpdateOrgNoContent) IsCode

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

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

func (*UpdateOrgNoContent) IsRedirect

func (o *UpdateOrgNoContent) IsRedirect() bool

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

func (*UpdateOrgNoContent) IsServerError

func (o *UpdateOrgNoContent) IsServerError() bool

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

func (*UpdateOrgNoContent) IsSuccess

func (o *UpdateOrgNoContent) IsSuccess() bool

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

func (*UpdateOrgNoContent) String

func (o *UpdateOrgNoContent) String() string

type UpdateOrgNotFound

type UpdateOrgNotFound 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 *UpdateOrgNotFoundBody
}

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

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

func NewUpdateOrgNotFound

func NewUpdateOrgNotFound() *UpdateOrgNotFound

NewUpdateOrgNotFound creates a UpdateOrgNotFound with default headers values

func (*UpdateOrgNotFound) Code

func (o *UpdateOrgNotFound) Code() int

Code gets the status code for the update org not found response

func (*UpdateOrgNotFound) Error

func (o *UpdateOrgNotFound) Error() string

func (*UpdateOrgNotFound) GetPayload

func (o *UpdateOrgNotFound) GetPayload() *UpdateOrgNotFoundBody

func (*UpdateOrgNotFound) IsClientError

func (o *UpdateOrgNotFound) IsClientError() bool

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

func (*UpdateOrgNotFound) IsCode

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

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

func (*UpdateOrgNotFound) IsRedirect

func (o *UpdateOrgNotFound) IsRedirect() bool

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

func (*UpdateOrgNotFound) IsServerError

func (o *UpdateOrgNotFound) IsServerError() bool

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

func (*UpdateOrgNotFound) IsSuccess

func (o *UpdateOrgNotFound) IsSuccess() bool

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

func (*UpdateOrgNotFound) String

func (o *UpdateOrgNotFound) String() string

type UpdateOrgNotFoundBody

type UpdateOrgNotFoundBody struct {

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

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

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

func (*UpdateOrgNotFoundBody) ContextValidate

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

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

func (*UpdateOrgNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgNotFoundBody) Validate

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

Validate validates this update org not found body

type UpdateOrgNotFoundBodyErrorsItems0

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

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

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

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

func (*UpdateOrgNotFoundBodyErrorsItems0) ContextValidate

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

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

func (*UpdateOrgNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0) Validate

Validate validates this update org not found body errors items0

type UpdateOrgNotFoundBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgNotFoundBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0Links) Validate

Validate validates this update org not found body errors items0 links

type UpdateOrgNotFoundBodyErrorsItems0Source

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

UpdateOrgNotFoundBodyErrorsItems0Source update org not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgNotFoundBodyErrorsItems0Source

func (*UpdateOrgNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgNotFoundBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyErrorsItems0Source) Validate

Validate validates this update org not found body errors items0 source

type UpdateOrgNotFoundBodyJsonapi

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

UpdateOrgNotFoundBodyJsonapi update org not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgNotFoundBodyJsonapi

func (*UpdateOrgNotFoundBodyJsonapi) ContextValidate

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

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

func (*UpdateOrgNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgNotFoundBodyJsonapi) Validate

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

Validate validates this update org not found body jsonapi

type UpdateOrgOK

type UpdateOrgOK 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 *UpdateOrgOKBody
}

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

Instance of org is updated

func NewUpdateOrgOK

func NewUpdateOrgOK() *UpdateOrgOK

NewUpdateOrgOK creates a UpdateOrgOK with default headers values

func (*UpdateOrgOK) Code

func (o *UpdateOrgOK) Code() int

Code gets the status code for the update org o k response

func (*UpdateOrgOK) Error

func (o *UpdateOrgOK) Error() string

func (*UpdateOrgOK) GetPayload

func (o *UpdateOrgOK) GetPayload() *UpdateOrgOKBody

func (*UpdateOrgOK) IsClientError

func (o *UpdateOrgOK) IsClientError() bool

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

func (*UpdateOrgOK) IsCode

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

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

func (*UpdateOrgOK) IsRedirect

func (o *UpdateOrgOK) IsRedirect() bool

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

func (*UpdateOrgOK) IsServerError

func (o *UpdateOrgOK) IsServerError() bool

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

func (*UpdateOrgOK) IsSuccess

func (o *UpdateOrgOK) IsSuccess() bool

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

func (*UpdateOrgOK) String

func (o *UpdateOrgOK) String() string

type UpdateOrgOKBody

type UpdateOrgOKBody struct {

	// data
	Data *UpdateOrgOKBodyData `json:"data,omitempty"`

	// jsonapi
	Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"`

	// links
	Links *models.SelfLink `json:"links,omitempty"`
}

UpdateOrgOKBody update org o k body swagger:model UpdateOrgOKBody

func (*UpdateOrgOKBody) ContextValidate

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

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

func (*UpdateOrgOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgOKBody) Validate

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

Validate validates this update org o k body

type UpdateOrgOKBodyData

type UpdateOrgOKBodyData struct {

	// attributes
	Attributes *models.OrgAttributes `json:"attributes,omitempty"`

	// id
	// Example: d5b640e5-d88c-4c17-9bf0-93597b7a1ce2
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

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

	// type
	// Required: true
	Type *models.Types `json:"type"`
}

UpdateOrgOKBodyData org resource object swagger:model UpdateOrgOKBodyData

func (*UpdateOrgOKBodyData) ContextValidate

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

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

func (*UpdateOrgOKBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgOKBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgOKBodyData) Validate

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

Validate validates this update org o k body data

type UpdateOrgParams

type UpdateOrgParams struct {

	// Body.
	Body UpdateOrgBody

	/* OrgID.

	   Unique identifier for org

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* Version.

	   The requested version of the endpoint to process the request
	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateOrgParams contains all the parameters to send to the API endpoint

for the update org operation.

Typically these are written to a http.Request.

func NewUpdateOrgParams

func NewUpdateOrgParams() *UpdateOrgParams

NewUpdateOrgParams creates a new UpdateOrgParams 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 NewUpdateOrgParamsWithContext

func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams

NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the ability to set a context for a request.

func NewUpdateOrgParamsWithHTTPClient

func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams

NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgParamsWithTimeout

func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams

NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the ability to set a timeout on a request.

func (*UpdateOrgParams) SetBody

func (o *UpdateOrgParams) SetBody(body UpdateOrgBody)

SetBody adds the body to the update org params

func (*UpdateOrgParams) SetContext

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

SetContext adds the context to the update org params

func (*UpdateOrgParams) SetDefaults

func (o *UpdateOrgParams) SetDefaults()

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

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

func (*UpdateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) SetOrgID

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

SetOrgID adds the orgId to the update org params

func (*UpdateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update org params

func (*UpdateOrgParams) SetVersion

func (o *UpdateOrgParams) SetVersion(version string)

SetVersion adds the version to the update org params

func (*UpdateOrgParams) WithBody

func (o *UpdateOrgParams) WithBody(body UpdateOrgBody) *UpdateOrgParams

WithBody adds the body to the update org params

func (*UpdateOrgParams) WithContext

func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams

WithContext adds the context to the update org params

func (*UpdateOrgParams) WithDefaults

func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams

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

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

func (*UpdateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) WithOrgID

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

WithOrgID adds the orgID to the update org params

func (*UpdateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WithVersion

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

WithVersion adds the version to the update org params

func (*UpdateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateOrgParamsBodyData

type UpdateOrgParamsBodyData struct {

	// attributes
	Attributes *models.OrgUpdateAttributes `json:"attributes,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// type
	Type models.Types `json:"type,omitempty"`
}

UpdateOrgParamsBodyData update org params body data swagger:model UpdateOrgParamsBodyData

func (*UpdateOrgParamsBodyData) ContextValidate

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

ContextValidate validate this update org params body data based on the context it is used

func (*UpdateOrgParamsBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgParamsBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgParamsBodyData) Validate

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

Validate validates this update org params body data

type UpdateOrgReader

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

UpdateOrgReader is a Reader for the UpdateOrg structure.

func (*UpdateOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrgUnauthorized

type UpdateOrgUnauthorized 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 *UpdateOrgUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewUpdateOrgUnauthorized

func NewUpdateOrgUnauthorized() *UpdateOrgUnauthorized

NewUpdateOrgUnauthorized creates a UpdateOrgUnauthorized with default headers values

func (*UpdateOrgUnauthorized) Code

func (o *UpdateOrgUnauthorized) Code() int

Code gets the status code for the update org unauthorized response

func (*UpdateOrgUnauthorized) Error

func (o *UpdateOrgUnauthorized) Error() string

func (*UpdateOrgUnauthorized) GetPayload

func (*UpdateOrgUnauthorized) IsClientError

func (o *UpdateOrgUnauthorized) IsClientError() bool

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

func (*UpdateOrgUnauthorized) IsCode

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

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

func (*UpdateOrgUnauthorized) IsRedirect

func (o *UpdateOrgUnauthorized) IsRedirect() bool

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

func (*UpdateOrgUnauthorized) IsServerError

func (o *UpdateOrgUnauthorized) IsServerError() bool

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

func (*UpdateOrgUnauthorized) IsSuccess

func (o *UpdateOrgUnauthorized) IsSuccess() bool

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

func (*UpdateOrgUnauthorized) String

func (o *UpdateOrgUnauthorized) String() string

type UpdateOrgUnauthorizedBody

type UpdateOrgUnauthorizedBody struct {

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

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

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

func (*UpdateOrgUnauthorizedBody) ContextValidate

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

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

func (*UpdateOrgUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBody) Validate

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

Validate validates this update org unauthorized body

type UpdateOrgUnauthorizedBodyErrorsItems0

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

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

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

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0) ContextValidate

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

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0) Validate

Validate validates this update org unauthorized body errors items0

type UpdateOrgUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update org unauthorized body errors items0 links

type UpdateOrgUnauthorizedBodyErrorsItems0Source

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

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update org unauthorized body errors items0 source

type UpdateOrgUnauthorizedBodyJsonapi

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

UpdateOrgUnauthorizedBodyJsonapi update org unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgUnauthorizedBodyJsonapi

func (*UpdateOrgUnauthorizedBodyJsonapi) ContextValidate

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

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

func (*UpdateOrgUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateOrgUnauthorizedBodyJsonapi) Validate

Validate validates this update org unauthorized body jsonapi

Jump to

Keyboard shortcuts

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