invites

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

func (*Client) CreateOrgInvitation

func (a *Client) CreateOrgInvitation(params *CreateOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgInvitationCreated, error)

CreateOrgInvitation invites a user to an organization

Invite a user to an organization with a role.

func (*Client) DeleteOrgInvitation

func (a *Client) DeleteOrgInvitation(params *DeleteOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgInvitationNoContent, error)

DeleteOrgInvitation cancels a pending user invitations to an organization

Cancel a pending user invitations to an organization.

func (*Client) ListOrgInvitation

func (a *Client) ListOrgInvitation(params *ListOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgInvitationOK, error)

ListOrgInvitation lists pending user invitations to an organization

List pending user invitations to an organization.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOrgInvitation(params *CreateOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgInvitationCreated, error)

	DeleteOrgInvitation(params *DeleteOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgInvitationNoContent, error)

	ListOrgInvitation(params *ListOrgInvitationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgInvitationOK, 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 invites API client.

type CreateOrgInvitationBadRequest

type CreateOrgInvitationBadRequest 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 *CreateOrgInvitationBadRequestBody
}

CreateOrgInvitationBadRequest 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 NewCreateOrgInvitationBadRequest

func NewCreateOrgInvitationBadRequest() *CreateOrgInvitationBadRequest

NewCreateOrgInvitationBadRequest creates a CreateOrgInvitationBadRequest with default headers values

func (*CreateOrgInvitationBadRequest) Code

Code gets the status code for the create org invitation bad request response

func (*CreateOrgInvitationBadRequest) Error

func (*CreateOrgInvitationBadRequest) GetPayload

func (*CreateOrgInvitationBadRequest) IsClientError

func (o *CreateOrgInvitationBadRequest) IsClientError() bool

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

func (*CreateOrgInvitationBadRequest) IsCode

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

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

func (*CreateOrgInvitationBadRequest) IsRedirect

func (o *CreateOrgInvitationBadRequest) IsRedirect() bool

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

func (*CreateOrgInvitationBadRequest) IsServerError

func (o *CreateOrgInvitationBadRequest) IsServerError() bool

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

func (*CreateOrgInvitationBadRequest) IsSuccess

func (o *CreateOrgInvitationBadRequest) IsSuccess() bool

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

func (*CreateOrgInvitationBadRequest) String

type CreateOrgInvitationBadRequestBody

type CreateOrgInvitationBadRequestBody struct {

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

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

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

func (*CreateOrgInvitationBadRequestBody) ContextValidate

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

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

func (*CreateOrgInvitationBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBody) Validate

Validate validates this create org invitation bad request body

type CreateOrgInvitationBadRequestBodyErrorsItems0

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

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

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

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

func (*CreateOrgInvitationBadRequestBodyErrorsItems0) ContextValidate

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

func (*CreateOrgInvitationBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0) Validate

Validate validates this create org invitation bad request body errors items0

type CreateOrgInvitationBadRequestBodyErrorsItems0Links struct {

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

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

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Links) Validate

Validate validates this create org invitation bad request body errors items0 links

type CreateOrgInvitationBadRequestBodyErrorsItems0Source

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

CreateOrgInvitationBadRequestBodyErrorsItems0Source create org invitation bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgInvitationBadRequestBodyErrorsItems0Source

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyErrorsItems0Source) Validate

Validate validates this create org invitation bad request body errors items0 source

type CreateOrgInvitationBadRequestBodyJsonapi

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

CreateOrgInvitationBadRequestBodyJsonapi create org invitation bad request body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgInvitationBadRequestBodyJsonapi

func (*CreateOrgInvitationBadRequestBodyJsonapi) ContextValidate

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

func (*CreateOrgInvitationBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBadRequestBodyJsonapi) Validate

Validate validates this create org invitation bad request body jsonapi

type CreateOrgInvitationBody

type CreateOrgInvitationBody struct {

	// data
	// Required: true
	Data *models.OrgInvitationPostData `json:"data"`
}

CreateOrgInvitationBody create org invitation body swagger:model CreateOrgInvitationBody

func (*CreateOrgInvitationBody) ContextValidate

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

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

func (*CreateOrgInvitationBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationBody) Validate

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

Validate validates this create org invitation body

type CreateOrgInvitationCreated

type CreateOrgInvitationCreated 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
	Location    string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *CreateOrgInvitationCreatedBody
}

CreateOrgInvitationCreated describes a response with status code 201, with default header values.

A new organization invitation has been created

func NewCreateOrgInvitationCreated

func NewCreateOrgInvitationCreated() *CreateOrgInvitationCreated

NewCreateOrgInvitationCreated creates a CreateOrgInvitationCreated with default headers values

func (*CreateOrgInvitationCreated) Code

func (o *CreateOrgInvitationCreated) Code() int

Code gets the status code for the create org invitation created response

func (*CreateOrgInvitationCreated) Error

func (*CreateOrgInvitationCreated) GetPayload

func (*CreateOrgInvitationCreated) IsClientError

func (o *CreateOrgInvitationCreated) IsClientError() bool

IsClientError returns true when this create org invitation created response has a 4xx status code

func (*CreateOrgInvitationCreated) IsCode

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

IsCode returns true when this create org invitation created response a status code equal to that given

func (*CreateOrgInvitationCreated) IsRedirect

func (o *CreateOrgInvitationCreated) IsRedirect() bool

IsRedirect returns true when this create org invitation created response has a 3xx status code

func (*CreateOrgInvitationCreated) IsServerError

func (o *CreateOrgInvitationCreated) IsServerError() bool

IsServerError returns true when this create org invitation created response has a 5xx status code

func (*CreateOrgInvitationCreated) IsSuccess

func (o *CreateOrgInvitationCreated) IsSuccess() bool

IsSuccess returns true when this create org invitation created response has a 2xx status code

func (*CreateOrgInvitationCreated) String

func (o *CreateOrgInvitationCreated) String() string

type CreateOrgInvitationCreatedBody

type CreateOrgInvitationCreatedBody struct {

	// data
	// Required: true
	Data *models.OrgInvitation `json:"data"`

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

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

CreateOrgInvitationCreatedBody create org invitation created body swagger:model CreateOrgInvitationCreatedBody

func (*CreateOrgInvitationCreatedBody) ContextValidate

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

ContextValidate validate this create org invitation created body based on the context it is used

func (*CreateOrgInvitationCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationCreatedBody) Validate

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

Validate validates this create org invitation created body

type CreateOrgInvitationForbidden

type CreateOrgInvitationForbidden 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 *CreateOrgInvitationForbiddenBody
}

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

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

func NewCreateOrgInvitationForbidden

func NewCreateOrgInvitationForbidden() *CreateOrgInvitationForbidden

NewCreateOrgInvitationForbidden creates a CreateOrgInvitationForbidden with default headers values

func (*CreateOrgInvitationForbidden) Code

Code gets the status code for the create org invitation forbidden response

func (*CreateOrgInvitationForbidden) Error

func (*CreateOrgInvitationForbidden) GetPayload

func (*CreateOrgInvitationForbidden) IsClientError

func (o *CreateOrgInvitationForbidden) IsClientError() bool

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

func (*CreateOrgInvitationForbidden) IsCode

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

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

func (*CreateOrgInvitationForbidden) IsRedirect

func (o *CreateOrgInvitationForbidden) IsRedirect() bool

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

func (*CreateOrgInvitationForbidden) IsServerError

func (o *CreateOrgInvitationForbidden) IsServerError() bool

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

func (*CreateOrgInvitationForbidden) IsSuccess

func (o *CreateOrgInvitationForbidden) IsSuccess() bool

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

func (*CreateOrgInvitationForbidden) String

type CreateOrgInvitationForbiddenBody

type CreateOrgInvitationForbiddenBody struct {

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

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

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

func (*CreateOrgInvitationForbiddenBody) ContextValidate

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

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

func (*CreateOrgInvitationForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBody) Validate

Validate validates this create org invitation forbidden body

type CreateOrgInvitationForbiddenBodyErrorsItems0

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

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

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

CreateOrgInvitationForbiddenBodyErrorsItems0 create org invitation forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateOrgInvitationForbiddenBodyErrorsItems0

func (*CreateOrgInvitationForbiddenBodyErrorsItems0) ContextValidate

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

func (*CreateOrgInvitationForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0) Validate

Validate validates this create org invitation forbidden body errors items0

type CreateOrgInvitationForbiddenBodyErrorsItems0Links struct {

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

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

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Links) Validate

Validate validates this create org invitation forbidden body errors items0 links

type CreateOrgInvitationForbiddenBodyErrorsItems0Source

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

CreateOrgInvitationForbiddenBodyErrorsItems0Source create org invitation forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgInvitationForbiddenBodyErrorsItems0Source

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyErrorsItems0Source) Validate

Validate validates this create org invitation forbidden body errors items0 source

type CreateOrgInvitationForbiddenBodyJsonapi

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

CreateOrgInvitationForbiddenBodyJsonapi create org invitation forbidden body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgInvitationForbiddenBodyJsonapi

func (*CreateOrgInvitationForbiddenBodyJsonapi) ContextValidate

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

func (*CreateOrgInvitationForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationForbiddenBodyJsonapi) Validate

Validate validates this create org invitation forbidden body jsonapi

type CreateOrgInvitationInternalServerError

type CreateOrgInvitationInternalServerError 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 *CreateOrgInvitationInternalServerErrorBody
}

CreateOrgInvitationInternalServerError 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 NewCreateOrgInvitationInternalServerError

func NewCreateOrgInvitationInternalServerError() *CreateOrgInvitationInternalServerError

NewCreateOrgInvitationInternalServerError creates a CreateOrgInvitationInternalServerError with default headers values

func (*CreateOrgInvitationInternalServerError) Code

Code gets the status code for the create org invitation internal server error response

func (*CreateOrgInvitationInternalServerError) Error

func (*CreateOrgInvitationInternalServerError) GetPayload

func (*CreateOrgInvitationInternalServerError) IsClientError

func (o *CreateOrgInvitationInternalServerError) IsClientError() bool

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

func (*CreateOrgInvitationInternalServerError) IsCode

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

func (*CreateOrgInvitationInternalServerError) IsRedirect

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

func (*CreateOrgInvitationInternalServerError) IsServerError

func (o *CreateOrgInvitationInternalServerError) IsServerError() bool

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

func (*CreateOrgInvitationInternalServerError) IsSuccess

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

func (*CreateOrgInvitationInternalServerError) String

type CreateOrgInvitationInternalServerErrorBody

type CreateOrgInvitationInternalServerErrorBody struct {

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

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

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

func (*CreateOrgInvitationInternalServerErrorBody) ContextValidate

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

func (*CreateOrgInvitationInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBody) Validate

Validate validates this create org invitation internal server error body

type CreateOrgInvitationInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0) Validate

Validate validates this create org invitation internal server error body errors items0

type CreateOrgInvitationInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this create org invitation internal server error body errors items0 links

type CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source

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

CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source create org invitation internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this create org invitation internal server error body errors items0 source

type CreateOrgInvitationInternalServerErrorBodyJsonapi

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

CreateOrgInvitationInternalServerErrorBodyJsonapi create org invitation internal server error body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgInvitationInternalServerErrorBodyJsonapi

func (*CreateOrgInvitationInternalServerErrorBodyJsonapi) ContextValidate

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

func (*CreateOrgInvitationInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationInternalServerErrorBodyJsonapi) Validate

Validate validates this create org invitation internal server error body jsonapi

type CreateOrgInvitationNotFound

type CreateOrgInvitationNotFound 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 *CreateOrgInvitationNotFoundBody
}

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

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

func NewCreateOrgInvitationNotFound

func NewCreateOrgInvitationNotFound() *CreateOrgInvitationNotFound

NewCreateOrgInvitationNotFound creates a CreateOrgInvitationNotFound with default headers values

func (*CreateOrgInvitationNotFound) Code

func (o *CreateOrgInvitationNotFound) Code() int

Code gets the status code for the create org invitation not found response

func (*CreateOrgInvitationNotFound) Error

func (*CreateOrgInvitationNotFound) GetPayload

func (*CreateOrgInvitationNotFound) IsClientError

func (o *CreateOrgInvitationNotFound) IsClientError() bool

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

func (*CreateOrgInvitationNotFound) IsCode

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

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

func (*CreateOrgInvitationNotFound) IsRedirect

func (o *CreateOrgInvitationNotFound) IsRedirect() bool

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

func (*CreateOrgInvitationNotFound) IsServerError

func (o *CreateOrgInvitationNotFound) IsServerError() bool

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

func (*CreateOrgInvitationNotFound) IsSuccess

func (o *CreateOrgInvitationNotFound) IsSuccess() bool

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

func (*CreateOrgInvitationNotFound) String

func (o *CreateOrgInvitationNotFound) String() string

type CreateOrgInvitationNotFoundBody

type CreateOrgInvitationNotFoundBody struct {

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

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

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

func (*CreateOrgInvitationNotFoundBody) ContextValidate

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

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

func (*CreateOrgInvitationNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBody) Validate

Validate validates this create org invitation not found body

type CreateOrgInvitationNotFoundBodyErrorsItems0

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

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

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

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

func (*CreateOrgInvitationNotFoundBodyErrorsItems0) ContextValidate

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

func (*CreateOrgInvitationNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0) Validate

Validate validates this create org invitation not found body errors items0

type CreateOrgInvitationNotFoundBodyErrorsItems0Links struct {

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

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

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Links) Validate

Validate validates this create org invitation not found body errors items0 links

type CreateOrgInvitationNotFoundBodyErrorsItems0Source

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

CreateOrgInvitationNotFoundBodyErrorsItems0Source create org invitation not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgInvitationNotFoundBodyErrorsItems0Source

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyErrorsItems0Source) Validate

Validate validates this create org invitation not found body errors items0 source

type CreateOrgInvitationNotFoundBodyJsonapi

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

CreateOrgInvitationNotFoundBodyJsonapi create org invitation not found body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgInvitationNotFoundBodyJsonapi

func (*CreateOrgInvitationNotFoundBodyJsonapi) ContextValidate

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

func (*CreateOrgInvitationNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationNotFoundBodyJsonapi) Validate

Validate validates this create org invitation not found body jsonapi

type CreateOrgInvitationParams

type CreateOrgInvitationParams struct {

	// Body.
	Body CreateOrgInvitationBody

	/* OrgID.

	   The id of the org the user is being invited to

	   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
}

CreateOrgInvitationParams contains all the parameters to send to the API endpoint

for the create org invitation operation.

Typically these are written to a http.Request.

func NewCreateOrgInvitationParams

func NewCreateOrgInvitationParams() *CreateOrgInvitationParams

NewCreateOrgInvitationParams creates a new CreateOrgInvitationParams 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 NewCreateOrgInvitationParamsWithContext

func NewCreateOrgInvitationParamsWithContext(ctx context.Context) *CreateOrgInvitationParams

NewCreateOrgInvitationParamsWithContext creates a new CreateOrgInvitationParams object with the ability to set a context for a request.

func NewCreateOrgInvitationParamsWithHTTPClient

func NewCreateOrgInvitationParamsWithHTTPClient(client *http.Client) *CreateOrgInvitationParams

NewCreateOrgInvitationParamsWithHTTPClient creates a new CreateOrgInvitationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrgInvitationParamsWithTimeout

func NewCreateOrgInvitationParamsWithTimeout(timeout time.Duration) *CreateOrgInvitationParams

NewCreateOrgInvitationParamsWithTimeout creates a new CreateOrgInvitationParams object with the ability to set a timeout on a request.

func (*CreateOrgInvitationParams) SetBody

SetBody adds the body to the create org invitation params

func (*CreateOrgInvitationParams) SetContext

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

SetContext adds the context to the create org invitation params

func (*CreateOrgInvitationParams) SetDefaults

func (o *CreateOrgInvitationParams) SetDefaults()

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

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

func (*CreateOrgInvitationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org invitation params

func (*CreateOrgInvitationParams) SetOrgID

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

SetOrgID adds the orgId to the create org invitation params

func (*CreateOrgInvitationParams) SetTimeout

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

SetTimeout adds the timeout to the create org invitation params

func (*CreateOrgInvitationParams) SetVersion

func (o *CreateOrgInvitationParams) SetVersion(version string)

SetVersion adds the version to the create org invitation params

func (*CreateOrgInvitationParams) WithBody

WithBody adds the body to the create org invitation params

func (*CreateOrgInvitationParams) WithContext

WithContext adds the context to the create org invitation params

func (*CreateOrgInvitationParams) WithDefaults

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

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

func (*CreateOrgInvitationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create org invitation params

func (*CreateOrgInvitationParams) WithOrgID

WithOrgID adds the orgID to the create org invitation params

func (*CreateOrgInvitationParams) WithTimeout

WithTimeout adds the timeout to the create org invitation params

func (*CreateOrgInvitationParams) WithVersion

WithVersion adds the version to the create org invitation params

func (*CreateOrgInvitationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrgInvitationReader

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

CreateOrgInvitationReader is a Reader for the CreateOrgInvitation structure.

func (*CreateOrgInvitationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrgInvitationUnauthorized

type CreateOrgInvitationUnauthorized 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 *CreateOrgInvitationUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewCreateOrgInvitationUnauthorized

func NewCreateOrgInvitationUnauthorized() *CreateOrgInvitationUnauthorized

NewCreateOrgInvitationUnauthorized creates a CreateOrgInvitationUnauthorized with default headers values

func (*CreateOrgInvitationUnauthorized) Code

Code gets the status code for the create org invitation unauthorized response

func (*CreateOrgInvitationUnauthorized) Error

func (*CreateOrgInvitationUnauthorized) GetPayload

func (*CreateOrgInvitationUnauthorized) IsClientError

func (o *CreateOrgInvitationUnauthorized) IsClientError() bool

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

func (*CreateOrgInvitationUnauthorized) IsCode

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

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

func (*CreateOrgInvitationUnauthorized) IsRedirect

func (o *CreateOrgInvitationUnauthorized) IsRedirect() bool

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

func (*CreateOrgInvitationUnauthorized) IsServerError

func (o *CreateOrgInvitationUnauthorized) IsServerError() bool

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

func (*CreateOrgInvitationUnauthorized) IsSuccess

func (o *CreateOrgInvitationUnauthorized) IsSuccess() bool

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

func (*CreateOrgInvitationUnauthorized) String

type CreateOrgInvitationUnauthorizedBody

type CreateOrgInvitationUnauthorizedBody struct {

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

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

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

func (*CreateOrgInvitationUnauthorizedBody) ContextValidate

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

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

func (*CreateOrgInvitationUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBody) Validate

Validate validates this create org invitation unauthorized body

type CreateOrgInvitationUnauthorizedBodyErrorsItems0

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

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

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

CreateOrgInvitationUnauthorizedBodyErrorsItems0 create org invitation unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateOrgInvitationUnauthorizedBodyErrorsItems0

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0) Validate

Validate validates this create org invitation unauthorized body errors items0

type CreateOrgInvitationUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this create org invitation unauthorized body errors items0 links

type CreateOrgInvitationUnauthorizedBodyErrorsItems0Source

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

CreateOrgInvitationUnauthorizedBodyErrorsItems0Source create org invitation unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgInvitationUnauthorizedBodyErrorsItems0Source

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this create org invitation unauthorized body errors items0 source

type CreateOrgInvitationUnauthorizedBodyJsonapi

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

CreateOrgInvitationUnauthorizedBodyJsonapi create org invitation unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgInvitationUnauthorizedBodyJsonapi

func (*CreateOrgInvitationUnauthorizedBodyJsonapi) ContextValidate

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

func (*CreateOrgInvitationUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgInvitationUnauthorizedBodyJsonapi) Validate

Validate validates this create org invitation unauthorized body jsonapi

type DeleteOrgInvitationBadRequest

type DeleteOrgInvitationBadRequest 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 *DeleteOrgInvitationBadRequestBody
}

DeleteOrgInvitationBadRequest 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 NewDeleteOrgInvitationBadRequest

func NewDeleteOrgInvitationBadRequest() *DeleteOrgInvitationBadRequest

NewDeleteOrgInvitationBadRequest creates a DeleteOrgInvitationBadRequest with default headers values

func (*DeleteOrgInvitationBadRequest) Code

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

func (*DeleteOrgInvitationBadRequest) Error

func (*DeleteOrgInvitationBadRequest) GetPayload

func (*DeleteOrgInvitationBadRequest) IsClientError

func (o *DeleteOrgInvitationBadRequest) IsClientError() bool

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

func (*DeleteOrgInvitationBadRequest) IsCode

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

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

func (*DeleteOrgInvitationBadRequest) IsRedirect

func (o *DeleteOrgInvitationBadRequest) IsRedirect() bool

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

func (*DeleteOrgInvitationBadRequest) IsServerError

func (o *DeleteOrgInvitationBadRequest) IsServerError() bool

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

func (*DeleteOrgInvitationBadRequest) IsSuccess

func (o *DeleteOrgInvitationBadRequest) IsSuccess() bool

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

func (*DeleteOrgInvitationBadRequest) String

type DeleteOrgInvitationBadRequestBody

type DeleteOrgInvitationBadRequestBody struct {

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

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

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

func (*DeleteOrgInvitationBadRequestBody) ContextValidate

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

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

func (*DeleteOrgInvitationBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBody) Validate

Validate validates this delete org invitation bad request body

type DeleteOrgInvitationBadRequestBodyErrorsItems0

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

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

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

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0) Validate

Validate validates this delete org invitation bad request body errors items0

type DeleteOrgInvitationBadRequestBodyErrorsItems0Links struct {

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

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Links) Validate

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

type DeleteOrgInvitationBadRequestBodyErrorsItems0Source

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

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyErrorsItems0Source) Validate

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

type DeleteOrgInvitationBadRequestBodyJsonapi

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

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

func (*DeleteOrgInvitationBadRequestBodyJsonapi) ContextValidate

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

func (*DeleteOrgInvitationBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationBadRequestBodyJsonapi) Validate

Validate validates this delete org invitation bad request body jsonapi

type DeleteOrgInvitationForbidden

type DeleteOrgInvitationForbidden 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 *DeleteOrgInvitationForbiddenBody
}

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

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

func NewDeleteOrgInvitationForbidden

func NewDeleteOrgInvitationForbidden() *DeleteOrgInvitationForbidden

NewDeleteOrgInvitationForbidden creates a DeleteOrgInvitationForbidden with default headers values

func (*DeleteOrgInvitationForbidden) Code

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

func (*DeleteOrgInvitationForbidden) Error

func (*DeleteOrgInvitationForbidden) GetPayload

func (*DeleteOrgInvitationForbidden) IsClientError

func (o *DeleteOrgInvitationForbidden) IsClientError() bool

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

func (*DeleteOrgInvitationForbidden) IsCode

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

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

func (*DeleteOrgInvitationForbidden) IsRedirect

func (o *DeleteOrgInvitationForbidden) IsRedirect() bool

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

func (*DeleteOrgInvitationForbidden) IsServerError

func (o *DeleteOrgInvitationForbidden) IsServerError() bool

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

func (*DeleteOrgInvitationForbidden) IsSuccess

func (o *DeleteOrgInvitationForbidden) IsSuccess() bool

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

func (*DeleteOrgInvitationForbidden) String

type DeleteOrgInvitationForbiddenBody

type DeleteOrgInvitationForbiddenBody struct {

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

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

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

func (*DeleteOrgInvitationForbiddenBody) ContextValidate

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

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

func (*DeleteOrgInvitationForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBody) Validate

Validate validates this delete org invitation forbidden body

type DeleteOrgInvitationForbiddenBodyErrorsItems0

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

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

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

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0) Validate

Validate validates this delete org invitation forbidden body errors items0

type DeleteOrgInvitationForbiddenBodyErrorsItems0Links struct {

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

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete org invitation forbidden body errors items0 links

type DeleteOrgInvitationForbiddenBodyErrorsItems0Source

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

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete org invitation forbidden body errors items0 source

type DeleteOrgInvitationForbiddenBodyJsonapi

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

DeleteOrgInvitationForbiddenBodyJsonapi delete org invitation forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgInvitationForbiddenBodyJsonapi

func (*DeleteOrgInvitationForbiddenBodyJsonapi) ContextValidate

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

func (*DeleteOrgInvitationForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationForbiddenBodyJsonapi) Validate

Validate validates this delete org invitation forbidden body jsonapi

type DeleteOrgInvitationInternalServerError

type DeleteOrgInvitationInternalServerError 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 *DeleteOrgInvitationInternalServerErrorBody
}

DeleteOrgInvitationInternalServerError 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 NewDeleteOrgInvitationInternalServerError

func NewDeleteOrgInvitationInternalServerError() *DeleteOrgInvitationInternalServerError

NewDeleteOrgInvitationInternalServerError creates a DeleteOrgInvitationInternalServerError with default headers values

func (*DeleteOrgInvitationInternalServerError) Code

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

func (*DeleteOrgInvitationInternalServerError) Error

func (*DeleteOrgInvitationInternalServerError) GetPayload

func (*DeleteOrgInvitationInternalServerError) IsClientError

func (o *DeleteOrgInvitationInternalServerError) IsClientError() bool

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

func (*DeleteOrgInvitationInternalServerError) IsCode

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

func (*DeleteOrgInvitationInternalServerError) IsRedirect

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

func (*DeleteOrgInvitationInternalServerError) IsServerError

func (o *DeleteOrgInvitationInternalServerError) IsServerError() bool

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

func (*DeleteOrgInvitationInternalServerError) IsSuccess

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

func (*DeleteOrgInvitationInternalServerError) String

type DeleteOrgInvitationInternalServerErrorBody

type DeleteOrgInvitationInternalServerErrorBody struct {

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

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

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

func (*DeleteOrgInvitationInternalServerErrorBody) ContextValidate

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

func (*DeleteOrgInvitationInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBody) Validate

Validate validates this delete org invitation internal server error body

type DeleteOrgInvitationInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0) Validate

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

type DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Links) Validate

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

type DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Source

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

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyErrorsItems0Source) Validate

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

type DeleteOrgInvitationInternalServerErrorBodyJsonapi

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

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

func (*DeleteOrgInvitationInternalServerErrorBodyJsonapi) ContextValidate

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

func (*DeleteOrgInvitationInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationInternalServerErrorBodyJsonapi) Validate

Validate validates this delete org invitation internal server error body jsonapi

type DeleteOrgInvitationNoContent

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

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

The operation completed successfully with no content

func NewDeleteOrgInvitationNoContent

func NewDeleteOrgInvitationNoContent() *DeleteOrgInvitationNoContent

NewDeleteOrgInvitationNoContent creates a DeleteOrgInvitationNoContent with default headers values

func (*DeleteOrgInvitationNoContent) Code

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

func (*DeleteOrgInvitationNoContent) Error

func (*DeleteOrgInvitationNoContent) IsClientError

func (o *DeleteOrgInvitationNoContent) IsClientError() bool

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

func (*DeleteOrgInvitationNoContent) IsCode

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

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

func (*DeleteOrgInvitationNoContent) IsRedirect

func (o *DeleteOrgInvitationNoContent) IsRedirect() bool

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

func (*DeleteOrgInvitationNoContent) IsServerError

func (o *DeleteOrgInvitationNoContent) IsServerError() bool

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

func (*DeleteOrgInvitationNoContent) IsSuccess

func (o *DeleteOrgInvitationNoContent) IsSuccess() bool

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

func (*DeleteOrgInvitationNoContent) String

type DeleteOrgInvitationNotFound

type DeleteOrgInvitationNotFound 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 *DeleteOrgInvitationNotFoundBody
}

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

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

func NewDeleteOrgInvitationNotFound

func NewDeleteOrgInvitationNotFound() *DeleteOrgInvitationNotFound

NewDeleteOrgInvitationNotFound creates a DeleteOrgInvitationNotFound with default headers values

func (*DeleteOrgInvitationNotFound) Code

func (o *DeleteOrgInvitationNotFound) Code() int

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

func (*DeleteOrgInvitationNotFound) Error

func (*DeleteOrgInvitationNotFound) GetPayload

func (*DeleteOrgInvitationNotFound) IsClientError

func (o *DeleteOrgInvitationNotFound) IsClientError() bool

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

func (*DeleteOrgInvitationNotFound) IsCode

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

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

func (*DeleteOrgInvitationNotFound) IsRedirect

func (o *DeleteOrgInvitationNotFound) IsRedirect() bool

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

func (*DeleteOrgInvitationNotFound) IsServerError

func (o *DeleteOrgInvitationNotFound) IsServerError() bool

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

func (*DeleteOrgInvitationNotFound) IsSuccess

func (o *DeleteOrgInvitationNotFound) IsSuccess() bool

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

func (*DeleteOrgInvitationNotFound) String

func (o *DeleteOrgInvitationNotFound) String() string

type DeleteOrgInvitationNotFoundBody

type DeleteOrgInvitationNotFoundBody struct {

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

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

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

func (*DeleteOrgInvitationNotFoundBody) ContextValidate

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

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

func (*DeleteOrgInvitationNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBody) Validate

Validate validates this delete org invitation not found body

type DeleteOrgInvitationNotFoundBodyErrorsItems0

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

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

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

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0) Validate

Validate validates this delete org invitation not found body errors items0

type DeleteOrgInvitationNotFoundBodyErrorsItems0Links struct {

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

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Links) Validate

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

type DeleteOrgInvitationNotFoundBodyErrorsItems0Source

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

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyErrorsItems0Source) Validate

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

type DeleteOrgInvitationNotFoundBodyJsonapi

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

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

func (*DeleteOrgInvitationNotFoundBodyJsonapi) ContextValidate

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

func (*DeleteOrgInvitationNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationNotFoundBodyJsonapi) Validate

Validate validates this delete org invitation not found body jsonapi

type DeleteOrgInvitationParams

type DeleteOrgInvitationParams struct {

	/* InviteID.

	   The id of the pending invite to cancel

	   Format: uuid
	*/
	InviteID strfmt.UUID

	/* OrgID.

	   The id of the org the user is being invited to

	   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
}

DeleteOrgInvitationParams contains all the parameters to send to the API endpoint

for the delete org invitation operation.

Typically these are written to a http.Request.

func NewDeleteOrgInvitationParams

func NewDeleteOrgInvitationParams() *DeleteOrgInvitationParams

NewDeleteOrgInvitationParams creates a new DeleteOrgInvitationParams 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 NewDeleteOrgInvitationParamsWithContext

func NewDeleteOrgInvitationParamsWithContext(ctx context.Context) *DeleteOrgInvitationParams

NewDeleteOrgInvitationParamsWithContext creates a new DeleteOrgInvitationParams object with the ability to set a context for a request.

func NewDeleteOrgInvitationParamsWithHTTPClient

func NewDeleteOrgInvitationParamsWithHTTPClient(client *http.Client) *DeleteOrgInvitationParams

NewDeleteOrgInvitationParamsWithHTTPClient creates a new DeleteOrgInvitationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrgInvitationParamsWithTimeout

func NewDeleteOrgInvitationParamsWithTimeout(timeout time.Duration) *DeleteOrgInvitationParams

NewDeleteOrgInvitationParamsWithTimeout creates a new DeleteOrgInvitationParams object with the ability to set a timeout on a request.

func (*DeleteOrgInvitationParams) SetContext

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

SetContext adds the context to the delete org invitation params

func (*DeleteOrgInvitationParams) SetDefaults

func (o *DeleteOrgInvitationParams) SetDefaults()

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

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

func (*DeleteOrgInvitationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete org invitation params

func (*DeleteOrgInvitationParams) SetInviteID

func (o *DeleteOrgInvitationParams) SetInviteID(inviteID strfmt.UUID)

SetInviteID adds the inviteId to the delete org invitation params

func (*DeleteOrgInvitationParams) SetOrgID

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

SetOrgID adds the orgId to the delete org invitation params

func (*DeleteOrgInvitationParams) SetTimeout

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

SetTimeout adds the timeout to the delete org invitation params

func (*DeleteOrgInvitationParams) SetVersion

func (o *DeleteOrgInvitationParams) SetVersion(version string)

SetVersion adds the version to the delete org invitation params

func (*DeleteOrgInvitationParams) WithContext

WithContext adds the context to the delete org invitation params

func (*DeleteOrgInvitationParams) WithDefaults

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

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

func (*DeleteOrgInvitationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete org invitation params

func (*DeleteOrgInvitationParams) WithInviteID

WithInviteID adds the inviteID to the delete org invitation params

func (*DeleteOrgInvitationParams) WithOrgID

WithOrgID adds the orgID to the delete org invitation params

func (*DeleteOrgInvitationParams) WithTimeout

WithTimeout adds the timeout to the delete org invitation params

func (*DeleteOrgInvitationParams) WithVersion

WithVersion adds the version to the delete org invitation params

func (*DeleteOrgInvitationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrgInvitationReader

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

DeleteOrgInvitationReader is a Reader for the DeleteOrgInvitation structure.

func (*DeleteOrgInvitationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrgInvitationUnauthorized

type DeleteOrgInvitationUnauthorized 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 *DeleteOrgInvitationUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewDeleteOrgInvitationUnauthorized

func NewDeleteOrgInvitationUnauthorized() *DeleteOrgInvitationUnauthorized

NewDeleteOrgInvitationUnauthorized creates a DeleteOrgInvitationUnauthorized with default headers values

func (*DeleteOrgInvitationUnauthorized) Code

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

func (*DeleteOrgInvitationUnauthorized) Error

func (*DeleteOrgInvitationUnauthorized) GetPayload

func (*DeleteOrgInvitationUnauthorized) IsClientError

func (o *DeleteOrgInvitationUnauthorized) IsClientError() bool

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

func (*DeleteOrgInvitationUnauthorized) IsCode

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

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

func (*DeleteOrgInvitationUnauthorized) IsRedirect

func (o *DeleteOrgInvitationUnauthorized) IsRedirect() bool

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

func (*DeleteOrgInvitationUnauthorized) IsServerError

func (o *DeleteOrgInvitationUnauthorized) IsServerError() bool

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

func (*DeleteOrgInvitationUnauthorized) IsSuccess

func (o *DeleteOrgInvitationUnauthorized) IsSuccess() bool

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

func (*DeleteOrgInvitationUnauthorized) String

type DeleteOrgInvitationUnauthorizedBody

type DeleteOrgInvitationUnauthorizedBody struct {

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

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

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

func (*DeleteOrgInvitationUnauthorizedBody) ContextValidate

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

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

func (*DeleteOrgInvitationUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBody) Validate

Validate validates this delete org invitation unauthorized body

type DeleteOrgInvitationUnauthorizedBodyErrorsItems0

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

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

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

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete org invitation unauthorized body errors items0

type DeleteOrgInvitationUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete org invitation unauthorized body errors items0 links

type DeleteOrgInvitationUnauthorizedBodyErrorsItems0Source

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

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete org invitation unauthorized body errors items0 source

type DeleteOrgInvitationUnauthorizedBodyJsonapi

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

DeleteOrgInvitationUnauthorizedBodyJsonapi delete org invitation unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgInvitationUnauthorizedBodyJsonapi

func (*DeleteOrgInvitationUnauthorizedBodyJsonapi) ContextValidate

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

func (*DeleteOrgInvitationUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOrgInvitationUnauthorizedBodyJsonapi) Validate

Validate validates this delete org invitation unauthorized body jsonapi

type ListOrgInvitationBadRequest

type ListOrgInvitationBadRequest 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 *ListOrgInvitationBadRequestBody
}

ListOrgInvitationBadRequest 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 NewListOrgInvitationBadRequest

func NewListOrgInvitationBadRequest() *ListOrgInvitationBadRequest

NewListOrgInvitationBadRequest creates a ListOrgInvitationBadRequest with default headers values

func (*ListOrgInvitationBadRequest) Code

func (o *ListOrgInvitationBadRequest) Code() int

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

func (*ListOrgInvitationBadRequest) Error

func (*ListOrgInvitationBadRequest) GetPayload

func (*ListOrgInvitationBadRequest) IsClientError

func (o *ListOrgInvitationBadRequest) IsClientError() bool

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

func (*ListOrgInvitationBadRequest) IsCode

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

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

func (*ListOrgInvitationBadRequest) IsRedirect

func (o *ListOrgInvitationBadRequest) IsRedirect() bool

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

func (*ListOrgInvitationBadRequest) IsServerError

func (o *ListOrgInvitationBadRequest) IsServerError() bool

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

func (*ListOrgInvitationBadRequest) IsSuccess

func (o *ListOrgInvitationBadRequest) IsSuccess() bool

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

func (*ListOrgInvitationBadRequest) String

func (o *ListOrgInvitationBadRequest) String() string

type ListOrgInvitationBadRequestBody

type ListOrgInvitationBadRequestBody struct {

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

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

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

func (*ListOrgInvitationBadRequestBody) ContextValidate

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

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

func (*ListOrgInvitationBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBody) Validate

Validate validates this list org invitation bad request body

type ListOrgInvitationBadRequestBodyErrorsItems0

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

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

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

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0) ContextValidate

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0) Validate

Validate validates this list org invitation bad request body errors items0

type ListOrgInvitationBadRequestBodyErrorsItems0Links struct {

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

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0Links) Validate

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

type ListOrgInvitationBadRequestBodyErrorsItems0Source

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

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgInvitationBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyErrorsItems0Source) Validate

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

type ListOrgInvitationBadRequestBodyJsonapi

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

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

func (*ListOrgInvitationBadRequestBodyJsonapi) ContextValidate

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

func (*ListOrgInvitationBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationBadRequestBodyJsonapi) Validate

Validate validates this list org invitation bad request body jsonapi

type ListOrgInvitationForbidden

type ListOrgInvitationForbidden 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 *ListOrgInvitationForbiddenBody
}

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

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

func NewListOrgInvitationForbidden

func NewListOrgInvitationForbidden() *ListOrgInvitationForbidden

NewListOrgInvitationForbidden creates a ListOrgInvitationForbidden with default headers values

func (*ListOrgInvitationForbidden) Code

func (o *ListOrgInvitationForbidden) Code() int

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

func (*ListOrgInvitationForbidden) Error

func (*ListOrgInvitationForbidden) GetPayload

func (*ListOrgInvitationForbidden) IsClientError

func (o *ListOrgInvitationForbidden) IsClientError() bool

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

func (*ListOrgInvitationForbidden) IsCode

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

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

func (*ListOrgInvitationForbidden) IsRedirect

func (o *ListOrgInvitationForbidden) IsRedirect() bool

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

func (*ListOrgInvitationForbidden) IsServerError

func (o *ListOrgInvitationForbidden) IsServerError() bool

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

func (*ListOrgInvitationForbidden) IsSuccess

func (o *ListOrgInvitationForbidden) IsSuccess() bool

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

func (*ListOrgInvitationForbidden) String

func (o *ListOrgInvitationForbidden) String() string

type ListOrgInvitationForbiddenBody

type ListOrgInvitationForbiddenBody struct {

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

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

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

func (*ListOrgInvitationForbiddenBody) ContextValidate

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

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

func (*ListOrgInvitationForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBody) Validate

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

Validate validates this list org invitation forbidden body

type ListOrgInvitationForbiddenBodyErrorsItems0

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

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

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

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0) ContextValidate

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0) Validate

Validate validates this list org invitation forbidden body errors items0

type ListOrgInvitationForbiddenBodyErrorsItems0Links struct {

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

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0Links) Validate

Validate validates this list org invitation forbidden body errors items0 links

type ListOrgInvitationForbiddenBodyErrorsItems0Source

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

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgInvitationForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyErrorsItems0Source) Validate

Validate validates this list org invitation forbidden body errors items0 source

type ListOrgInvitationForbiddenBodyJsonapi

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

ListOrgInvitationForbiddenBodyJsonapi list org invitation forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgInvitationForbiddenBodyJsonapi

func (*ListOrgInvitationForbiddenBodyJsonapi) ContextValidate

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

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

func (*ListOrgInvitationForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationForbiddenBodyJsonapi) Validate

Validate validates this list org invitation forbidden body jsonapi

type ListOrgInvitationInternalServerError

type ListOrgInvitationInternalServerError 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 *ListOrgInvitationInternalServerErrorBody
}

ListOrgInvitationInternalServerError 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 NewListOrgInvitationInternalServerError

func NewListOrgInvitationInternalServerError() *ListOrgInvitationInternalServerError

NewListOrgInvitationInternalServerError creates a ListOrgInvitationInternalServerError with default headers values

func (*ListOrgInvitationInternalServerError) Code

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

func (*ListOrgInvitationInternalServerError) Error

func (*ListOrgInvitationInternalServerError) GetPayload

func (*ListOrgInvitationInternalServerError) IsClientError

func (o *ListOrgInvitationInternalServerError) IsClientError() bool

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

func (*ListOrgInvitationInternalServerError) IsCode

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

func (*ListOrgInvitationInternalServerError) IsRedirect

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

func (*ListOrgInvitationInternalServerError) IsServerError

func (o *ListOrgInvitationInternalServerError) IsServerError() bool

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

func (*ListOrgInvitationInternalServerError) IsSuccess

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

func (*ListOrgInvitationInternalServerError) String

type ListOrgInvitationInternalServerErrorBody

type ListOrgInvitationInternalServerErrorBody struct {

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

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

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

func (*ListOrgInvitationInternalServerErrorBody) ContextValidate

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

func (*ListOrgInvitationInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBody) Validate

Validate validates this list org invitation internal server error body

type ListOrgInvitationInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0) Validate

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

type ListOrgInvitationInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Links) Validate

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

type ListOrgInvitationInternalServerErrorBodyErrorsItems0Source

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

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyErrorsItems0Source) Validate

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

type ListOrgInvitationInternalServerErrorBodyJsonapi

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

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

func (*ListOrgInvitationInternalServerErrorBodyJsonapi) ContextValidate

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

func (*ListOrgInvitationInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationInternalServerErrorBodyJsonapi) Validate

Validate validates this list org invitation internal server error body jsonapi

type ListOrgInvitationNotFound

type ListOrgInvitationNotFound 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 *ListOrgInvitationNotFoundBody
}

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

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

func NewListOrgInvitationNotFound

func NewListOrgInvitationNotFound() *ListOrgInvitationNotFound

NewListOrgInvitationNotFound creates a ListOrgInvitationNotFound with default headers values

func (*ListOrgInvitationNotFound) Code

func (o *ListOrgInvitationNotFound) Code() int

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

func (*ListOrgInvitationNotFound) Error

func (o *ListOrgInvitationNotFound) Error() string

func (*ListOrgInvitationNotFound) GetPayload

func (*ListOrgInvitationNotFound) IsClientError

func (o *ListOrgInvitationNotFound) IsClientError() bool

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

func (*ListOrgInvitationNotFound) IsCode

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

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

func (*ListOrgInvitationNotFound) IsRedirect

func (o *ListOrgInvitationNotFound) IsRedirect() bool

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

func (*ListOrgInvitationNotFound) IsServerError

func (o *ListOrgInvitationNotFound) IsServerError() bool

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

func (*ListOrgInvitationNotFound) IsSuccess

func (o *ListOrgInvitationNotFound) IsSuccess() bool

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

func (*ListOrgInvitationNotFound) String

func (o *ListOrgInvitationNotFound) String() string

type ListOrgInvitationNotFoundBody

type ListOrgInvitationNotFoundBody struct {

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

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

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

func (*ListOrgInvitationNotFoundBody) ContextValidate

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

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

func (*ListOrgInvitationNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBody) Validate

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

Validate validates this list org invitation not found body

type ListOrgInvitationNotFoundBodyErrorsItems0

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

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

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

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0) ContextValidate

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0) Validate

Validate validates this list org invitation not found body errors items0

type ListOrgInvitationNotFoundBodyErrorsItems0Links struct {

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

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0Links) Validate

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

type ListOrgInvitationNotFoundBodyErrorsItems0Source

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

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgInvitationNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyErrorsItems0Source) Validate

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

type ListOrgInvitationNotFoundBodyJsonapi

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

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

func (*ListOrgInvitationNotFoundBodyJsonapi) ContextValidate

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

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

func (*ListOrgInvitationNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationNotFoundBodyJsonapi) Validate

Validate validates this list org invitation not found body jsonapi

type ListOrgInvitationOK

type ListOrgInvitationOK 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 *ListOrgInvitationOKBody
}

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

List of pending invitations to an organization.

func NewListOrgInvitationOK

func NewListOrgInvitationOK() *ListOrgInvitationOK

NewListOrgInvitationOK creates a ListOrgInvitationOK with default headers values

func (*ListOrgInvitationOK) Code

func (o *ListOrgInvitationOK) Code() int

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

func (*ListOrgInvitationOK) Error

func (o *ListOrgInvitationOK) Error() string

func (*ListOrgInvitationOK) GetPayload

func (*ListOrgInvitationOK) IsClientError

func (o *ListOrgInvitationOK) IsClientError() bool

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

func (*ListOrgInvitationOK) IsCode

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

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

func (*ListOrgInvitationOK) IsRedirect

func (o *ListOrgInvitationOK) IsRedirect() bool

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

func (*ListOrgInvitationOK) IsServerError

func (o *ListOrgInvitationOK) IsServerError() bool

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

func (*ListOrgInvitationOK) IsSuccess

func (o *ListOrgInvitationOK) IsSuccess() bool

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

func (*ListOrgInvitationOK) String

func (o *ListOrgInvitationOK) String() string

type ListOrgInvitationOKBody

type ListOrgInvitationOKBody struct {

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

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

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

ListOrgInvitationOKBody list org invitation o k body swagger:model ListOrgInvitationOKBody

func (*ListOrgInvitationOKBody) ContextValidate

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

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

func (*ListOrgInvitationOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationOKBody) Validate

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

Validate validates this list org invitation o k body

type ListOrgInvitationParams

type ListOrgInvitationParams struct {

	/* EndingBefore.

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

	/* Limit.

	   Number of results to return per page

	   Format: int32
	   Default: 10
	*/
	Limit *int32

	/* OrgID.

	   The id of the org the user is being invited to

	   Format: uuid
	*/
	OrgID strfmt.UUID

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

ListOrgInvitationParams contains all the parameters to send to the API endpoint

for the list org invitation operation.

Typically these are written to a http.Request.

func NewListOrgInvitationParams

func NewListOrgInvitationParams() *ListOrgInvitationParams

NewListOrgInvitationParams creates a new ListOrgInvitationParams 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 NewListOrgInvitationParamsWithContext

func NewListOrgInvitationParamsWithContext(ctx context.Context) *ListOrgInvitationParams

NewListOrgInvitationParamsWithContext creates a new ListOrgInvitationParams object with the ability to set a context for a request.

func NewListOrgInvitationParamsWithHTTPClient

func NewListOrgInvitationParamsWithHTTPClient(client *http.Client) *ListOrgInvitationParams

NewListOrgInvitationParamsWithHTTPClient creates a new ListOrgInvitationParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgInvitationParamsWithTimeout

func NewListOrgInvitationParamsWithTimeout(timeout time.Duration) *ListOrgInvitationParams

NewListOrgInvitationParamsWithTimeout creates a new ListOrgInvitationParams object with the ability to set a timeout on a request.

func (*ListOrgInvitationParams) SetContext

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

SetContext adds the context to the list org invitation params

func (*ListOrgInvitationParams) SetDefaults

func (o *ListOrgInvitationParams) SetDefaults()

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

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

func (*ListOrgInvitationParams) SetEndingBefore

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

SetEndingBefore adds the endingBefore to the list org invitation params

func (*ListOrgInvitationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list org invitation params

func (*ListOrgInvitationParams) SetLimit

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

SetLimit adds the limit to the list org invitation params

func (*ListOrgInvitationParams) SetOrgID

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

SetOrgID adds the orgId to the list org invitation params

func (*ListOrgInvitationParams) SetStartingAfter

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

SetStartingAfter adds the startingAfter to the list org invitation params

func (*ListOrgInvitationParams) SetTimeout

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

SetTimeout adds the timeout to the list org invitation params

func (*ListOrgInvitationParams) SetVersion

func (o *ListOrgInvitationParams) SetVersion(version string)

SetVersion adds the version to the list org invitation params

func (*ListOrgInvitationParams) WithContext

WithContext adds the context to the list org invitation params

func (*ListOrgInvitationParams) WithDefaults

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

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

func (*ListOrgInvitationParams) WithEndingBefore

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

WithEndingBefore adds the endingBefore to the list org invitation params

func (*ListOrgInvitationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list org invitation params

func (*ListOrgInvitationParams) WithLimit

WithLimit adds the limit to the list org invitation params

func (*ListOrgInvitationParams) WithOrgID

WithOrgID adds the orgID to the list org invitation params

func (*ListOrgInvitationParams) WithStartingAfter

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

WithStartingAfter adds the startingAfter to the list org invitation params

func (*ListOrgInvitationParams) WithTimeout

WithTimeout adds the timeout to the list org invitation params

func (*ListOrgInvitationParams) WithVersion

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

WithVersion adds the version to the list org invitation params

func (*ListOrgInvitationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrgInvitationReader

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

ListOrgInvitationReader is a Reader for the ListOrgInvitation structure.

func (*ListOrgInvitationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgInvitationUnauthorized

type ListOrgInvitationUnauthorized 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 *ListOrgInvitationUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewListOrgInvitationUnauthorized

func NewListOrgInvitationUnauthorized() *ListOrgInvitationUnauthorized

NewListOrgInvitationUnauthorized creates a ListOrgInvitationUnauthorized with default headers values

func (*ListOrgInvitationUnauthorized) Code

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

func (*ListOrgInvitationUnauthorized) Error

func (*ListOrgInvitationUnauthorized) GetPayload

func (*ListOrgInvitationUnauthorized) IsClientError

func (o *ListOrgInvitationUnauthorized) IsClientError() bool

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

func (*ListOrgInvitationUnauthorized) IsCode

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

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

func (*ListOrgInvitationUnauthorized) IsRedirect

func (o *ListOrgInvitationUnauthorized) IsRedirect() bool

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

func (*ListOrgInvitationUnauthorized) IsServerError

func (o *ListOrgInvitationUnauthorized) IsServerError() bool

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

func (*ListOrgInvitationUnauthorized) IsSuccess

func (o *ListOrgInvitationUnauthorized) IsSuccess() bool

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

func (*ListOrgInvitationUnauthorized) String

type ListOrgInvitationUnauthorizedBody

type ListOrgInvitationUnauthorizedBody struct {

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

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

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

func (*ListOrgInvitationUnauthorizedBody) ContextValidate

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

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

func (*ListOrgInvitationUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBody) Validate

Validate validates this list org invitation unauthorized body

type ListOrgInvitationUnauthorizedBodyErrorsItems0

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

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

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

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0) Validate

Validate validates this list org invitation unauthorized body errors items0

type ListOrgInvitationUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this list org invitation unauthorized body errors items0 links

type ListOrgInvitationUnauthorizedBodyErrorsItems0Source

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

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this list org invitation unauthorized body errors items0 source

type ListOrgInvitationUnauthorizedBodyJsonapi

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

ListOrgInvitationUnauthorizedBodyJsonapi list org invitation unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgInvitationUnauthorizedBodyJsonapi

func (*ListOrgInvitationUnauthorizedBodyJsonapi) ContextValidate

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

func (*ListOrgInvitationUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgInvitationUnauthorizedBodyJsonapi) Validate

Validate validates this list org invitation unauthorized body jsonapi

Jump to

Keyboard shortcuts

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