service_accounts

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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	CreateGroupServiceAccountCreatedBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// CreateGroupServiceAccountCreatedBodyDataAttributesLevelGroup captures enum value "Group"
	CreateGroupServiceAccountCreatedBodyDataAttributesLevelGroup string = "Group"

	// CreateGroupServiceAccountCreatedBodyDataAttributesLevelOrg captures enum value "Org"
	CreateGroupServiceAccountCreatedBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	CreateGroupServiceAccountParamsBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	CreateOrgServiceAccountCreatedBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// CreateOrgServiceAccountCreatedBodyDataAttributesLevelGroup captures enum value "Group"
	CreateOrgServiceAccountCreatedBodyDataAttributesLevelGroup string = "Group"

	// CreateOrgServiceAccountCreatedBodyDataAttributesLevelOrg captures enum value "Org"
	CreateOrgServiceAccountCreatedBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	CreateOrgServiceAccountParamsBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeAPIKey captures enum value "api_key"
	GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeAPIKey string = "api_key"

	// GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	GetManyGroupServiceAccountOKBodyDataItems0AttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// GetManyGroupServiceAccountOKBodyDataItems0AttributesLevelGroup captures enum value "Group"
	GetManyGroupServiceAccountOKBodyDataItems0AttributesLevelGroup string = "Group"

	// GetManyGroupServiceAccountOKBodyDataItems0AttributesLevelOrg captures enum value "Org"
	GetManyGroupServiceAccountOKBodyDataItems0AttributesLevelOrg string = "Org"
)
View Source
const (

	// GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeAPIKey captures enum value "api_key"
	GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeAPIKey string = "api_key"

	// GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	GetManyOrgServiceAccountsOKBodyDataItems0AttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// GetManyOrgServiceAccountsOKBodyDataItems0AttributesLevelGroup captures enum value "Group"
	GetManyOrgServiceAccountsOKBodyDataItems0AttributesLevelGroup string = "Group"

	// GetManyOrgServiceAccountsOKBodyDataItems0AttributesLevelOrg captures enum value "Org"
	GetManyOrgServiceAccountsOKBodyDataItems0AttributesLevelOrg string = "Org"
)
View Source
const (

	// GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	GetOneGroupServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// GetOneGroupServiceAccountOKBodyDataAttributesLevelGroup captures enum value "Group"
	GetOneGroupServiceAccountOKBodyDataAttributesLevelGroup string = "Group"

	// GetOneGroupServiceAccountOKBodyDataAttributesLevelOrg captures enum value "Org"
	GetOneGroupServiceAccountOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	GetOneOrgServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// GetOneOrgServiceAccountOKBodyDataAttributesLevelGroup captures enum value "Group"
	GetOneOrgServiceAccountOKBodyDataAttributesLevelGroup string = "Group"

	// GetOneOrgServiceAccountOKBodyDataAttributesLevelOrg captures enum value "Org"
	GetOneOrgServiceAccountOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	UpdateGroupServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// UpdateGroupServiceAccountOKBodyDataAttributesLevelGroup captures enum value "Group"
	UpdateGroupServiceAccountOKBodyDataAttributesLevelGroup string = "Group"

	// UpdateGroupServiceAccountOKBodyDataAttributesLevelOrg captures enum value "Org"
	UpdateGroupServiceAccountOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	UpdateOrgServiceAccountOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// UpdateOrgServiceAccountOKBodyDataAttributesLevelGroup captures enum value "Group"
	UpdateOrgServiceAccountOKBodyDataAttributesLevelGroup string = "Group"

	// UpdateOrgServiceAccountOKBodyDataAttributesLevelOrg captures enum value "Org"
	UpdateOrgServiceAccountOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	UpdateOrgServiceAccountSecretOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// UpdateOrgServiceAccountSecretOKBodyDataAttributesLevelGroup captures enum value "Group"
	UpdateOrgServiceAccountSecretOKBodyDataAttributesLevelGroup string = "Group"

	// UpdateOrgServiceAccountSecretOKBodyDataAttributesLevelOrg captures enum value "Org"
	UpdateOrgServiceAccountSecretOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeReplace captures enum value "replace"
	UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeReplace string = "replace"

	// UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeCreate captures enum value "create"
	UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeCreate string = "create"

	// UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeDelete captures enum value "delete"
	UpdateOrgServiceAccountSecretParamsBodyDataAttributesModeDelete string = "delete"
)
View Source
const (

	// UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeAPIKey captures enum value "api_key"
	UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeAPIKey string = "api_key"

	// UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret"
	UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeOauthClientSecret string = "oauth_client_secret"

	// UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt"
	UpdateServiceAccountSecretOKBodyDataAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt"
)
View Source
const (

	// UpdateServiceAccountSecretOKBodyDataAttributesLevelGroup captures enum value "Group"
	UpdateServiceAccountSecretOKBodyDataAttributesLevelGroup string = "Group"

	// UpdateServiceAccountSecretOKBodyDataAttributesLevelOrg captures enum value "Org"
	UpdateServiceAccountSecretOKBodyDataAttributesLevelOrg string = "Org"
)
View Source
const (

	// UpdateServiceAccountSecretParamsBodyDataAttributesModeReplace captures enum value "replace"
	UpdateServiceAccountSecretParamsBodyDataAttributesModeReplace string = "replace"

	// UpdateServiceAccountSecretParamsBodyDataAttributesModeCreate captures enum value "create"
	UpdateServiceAccountSecretParamsBodyDataAttributesModeCreate string = "create"

	// UpdateServiceAccountSecretParamsBodyDataAttributesModeDelete captures enum value "delete"
	UpdateServiceAccountSecretParamsBodyDataAttributesModeDelete string = "delete"
)
View Source
const (

	// CreateGroupServiceAccountParamsBodyDataTypeServiceAccount captures enum value "service_account"
	CreateGroupServiceAccountParamsBodyDataTypeServiceAccount string = "service_account"
)
View Source
const (

	// CreateOrgServiceAccountParamsBodyDataTypeServiceAccount captures enum value "service_account"
	CreateOrgServiceAccountParamsBodyDataTypeServiceAccount string = "service_account"
)
View Source
const (

	// UpdateGroupServiceAccountParamsBodyDataTypeServiceAccount captures enum value "service_account"
	UpdateGroupServiceAccountParamsBodyDataTypeServiceAccount string = "service_account"
)
View Source
const (

	// UpdateOrgServiceAccountParamsBodyDataTypeServiceAccount captures enum value "service_account"
	UpdateOrgServiceAccountParamsBodyDataTypeServiceAccount string = "service_account"
)
View Source
const (

	// UpdateOrgServiceAccountSecretParamsBodyDataTypeServiceAccount captures enum value "service_account"
	UpdateOrgServiceAccountSecretParamsBodyDataTypeServiceAccount string = "service_account"
)
View Source
const (

	// UpdateServiceAccountSecretParamsBodyDataTypeServiceAccount captures enum value "service_account"
	UpdateServiceAccountSecretParamsBodyDataTypeServiceAccount string = "service_account"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service accounts API

func (*Client) CreateGroupServiceAccount

func (a *Client) CreateGroupServiceAccount(params *CreateGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupServiceAccountCreated, error)

CreateGroupServiceAccount creates a service account for a group

Create a service account for a group. The service account can be used to generate access tokens. Currently, we only allow group service accounts using default group roles.

func (*Client) CreateOrgServiceAccount

func (a *Client) CreateOrgServiceAccount(params *CreateOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgServiceAccountCreated, error)

CreateOrgServiceAccount creates a service account for an organization

Create a service account for an organization. The service account can be used to generate access tokens.

func (*Client) DeleteOneGroupServiceAccount

DeleteOneGroupServiceAccount deletes a group service account

Permanently delete a group-level service account by its ID.

func (*Client) DeleteServiceAccount

func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountNoContent, error)

DeleteServiceAccount deletes a service account in an organization

Delete a service account in an organization.

func (*Client) GetManyGroupServiceAccount

func (a *Client) GetManyGroupServiceAccount(params *GetManyGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManyGroupServiceAccountOK, error)

GetManyGroupServiceAccount gets a list of group service accounts

Get all service accounts for a group.

func (*Client) GetManyOrgServiceAccounts

func (a *Client) GetManyOrgServiceAccounts(params *GetManyOrgServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManyOrgServiceAccountsOK, error)

GetManyOrgServiceAccounts gets a list of organization service accounts

Get all service accounts for an organization.

func (*Client) GetOneGroupServiceAccount

func (a *Client) GetOneGroupServiceAccount(params *GetOneGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOneGroupServiceAccountOK, error)

GetOneGroupServiceAccount gets a group service account

Get a group-level service account by its ID.

func (*Client) GetOneOrgServiceAccount

func (a *Client) GetOneOrgServiceAccount(params *GetOneOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOneOrgServiceAccountOK, error)

GetOneOrgServiceAccount gets an organization service account

Get an organization-level service account by its ID.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGroupServiceAccount

func (a *Client) UpdateGroupServiceAccount(params *UpdateGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupServiceAccountOK, error)

UpdateGroupServiceAccount updates a group service account

Update the name of a group's service account by its ID.

func (*Client) UpdateOrgServiceAccount

func (a *Client) UpdateOrgServiceAccount(params *UpdateOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgServiceAccountOK, error)

UpdateOrgServiceAccount updates an organization service account

Update the name of an organization-level service account by its ID.

func (*Client) UpdateOrgServiceAccountSecret

func (a *Client) UpdateOrgServiceAccountSecret(params *UpdateOrgServiceAccountSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgServiceAccountSecretOK, error)

UpdateOrgServiceAccountSecret manages an organization service account s client secret

Manage the client secret of an organization-level service account by the service account ID.

func (*Client) UpdateServiceAccountSecret

func (a *Client) UpdateServiceAccountSecret(params *UpdateServiceAccountSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountSecretOK, error)

UpdateServiceAccountSecret manages a group service account s client secret

Manage the client secret of a group service account by the service account ID.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateGroupServiceAccount(params *CreateGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupServiceAccountCreated, error)

	CreateOrgServiceAccount(params *CreateOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgServiceAccountCreated, error)

	DeleteOneGroupServiceAccount(params *DeleteOneGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOneGroupServiceAccountNoContent, error)

	DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountNoContent, error)

	GetManyGroupServiceAccount(params *GetManyGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManyGroupServiceAccountOK, error)

	GetManyOrgServiceAccounts(params *GetManyOrgServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManyOrgServiceAccountsOK, error)

	GetOneGroupServiceAccount(params *GetOneGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOneGroupServiceAccountOK, error)

	GetOneOrgServiceAccount(params *GetOneOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOneOrgServiceAccountOK, error)

	UpdateGroupServiceAccount(params *UpdateGroupServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupServiceAccountOK, error)

	UpdateOrgServiceAccount(params *UpdateOrgServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgServiceAccountOK, error)

	UpdateOrgServiceAccountSecret(params *UpdateOrgServiceAccountSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgServiceAccountSecretOK, error)

	UpdateServiceAccountSecret(params *UpdateServiceAccountSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountSecretOK, 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 service accounts API client.

type CreateGroupServiceAccountBadRequest

type CreateGroupServiceAccountBadRequest 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 *CreateGroupServiceAccountBadRequestBody
}

CreateGroupServiceAccountBadRequest 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 NewCreateGroupServiceAccountBadRequest

func NewCreateGroupServiceAccountBadRequest() *CreateGroupServiceAccountBadRequest

NewCreateGroupServiceAccountBadRequest creates a CreateGroupServiceAccountBadRequest with default headers values

func (*CreateGroupServiceAccountBadRequest) Code

Code gets the status code for the create group service account bad request response

func (*CreateGroupServiceAccountBadRequest) Error

func (*CreateGroupServiceAccountBadRequest) GetPayload

func (*CreateGroupServiceAccountBadRequest) IsClientError

func (o *CreateGroupServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this create group service account bad request response has a 4xx status code

func (*CreateGroupServiceAccountBadRequest) IsCode

IsCode returns true when this create group service account bad request response a status code equal to that given

func (*CreateGroupServiceAccountBadRequest) IsRedirect

func (o *CreateGroupServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this create group service account bad request response has a 3xx status code

func (*CreateGroupServiceAccountBadRequest) IsServerError

func (o *CreateGroupServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this create group service account bad request response has a 5xx status code

func (*CreateGroupServiceAccountBadRequest) IsSuccess

IsSuccess returns true when this create group service account bad request response has a 2xx status code

func (*CreateGroupServiceAccountBadRequest) String

type CreateGroupServiceAccountBadRequestBody

type CreateGroupServiceAccountBadRequestBody struct {

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

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

CreateGroupServiceAccountBadRequestBody create group service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateGroupServiceAccountBadRequestBody

func (*CreateGroupServiceAccountBadRequestBody) ContextValidate

ContextValidate validate this create group service account bad request body based on the context it is used

func (*CreateGroupServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBody) Validate

Validate validates this create group service account bad request body

type CreateGroupServiceAccountBadRequestBodyErrorsItems0

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

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

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

CreateGroupServiceAccountBadRequestBodyErrorsItems0 create group service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateGroupServiceAccountBadRequestBodyErrorsItems0

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this create group service account bad request body errors items0 based on the context it is used

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this create group service account bad request body errors items0

type CreateGroupServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this create group service account bad request body errors items0 links

type CreateGroupServiceAccountBadRequestBodyErrorsItems0Source

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

CreateGroupServiceAccountBadRequestBodyErrorsItems0Source create group service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateGroupServiceAccountBadRequestBodyErrorsItems0Source

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this create group service account bad request body errors items0 source

type CreateGroupServiceAccountBadRequestBodyJsonapi

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

CreateGroupServiceAccountBadRequestBodyJsonapi create group service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model CreateGroupServiceAccountBadRequestBodyJsonapi

func (*CreateGroupServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this create group service account bad request body jsonapi based on context it is used

func (*CreateGroupServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this create group service account bad request body jsonapi

type CreateGroupServiceAccountBody

type CreateGroupServiceAccountBody struct {

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

CreateGroupServiceAccountBody create group service account body swagger:model CreateGroupServiceAccountBody

func (*CreateGroupServiceAccountBody) ContextValidate

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

ContextValidate validate this create group service account body based on the context it is used

func (*CreateGroupServiceAccountBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountBody) Validate

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

Validate validates this create group service account body

type CreateGroupServiceAccountCreated

type CreateGroupServiceAccountCreated struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *CreateGroupServiceAccountCreatedBody
}

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

A new service account has been created

func NewCreateGroupServiceAccountCreated

func NewCreateGroupServiceAccountCreated() *CreateGroupServiceAccountCreated

NewCreateGroupServiceAccountCreated creates a CreateGroupServiceAccountCreated with default headers values

func (*CreateGroupServiceAccountCreated) Code

Code gets the status code for the create group service account created response

func (*CreateGroupServiceAccountCreated) Error

func (*CreateGroupServiceAccountCreated) GetPayload

func (*CreateGroupServiceAccountCreated) IsClientError

func (o *CreateGroupServiceAccountCreated) IsClientError() bool

IsClientError returns true when this create group service account created response has a 4xx status code

func (*CreateGroupServiceAccountCreated) IsCode

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

IsCode returns true when this create group service account created response a status code equal to that given

func (*CreateGroupServiceAccountCreated) IsRedirect

func (o *CreateGroupServiceAccountCreated) IsRedirect() bool

IsRedirect returns true when this create group service account created response has a 3xx status code

func (*CreateGroupServiceAccountCreated) IsServerError

func (o *CreateGroupServiceAccountCreated) IsServerError() bool

IsServerError returns true when this create group service account created response has a 5xx status code

func (*CreateGroupServiceAccountCreated) IsSuccess

func (o *CreateGroupServiceAccountCreated) IsSuccess() bool

IsSuccess returns true when this create group service account created response has a 2xx status code

func (*CreateGroupServiceAccountCreated) String

type CreateGroupServiceAccountCreatedBody

type CreateGroupServiceAccountCreatedBody struct {

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

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

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

CreateGroupServiceAccountCreatedBody create group service account created body swagger:model CreateGroupServiceAccountCreatedBody

func (*CreateGroupServiceAccountCreatedBody) ContextValidate

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

ContextValidate validate this create group service account created body based on the context it is used

func (*CreateGroupServiceAccountCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBody) Validate

Validate validates this create group service account created body

type CreateGroupServiceAccountCreatedBodyData

type CreateGroupServiceAccountCreatedBodyData struct {

	// attributes
	// Required: true
	Attributes *CreateGroupServiceAccountCreatedBodyDataAttributes `json:"attributes"`

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

	// links
	Links *CreateGroupServiceAccountCreatedBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

CreateGroupServiceAccountCreatedBodyData create group service account created body data swagger:model CreateGroupServiceAccountCreatedBodyData

func (*CreateGroupServiceAccountCreatedBodyData) ContextValidate

ContextValidate validate this create group service account created body data based on the context it is used

func (*CreateGroupServiceAccountCreatedBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyData) Validate

Validate validates this create group service account created body data

type CreateGroupServiceAccountCreatedBodyDataAttributes

type CreateGroupServiceAccountCreatedBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

CreateGroupServiceAccountCreatedBodyDataAttributes create group service account created body data attributes swagger:model CreateGroupServiceAccountCreatedBodyDataAttributes

func (*CreateGroupServiceAccountCreatedBodyDataAttributes) ContextValidate

ContextValidate validates this create group service account created body data attributes based on context it is used

func (*CreateGroupServiceAccountCreatedBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyDataAttributes) Validate

Validate validates this create group service account created body data attributes

type CreateGroupServiceAccountCreatedBodyDataLinks struct {

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

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

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

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

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

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

CreateGroupServiceAccountCreatedBodyDataLinks create group service account created body data links swagger:model CreateGroupServiceAccountCreatedBodyDataLinks

func (*CreateGroupServiceAccountCreatedBodyDataLinks) ContextValidate

ContextValidate validates this create group service account created body data links based on context it is used

func (*CreateGroupServiceAccountCreatedBodyDataLinks) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyDataLinks) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountCreatedBodyDataLinks) Validate

Validate validates this create group service account created body data links

type CreateGroupServiceAccountInternalServerError

type CreateGroupServiceAccountInternalServerError 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 *CreateGroupServiceAccountInternalServerErrorBody
}

CreateGroupServiceAccountInternalServerError 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 NewCreateGroupServiceAccountInternalServerError

func NewCreateGroupServiceAccountInternalServerError() *CreateGroupServiceAccountInternalServerError

NewCreateGroupServiceAccountInternalServerError creates a CreateGroupServiceAccountInternalServerError with default headers values

func (*CreateGroupServiceAccountInternalServerError) Code

Code gets the status code for the create group service account internal server error response

func (*CreateGroupServiceAccountInternalServerError) Error

func (*CreateGroupServiceAccountInternalServerError) GetPayload

func (*CreateGroupServiceAccountInternalServerError) IsClientError

IsClientError returns true when this create group service account internal server error response has a 4xx status code

func (*CreateGroupServiceAccountInternalServerError) IsCode

IsCode returns true when this create group service account internal server error response a status code equal to that given

func (*CreateGroupServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this create group service account internal server error response has a 3xx status code

func (*CreateGroupServiceAccountInternalServerError) IsServerError

IsServerError returns true when this create group service account internal server error response has a 5xx status code

func (*CreateGroupServiceAccountInternalServerError) IsSuccess

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

func (*CreateGroupServiceAccountInternalServerError) String

type CreateGroupServiceAccountInternalServerErrorBody

type CreateGroupServiceAccountInternalServerErrorBody struct {

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

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

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

func (*CreateGroupServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this create group service account internal server error body based on the context it is used

func (*CreateGroupServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBody) Validate

Validate validates this create group service account internal server error body

type CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0 create group service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this create group service account internal server error body errors items0

type CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this create group service account internal server error body errors items0 links

type CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

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

CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source create group service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this create group service account internal server error body errors items0 source

type CreateGroupServiceAccountInternalServerErrorBodyJsonapi

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

CreateGroupServiceAccountInternalServerErrorBodyJsonapi create group service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model CreateGroupServiceAccountInternalServerErrorBodyJsonapi

func (*CreateGroupServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this create group service account internal server error body jsonapi based on context it is used

func (*CreateGroupServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this create group service account internal server error body jsonapi

type CreateGroupServiceAccountNotFound

type CreateGroupServiceAccountNotFound 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 *CreateGroupServiceAccountNotFoundBody
}

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

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

func NewCreateGroupServiceAccountNotFound

func NewCreateGroupServiceAccountNotFound() *CreateGroupServiceAccountNotFound

NewCreateGroupServiceAccountNotFound creates a CreateGroupServiceAccountNotFound with default headers values

func (*CreateGroupServiceAccountNotFound) Code

Code gets the status code for the create group service account not found response

func (*CreateGroupServiceAccountNotFound) Error

func (*CreateGroupServiceAccountNotFound) GetPayload

func (*CreateGroupServiceAccountNotFound) IsClientError

func (o *CreateGroupServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this create group service account not found response has a 4xx status code

func (*CreateGroupServiceAccountNotFound) IsCode

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

IsCode returns true when this create group service account not found response a status code equal to that given

func (*CreateGroupServiceAccountNotFound) IsRedirect

func (o *CreateGroupServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this create group service account not found response has a 3xx status code

func (*CreateGroupServiceAccountNotFound) IsServerError

func (o *CreateGroupServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this create group service account not found response has a 5xx status code

func (*CreateGroupServiceAccountNotFound) IsSuccess

func (o *CreateGroupServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this create group service account not found response has a 2xx status code

func (*CreateGroupServiceAccountNotFound) String

type CreateGroupServiceAccountNotFoundBody

type CreateGroupServiceAccountNotFoundBody struct {

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

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

CreateGroupServiceAccountNotFoundBody create group service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateGroupServiceAccountNotFoundBody

func (*CreateGroupServiceAccountNotFoundBody) ContextValidate

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

ContextValidate validate this create group service account not found body based on the context it is used

func (*CreateGroupServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBody) Validate

Validate validates this create group service account not found body

type CreateGroupServiceAccountNotFoundBodyErrorsItems0

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

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

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

CreateGroupServiceAccountNotFoundBodyErrorsItems0 create group service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateGroupServiceAccountNotFoundBodyErrorsItems0

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this create group service account not found body errors items0 based on the context it is used

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this create group service account not found body errors items0

type CreateGroupServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this create group service account not found body errors items0 links

type CreateGroupServiceAccountNotFoundBodyErrorsItems0Source

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

CreateGroupServiceAccountNotFoundBodyErrorsItems0Source create group service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateGroupServiceAccountNotFoundBodyErrorsItems0Source

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this create group service account not found body errors items0 source

type CreateGroupServiceAccountNotFoundBodyJsonapi

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

CreateGroupServiceAccountNotFoundBodyJsonapi create group service account not found body jsonapi // Example: {"version":"1.0"} swagger:model CreateGroupServiceAccountNotFoundBodyJsonapi

func (*CreateGroupServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this create group service account not found body jsonapi based on context it is used

func (*CreateGroupServiceAccountNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this create group service account not found body jsonapi

type CreateGroupServiceAccountParams

type CreateGroupServiceAccountParams struct {

	// Body.
	Body CreateGroupServiceAccountBody

	/* GroupID.

	   The ID of the Snyk Group that is creating and owns the service account

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

CreateGroupServiceAccountParams contains all the parameters to send to the API endpoint

for the create group service account operation.

Typically these are written to a http.Request.

func NewCreateGroupServiceAccountParams

func NewCreateGroupServiceAccountParams() *CreateGroupServiceAccountParams

NewCreateGroupServiceAccountParams creates a new CreateGroupServiceAccountParams 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 NewCreateGroupServiceAccountParamsWithContext

func NewCreateGroupServiceAccountParamsWithContext(ctx context.Context) *CreateGroupServiceAccountParams

NewCreateGroupServiceAccountParamsWithContext creates a new CreateGroupServiceAccountParams object with the ability to set a context for a request.

func NewCreateGroupServiceAccountParamsWithHTTPClient

func NewCreateGroupServiceAccountParamsWithHTTPClient(client *http.Client) *CreateGroupServiceAccountParams

NewCreateGroupServiceAccountParamsWithHTTPClient creates a new CreateGroupServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGroupServiceAccountParamsWithTimeout

func NewCreateGroupServiceAccountParamsWithTimeout(timeout time.Duration) *CreateGroupServiceAccountParams

NewCreateGroupServiceAccountParamsWithTimeout creates a new CreateGroupServiceAccountParams object with the ability to set a timeout on a request.

func (*CreateGroupServiceAccountParams) SetBody

SetBody adds the body to the create group service account params

func (*CreateGroupServiceAccountParams) SetContext

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

SetContext adds the context to the create group service account params

func (*CreateGroupServiceAccountParams) SetDefaults

func (o *CreateGroupServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the create group service account params (not the query body).

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

func (*CreateGroupServiceAccountParams) SetGroupID

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

SetGroupID adds the groupId to the create group service account params

func (*CreateGroupServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create group service account params

func (*CreateGroupServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create group service account params

func (*CreateGroupServiceAccountParams) SetVersion

func (o *CreateGroupServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the create group service account params

func (*CreateGroupServiceAccountParams) WithBody

WithBody adds the body to the create group service account params

func (*CreateGroupServiceAccountParams) WithContext

WithContext adds the context to the create group service account params

func (*CreateGroupServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the create group service account params (not the query body).

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

func (*CreateGroupServiceAccountParams) WithGroupID

WithGroupID adds the groupID to the create group service account params

func (*CreateGroupServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create group service account params

func (*CreateGroupServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the create group service account params

func (*CreateGroupServiceAccountParams) WithVersion

WithVersion adds the version to the create group service account params

func (*CreateGroupServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGroupServiceAccountParamsBodyData

type CreateGroupServiceAccountParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *CreateGroupServiceAccountParamsBodyDataAttributes `json:"attributes"`

	// The Resource type.
	// Required: true
	// Enum: [service_account]
	Type *string `json:"type"`
}

CreateGroupServiceAccountParamsBodyData create group service account params body data swagger:model CreateGroupServiceAccountParamsBodyData

func (*CreateGroupServiceAccountParamsBodyData) ContextValidate

ContextValidate validate this create group service account params body data based on the context it is used

func (*CreateGroupServiceAccountParamsBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountParamsBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountParamsBodyData) Validate

Validate validates this create group service account params body data

type CreateGroupServiceAccountParamsBodyDataAttributes

type CreateGroupServiceAccountParamsBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1 hour if unset. Only used when auth_type is one of the oauth_* variants.
	// Maximum: 86400
	// Minimum: 3600
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// Authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out in OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// A JWKs URL hosting your public keys, used to verify signed JWT requests. Must be https. Required only when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// A human-friendly name for the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the created service account should use.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

CreateGroupServiceAccountParamsBodyDataAttributes create group service account params body data attributes swagger:model CreateGroupServiceAccountParamsBodyDataAttributes

func (*CreateGroupServiceAccountParamsBodyDataAttributes) ContextValidate

ContextValidate validates this create group service account params body data attributes based on context it is used

func (*CreateGroupServiceAccountParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountParamsBodyDataAttributes) Validate

Validate validates this create group service account params body data attributes

type CreateGroupServiceAccountReader

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

CreateGroupServiceAccountReader is a Reader for the CreateGroupServiceAccount structure.

func (*CreateGroupServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGroupServiceAccountUnauthorized

type CreateGroupServiceAccountUnauthorized 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 *CreateGroupServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewCreateGroupServiceAccountUnauthorized

func NewCreateGroupServiceAccountUnauthorized() *CreateGroupServiceAccountUnauthorized

NewCreateGroupServiceAccountUnauthorized creates a CreateGroupServiceAccountUnauthorized with default headers values

func (*CreateGroupServiceAccountUnauthorized) Code

Code gets the status code for the create group service account unauthorized response

func (*CreateGroupServiceAccountUnauthorized) Error

func (*CreateGroupServiceAccountUnauthorized) GetPayload

func (*CreateGroupServiceAccountUnauthorized) IsClientError

func (o *CreateGroupServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this create group service account unauthorized response has a 4xx status code

func (*CreateGroupServiceAccountUnauthorized) IsCode

IsCode returns true when this create group service account unauthorized response a status code equal to that given

func (*CreateGroupServiceAccountUnauthorized) IsRedirect

IsRedirect returns true when this create group service account unauthorized response has a 3xx status code

func (*CreateGroupServiceAccountUnauthorized) IsServerError

func (o *CreateGroupServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this create group service account unauthorized response has a 5xx status code

func (*CreateGroupServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this create group service account unauthorized response has a 2xx status code

func (*CreateGroupServiceAccountUnauthorized) String

type CreateGroupServiceAccountUnauthorizedBody

type CreateGroupServiceAccountUnauthorizedBody struct {

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

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

CreateGroupServiceAccountUnauthorizedBody create group service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model CreateGroupServiceAccountUnauthorizedBody

func (*CreateGroupServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this create group service account unauthorized body based on the context it is used

func (*CreateGroupServiceAccountUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBody) Validate

Validate validates this create group service account unauthorized body

type CreateGroupServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

CreateGroupServiceAccountUnauthorizedBodyErrorsItems0 create group service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model CreateGroupServiceAccountUnauthorizedBodyErrorsItems0

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this create group service account unauthorized body errors items0 based on the context it is used

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this create group service account unauthorized body errors items0

type CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this create group service account unauthorized body errors items0 links based on context it is used

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this create group service account unauthorized body errors items0 links

type CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source

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

CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source create group service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this create group service account unauthorized body errors items0 source based on context it is used

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this create group service account unauthorized body errors items0 source

type CreateGroupServiceAccountUnauthorizedBodyJsonapi

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

CreateGroupServiceAccountUnauthorizedBodyJsonapi create group service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model CreateGroupServiceAccountUnauthorizedBodyJsonapi

func (*CreateGroupServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this create group service account unauthorized body jsonapi based on context it is used

func (*CreateGroupServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateGroupServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this create group service account unauthorized body jsonapi

type CreateOrgServiceAccountBadRequest

type CreateOrgServiceAccountBadRequest 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 *CreateOrgServiceAccountBadRequestBody
}

CreateOrgServiceAccountBadRequest 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 NewCreateOrgServiceAccountBadRequest

func NewCreateOrgServiceAccountBadRequest() *CreateOrgServiceAccountBadRequest

NewCreateOrgServiceAccountBadRequest creates a CreateOrgServiceAccountBadRequest with default headers values

func (*CreateOrgServiceAccountBadRequest) Code

Code gets the status code for the create org service account bad request response

func (*CreateOrgServiceAccountBadRequest) Error

func (*CreateOrgServiceAccountBadRequest) GetPayload

func (*CreateOrgServiceAccountBadRequest) IsClientError

func (o *CreateOrgServiceAccountBadRequest) IsClientError() bool

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

func (*CreateOrgServiceAccountBadRequest) IsCode

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

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

func (*CreateOrgServiceAccountBadRequest) IsRedirect

func (o *CreateOrgServiceAccountBadRequest) IsRedirect() bool

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

func (*CreateOrgServiceAccountBadRequest) IsServerError

func (o *CreateOrgServiceAccountBadRequest) IsServerError() bool

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

func (*CreateOrgServiceAccountBadRequest) IsSuccess

func (o *CreateOrgServiceAccountBadRequest) IsSuccess() bool

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

func (*CreateOrgServiceAccountBadRequest) String

type CreateOrgServiceAccountBadRequestBody

type CreateOrgServiceAccountBadRequestBody struct {

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

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

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

func (*CreateOrgServiceAccountBadRequestBody) ContextValidate

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

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

func (*CreateOrgServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBody) Validate

Validate validates this create org service account bad request body

type CreateOrgServiceAccountBadRequestBodyErrorsItems0

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

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

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

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

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0) ContextValidate

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

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this create org service account bad request body errors items0

type CreateOrgServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this create org service account bad request body errors items0 links

type CreateOrgServiceAccountBadRequestBodyErrorsItems0Source

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

CreateOrgServiceAccountBadRequestBodyErrorsItems0Source create org service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgServiceAccountBadRequestBodyErrorsItems0Source

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this create org service account bad request body errors items0 source

type CreateOrgServiceAccountBadRequestBodyJsonapi

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

CreateOrgServiceAccountBadRequestBodyJsonapi create org service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgServiceAccountBadRequestBodyJsonapi

func (*CreateOrgServiceAccountBadRequestBodyJsonapi) ContextValidate

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

func (*CreateOrgServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this create org service account bad request body jsonapi

type CreateOrgServiceAccountBody

type CreateOrgServiceAccountBody struct {

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

CreateOrgServiceAccountBody create org service account body swagger:model CreateOrgServiceAccountBody

func (*CreateOrgServiceAccountBody) ContextValidate

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

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

func (*CreateOrgServiceAccountBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountBody) Validate

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

Validate validates this create org service account body

type CreateOrgServiceAccountCreated

type CreateOrgServiceAccountCreated struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *CreateOrgServiceAccountCreatedBody
}

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

A new service account has been created

func NewCreateOrgServiceAccountCreated

func NewCreateOrgServiceAccountCreated() *CreateOrgServiceAccountCreated

NewCreateOrgServiceAccountCreated creates a CreateOrgServiceAccountCreated with default headers values

func (*CreateOrgServiceAccountCreated) Code

Code gets the status code for the create org service account created response

func (*CreateOrgServiceAccountCreated) Error

func (*CreateOrgServiceAccountCreated) GetPayload

func (*CreateOrgServiceAccountCreated) IsClientError

func (o *CreateOrgServiceAccountCreated) IsClientError() bool

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

func (*CreateOrgServiceAccountCreated) IsCode

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

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

func (*CreateOrgServiceAccountCreated) IsRedirect

func (o *CreateOrgServiceAccountCreated) IsRedirect() bool

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

func (*CreateOrgServiceAccountCreated) IsServerError

func (o *CreateOrgServiceAccountCreated) IsServerError() bool

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

func (*CreateOrgServiceAccountCreated) IsSuccess

func (o *CreateOrgServiceAccountCreated) IsSuccess() bool

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

func (*CreateOrgServiceAccountCreated) String

type CreateOrgServiceAccountCreatedBody

type CreateOrgServiceAccountCreatedBody struct {

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

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

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

CreateOrgServiceAccountCreatedBody create org service account created body swagger:model CreateOrgServiceAccountCreatedBody

func (*CreateOrgServiceAccountCreatedBody) ContextValidate

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

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

func (*CreateOrgServiceAccountCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBody) Validate

Validate validates this create org service account created body

type CreateOrgServiceAccountCreatedBodyData

type CreateOrgServiceAccountCreatedBodyData struct {

	// attributes
	// Required: true
	Attributes *CreateOrgServiceAccountCreatedBodyDataAttributes `json:"attributes"`

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

	// links
	Links *CreateOrgServiceAccountCreatedBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

CreateOrgServiceAccountCreatedBodyData create org service account created body data swagger:model CreateOrgServiceAccountCreatedBodyData

func (*CreateOrgServiceAccountCreatedBodyData) ContextValidate

ContextValidate validate this create org service account created body data based on the context it is used

func (*CreateOrgServiceAccountCreatedBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyData) Validate

Validate validates this create org service account created body data

type CreateOrgServiceAccountCreatedBodyDataAttributes

type CreateOrgServiceAccountCreatedBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

CreateOrgServiceAccountCreatedBodyDataAttributes create org service account created body data attributes swagger:model CreateOrgServiceAccountCreatedBodyDataAttributes

func (*CreateOrgServiceAccountCreatedBodyDataAttributes) ContextValidate

ContextValidate validates this create org service account created body data attributes based on context it is used

func (*CreateOrgServiceAccountCreatedBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyDataAttributes) Validate

Validate validates this create org service account created body data attributes

type CreateOrgServiceAccountCreatedBodyDataLinks struct {

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

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

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

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

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

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

CreateOrgServiceAccountCreatedBodyDataLinks create org service account created body data links swagger:model CreateOrgServiceAccountCreatedBodyDataLinks

func (*CreateOrgServiceAccountCreatedBodyDataLinks) ContextValidate

ContextValidate validates this create org service account created body data links based on context it is used

func (*CreateOrgServiceAccountCreatedBodyDataLinks) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyDataLinks) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountCreatedBodyDataLinks) Validate

Validate validates this create org service account created body data links

type CreateOrgServiceAccountInternalServerError

type CreateOrgServiceAccountInternalServerError 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 *CreateOrgServiceAccountInternalServerErrorBody
}

CreateOrgServiceAccountInternalServerError 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 NewCreateOrgServiceAccountInternalServerError

func NewCreateOrgServiceAccountInternalServerError() *CreateOrgServiceAccountInternalServerError

NewCreateOrgServiceAccountInternalServerError creates a CreateOrgServiceAccountInternalServerError with default headers values

func (*CreateOrgServiceAccountInternalServerError) Code

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

func (*CreateOrgServiceAccountInternalServerError) Error

func (*CreateOrgServiceAccountInternalServerError) GetPayload

func (*CreateOrgServiceAccountInternalServerError) IsClientError

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

func (*CreateOrgServiceAccountInternalServerError) IsCode

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

func (*CreateOrgServiceAccountInternalServerError) IsRedirect

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

func (*CreateOrgServiceAccountInternalServerError) IsServerError

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

func (*CreateOrgServiceAccountInternalServerError) IsSuccess

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

func (*CreateOrgServiceAccountInternalServerError) String

type CreateOrgServiceAccountInternalServerErrorBody

type CreateOrgServiceAccountInternalServerErrorBody struct {

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

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

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

func (*CreateOrgServiceAccountInternalServerErrorBody) ContextValidate

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

func (*CreateOrgServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBody) Validate

Validate validates this create org service account internal server error body

type CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this create org service account internal server error body errors items0

type CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

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

type CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source

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

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

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

type CreateOrgServiceAccountInternalServerErrorBodyJsonapi

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

CreateOrgServiceAccountInternalServerErrorBodyJsonapi create org service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgServiceAccountInternalServerErrorBodyJsonapi

func (*CreateOrgServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

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

func (*CreateOrgServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this create org service account internal server error body jsonapi

type CreateOrgServiceAccountNotFound

type CreateOrgServiceAccountNotFound 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 *CreateOrgServiceAccountNotFoundBody
}

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

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

func NewCreateOrgServiceAccountNotFound

func NewCreateOrgServiceAccountNotFound() *CreateOrgServiceAccountNotFound

NewCreateOrgServiceAccountNotFound creates a CreateOrgServiceAccountNotFound with default headers values

func (*CreateOrgServiceAccountNotFound) Code

Code gets the status code for the create org service account not found response

func (*CreateOrgServiceAccountNotFound) Error

func (*CreateOrgServiceAccountNotFound) GetPayload

func (*CreateOrgServiceAccountNotFound) IsClientError

func (o *CreateOrgServiceAccountNotFound) IsClientError() bool

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

func (*CreateOrgServiceAccountNotFound) IsCode

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

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

func (*CreateOrgServiceAccountNotFound) IsRedirect

func (o *CreateOrgServiceAccountNotFound) IsRedirect() bool

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

func (*CreateOrgServiceAccountNotFound) IsServerError

func (o *CreateOrgServiceAccountNotFound) IsServerError() bool

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

func (*CreateOrgServiceAccountNotFound) IsSuccess

func (o *CreateOrgServiceAccountNotFound) IsSuccess() bool

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

func (*CreateOrgServiceAccountNotFound) String

type CreateOrgServiceAccountNotFoundBody

type CreateOrgServiceAccountNotFoundBody struct {

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

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

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

func (*CreateOrgServiceAccountNotFoundBody) ContextValidate

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

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

func (*CreateOrgServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBody) Validate

Validate validates this create org service account not found body

type CreateOrgServiceAccountNotFoundBodyErrorsItems0

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

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

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

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

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0) ContextValidate

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

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this create org service account not found body errors items0

type CreateOrgServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this create org service account not found body errors items0 links

type CreateOrgServiceAccountNotFoundBodyErrorsItems0Source

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

CreateOrgServiceAccountNotFoundBodyErrorsItems0Source create org service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgServiceAccountNotFoundBodyErrorsItems0Source

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this create org service account not found body errors items0 source

type CreateOrgServiceAccountNotFoundBodyJsonapi

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

CreateOrgServiceAccountNotFoundBodyJsonapi create org service account not found body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgServiceAccountNotFoundBodyJsonapi

func (*CreateOrgServiceAccountNotFoundBodyJsonapi) ContextValidate

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

func (*CreateOrgServiceAccountNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this create org service account not found body jsonapi

type CreateOrgServiceAccountParams

type CreateOrgServiceAccountParams struct {

	// Body.
	Body CreateOrgServiceAccountBody

	/* OrgID.

	   The ID of the Snyk Organization that is creating and will own the service account.

	   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
}

CreateOrgServiceAccountParams contains all the parameters to send to the API endpoint

for the create org service account operation.

Typically these are written to a http.Request.

func NewCreateOrgServiceAccountParams

func NewCreateOrgServiceAccountParams() *CreateOrgServiceAccountParams

NewCreateOrgServiceAccountParams creates a new CreateOrgServiceAccountParams 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 NewCreateOrgServiceAccountParamsWithContext

func NewCreateOrgServiceAccountParamsWithContext(ctx context.Context) *CreateOrgServiceAccountParams

NewCreateOrgServiceAccountParamsWithContext creates a new CreateOrgServiceAccountParams object with the ability to set a context for a request.

func NewCreateOrgServiceAccountParamsWithHTTPClient

func NewCreateOrgServiceAccountParamsWithHTTPClient(client *http.Client) *CreateOrgServiceAccountParams

NewCreateOrgServiceAccountParamsWithHTTPClient creates a new CreateOrgServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrgServiceAccountParamsWithTimeout

func NewCreateOrgServiceAccountParamsWithTimeout(timeout time.Duration) *CreateOrgServiceAccountParams

NewCreateOrgServiceAccountParamsWithTimeout creates a new CreateOrgServiceAccountParams object with the ability to set a timeout on a request.

func (*CreateOrgServiceAccountParams) SetBody

SetBody adds the body to the create org service account params

func (*CreateOrgServiceAccountParams) SetContext

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

SetContext adds the context to the create org service account params

func (*CreateOrgServiceAccountParams) SetDefaults

func (o *CreateOrgServiceAccountParams) SetDefaults()

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

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

func (*CreateOrgServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org service account params

func (*CreateOrgServiceAccountParams) SetOrgID

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

SetOrgID adds the orgId to the create org service account params

func (*CreateOrgServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create org service account params

func (*CreateOrgServiceAccountParams) SetVersion

func (o *CreateOrgServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the create org service account params

func (*CreateOrgServiceAccountParams) WithBody

WithBody adds the body to the create org service account params

func (*CreateOrgServiceAccountParams) WithContext

WithContext adds the context to the create org service account params

func (*CreateOrgServiceAccountParams) WithDefaults

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

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

func (*CreateOrgServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create org service account params

func (*CreateOrgServiceAccountParams) WithOrgID

WithOrgID adds the orgID to the create org service account params

func (*CreateOrgServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the create org service account params

func (*CreateOrgServiceAccountParams) WithVersion

WithVersion adds the version to the create org service account params

func (*CreateOrgServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrgServiceAccountParamsBodyData

type CreateOrgServiceAccountParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *CreateOrgServiceAccountParamsBodyDataAttributes `json:"attributes"`

	// The Resource type.
	// Enum: [service_account]
	Type string `json:"type,omitempty"`
}

CreateOrgServiceAccountParamsBodyData create org service account params body data swagger:model CreateOrgServiceAccountParamsBodyData

func (*CreateOrgServiceAccountParamsBodyData) ContextValidate

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

ContextValidate validate this create org service account params body data based on the context it is used

func (*CreateOrgServiceAccountParamsBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountParamsBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountParamsBodyData) Validate

Validate validates this create org service account params body data

type CreateOrgServiceAccountParamsBodyDataAttributes

type CreateOrgServiceAccountParamsBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1 hour if unset. Only used when auth_type is one of the oauth_* variants.
	// Maximum: 86400
	// Minimum: 3600
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// Authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out in OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// A JWKs URL hosting your public keys, used to verify signed JWT requests. Must be https. Required only when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// A human-friendly name for the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the created service account should use. Obtained in the Snyk UI, via "Group Page" -> "Settings" -> "Member Roles" -> "Create new Role". Can be shared among multiple accounts.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

CreateOrgServiceAccountParamsBodyDataAttributes create org service account params body data attributes swagger:model CreateOrgServiceAccountParamsBodyDataAttributes

func (*CreateOrgServiceAccountParamsBodyDataAttributes) ContextValidate

ContextValidate validates this create org service account params body data attributes based on context it is used

func (*CreateOrgServiceAccountParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountParamsBodyDataAttributes) Validate

Validate validates this create org service account params body data attributes

type CreateOrgServiceAccountReader

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

CreateOrgServiceAccountReader is a Reader for the CreateOrgServiceAccount structure.

func (*CreateOrgServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrgServiceAccountUnauthorized

type CreateOrgServiceAccountUnauthorized 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 *CreateOrgServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewCreateOrgServiceAccountUnauthorized

func NewCreateOrgServiceAccountUnauthorized() *CreateOrgServiceAccountUnauthorized

NewCreateOrgServiceAccountUnauthorized creates a CreateOrgServiceAccountUnauthorized with default headers values

func (*CreateOrgServiceAccountUnauthorized) Code

Code gets the status code for the create org service account unauthorized response

func (*CreateOrgServiceAccountUnauthorized) Error

func (*CreateOrgServiceAccountUnauthorized) GetPayload

func (*CreateOrgServiceAccountUnauthorized) IsClientError

func (o *CreateOrgServiceAccountUnauthorized) IsClientError() bool

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

func (*CreateOrgServiceAccountUnauthorized) IsCode

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

func (*CreateOrgServiceAccountUnauthorized) IsRedirect

func (o *CreateOrgServiceAccountUnauthorized) IsRedirect() bool

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

func (*CreateOrgServiceAccountUnauthorized) IsServerError

func (o *CreateOrgServiceAccountUnauthorized) IsServerError() bool

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

func (*CreateOrgServiceAccountUnauthorized) IsSuccess

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

func (*CreateOrgServiceAccountUnauthorized) String

type CreateOrgServiceAccountUnauthorizedBody

type CreateOrgServiceAccountUnauthorizedBody struct {

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

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

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

func (*CreateOrgServiceAccountUnauthorizedBody) ContextValidate

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

func (*CreateOrgServiceAccountUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBody) Validate

Validate validates this create org service account unauthorized body

type CreateOrgServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

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

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this create org service account unauthorized body errors items0

type CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this create org service account unauthorized body errors items0 links

type CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source

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

CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source create org service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this create org service account unauthorized body errors items0 source

type CreateOrgServiceAccountUnauthorizedBodyJsonapi

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

CreateOrgServiceAccountUnauthorizedBodyJsonapi create org service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model CreateOrgServiceAccountUnauthorizedBodyJsonapi

func (*CreateOrgServiceAccountUnauthorizedBodyJsonapi) ContextValidate

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

func (*CreateOrgServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrgServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this create org service account unauthorized body jsonapi

type DeleteOneGroupServiceAccountBadRequest

type DeleteOneGroupServiceAccountBadRequest 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 *DeleteOneGroupServiceAccountBadRequestBody
}

DeleteOneGroupServiceAccountBadRequest 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 NewDeleteOneGroupServiceAccountBadRequest

func NewDeleteOneGroupServiceAccountBadRequest() *DeleteOneGroupServiceAccountBadRequest

NewDeleteOneGroupServiceAccountBadRequest creates a DeleteOneGroupServiceAccountBadRequest with default headers values

func (*DeleteOneGroupServiceAccountBadRequest) Code

Code gets the status code for the delete one group service account bad request response

func (*DeleteOneGroupServiceAccountBadRequest) Error

func (*DeleteOneGroupServiceAccountBadRequest) GetPayload

func (*DeleteOneGroupServiceAccountBadRequest) IsClientError

func (o *DeleteOneGroupServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this delete one group service account bad request response has a 4xx status code

func (*DeleteOneGroupServiceAccountBadRequest) IsCode

IsCode returns true when this delete one group service account bad request response a status code equal to that given

func (*DeleteOneGroupServiceAccountBadRequest) IsRedirect

IsRedirect returns true when this delete one group service account bad request response has a 3xx status code

func (*DeleteOneGroupServiceAccountBadRequest) IsServerError

func (o *DeleteOneGroupServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this delete one group service account bad request response has a 5xx status code

func (*DeleteOneGroupServiceAccountBadRequest) IsSuccess

IsSuccess returns true when this delete one group service account bad request response has a 2xx status code

func (*DeleteOneGroupServiceAccountBadRequest) String

type DeleteOneGroupServiceAccountBadRequestBody

type DeleteOneGroupServiceAccountBadRequestBody struct {

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

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

DeleteOneGroupServiceAccountBadRequestBody delete one group service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOneGroupServiceAccountBadRequestBody

func (*DeleteOneGroupServiceAccountBadRequestBody) ContextValidate

ContextValidate validate this delete one group service account bad request body based on the context it is used

func (*DeleteOneGroupServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBody) Validate

Validate validates this delete one group service account bad request body

type DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0

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

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

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

DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0 delete one group service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this delete one group service account bad request body errors items0 based on the context it is used

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this delete one group service account bad request body errors items0

type DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this delete one group service account bad request body errors items0 links based on context it is used

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this delete one group service account bad request body errors items0 links

type DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source

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

DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source delete one group service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete one group service account bad request body errors items0 source based on context it is used

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this delete one group service account bad request body errors items0 source

type DeleteOneGroupServiceAccountBadRequestBodyJsonapi

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

DeleteOneGroupServiceAccountBadRequestBodyJsonapi delete one group service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOneGroupServiceAccountBadRequestBodyJsonapi

func (*DeleteOneGroupServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this delete one group service account bad request body jsonapi based on context it is used

func (*DeleteOneGroupServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this delete one group service account bad request body jsonapi

type DeleteOneGroupServiceAccountForbidden

type DeleteOneGroupServiceAccountForbidden 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 *DeleteOneGroupServiceAccountForbiddenBody
}

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

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

func NewDeleteOneGroupServiceAccountForbidden

func NewDeleteOneGroupServiceAccountForbidden() *DeleteOneGroupServiceAccountForbidden

NewDeleteOneGroupServiceAccountForbidden creates a DeleteOneGroupServiceAccountForbidden with default headers values

func (*DeleteOneGroupServiceAccountForbidden) Code

Code gets the status code for the delete one group service account forbidden response

func (*DeleteOneGroupServiceAccountForbidden) Error

func (*DeleteOneGroupServiceAccountForbidden) GetPayload

func (*DeleteOneGroupServiceAccountForbidden) IsClientError

func (o *DeleteOneGroupServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this delete one group service account forbidden response has a 4xx status code

func (*DeleteOneGroupServiceAccountForbidden) IsCode

IsCode returns true when this delete one group service account forbidden response a status code equal to that given

func (*DeleteOneGroupServiceAccountForbidden) IsRedirect

IsRedirect returns true when this delete one group service account forbidden response has a 3xx status code

func (*DeleteOneGroupServiceAccountForbidden) IsServerError

func (o *DeleteOneGroupServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this delete one group service account forbidden response has a 5xx status code

func (*DeleteOneGroupServiceAccountForbidden) IsSuccess

IsSuccess returns true when this delete one group service account forbidden response has a 2xx status code

func (*DeleteOneGroupServiceAccountForbidden) String

type DeleteOneGroupServiceAccountForbiddenBody

type DeleteOneGroupServiceAccountForbiddenBody struct {

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

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

DeleteOneGroupServiceAccountForbiddenBody delete one group service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOneGroupServiceAccountForbiddenBody

func (*DeleteOneGroupServiceAccountForbiddenBody) ContextValidate

ContextValidate validate this delete one group service account forbidden body based on the context it is used

func (*DeleteOneGroupServiceAccountForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBody) Validate

Validate validates this delete one group service account forbidden body

type DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0

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

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

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

DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0 delete one group service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this delete one group service account forbidden body errors items0 based on the context it is used

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this delete one group service account forbidden body errors items0

type DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Links struct {

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

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

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this delete one group service account forbidden body errors items0 links based on context it is used

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete one group service account forbidden body errors items0 links

type DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source

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

DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source delete one group service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete one group service account forbidden body errors items0 source based on context it is used

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete one group service account forbidden body errors items0 source

type DeleteOneGroupServiceAccountForbiddenBodyJsonapi

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

DeleteOneGroupServiceAccountForbiddenBodyJsonapi delete one group service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOneGroupServiceAccountForbiddenBodyJsonapi

func (*DeleteOneGroupServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this delete one group service account forbidden body jsonapi based on context it is used

func (*DeleteOneGroupServiceAccountForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this delete one group service account forbidden body jsonapi

type DeleteOneGroupServiceAccountInternalServerError

type DeleteOneGroupServiceAccountInternalServerError 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 *DeleteOneGroupServiceAccountInternalServerErrorBody
}

DeleteOneGroupServiceAccountInternalServerError 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 NewDeleteOneGroupServiceAccountInternalServerError

func NewDeleteOneGroupServiceAccountInternalServerError() *DeleteOneGroupServiceAccountInternalServerError

NewDeleteOneGroupServiceAccountInternalServerError creates a DeleteOneGroupServiceAccountInternalServerError with default headers values

func (*DeleteOneGroupServiceAccountInternalServerError) Code

Code gets the status code for the delete one group service account internal server error response

func (*DeleteOneGroupServiceAccountInternalServerError) Error

func (*DeleteOneGroupServiceAccountInternalServerError) GetPayload

func (*DeleteOneGroupServiceAccountInternalServerError) IsClientError

IsClientError returns true when this delete one group service account internal server error response has a 4xx status code

func (*DeleteOneGroupServiceAccountInternalServerError) IsCode

IsCode returns true when this delete one group service account internal server error response a status code equal to that given

func (*DeleteOneGroupServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this delete one group service account internal server error response has a 3xx status code

func (*DeleteOneGroupServiceAccountInternalServerError) IsServerError

IsServerError returns true when this delete one group service account internal server error response has a 5xx status code

func (*DeleteOneGroupServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this delete one group service account internal server error response has a 2xx status code

func (*DeleteOneGroupServiceAccountInternalServerError) String

type DeleteOneGroupServiceAccountInternalServerErrorBody

type DeleteOneGroupServiceAccountInternalServerErrorBody struct {

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

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

DeleteOneGroupServiceAccountInternalServerErrorBody delete one group service account internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOneGroupServiceAccountInternalServerErrorBody

func (*DeleteOneGroupServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this delete one group service account internal server error body based on the context it is used

func (*DeleteOneGroupServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBody) Validate

Validate validates this delete one group service account internal server error body

type DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0 delete one group service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this delete one group service account internal server error body errors items0 based on the context it is used

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this delete one group service account internal server error body errors items0

type DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this delete one group service account internal server error body errors items0 links based on context it is used

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this delete one group service account internal server error body errors items0 links

type DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

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

DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source delete one group service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete one group service account internal server error body errors items0 source based on context it is used

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this delete one group service account internal server error body errors items0 source

type DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi

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

DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi delete one group service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this delete one group service account internal server error body jsonapi based on context it is used

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this delete one group service account internal server error body jsonapi

type DeleteOneGroupServiceAccountNoContent

type DeleteOneGroupServiceAccountNoContent struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime
}

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

Service account was successfully deleted.

func NewDeleteOneGroupServiceAccountNoContent

func NewDeleteOneGroupServiceAccountNoContent() *DeleteOneGroupServiceAccountNoContent

NewDeleteOneGroupServiceAccountNoContent creates a DeleteOneGroupServiceAccountNoContent with default headers values

func (*DeleteOneGroupServiceAccountNoContent) Code

Code gets the status code for the delete one group service account no content response

func (*DeleteOneGroupServiceAccountNoContent) Error

func (*DeleteOneGroupServiceAccountNoContent) IsClientError

func (o *DeleteOneGroupServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this delete one group service account no content response has a 4xx status code

func (*DeleteOneGroupServiceAccountNoContent) IsCode

IsCode returns true when this delete one group service account no content response a status code equal to that given

func (*DeleteOneGroupServiceAccountNoContent) IsRedirect

IsRedirect returns true when this delete one group service account no content response has a 3xx status code

func (*DeleteOneGroupServiceAccountNoContent) IsServerError

func (o *DeleteOneGroupServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this delete one group service account no content response has a 5xx status code

func (*DeleteOneGroupServiceAccountNoContent) IsSuccess

IsSuccess returns true when this delete one group service account no content response has a 2xx status code

func (*DeleteOneGroupServiceAccountNoContent) String

type DeleteOneGroupServiceAccountNotFound

type DeleteOneGroupServiceAccountNotFound 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 *DeleteOneGroupServiceAccountNotFoundBody
}

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

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

func NewDeleteOneGroupServiceAccountNotFound

func NewDeleteOneGroupServiceAccountNotFound() *DeleteOneGroupServiceAccountNotFound

NewDeleteOneGroupServiceAccountNotFound creates a DeleteOneGroupServiceAccountNotFound with default headers values

func (*DeleteOneGroupServiceAccountNotFound) Code

Code gets the status code for the delete one group service account not found response

func (*DeleteOneGroupServiceAccountNotFound) Error

func (*DeleteOneGroupServiceAccountNotFound) GetPayload

func (*DeleteOneGroupServiceAccountNotFound) IsClientError

func (o *DeleteOneGroupServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this delete one group service account not found response has a 4xx status code

func (*DeleteOneGroupServiceAccountNotFound) IsCode

IsCode returns true when this delete one group service account not found response a status code equal to that given

func (*DeleteOneGroupServiceAccountNotFound) IsRedirect

IsRedirect returns true when this delete one group service account not found response has a 3xx status code

func (*DeleteOneGroupServiceAccountNotFound) IsServerError

func (o *DeleteOneGroupServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this delete one group service account not found response has a 5xx status code

func (*DeleteOneGroupServiceAccountNotFound) IsSuccess

IsSuccess returns true when this delete one group service account not found response has a 2xx status code

func (*DeleteOneGroupServiceAccountNotFound) String

type DeleteOneGroupServiceAccountNotFoundBody

type DeleteOneGroupServiceAccountNotFoundBody struct {

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

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

DeleteOneGroupServiceAccountNotFoundBody delete one group service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOneGroupServiceAccountNotFoundBody

func (*DeleteOneGroupServiceAccountNotFoundBody) ContextValidate

ContextValidate validate this delete one group service account not found body based on the context it is used

func (*DeleteOneGroupServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBody) Validate

Validate validates this delete one group service account not found body

type DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0

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

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

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

DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0 delete one group service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this delete one group service account not found body errors items0 based on the context it is used

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this delete one group service account not found body errors items0

type DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this delete one group service account not found body errors items0 links based on context it is used

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this delete one group service account not found body errors items0 links

type DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source

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

DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source delete one group service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete one group service account not found body errors items0 source based on context it is used

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this delete one group service account not found body errors items0 source

type DeleteOneGroupServiceAccountNotFoundBodyJsonapi

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

DeleteOneGroupServiceAccountNotFoundBodyJsonapi delete one group service account not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOneGroupServiceAccountNotFoundBodyJsonapi

func (*DeleteOneGroupServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this delete one group service account not found body jsonapi based on context it is used

func (*DeleteOneGroupServiceAccountNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this delete one group service account not found body jsonapi

type DeleteOneGroupServiceAccountParams

type DeleteOneGroupServiceAccountParams struct {

	/* GroupID.

	   The ID of the Snyk Group that owns the service account.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

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

DeleteOneGroupServiceAccountParams contains all the parameters to send to the API endpoint

for the delete one group service account operation.

Typically these are written to a http.Request.

func NewDeleteOneGroupServiceAccountParams

func NewDeleteOneGroupServiceAccountParams() *DeleteOneGroupServiceAccountParams

NewDeleteOneGroupServiceAccountParams creates a new DeleteOneGroupServiceAccountParams 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 NewDeleteOneGroupServiceAccountParamsWithContext

func NewDeleteOneGroupServiceAccountParamsWithContext(ctx context.Context) *DeleteOneGroupServiceAccountParams

NewDeleteOneGroupServiceAccountParamsWithContext creates a new DeleteOneGroupServiceAccountParams object with the ability to set a context for a request.

func NewDeleteOneGroupServiceAccountParamsWithHTTPClient

func NewDeleteOneGroupServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteOneGroupServiceAccountParams

NewDeleteOneGroupServiceAccountParamsWithHTTPClient creates a new DeleteOneGroupServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOneGroupServiceAccountParamsWithTimeout

func NewDeleteOneGroupServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteOneGroupServiceAccountParams

NewDeleteOneGroupServiceAccountParamsWithTimeout creates a new DeleteOneGroupServiceAccountParams object with the ability to set a timeout on a request.

func (*DeleteOneGroupServiceAccountParams) SetContext

SetContext adds the context to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) SetDefaults

func (o *DeleteOneGroupServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete one group service account params (not the query body).

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

func (*DeleteOneGroupServiceAccountParams) SetGroupID

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

SetGroupID adds the groupId to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) SetServiceaccountID

func (o *DeleteOneGroupServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) SetVersion

func (o *DeleteOneGroupServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithContext

WithContext adds the context to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the delete one group service account params (not the query body).

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

func (*DeleteOneGroupServiceAccountParams) WithGroupID

WithGroupID adds the groupID to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithServiceaccountID

func (o *DeleteOneGroupServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *DeleteOneGroupServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WithVersion

WithVersion adds the version to the delete one group service account params

func (*DeleteOneGroupServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOneGroupServiceAccountReader

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

DeleteOneGroupServiceAccountReader is a Reader for the DeleteOneGroupServiceAccount structure.

func (*DeleteOneGroupServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOneGroupServiceAccountUnauthorized

type DeleteOneGroupServiceAccountUnauthorized 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 *DeleteOneGroupServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewDeleteOneGroupServiceAccountUnauthorized

func NewDeleteOneGroupServiceAccountUnauthorized() *DeleteOneGroupServiceAccountUnauthorized

NewDeleteOneGroupServiceAccountUnauthorized creates a DeleteOneGroupServiceAccountUnauthorized with default headers values

func (*DeleteOneGroupServiceAccountUnauthorized) Code

Code gets the status code for the delete one group service account unauthorized response

func (*DeleteOneGroupServiceAccountUnauthorized) Error

func (*DeleteOneGroupServiceAccountUnauthorized) GetPayload

func (*DeleteOneGroupServiceAccountUnauthorized) IsClientError

IsClientError returns true when this delete one group service account unauthorized response has a 4xx status code

func (*DeleteOneGroupServiceAccountUnauthorized) IsCode

IsCode returns true when this delete one group service account unauthorized response a status code equal to that given

func (*DeleteOneGroupServiceAccountUnauthorized) IsRedirect

IsRedirect returns true when this delete one group service account unauthorized response has a 3xx status code

func (*DeleteOneGroupServiceAccountUnauthorized) IsServerError

IsServerError returns true when this delete one group service account unauthorized response has a 5xx status code

func (*DeleteOneGroupServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this delete one group service account unauthorized response has a 2xx status code

func (*DeleteOneGroupServiceAccountUnauthorized) String

type DeleteOneGroupServiceAccountUnauthorizedBody

type DeleteOneGroupServiceAccountUnauthorizedBody struct {

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

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

DeleteOneGroupServiceAccountUnauthorizedBody delete one group service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOneGroupServiceAccountUnauthorizedBody

func (*DeleteOneGroupServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this delete one group service account unauthorized body based on the context it is used

func (*DeleteOneGroupServiceAccountUnauthorizedBody) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBody) Validate

Validate validates this delete one group service account unauthorized body

type DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0 delete one group service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this delete one group service account unauthorized body errors items0 based on the context it is used

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete one group service account unauthorized body errors items0

type DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this delete one group service account unauthorized body errors items0 links based on context it is used

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete one group service account unauthorized body errors items0 links

type DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source

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

DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source delete one group service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this delete one group service account unauthorized body errors items0 source based on context it is used

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete one group service account unauthorized body errors items0 source

type DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi

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

DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi delete one group service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi

func (*DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this delete one group service account unauthorized body jsonapi based on context it is used

func (*DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOneGroupServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this delete one group service account unauthorized body jsonapi

type DeleteServiceAccountBadRequest

type DeleteServiceAccountBadRequest 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 *DeleteServiceAccountBadRequestBody
}

DeleteServiceAccountBadRequest 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 NewDeleteServiceAccountBadRequest

func NewDeleteServiceAccountBadRequest() *DeleteServiceAccountBadRequest

NewDeleteServiceAccountBadRequest creates a DeleteServiceAccountBadRequest with default headers values

func (*DeleteServiceAccountBadRequest) Code

Code gets the status code for the delete service account bad request response

func (*DeleteServiceAccountBadRequest) Error

func (*DeleteServiceAccountBadRequest) GetPayload

func (*DeleteServiceAccountBadRequest) IsClientError

func (o *DeleteServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this delete service account bad request response has a 4xx status code

func (*DeleteServiceAccountBadRequest) IsCode

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

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

func (*DeleteServiceAccountBadRequest) IsRedirect

func (o *DeleteServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this delete service account bad request response has a 3xx status code

func (*DeleteServiceAccountBadRequest) IsServerError

func (o *DeleteServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this delete service account bad request response has a 5xx status code

func (*DeleteServiceAccountBadRequest) IsSuccess

func (o *DeleteServiceAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this delete service account bad request response has a 2xx status code

func (*DeleteServiceAccountBadRequest) String

type DeleteServiceAccountBadRequestBody

type DeleteServiceAccountBadRequestBody struct {

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

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

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

func (*DeleteServiceAccountBadRequestBody) ContextValidate

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

ContextValidate validate this delete service account bad request body based on the context it is used

func (*DeleteServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBody) Validate

Validate validates this delete service account bad request body

type DeleteServiceAccountBadRequestBodyErrorsItems0

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

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

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

DeleteServiceAccountBadRequestBodyErrorsItems0 delete service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteServiceAccountBadRequestBodyErrorsItems0

func (*DeleteServiceAccountBadRequestBodyErrorsItems0) ContextValidate

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

func (*DeleteServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this delete service account bad request body errors items0

type DeleteServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this delete service account bad request body errors items0 links

type DeleteServiceAccountBadRequestBodyErrorsItems0Source

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

DeleteServiceAccountBadRequestBodyErrorsItems0Source delete service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteServiceAccountBadRequestBodyErrorsItems0Source

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this delete service account bad request body errors items0 source

type DeleteServiceAccountBadRequestBodyJsonapi

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

DeleteServiceAccountBadRequestBodyJsonapi delete service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteServiceAccountBadRequestBodyJsonapi

func (*DeleteServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this delete service account bad request body jsonapi based on context it is used

func (*DeleteServiceAccountBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this delete service account bad request body jsonapi

type DeleteServiceAccountForbidden

type DeleteServiceAccountForbidden 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 *DeleteServiceAccountForbiddenBody
}

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

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

func NewDeleteServiceAccountForbidden

func NewDeleteServiceAccountForbidden() *DeleteServiceAccountForbidden

NewDeleteServiceAccountForbidden creates a DeleteServiceAccountForbidden with default headers values

func (*DeleteServiceAccountForbidden) Code

Code gets the status code for the delete service account forbidden response

func (*DeleteServiceAccountForbidden) Error

func (*DeleteServiceAccountForbidden) GetPayload

func (*DeleteServiceAccountForbidden) IsClientError

func (o *DeleteServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this delete service account forbidden response has a 4xx status code

func (*DeleteServiceAccountForbidden) IsCode

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

IsCode returns true when this delete service account forbidden response a status code equal to that given

func (*DeleteServiceAccountForbidden) IsRedirect

func (o *DeleteServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this delete service account forbidden response has a 3xx status code

func (*DeleteServiceAccountForbidden) IsServerError

func (o *DeleteServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this delete service account forbidden response has a 5xx status code

func (*DeleteServiceAccountForbidden) IsSuccess

func (o *DeleteServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this delete service account forbidden response has a 2xx status code

func (*DeleteServiceAccountForbidden) String

type DeleteServiceAccountForbiddenBody

type DeleteServiceAccountForbiddenBody struct {

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

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

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

func (*DeleteServiceAccountForbiddenBody) ContextValidate

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

ContextValidate validate this delete service account forbidden body based on the context it is used

func (*DeleteServiceAccountForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBody) Validate

Validate validates this delete service account forbidden body

type DeleteServiceAccountForbiddenBodyErrorsItems0

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

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

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

DeleteServiceAccountForbiddenBodyErrorsItems0 delete service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteServiceAccountForbiddenBodyErrorsItems0

func (*DeleteServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this delete service account forbidden body errors items0 based on the context it is used

func (*DeleteServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this delete service account forbidden body errors items0

type DeleteServiceAccountForbiddenBodyErrorsItems0Links struct {

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

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

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this delete service account forbidden body errors items0 links

type DeleteServiceAccountForbiddenBodyErrorsItems0Source

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

DeleteServiceAccountForbiddenBodyErrorsItems0Source delete service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteServiceAccountForbiddenBodyErrorsItems0Source

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this delete service account forbidden body errors items0 source

type DeleteServiceAccountForbiddenBodyJsonapi

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

DeleteServiceAccountForbiddenBodyJsonapi delete service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteServiceAccountForbiddenBodyJsonapi

func (*DeleteServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this delete service account forbidden body jsonapi based on context it is used

func (*DeleteServiceAccountForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this delete service account forbidden body jsonapi

type DeleteServiceAccountInternalServerError

type DeleteServiceAccountInternalServerError 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 *DeleteServiceAccountInternalServerErrorBody
}

DeleteServiceAccountInternalServerError 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 NewDeleteServiceAccountInternalServerError

func NewDeleteServiceAccountInternalServerError() *DeleteServiceAccountInternalServerError

NewDeleteServiceAccountInternalServerError creates a DeleteServiceAccountInternalServerError with default headers values

func (*DeleteServiceAccountInternalServerError) Code

Code gets the status code for the delete service account internal server error response

func (*DeleteServiceAccountInternalServerError) Error

func (*DeleteServiceAccountInternalServerError) GetPayload

func (*DeleteServiceAccountInternalServerError) IsClientError

func (o *DeleteServiceAccountInternalServerError) IsClientError() bool

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

func (*DeleteServiceAccountInternalServerError) IsCode

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

func (*DeleteServiceAccountInternalServerError) IsRedirect

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

func (*DeleteServiceAccountInternalServerError) IsServerError

func (o *DeleteServiceAccountInternalServerError) IsServerError() bool

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

func (*DeleteServiceAccountInternalServerError) IsSuccess

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

func (*DeleteServiceAccountInternalServerError) String

type DeleteServiceAccountInternalServerErrorBody

type DeleteServiceAccountInternalServerErrorBody struct {

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

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

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

func (*DeleteServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this delete service account internal server error body based on the context it is used

func (*DeleteServiceAccountInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBody) Validate

Validate validates this delete service account internal server error body

type DeleteServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

DeleteServiceAccountInternalServerErrorBodyErrorsItems0 delete service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteServiceAccountInternalServerErrorBodyErrorsItems0

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this delete service account internal server error body errors items0

type DeleteServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this delete service account internal server error body errors items0 links

type DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source

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

DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source delete service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this delete service account internal server error body errors items0 source

type DeleteServiceAccountInternalServerErrorBodyJsonapi

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

DeleteServiceAccountInternalServerErrorBodyJsonapi delete service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteServiceAccountInternalServerErrorBodyJsonapi

func (*DeleteServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

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

func (*DeleteServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this delete service account internal server error body jsonapi

type DeleteServiceAccountNoContent

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

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

The service account has been deleted.

func NewDeleteServiceAccountNoContent

func NewDeleteServiceAccountNoContent() *DeleteServiceAccountNoContent

NewDeleteServiceAccountNoContent creates a DeleteServiceAccountNoContent with default headers values

func (*DeleteServiceAccountNoContent) Code

Code gets the status code for the delete service account no content response

func (*DeleteServiceAccountNoContent) Error

func (*DeleteServiceAccountNoContent) IsClientError

func (o *DeleteServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this delete service account no content response has a 4xx status code

func (*DeleteServiceAccountNoContent) IsCode

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

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

func (*DeleteServiceAccountNoContent) IsRedirect

func (o *DeleteServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this delete service account no content response has a 3xx status code

func (*DeleteServiceAccountNoContent) IsServerError

func (o *DeleteServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this delete service account no content response has a 5xx status code

func (*DeleteServiceAccountNoContent) IsSuccess

func (o *DeleteServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this delete service account no content response has a 2xx status code

func (*DeleteServiceAccountNoContent) String

type DeleteServiceAccountNotFound

type DeleteServiceAccountNotFound 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 *DeleteServiceAccountNotFoundBody
}

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

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

func NewDeleteServiceAccountNotFound

func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound

NewDeleteServiceAccountNotFound creates a DeleteServiceAccountNotFound with default headers values

func (*DeleteServiceAccountNotFound) Code

Code gets the status code for the delete service account not found response

func (*DeleteServiceAccountNotFound) Error

func (*DeleteServiceAccountNotFound) GetPayload

func (*DeleteServiceAccountNotFound) IsClientError

func (o *DeleteServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this delete service account not found response has a 4xx status code

func (*DeleteServiceAccountNotFound) IsCode

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

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

func (*DeleteServiceAccountNotFound) IsRedirect

func (o *DeleteServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this delete service account not found response has a 3xx status code

func (*DeleteServiceAccountNotFound) IsServerError

func (o *DeleteServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this delete service account not found response has a 5xx status code

func (*DeleteServiceAccountNotFound) IsSuccess

func (o *DeleteServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this delete service account not found response has a 2xx status code

func (*DeleteServiceAccountNotFound) String

type DeleteServiceAccountNotFoundBody

type DeleteServiceAccountNotFoundBody struct {

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

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

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

func (*DeleteServiceAccountNotFoundBody) ContextValidate

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

ContextValidate validate this delete service account not found body based on the context it is used

func (*DeleteServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBody) Validate

Validate validates this delete service account not found body

type DeleteServiceAccountNotFoundBodyErrorsItems0

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

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

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

DeleteServiceAccountNotFoundBodyErrorsItems0 delete service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteServiceAccountNotFoundBodyErrorsItems0

func (*DeleteServiceAccountNotFoundBodyErrorsItems0) ContextValidate

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

func (*DeleteServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this delete service account not found body errors items0

type DeleteServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this delete service account not found body errors items0 links

type DeleteServiceAccountNotFoundBodyErrorsItems0Source

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

DeleteServiceAccountNotFoundBodyErrorsItems0Source delete service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteServiceAccountNotFoundBodyErrorsItems0Source

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this delete service account not found body errors items0 source

type DeleteServiceAccountNotFoundBodyJsonapi

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

DeleteServiceAccountNotFoundBodyJsonapi delete service account not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteServiceAccountNotFoundBodyJsonapi

func (*DeleteServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this delete service account not found body jsonapi based on context it is used

func (*DeleteServiceAccountNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this delete service account not found body jsonapi

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

	/* OrgID.

	   The ID of org to which the service account belongs.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

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

DeleteServiceAccountParams contains all the parameters to send to the API endpoint

for the delete service account operation.

Typically these are written to a http.Request.

func NewDeleteServiceAccountParams

func NewDeleteServiceAccountParams() *DeleteServiceAccountParams

NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams 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 NewDeleteServiceAccountParamsWithContext

func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithContext creates a new DeleteServiceAccountParams object with the ability to set a context for a request.

func NewDeleteServiceAccountParamsWithHTTPClient

func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithHTTPClient creates a new DeleteServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceAccountParamsWithTimeout

func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithTimeout creates a new DeleteServiceAccountParams object with the ability to set a timeout on a request.

func (*DeleteServiceAccountParams) SetContext

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

SetContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) SetDefaults

func (o *DeleteServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) SetOrgID

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

SetOrgID adds the orgId to the delete service account params

func (*DeleteServiceAccountParams) SetServiceaccountID

func (o *DeleteServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the delete service account params

func (*DeleteServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) SetVersion

func (o *DeleteServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the delete service account params

func (*DeleteServiceAccountParams) WithContext

WithContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) WithOrgID

WithOrgID adds the orgID to the delete service account params

func (*DeleteServiceAccountParams) WithServiceaccountID

func (o *DeleteServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *DeleteServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the delete service account params

func (*DeleteServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WithVersion

WithVersion adds the version to the delete service account params

func (*DeleteServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceAccountReader

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

DeleteServiceAccountReader is a Reader for the DeleteServiceAccount structure.

func (*DeleteServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceAccountUnauthorized

type DeleteServiceAccountUnauthorized 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 *DeleteServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewDeleteServiceAccountUnauthorized

func NewDeleteServiceAccountUnauthorized() *DeleteServiceAccountUnauthorized

NewDeleteServiceAccountUnauthorized creates a DeleteServiceAccountUnauthorized with default headers values

func (*DeleteServiceAccountUnauthorized) Code

Code gets the status code for the delete service account unauthorized response

func (*DeleteServiceAccountUnauthorized) Error

func (*DeleteServiceAccountUnauthorized) GetPayload

func (*DeleteServiceAccountUnauthorized) IsClientError

func (o *DeleteServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this delete service account unauthorized response has a 4xx status code

func (*DeleteServiceAccountUnauthorized) IsCode

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

IsCode returns true when this delete service account unauthorized response a status code equal to that given

func (*DeleteServiceAccountUnauthorized) IsRedirect

func (o *DeleteServiceAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete service account unauthorized response has a 3xx status code

func (*DeleteServiceAccountUnauthorized) IsServerError

func (o *DeleteServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this delete service account unauthorized response has a 5xx status code

func (*DeleteServiceAccountUnauthorized) IsSuccess

func (o *DeleteServiceAccountUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete service account unauthorized response has a 2xx status code

func (*DeleteServiceAccountUnauthorized) String

type DeleteServiceAccountUnauthorizedBody

type DeleteServiceAccountUnauthorizedBody struct {

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

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

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

func (*DeleteServiceAccountUnauthorizedBody) ContextValidate

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

ContextValidate validate this delete service account unauthorized body based on the context it is used

func (*DeleteServiceAccountUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBody) Validate

Validate validates this delete service account unauthorized body

type DeleteServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

DeleteServiceAccountUnauthorizedBodyErrorsItems0 delete service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteServiceAccountUnauthorizedBodyErrorsItems0

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this delete service account unauthorized body errors items0

type DeleteServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this delete service account unauthorized body errors items0 links

type DeleteServiceAccountUnauthorizedBodyErrorsItems0Source

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

DeleteServiceAccountUnauthorizedBodyErrorsItems0Source delete service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteServiceAccountUnauthorizedBodyErrorsItems0Source

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this delete service account unauthorized body errors items0 source

type DeleteServiceAccountUnauthorizedBodyJsonapi

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

DeleteServiceAccountUnauthorizedBodyJsonapi delete service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteServiceAccountUnauthorizedBodyJsonapi

func (*DeleteServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this delete service account unauthorized body jsonapi based on context it is used

func (*DeleteServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this delete service account unauthorized body jsonapi

type GetManyGroupServiceAccountBadRequest

type GetManyGroupServiceAccountBadRequest 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 *GetManyGroupServiceAccountBadRequestBody
}

GetManyGroupServiceAccountBadRequest 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 NewGetManyGroupServiceAccountBadRequest

func NewGetManyGroupServiceAccountBadRequest() *GetManyGroupServiceAccountBadRequest

NewGetManyGroupServiceAccountBadRequest creates a GetManyGroupServiceAccountBadRequest with default headers values

func (*GetManyGroupServiceAccountBadRequest) Code

Code gets the status code for the get many group service account bad request response

func (*GetManyGroupServiceAccountBadRequest) Error

func (*GetManyGroupServiceAccountBadRequest) GetPayload

func (*GetManyGroupServiceAccountBadRequest) IsClientError

func (o *GetManyGroupServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this get many group service account bad request response has a 4xx status code

func (*GetManyGroupServiceAccountBadRequest) IsCode

IsCode returns true when this get many group service account bad request response a status code equal to that given

func (*GetManyGroupServiceAccountBadRequest) IsRedirect

IsRedirect returns true when this get many group service account bad request response has a 3xx status code

func (*GetManyGroupServiceAccountBadRequest) IsServerError

func (o *GetManyGroupServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this get many group service account bad request response has a 5xx status code

func (*GetManyGroupServiceAccountBadRequest) IsSuccess

IsSuccess returns true when this get many group service account bad request response has a 2xx status code

func (*GetManyGroupServiceAccountBadRequest) String

type GetManyGroupServiceAccountBadRequestBody

type GetManyGroupServiceAccountBadRequestBody struct {

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

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

GetManyGroupServiceAccountBadRequestBody get many group service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetManyGroupServiceAccountBadRequestBody

func (*GetManyGroupServiceAccountBadRequestBody) ContextValidate

ContextValidate validate this get many group service account bad request body based on the context it is used

func (*GetManyGroupServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBody) Validate

Validate validates this get many group service account bad request body

type GetManyGroupServiceAccountBadRequestBodyErrorsItems0

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

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

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

GetManyGroupServiceAccountBadRequestBodyErrorsItems0 get many group service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetManyGroupServiceAccountBadRequestBodyErrorsItems0

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this get many group service account bad request body errors items0 based on the context it is used

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this get many group service account bad request body errors items0

type GetManyGroupServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get many group service account bad request body errors items0 links based on context it is used

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this get many group service account bad request body errors items0 links

type GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source

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

GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source get many group service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get many group service account bad request body errors items0 source based on context it is used

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this get many group service account bad request body errors items0 source

type GetManyGroupServiceAccountBadRequestBodyJsonapi

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

GetManyGroupServiceAccountBadRequestBodyJsonapi get many group service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetManyGroupServiceAccountBadRequestBodyJsonapi

func (*GetManyGroupServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this get many group service account bad request body jsonapi based on context it is used

func (*GetManyGroupServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this get many group service account bad request body jsonapi

type GetManyGroupServiceAccountForbidden

type GetManyGroupServiceAccountForbidden 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 *GetManyGroupServiceAccountForbiddenBody
}

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

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

func NewGetManyGroupServiceAccountForbidden

func NewGetManyGroupServiceAccountForbidden() *GetManyGroupServiceAccountForbidden

NewGetManyGroupServiceAccountForbidden creates a GetManyGroupServiceAccountForbidden with default headers values

func (*GetManyGroupServiceAccountForbidden) Code

Code gets the status code for the get many group service account forbidden response

func (*GetManyGroupServiceAccountForbidden) Error

func (*GetManyGroupServiceAccountForbidden) GetPayload

func (*GetManyGroupServiceAccountForbidden) IsClientError

func (o *GetManyGroupServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this get many group service account forbidden response has a 4xx status code

func (*GetManyGroupServiceAccountForbidden) IsCode

IsCode returns true when this get many group service account forbidden response a status code equal to that given

func (*GetManyGroupServiceAccountForbidden) IsRedirect

func (o *GetManyGroupServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this get many group service account forbidden response has a 3xx status code

func (*GetManyGroupServiceAccountForbidden) IsServerError

func (o *GetManyGroupServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this get many group service account forbidden response has a 5xx status code

func (*GetManyGroupServiceAccountForbidden) IsSuccess

IsSuccess returns true when this get many group service account forbidden response has a 2xx status code

func (*GetManyGroupServiceAccountForbidden) String

type GetManyGroupServiceAccountForbiddenBody

type GetManyGroupServiceAccountForbiddenBody struct {

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

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

GetManyGroupServiceAccountForbiddenBody get many group service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetManyGroupServiceAccountForbiddenBody

func (*GetManyGroupServiceAccountForbiddenBody) ContextValidate

ContextValidate validate this get many group service account forbidden body based on the context it is used

func (*GetManyGroupServiceAccountForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBody) Validate

Validate validates this get many group service account forbidden body

type GetManyGroupServiceAccountForbiddenBodyErrorsItems0

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

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

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

GetManyGroupServiceAccountForbiddenBodyErrorsItems0 get many group service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetManyGroupServiceAccountForbiddenBodyErrorsItems0

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this get many group service account forbidden body errors items0 based on the context it is used

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this get many group service account forbidden body errors items0

type GetManyGroupServiceAccountForbiddenBodyErrorsItems0Links struct {

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

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

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get many group service account forbidden body errors items0 links based on context it is used

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this get many group service account forbidden body errors items0 links

type GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source

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

GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source get many group service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get many group service account forbidden body errors items0 source based on context it is used

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this get many group service account forbidden body errors items0 source

type GetManyGroupServiceAccountForbiddenBodyJsonapi

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

GetManyGroupServiceAccountForbiddenBodyJsonapi get many group service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetManyGroupServiceAccountForbiddenBodyJsonapi

func (*GetManyGroupServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this get many group service account forbidden body jsonapi based on context it is used

func (*GetManyGroupServiceAccountForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this get many group service account forbidden body jsonapi

type GetManyGroupServiceAccountInternalServerError

type GetManyGroupServiceAccountInternalServerError 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 *GetManyGroupServiceAccountInternalServerErrorBody
}

GetManyGroupServiceAccountInternalServerError 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 NewGetManyGroupServiceAccountInternalServerError

func NewGetManyGroupServiceAccountInternalServerError() *GetManyGroupServiceAccountInternalServerError

NewGetManyGroupServiceAccountInternalServerError creates a GetManyGroupServiceAccountInternalServerError with default headers values

func (*GetManyGroupServiceAccountInternalServerError) Code

Code gets the status code for the get many group service account internal server error response

func (*GetManyGroupServiceAccountInternalServerError) Error

func (*GetManyGroupServiceAccountInternalServerError) GetPayload

func (*GetManyGroupServiceAccountInternalServerError) IsClientError

IsClientError returns true when this get many group service account internal server error response has a 4xx status code

func (*GetManyGroupServiceAccountInternalServerError) IsCode

IsCode returns true when this get many group service account internal server error response a status code equal to that given

func (*GetManyGroupServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this get many group service account internal server error response has a 3xx status code

func (*GetManyGroupServiceAccountInternalServerError) IsServerError

IsServerError returns true when this get many group service account internal server error response has a 5xx status code

func (*GetManyGroupServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this get many group service account internal server error response has a 2xx status code

func (*GetManyGroupServiceAccountInternalServerError) String

type GetManyGroupServiceAccountInternalServerErrorBody

type GetManyGroupServiceAccountInternalServerErrorBody struct {

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

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

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

func (*GetManyGroupServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this get many group service account internal server error body based on the context it is used

func (*GetManyGroupServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBody) Validate

Validate validates this get many group service account internal server error body

type GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0 get many group service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this get many group service account internal server error body errors items0 based on the context it is used

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get many group service account internal server error body errors items0

type GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get many group service account internal server error body errors items0 links based on context it is used

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get many group service account internal server error body errors items0 links

type GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

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

GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source get many group service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get many group service account internal server error body errors items0 source based on context it is used

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get many group service account internal server error body errors items0 source

type GetManyGroupServiceAccountInternalServerErrorBodyJsonapi

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

GetManyGroupServiceAccountInternalServerErrorBodyJsonapi get many group service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetManyGroupServiceAccountInternalServerErrorBodyJsonapi

func (*GetManyGroupServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this get many group service account internal server error body jsonapi based on context it is used

func (*GetManyGroupServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this get many group service account internal server error body jsonapi

type GetManyGroupServiceAccountNotFound

type GetManyGroupServiceAccountNotFound 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 *GetManyGroupServiceAccountNotFoundBody
}

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

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

func NewGetManyGroupServiceAccountNotFound

func NewGetManyGroupServiceAccountNotFound() *GetManyGroupServiceAccountNotFound

NewGetManyGroupServiceAccountNotFound creates a GetManyGroupServiceAccountNotFound with default headers values

func (*GetManyGroupServiceAccountNotFound) Code

Code gets the status code for the get many group service account not found response

func (*GetManyGroupServiceAccountNotFound) Error

func (*GetManyGroupServiceAccountNotFound) GetPayload

func (*GetManyGroupServiceAccountNotFound) IsClientError

func (o *GetManyGroupServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this get many group service account not found response has a 4xx status code

func (*GetManyGroupServiceAccountNotFound) IsCode

IsCode returns true when this get many group service account not found response a status code equal to that given

func (*GetManyGroupServiceAccountNotFound) IsRedirect

func (o *GetManyGroupServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get many group service account not found response has a 3xx status code

func (*GetManyGroupServiceAccountNotFound) IsServerError

func (o *GetManyGroupServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this get many group service account not found response has a 5xx status code

func (*GetManyGroupServiceAccountNotFound) IsSuccess

IsSuccess returns true when this get many group service account not found response has a 2xx status code

func (*GetManyGroupServiceAccountNotFound) String

type GetManyGroupServiceAccountNotFoundBody

type GetManyGroupServiceAccountNotFoundBody struct {

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

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

GetManyGroupServiceAccountNotFoundBody get many group service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetManyGroupServiceAccountNotFoundBody

func (*GetManyGroupServiceAccountNotFoundBody) ContextValidate

ContextValidate validate this get many group service account not found body based on the context it is used

func (*GetManyGroupServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBody) Validate

Validate validates this get many group service account not found body

type GetManyGroupServiceAccountNotFoundBodyErrorsItems0

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

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

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

GetManyGroupServiceAccountNotFoundBodyErrorsItems0 get many group service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetManyGroupServiceAccountNotFoundBodyErrorsItems0

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this get many group service account not found body errors items0 based on the context it is used

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this get many group service account not found body errors items0

type GetManyGroupServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get many group service account not found body errors items0 links based on context it is used

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this get many group service account not found body errors items0 links

type GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source

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

GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source get many group service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get many group service account not found body errors items0 source based on context it is used

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this get many group service account not found body errors items0 source

type GetManyGroupServiceAccountNotFoundBodyJsonapi

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

GetManyGroupServiceAccountNotFoundBodyJsonapi get many group service account not found body jsonapi // Example: {"version":"1.0"} swagger:model GetManyGroupServiceAccountNotFoundBodyJsonapi

func (*GetManyGroupServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this get many group service account not found body jsonapi based on context it is used

func (*GetManyGroupServiceAccountNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this get many group service account not found body jsonapi

type GetManyGroupServiceAccountOK

type GetManyGroupServiceAccountOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *GetManyGroupServiceAccountOKBody
}

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

A list of service accounts is returned.

func NewGetManyGroupServiceAccountOK

func NewGetManyGroupServiceAccountOK() *GetManyGroupServiceAccountOK

NewGetManyGroupServiceAccountOK creates a GetManyGroupServiceAccountOK with default headers values

func (*GetManyGroupServiceAccountOK) Code

Code gets the status code for the get many group service account o k response

func (*GetManyGroupServiceAccountOK) Error

func (*GetManyGroupServiceAccountOK) GetPayload

func (*GetManyGroupServiceAccountOK) IsClientError

func (o *GetManyGroupServiceAccountOK) IsClientError() bool

IsClientError returns true when this get many group service account o k response has a 4xx status code

func (*GetManyGroupServiceAccountOK) IsCode

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

IsCode returns true when this get many group service account o k response a status code equal to that given

func (*GetManyGroupServiceAccountOK) IsRedirect

func (o *GetManyGroupServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this get many group service account o k response has a 3xx status code

func (*GetManyGroupServiceAccountOK) IsServerError

func (o *GetManyGroupServiceAccountOK) IsServerError() bool

IsServerError returns true when this get many group service account o k response has a 5xx status code

func (*GetManyGroupServiceAccountOK) IsSuccess

func (o *GetManyGroupServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this get many group service account o k response has a 2xx status code

func (*GetManyGroupServiceAccountOK) String

type GetManyGroupServiceAccountOKBody

type GetManyGroupServiceAccountOKBody struct {

	// data
	// Required: true
	Data []*GetManyGroupServiceAccountOKBodyDataItems0 `json:"data"`

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

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

GetManyGroupServiceAccountOKBody get many group service account o k body swagger:model GetManyGroupServiceAccountOKBody

func (*GetManyGroupServiceAccountOKBody) ContextValidate

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

ContextValidate validate this get many group service account o k body based on the context it is used

func (*GetManyGroupServiceAccountOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBody) Validate

Validate validates this get many group service account o k body

type GetManyGroupServiceAccountOKBodyDataItems0

type GetManyGroupServiceAccountOKBodyDataItems0 struct {

	// attributes
	// Required: true
	Attributes *GetManyGroupServiceAccountOKBodyDataItems0Attributes `json:"attributes"`

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

	// links
	Links *GetManyGroupServiceAccountOKBodyDataItems0Links `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

GetManyGroupServiceAccountOKBodyDataItems0 get many group service account o k body data items0 swagger:model GetManyGroupServiceAccountOKBodyDataItems0

func (*GetManyGroupServiceAccountOKBodyDataItems0) ContextValidate

ContextValidate validate this get many group service account o k body data items0 based on the context it is used

func (*GetManyGroupServiceAccountOKBodyDataItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0) Validate

Validate validates this get many group service account o k body data items0

type GetManyGroupServiceAccountOKBodyDataItems0Attributes

type GetManyGroupServiceAccountOKBodyDataItems0Attributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

GetManyGroupServiceAccountOKBodyDataItems0Attributes get many group service account o k body data items0 attributes swagger:model GetManyGroupServiceAccountOKBodyDataItems0Attributes

func (*GetManyGroupServiceAccountOKBodyDataItems0Attributes) ContextValidate

ContextValidate validates this get many group service account o k body data items0 attributes based on context it is used

func (*GetManyGroupServiceAccountOKBodyDataItems0Attributes) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0Attributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0Attributes) Validate

Validate validates this get many group service account o k body data items0 attributes

type GetManyGroupServiceAccountOKBodyDataItems0Links struct {

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

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

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

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

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

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

GetManyGroupServiceAccountOKBodyDataItems0Links get many group service account o k body data items0 links swagger:model GetManyGroupServiceAccountOKBodyDataItems0Links

func (*GetManyGroupServiceAccountOKBodyDataItems0Links) ContextValidate

ContextValidate validates this get many group service account o k body data items0 links based on context it is used

func (*GetManyGroupServiceAccountOKBodyDataItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountOKBodyDataItems0Links) Validate

Validate validates this get many group service account o k body data items0 links

type GetManyGroupServiceAccountParams

type GetManyGroupServiceAccountParams struct {

	/* EndingBefore.

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

	/* GroupID.

	   The ID of the Snyk Group that owns the service accounts.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* Limit.

	   Number of results to return per page

	   Format: int32
	   Default: 10
	*/
	Limit *int32

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

GetManyGroupServiceAccountParams contains all the parameters to send to the API endpoint

for the get many group service account operation.

Typically these are written to a http.Request.

func NewGetManyGroupServiceAccountParams

func NewGetManyGroupServiceAccountParams() *GetManyGroupServiceAccountParams

NewGetManyGroupServiceAccountParams creates a new GetManyGroupServiceAccountParams 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 NewGetManyGroupServiceAccountParamsWithContext

func NewGetManyGroupServiceAccountParamsWithContext(ctx context.Context) *GetManyGroupServiceAccountParams

NewGetManyGroupServiceAccountParamsWithContext creates a new GetManyGroupServiceAccountParams object with the ability to set a context for a request.

func NewGetManyGroupServiceAccountParamsWithHTTPClient

func NewGetManyGroupServiceAccountParamsWithHTTPClient(client *http.Client) *GetManyGroupServiceAccountParams

NewGetManyGroupServiceAccountParamsWithHTTPClient creates a new GetManyGroupServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetManyGroupServiceAccountParamsWithTimeout

func NewGetManyGroupServiceAccountParamsWithTimeout(timeout time.Duration) *GetManyGroupServiceAccountParams

NewGetManyGroupServiceAccountParamsWithTimeout creates a new GetManyGroupServiceAccountParams object with the ability to set a timeout on a request.

func (*GetManyGroupServiceAccountParams) SetContext

SetContext adds the context to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetDefaults

func (o *GetManyGroupServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the get many group service account params (not the query body).

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

func (*GetManyGroupServiceAccountParams) SetEndingBefore

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

SetEndingBefore adds the endingBefore to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetGroupID

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

SetGroupID adds the groupId to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetLimit

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

SetLimit adds the limit to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetStartingAfter

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

SetStartingAfter adds the startingAfter to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get many group service account params

func (*GetManyGroupServiceAccountParams) SetVersion

func (o *GetManyGroupServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithContext

WithContext adds the context to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the get many group service account params (not the query body).

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

func (*GetManyGroupServiceAccountParams) WithEndingBefore

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

WithEndingBefore adds the endingBefore to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithGroupID

WithGroupID adds the groupID to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithLimit

WithLimit adds the limit to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithStartingAfter

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

WithStartingAfter adds the startingAfter to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the get many group service account params

func (*GetManyGroupServiceAccountParams) WithVersion

WithVersion adds the version to the get many group service account params

func (*GetManyGroupServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManyGroupServiceAccountReader

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

GetManyGroupServiceAccountReader is a Reader for the GetManyGroupServiceAccount structure.

func (*GetManyGroupServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManyGroupServiceAccountUnauthorized

type GetManyGroupServiceAccountUnauthorized 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 *GetManyGroupServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewGetManyGroupServiceAccountUnauthorized

func NewGetManyGroupServiceAccountUnauthorized() *GetManyGroupServiceAccountUnauthorized

NewGetManyGroupServiceAccountUnauthorized creates a GetManyGroupServiceAccountUnauthorized with default headers values

func (*GetManyGroupServiceAccountUnauthorized) Code

Code gets the status code for the get many group service account unauthorized response

func (*GetManyGroupServiceAccountUnauthorized) Error

func (*GetManyGroupServiceAccountUnauthorized) GetPayload

func (*GetManyGroupServiceAccountUnauthorized) IsClientError

func (o *GetManyGroupServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this get many group service account unauthorized response has a 4xx status code

func (*GetManyGroupServiceAccountUnauthorized) IsCode

IsCode returns true when this get many group service account unauthorized response a status code equal to that given

func (*GetManyGroupServiceAccountUnauthorized) IsRedirect

IsRedirect returns true when this get many group service account unauthorized response has a 3xx status code

func (*GetManyGroupServiceAccountUnauthorized) IsServerError

func (o *GetManyGroupServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this get many group service account unauthorized response has a 5xx status code

func (*GetManyGroupServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this get many group service account unauthorized response has a 2xx status code

func (*GetManyGroupServiceAccountUnauthorized) String

type GetManyGroupServiceAccountUnauthorizedBody

type GetManyGroupServiceAccountUnauthorizedBody struct {

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

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

GetManyGroupServiceAccountUnauthorizedBody get many group service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetManyGroupServiceAccountUnauthorizedBody

func (*GetManyGroupServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this get many group service account unauthorized body based on the context it is used

func (*GetManyGroupServiceAccountUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBody) Validate

Validate validates this get many group service account unauthorized body

type GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0 get many group service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this get many group service account unauthorized body errors items0 based on the context it is used

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this get many group service account unauthorized body errors items0

type GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get many group service account unauthorized body errors items0 links based on context it is used

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get many group service account unauthorized body errors items0 links

type GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source

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

GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source get many group service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get many group service account unauthorized body errors items0 source based on context it is used

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get many group service account unauthorized body errors items0 source

type GetManyGroupServiceAccountUnauthorizedBodyJsonapi

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

GetManyGroupServiceAccountUnauthorizedBodyJsonapi get many group service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetManyGroupServiceAccountUnauthorizedBodyJsonapi

func (*GetManyGroupServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this get many group service account unauthorized body jsonapi based on context it is used

func (*GetManyGroupServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyGroupServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this get many group service account unauthorized body jsonapi

type GetManyOrgServiceAccountsBadRequest

type GetManyOrgServiceAccountsBadRequest 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 *GetManyOrgServiceAccountsBadRequestBody
}

GetManyOrgServiceAccountsBadRequest 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 NewGetManyOrgServiceAccountsBadRequest

func NewGetManyOrgServiceAccountsBadRequest() *GetManyOrgServiceAccountsBadRequest

NewGetManyOrgServiceAccountsBadRequest creates a GetManyOrgServiceAccountsBadRequest with default headers values

func (*GetManyOrgServiceAccountsBadRequest) Code

Code gets the status code for the get many org service accounts bad request response

func (*GetManyOrgServiceAccountsBadRequest) Error

func (*GetManyOrgServiceAccountsBadRequest) GetPayload

func (*GetManyOrgServiceAccountsBadRequest) IsClientError

func (o *GetManyOrgServiceAccountsBadRequest) IsClientError() bool

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

func (*GetManyOrgServiceAccountsBadRequest) IsCode

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

func (*GetManyOrgServiceAccountsBadRequest) IsRedirect

func (o *GetManyOrgServiceAccountsBadRequest) IsRedirect() bool

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

func (*GetManyOrgServiceAccountsBadRequest) IsServerError

func (o *GetManyOrgServiceAccountsBadRequest) IsServerError() bool

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

func (*GetManyOrgServiceAccountsBadRequest) IsSuccess

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

func (*GetManyOrgServiceAccountsBadRequest) String

type GetManyOrgServiceAccountsBadRequestBody

type GetManyOrgServiceAccountsBadRequestBody struct {

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

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

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

func (*GetManyOrgServiceAccountsBadRequestBody) ContextValidate

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

func (*GetManyOrgServiceAccountsBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBody) Validate

Validate validates this get many org service accounts bad request body

type GetManyOrgServiceAccountsBadRequestBodyErrorsItems0

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

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

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

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

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0) ContextValidate

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

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0) Validate

Validate validates this get many org service accounts bad request body errors items0

type GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Links struct {

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

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

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Links) Validate

Validate validates this get many org service accounts bad request body errors items0 links

type GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source

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

GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source get many org service accounts bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyErrorsItems0Source) Validate

Validate validates this get many org service accounts bad request body errors items0 source

type GetManyOrgServiceAccountsBadRequestBodyJsonapi

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

GetManyOrgServiceAccountsBadRequestBodyJsonapi get many org service accounts bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetManyOrgServiceAccountsBadRequestBodyJsonapi

func (*GetManyOrgServiceAccountsBadRequestBodyJsonapi) ContextValidate

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

func (*GetManyOrgServiceAccountsBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsBadRequestBodyJsonapi) Validate

Validate validates this get many org service accounts bad request body jsonapi

type GetManyOrgServiceAccountsForbidden

type GetManyOrgServiceAccountsForbidden 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 *GetManyOrgServiceAccountsForbiddenBody
}

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

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

func NewGetManyOrgServiceAccountsForbidden

func NewGetManyOrgServiceAccountsForbidden() *GetManyOrgServiceAccountsForbidden

NewGetManyOrgServiceAccountsForbidden creates a GetManyOrgServiceAccountsForbidden with default headers values

func (*GetManyOrgServiceAccountsForbidden) Code

Code gets the status code for the get many org service accounts forbidden response

func (*GetManyOrgServiceAccountsForbidden) Error

func (*GetManyOrgServiceAccountsForbidden) GetPayload

func (*GetManyOrgServiceAccountsForbidden) IsClientError

func (o *GetManyOrgServiceAccountsForbidden) IsClientError() bool

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

func (*GetManyOrgServiceAccountsForbidden) IsCode

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

func (*GetManyOrgServiceAccountsForbidden) IsRedirect

func (o *GetManyOrgServiceAccountsForbidden) IsRedirect() bool

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

func (*GetManyOrgServiceAccountsForbidden) IsServerError

func (o *GetManyOrgServiceAccountsForbidden) IsServerError() bool

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

func (*GetManyOrgServiceAccountsForbidden) IsSuccess

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

func (*GetManyOrgServiceAccountsForbidden) String

type GetManyOrgServiceAccountsForbiddenBody

type GetManyOrgServiceAccountsForbiddenBody struct {

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

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

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

func (*GetManyOrgServiceAccountsForbiddenBody) ContextValidate

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

func (*GetManyOrgServiceAccountsForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBody) Validate

Validate validates this get many org service accounts forbidden body

type GetManyOrgServiceAccountsForbiddenBodyErrorsItems0

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

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

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

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

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0) ContextValidate

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

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0) Validate

Validate validates this get many org service accounts forbidden body errors items0

type GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Links struct {

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

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

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Links) Validate

Validate validates this get many org service accounts forbidden body errors items0 links

type GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source

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

GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source get many org service accounts forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyErrorsItems0Source) Validate

Validate validates this get many org service accounts forbidden body errors items0 source

type GetManyOrgServiceAccountsForbiddenBodyJsonapi

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

GetManyOrgServiceAccountsForbiddenBodyJsonapi get many org service accounts forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetManyOrgServiceAccountsForbiddenBodyJsonapi

func (*GetManyOrgServiceAccountsForbiddenBodyJsonapi) ContextValidate

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

func (*GetManyOrgServiceAccountsForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsForbiddenBodyJsonapi) Validate

Validate validates this get many org service accounts forbidden body jsonapi

type GetManyOrgServiceAccountsInternalServerError

type GetManyOrgServiceAccountsInternalServerError 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 *GetManyOrgServiceAccountsInternalServerErrorBody
}

GetManyOrgServiceAccountsInternalServerError 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 NewGetManyOrgServiceAccountsInternalServerError

func NewGetManyOrgServiceAccountsInternalServerError() *GetManyOrgServiceAccountsInternalServerError

NewGetManyOrgServiceAccountsInternalServerError creates a GetManyOrgServiceAccountsInternalServerError with default headers values

func (*GetManyOrgServiceAccountsInternalServerError) Code

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

func (*GetManyOrgServiceAccountsInternalServerError) Error

func (*GetManyOrgServiceAccountsInternalServerError) GetPayload

func (*GetManyOrgServiceAccountsInternalServerError) IsClientError

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

func (*GetManyOrgServiceAccountsInternalServerError) IsCode

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

func (*GetManyOrgServiceAccountsInternalServerError) IsRedirect

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

func (*GetManyOrgServiceAccountsInternalServerError) IsServerError

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

func (*GetManyOrgServiceAccountsInternalServerError) IsSuccess

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

func (*GetManyOrgServiceAccountsInternalServerError) String

type GetManyOrgServiceAccountsInternalServerErrorBody

type GetManyOrgServiceAccountsInternalServerErrorBody struct {

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

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

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

func (*GetManyOrgServiceAccountsInternalServerErrorBody) ContextValidate

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

func (*GetManyOrgServiceAccountsInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBody) Validate

Validate validates this get many org service accounts internal server error body

type GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get many org service accounts internal server error body errors items0

type GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Links) Validate

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

type GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Source

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

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyErrorsItems0Source) Validate

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

type GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi

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

GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi get many org service accounts internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi

func (*GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi) ContextValidate

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

func (*GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsInternalServerErrorBodyJsonapi) Validate

Validate validates this get many org service accounts internal server error body jsonapi

type GetManyOrgServiceAccountsNotFound

type GetManyOrgServiceAccountsNotFound 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 *GetManyOrgServiceAccountsNotFoundBody
}

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

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

func NewGetManyOrgServiceAccountsNotFound

func NewGetManyOrgServiceAccountsNotFound() *GetManyOrgServiceAccountsNotFound

NewGetManyOrgServiceAccountsNotFound creates a GetManyOrgServiceAccountsNotFound with default headers values

func (*GetManyOrgServiceAccountsNotFound) Code

Code gets the status code for the get many org service accounts not found response

func (*GetManyOrgServiceAccountsNotFound) Error

func (*GetManyOrgServiceAccountsNotFound) GetPayload

func (*GetManyOrgServiceAccountsNotFound) IsClientError

func (o *GetManyOrgServiceAccountsNotFound) IsClientError() bool

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

func (*GetManyOrgServiceAccountsNotFound) IsCode

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

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

func (*GetManyOrgServiceAccountsNotFound) IsRedirect

func (o *GetManyOrgServiceAccountsNotFound) IsRedirect() bool

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

func (*GetManyOrgServiceAccountsNotFound) IsServerError

func (o *GetManyOrgServiceAccountsNotFound) IsServerError() bool

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

func (*GetManyOrgServiceAccountsNotFound) IsSuccess

func (o *GetManyOrgServiceAccountsNotFound) IsSuccess() bool

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

func (*GetManyOrgServiceAccountsNotFound) String

type GetManyOrgServiceAccountsNotFoundBody

type GetManyOrgServiceAccountsNotFoundBody struct {

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

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

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

func (*GetManyOrgServiceAccountsNotFoundBody) ContextValidate

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

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

func (*GetManyOrgServiceAccountsNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBody) Validate

Validate validates this get many org service accounts not found body

type GetManyOrgServiceAccountsNotFoundBodyErrorsItems0

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

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

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

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

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0) ContextValidate

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

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0) Validate

Validate validates this get many org service accounts not found body errors items0

type GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Links struct {

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

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

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Links) Validate

Validate validates this get many org service accounts not found body errors items0 links

type GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source

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

GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source get many org service accounts not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyErrorsItems0Source) Validate

Validate validates this get many org service accounts not found body errors items0 source

type GetManyOrgServiceAccountsNotFoundBodyJsonapi

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

GetManyOrgServiceAccountsNotFoundBodyJsonapi get many org service accounts not found body jsonapi // Example: {"version":"1.0"} swagger:model GetManyOrgServiceAccountsNotFoundBodyJsonapi

func (*GetManyOrgServiceAccountsNotFoundBodyJsonapi) ContextValidate

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

func (*GetManyOrgServiceAccountsNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsNotFoundBodyJsonapi) Validate

Validate validates this get many org service accounts not found body jsonapi

type GetManyOrgServiceAccountsOK

type GetManyOrgServiceAccountsOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *GetManyOrgServiceAccountsOKBody
}

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

A list of service accounts is returned.

func NewGetManyOrgServiceAccountsOK

func NewGetManyOrgServiceAccountsOK() *GetManyOrgServiceAccountsOK

NewGetManyOrgServiceAccountsOK creates a GetManyOrgServiceAccountsOK with default headers values

func (*GetManyOrgServiceAccountsOK) Code

func (o *GetManyOrgServiceAccountsOK) Code() int

Code gets the status code for the get many org service accounts o k response

func (*GetManyOrgServiceAccountsOK) Error

func (*GetManyOrgServiceAccountsOK) GetPayload

func (*GetManyOrgServiceAccountsOK) IsClientError

func (o *GetManyOrgServiceAccountsOK) IsClientError() bool

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

func (*GetManyOrgServiceAccountsOK) IsCode

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

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

func (*GetManyOrgServiceAccountsOK) IsRedirect

func (o *GetManyOrgServiceAccountsOK) IsRedirect() bool

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

func (*GetManyOrgServiceAccountsOK) IsServerError

func (o *GetManyOrgServiceAccountsOK) IsServerError() bool

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

func (*GetManyOrgServiceAccountsOK) IsSuccess

func (o *GetManyOrgServiceAccountsOK) IsSuccess() bool

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

func (*GetManyOrgServiceAccountsOK) String

func (o *GetManyOrgServiceAccountsOK) String() string

type GetManyOrgServiceAccountsOKBody

type GetManyOrgServiceAccountsOKBody struct {

	// data
	// Required: true
	Data []*GetManyOrgServiceAccountsOKBodyDataItems0 `json:"data"`

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

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

GetManyOrgServiceAccountsOKBody get many org service accounts o k body swagger:model GetManyOrgServiceAccountsOKBody

func (*GetManyOrgServiceAccountsOKBody) ContextValidate

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

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

func (*GetManyOrgServiceAccountsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBody) Validate

Validate validates this get many org service accounts o k body

type GetManyOrgServiceAccountsOKBodyDataItems0

type GetManyOrgServiceAccountsOKBodyDataItems0 struct {

	// attributes
	// Required: true
	Attributes *GetManyOrgServiceAccountsOKBodyDataItems0Attributes `json:"attributes"`

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

	// links
	Links *GetManyOrgServiceAccountsOKBodyDataItems0Links `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

GetManyOrgServiceAccountsOKBodyDataItems0 get many org service accounts o k body data items0 swagger:model GetManyOrgServiceAccountsOKBodyDataItems0

func (*GetManyOrgServiceAccountsOKBodyDataItems0) ContextValidate

ContextValidate validate this get many org service accounts o k body data items0 based on the context it is used

func (*GetManyOrgServiceAccountsOKBodyDataItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0) Validate

Validate validates this get many org service accounts o k body data items0

type GetManyOrgServiceAccountsOKBodyDataItems0Attributes

type GetManyOrgServiceAccountsOKBodyDataItems0Attributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

GetManyOrgServiceAccountsOKBodyDataItems0Attributes get many org service accounts o k body data items0 attributes swagger:model GetManyOrgServiceAccountsOKBodyDataItems0Attributes

func (*GetManyOrgServiceAccountsOKBodyDataItems0Attributes) ContextValidate

ContextValidate validates this get many org service accounts o k body data items0 attributes based on context it is used

func (*GetManyOrgServiceAccountsOKBodyDataItems0Attributes) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0Attributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0Attributes) Validate

Validate validates this get many org service accounts o k body data items0 attributes

type GetManyOrgServiceAccountsOKBodyDataItems0Links struct {

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

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

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

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

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

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

GetManyOrgServiceAccountsOKBodyDataItems0Links get many org service accounts o k body data items0 links swagger:model GetManyOrgServiceAccountsOKBodyDataItems0Links

func (*GetManyOrgServiceAccountsOKBodyDataItems0Links) ContextValidate

ContextValidate validates this get many org service accounts o k body data items0 links based on context it is used

func (*GetManyOrgServiceAccountsOKBodyDataItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsOKBodyDataItems0Links) Validate

Validate validates this get many org service accounts o k body data items0 links

type GetManyOrgServiceAccountsParams

type GetManyOrgServiceAccountsParams 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 Snyk Organization that owns the service accounts.

	   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
}

GetManyOrgServiceAccountsParams contains all the parameters to send to the API endpoint

for the get many org service accounts operation.

Typically these are written to a http.Request.

func NewGetManyOrgServiceAccountsParams

func NewGetManyOrgServiceAccountsParams() *GetManyOrgServiceAccountsParams

NewGetManyOrgServiceAccountsParams creates a new GetManyOrgServiceAccountsParams 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 NewGetManyOrgServiceAccountsParamsWithContext

func NewGetManyOrgServiceAccountsParamsWithContext(ctx context.Context) *GetManyOrgServiceAccountsParams

NewGetManyOrgServiceAccountsParamsWithContext creates a new GetManyOrgServiceAccountsParams object with the ability to set a context for a request.

func NewGetManyOrgServiceAccountsParamsWithHTTPClient

func NewGetManyOrgServiceAccountsParamsWithHTTPClient(client *http.Client) *GetManyOrgServiceAccountsParams

NewGetManyOrgServiceAccountsParamsWithHTTPClient creates a new GetManyOrgServiceAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetManyOrgServiceAccountsParamsWithTimeout

func NewGetManyOrgServiceAccountsParamsWithTimeout(timeout time.Duration) *GetManyOrgServiceAccountsParams

NewGetManyOrgServiceAccountsParamsWithTimeout creates a new GetManyOrgServiceAccountsParams object with the ability to set a timeout on a request.

func (*GetManyOrgServiceAccountsParams) SetContext

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

SetContext adds the context to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetDefaults

func (o *GetManyOrgServiceAccountsParams) SetDefaults()

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

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

func (*GetManyOrgServiceAccountsParams) SetEndingBefore

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

SetEndingBefore adds the endingBefore to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetLimit

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

SetLimit adds the limit to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetOrgID

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

SetOrgID adds the orgId to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetStartingAfter

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

SetStartingAfter adds the startingAfter to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) SetVersion

func (o *GetManyOrgServiceAccountsParams) SetVersion(version string)

SetVersion adds the version to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithContext

WithContext adds the context to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithDefaults

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

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

func (*GetManyOrgServiceAccountsParams) WithEndingBefore

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

WithEndingBefore adds the endingBefore to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithLimit

WithLimit adds the limit to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithOrgID

WithOrgID adds the orgID to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithStartingAfter

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

WithStartingAfter adds the startingAfter to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithTimeout

WithTimeout adds the timeout to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WithVersion

WithVersion adds the version to the get many org service accounts params

func (*GetManyOrgServiceAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManyOrgServiceAccountsReader

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

GetManyOrgServiceAccountsReader is a Reader for the GetManyOrgServiceAccounts structure.

func (*GetManyOrgServiceAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManyOrgServiceAccountsUnauthorized

type GetManyOrgServiceAccountsUnauthorized 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 *GetManyOrgServiceAccountsUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewGetManyOrgServiceAccountsUnauthorized

func NewGetManyOrgServiceAccountsUnauthorized() *GetManyOrgServiceAccountsUnauthorized

NewGetManyOrgServiceAccountsUnauthorized creates a GetManyOrgServiceAccountsUnauthorized with default headers values

func (*GetManyOrgServiceAccountsUnauthorized) Code

Code gets the status code for the get many org service accounts unauthorized response

func (*GetManyOrgServiceAccountsUnauthorized) Error

func (*GetManyOrgServiceAccountsUnauthorized) GetPayload

func (*GetManyOrgServiceAccountsUnauthorized) IsClientError

func (o *GetManyOrgServiceAccountsUnauthorized) IsClientError() bool

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

func (*GetManyOrgServiceAccountsUnauthorized) IsCode

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

func (*GetManyOrgServiceAccountsUnauthorized) IsRedirect

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

func (*GetManyOrgServiceAccountsUnauthorized) IsServerError

func (o *GetManyOrgServiceAccountsUnauthorized) IsServerError() bool

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

func (*GetManyOrgServiceAccountsUnauthorized) IsSuccess

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

func (*GetManyOrgServiceAccountsUnauthorized) String

type GetManyOrgServiceAccountsUnauthorizedBody

type GetManyOrgServiceAccountsUnauthorizedBody struct {

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

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

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

func (*GetManyOrgServiceAccountsUnauthorizedBody) ContextValidate

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

func (*GetManyOrgServiceAccountsUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBody) Validate

Validate validates this get many org service accounts unauthorized body

type GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0

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

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

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

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0) Validate

Validate validates this get many org service accounts unauthorized body errors items0

type GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get many org service accounts unauthorized body errors items0 links

type GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source

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

GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source get many org service accounts unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get many org service accounts unauthorized body errors items0 source

type GetManyOrgServiceAccountsUnauthorizedBodyJsonapi

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

GetManyOrgServiceAccountsUnauthorizedBodyJsonapi get many org service accounts unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetManyOrgServiceAccountsUnauthorizedBodyJsonapi

func (*GetManyOrgServiceAccountsUnauthorizedBodyJsonapi) ContextValidate

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

func (*GetManyOrgServiceAccountsUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetManyOrgServiceAccountsUnauthorizedBodyJsonapi) Validate

Validate validates this get many org service accounts unauthorized body jsonapi

type GetOneGroupServiceAccountBadRequest

type GetOneGroupServiceAccountBadRequest 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 *GetOneGroupServiceAccountBadRequestBody
}

GetOneGroupServiceAccountBadRequest 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 NewGetOneGroupServiceAccountBadRequest

func NewGetOneGroupServiceAccountBadRequest() *GetOneGroupServiceAccountBadRequest

NewGetOneGroupServiceAccountBadRequest creates a GetOneGroupServiceAccountBadRequest with default headers values

func (*GetOneGroupServiceAccountBadRequest) Code

Code gets the status code for the get one group service account bad request response

func (*GetOneGroupServiceAccountBadRequest) Error

func (*GetOneGroupServiceAccountBadRequest) GetPayload

func (*GetOneGroupServiceAccountBadRequest) IsClientError

func (o *GetOneGroupServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this get one group service account bad request response has a 4xx status code

func (*GetOneGroupServiceAccountBadRequest) IsCode

IsCode returns true when this get one group service account bad request response a status code equal to that given

func (*GetOneGroupServiceAccountBadRequest) IsRedirect

func (o *GetOneGroupServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this get one group service account bad request response has a 3xx status code

func (*GetOneGroupServiceAccountBadRequest) IsServerError

func (o *GetOneGroupServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this get one group service account bad request response has a 5xx status code

func (*GetOneGroupServiceAccountBadRequest) IsSuccess

IsSuccess returns true when this get one group service account bad request response has a 2xx status code

func (*GetOneGroupServiceAccountBadRequest) String

type GetOneGroupServiceAccountBadRequestBody

type GetOneGroupServiceAccountBadRequestBody struct {

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

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

GetOneGroupServiceAccountBadRequestBody get one group service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneGroupServiceAccountBadRequestBody

func (*GetOneGroupServiceAccountBadRequestBody) ContextValidate

ContextValidate validate this get one group service account bad request body based on the context it is used

func (*GetOneGroupServiceAccountBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBody) Validate

Validate validates this get one group service account bad request body

type GetOneGroupServiceAccountBadRequestBodyErrorsItems0

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

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

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

GetOneGroupServiceAccountBadRequestBodyErrorsItems0 get one group service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneGroupServiceAccountBadRequestBodyErrorsItems0

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this get one group service account bad request body errors items0 based on the context it is used

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this get one group service account bad request body errors items0

type GetOneGroupServiceAccountBadRequestBodyErrorsItems0Links struct {

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

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

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one group service account bad request body errors items0 links based on context it is used

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this get one group service account bad request body errors items0 links

type GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source

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

GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source get one group service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one group service account bad request body errors items0 source based on context it is used

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this get one group service account bad request body errors items0 source

type GetOneGroupServiceAccountBadRequestBodyJsonapi

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

GetOneGroupServiceAccountBadRequestBodyJsonapi get one group service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetOneGroupServiceAccountBadRequestBodyJsonapi

func (*GetOneGroupServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this get one group service account bad request body jsonapi based on context it is used

func (*GetOneGroupServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this get one group service account bad request body jsonapi

type GetOneGroupServiceAccountForbidden

type GetOneGroupServiceAccountForbidden 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 *GetOneGroupServiceAccountForbiddenBody
}

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

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

func NewGetOneGroupServiceAccountForbidden

func NewGetOneGroupServiceAccountForbidden() *GetOneGroupServiceAccountForbidden

NewGetOneGroupServiceAccountForbidden creates a GetOneGroupServiceAccountForbidden with default headers values

func (*GetOneGroupServiceAccountForbidden) Code

Code gets the status code for the get one group service account forbidden response

func (*GetOneGroupServiceAccountForbidden) Error

func (*GetOneGroupServiceAccountForbidden) GetPayload

func (*GetOneGroupServiceAccountForbidden) IsClientError

func (o *GetOneGroupServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this get one group service account forbidden response has a 4xx status code

func (*GetOneGroupServiceAccountForbidden) IsCode

IsCode returns true when this get one group service account forbidden response a status code equal to that given

func (*GetOneGroupServiceAccountForbidden) IsRedirect

func (o *GetOneGroupServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this get one group service account forbidden response has a 3xx status code

func (*GetOneGroupServiceAccountForbidden) IsServerError

func (o *GetOneGroupServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this get one group service account forbidden response has a 5xx status code

func (*GetOneGroupServiceAccountForbidden) IsSuccess

IsSuccess returns true when this get one group service account forbidden response has a 2xx status code

func (*GetOneGroupServiceAccountForbidden) String

type GetOneGroupServiceAccountForbiddenBody

type GetOneGroupServiceAccountForbiddenBody struct {

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

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

GetOneGroupServiceAccountForbiddenBody get one group service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneGroupServiceAccountForbiddenBody

func (*GetOneGroupServiceAccountForbiddenBody) ContextValidate

ContextValidate validate this get one group service account forbidden body based on the context it is used

func (*GetOneGroupServiceAccountForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBody) Validate

Validate validates this get one group service account forbidden body

type GetOneGroupServiceAccountForbiddenBodyErrorsItems0

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

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

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

GetOneGroupServiceAccountForbiddenBodyErrorsItems0 get one group service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneGroupServiceAccountForbiddenBodyErrorsItems0

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this get one group service account forbidden body errors items0 based on the context it is used

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this get one group service account forbidden body errors items0

type GetOneGroupServiceAccountForbiddenBodyErrorsItems0Links struct {

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

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

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one group service account forbidden body errors items0 links based on context it is used

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this get one group service account forbidden body errors items0 links

type GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source

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

GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source get one group service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one group service account forbidden body errors items0 source based on context it is used

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this get one group service account forbidden body errors items0 source

type GetOneGroupServiceAccountForbiddenBodyJsonapi

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

GetOneGroupServiceAccountForbiddenBodyJsonapi get one group service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetOneGroupServiceAccountForbiddenBodyJsonapi

func (*GetOneGroupServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this get one group service account forbidden body jsonapi based on context it is used

func (*GetOneGroupServiceAccountForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this get one group service account forbidden body jsonapi

type GetOneGroupServiceAccountInternalServerError

type GetOneGroupServiceAccountInternalServerError 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 *GetOneGroupServiceAccountInternalServerErrorBody
}

GetOneGroupServiceAccountInternalServerError 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 NewGetOneGroupServiceAccountInternalServerError

func NewGetOneGroupServiceAccountInternalServerError() *GetOneGroupServiceAccountInternalServerError

NewGetOneGroupServiceAccountInternalServerError creates a GetOneGroupServiceAccountInternalServerError with default headers values

func (*GetOneGroupServiceAccountInternalServerError) Code

Code gets the status code for the get one group service account internal server error response

func (*GetOneGroupServiceAccountInternalServerError) Error

func (*GetOneGroupServiceAccountInternalServerError) GetPayload

func (*GetOneGroupServiceAccountInternalServerError) IsClientError

IsClientError returns true when this get one group service account internal server error response has a 4xx status code

func (*GetOneGroupServiceAccountInternalServerError) IsCode

IsCode returns true when this get one group service account internal server error response a status code equal to that given

func (*GetOneGroupServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this get one group service account internal server error response has a 3xx status code

func (*GetOneGroupServiceAccountInternalServerError) IsServerError

IsServerError returns true when this get one group service account internal server error response has a 5xx status code

func (*GetOneGroupServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this get one group service account internal server error response has a 2xx status code

func (*GetOneGroupServiceAccountInternalServerError) String

type GetOneGroupServiceAccountInternalServerErrorBody

type GetOneGroupServiceAccountInternalServerErrorBody struct {

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

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

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

func (*GetOneGroupServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this get one group service account internal server error body based on the context it is used

func (*GetOneGroupServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBody) Validate

Validate validates this get one group service account internal server error body

type GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0

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

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

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

GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0 get one group service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this get one group service account internal server error body errors items0 based on the context it is used

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get one group service account internal server error body errors items0

type GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one group service account internal server error body errors items0 links based on context it is used

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get one group service account internal server error body errors items0 links

type GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

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

GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source get one group service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one group service account internal server error body errors items0 source based on context it is used

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get one group service account internal server error body errors items0 source

type GetOneGroupServiceAccountInternalServerErrorBodyJsonapi

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

GetOneGroupServiceAccountInternalServerErrorBodyJsonapi get one group service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetOneGroupServiceAccountInternalServerErrorBodyJsonapi

func (*GetOneGroupServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this get one group service account internal server error body jsonapi based on context it is used

func (*GetOneGroupServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this get one group service account internal server error body jsonapi

type GetOneGroupServiceAccountNotFound

type GetOneGroupServiceAccountNotFound 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 *GetOneGroupServiceAccountNotFoundBody
}

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

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

func NewGetOneGroupServiceAccountNotFound

func NewGetOneGroupServiceAccountNotFound() *GetOneGroupServiceAccountNotFound

NewGetOneGroupServiceAccountNotFound creates a GetOneGroupServiceAccountNotFound with default headers values

func (*GetOneGroupServiceAccountNotFound) Code

Code gets the status code for the get one group service account not found response

func (*GetOneGroupServiceAccountNotFound) Error

func (*GetOneGroupServiceAccountNotFound) GetPayload

func (*GetOneGroupServiceAccountNotFound) IsClientError

func (o *GetOneGroupServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this get one group service account not found response has a 4xx status code

func (*GetOneGroupServiceAccountNotFound) IsCode

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

IsCode returns true when this get one group service account not found response a status code equal to that given

func (*GetOneGroupServiceAccountNotFound) IsRedirect

func (o *GetOneGroupServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get one group service account not found response has a 3xx status code

func (*GetOneGroupServiceAccountNotFound) IsServerError

func (o *GetOneGroupServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this get one group service account not found response has a 5xx status code

func (*GetOneGroupServiceAccountNotFound) IsSuccess

func (o *GetOneGroupServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this get one group service account not found response has a 2xx status code

func (*GetOneGroupServiceAccountNotFound) String

type GetOneGroupServiceAccountNotFoundBody

type GetOneGroupServiceAccountNotFoundBody struct {

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

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

GetOneGroupServiceAccountNotFoundBody get one group service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneGroupServiceAccountNotFoundBody

func (*GetOneGroupServiceAccountNotFoundBody) ContextValidate

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

ContextValidate validate this get one group service account not found body based on the context it is used

func (*GetOneGroupServiceAccountNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBody) Validate

Validate validates this get one group service account not found body

type GetOneGroupServiceAccountNotFoundBodyErrorsItems0

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

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

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

GetOneGroupServiceAccountNotFoundBodyErrorsItems0 get one group service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneGroupServiceAccountNotFoundBodyErrorsItems0

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this get one group service account not found body errors items0 based on the context it is used

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this get one group service account not found body errors items0

type GetOneGroupServiceAccountNotFoundBodyErrorsItems0Links struct {

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

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

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one group service account not found body errors items0 links based on context it is used

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this get one group service account not found body errors items0 links

type GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source

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

GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source get one group service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one group service account not found body errors items0 source based on context it is used

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this get one group service account not found body errors items0 source

type GetOneGroupServiceAccountNotFoundBodyJsonapi

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

GetOneGroupServiceAccountNotFoundBodyJsonapi get one group service account not found body jsonapi // Example: {"version":"1.0"} swagger:model GetOneGroupServiceAccountNotFoundBodyJsonapi

func (*GetOneGroupServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this get one group service account not found body jsonapi based on context it is used

func (*GetOneGroupServiceAccountNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this get one group service account not found body jsonapi

type GetOneGroupServiceAccountOK

type GetOneGroupServiceAccountOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *GetOneGroupServiceAccountOKBody
}

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

Service account is returned.

func NewGetOneGroupServiceAccountOK

func NewGetOneGroupServiceAccountOK() *GetOneGroupServiceAccountOK

NewGetOneGroupServiceAccountOK creates a GetOneGroupServiceAccountOK with default headers values

func (*GetOneGroupServiceAccountOK) Code

func (o *GetOneGroupServiceAccountOK) Code() int

Code gets the status code for the get one group service account o k response

func (*GetOneGroupServiceAccountOK) Error

func (*GetOneGroupServiceAccountOK) GetPayload

func (*GetOneGroupServiceAccountOK) IsClientError

func (o *GetOneGroupServiceAccountOK) IsClientError() bool

IsClientError returns true when this get one group service account o k response has a 4xx status code

func (*GetOneGroupServiceAccountOK) IsCode

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

IsCode returns true when this get one group service account o k response a status code equal to that given

func (*GetOneGroupServiceAccountOK) IsRedirect

func (o *GetOneGroupServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this get one group service account o k response has a 3xx status code

func (*GetOneGroupServiceAccountOK) IsServerError

func (o *GetOneGroupServiceAccountOK) IsServerError() bool

IsServerError returns true when this get one group service account o k response has a 5xx status code

func (*GetOneGroupServiceAccountOK) IsSuccess

func (o *GetOneGroupServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this get one group service account o k response has a 2xx status code

func (*GetOneGroupServiceAccountOK) String

func (o *GetOneGroupServiceAccountOK) String() string

type GetOneGroupServiceAccountOKBody

type GetOneGroupServiceAccountOKBody struct {

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

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

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

GetOneGroupServiceAccountOKBody get one group service account o k body swagger:model GetOneGroupServiceAccountOKBody

func (*GetOneGroupServiceAccountOKBody) ContextValidate

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

ContextValidate validate this get one group service account o k body based on the context it is used

func (*GetOneGroupServiceAccountOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBody) Validate

Validate validates this get one group service account o k body

type GetOneGroupServiceAccountOKBodyData

type GetOneGroupServiceAccountOKBodyData struct {

	// attributes
	// Required: true
	Attributes *GetOneGroupServiceAccountOKBodyDataAttributes `json:"attributes"`

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

	// links
	Links *GetOneGroupServiceAccountOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

GetOneGroupServiceAccountOKBodyData get one group service account o k body data swagger:model GetOneGroupServiceAccountOKBodyData

func (*GetOneGroupServiceAccountOKBodyData) ContextValidate

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

ContextValidate validate this get one group service account o k body data based on the context it is used

func (*GetOneGroupServiceAccountOKBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyData) Validate

Validate validates this get one group service account o k body data

type GetOneGroupServiceAccountOKBodyDataAttributes

type GetOneGroupServiceAccountOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

GetOneGroupServiceAccountOKBodyDataAttributes get one group service account o k body data attributes swagger:model GetOneGroupServiceAccountOKBodyDataAttributes

func (*GetOneGroupServiceAccountOKBodyDataAttributes) ContextValidate

ContextValidate validates this get one group service account o k body data attributes based on context it is used

func (*GetOneGroupServiceAccountOKBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyDataAttributes) Validate

Validate validates this get one group service account o k body data attributes

type GetOneGroupServiceAccountOKBodyDataLinks struct {

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

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

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

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

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

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

GetOneGroupServiceAccountOKBodyDataLinks get one group service account o k body data links swagger:model GetOneGroupServiceAccountOKBodyDataLinks

func (*GetOneGroupServiceAccountOKBodyDataLinks) ContextValidate

ContextValidate validates this get one group service account o k body data links based on context it is used

func (*GetOneGroupServiceAccountOKBodyDataLinks) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyDataLinks) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountOKBodyDataLinks) Validate

Validate validates this get one group service account o k body data links

type GetOneGroupServiceAccountParams

type GetOneGroupServiceAccountParams struct {

	/* GroupID.

	   The ID of the Snyk Group that owns the service account.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

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

GetOneGroupServiceAccountParams contains all the parameters to send to the API endpoint

for the get one group service account operation.

Typically these are written to a http.Request.

func NewGetOneGroupServiceAccountParams

func NewGetOneGroupServiceAccountParams() *GetOneGroupServiceAccountParams

NewGetOneGroupServiceAccountParams creates a new GetOneGroupServiceAccountParams 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 NewGetOneGroupServiceAccountParamsWithContext

func NewGetOneGroupServiceAccountParamsWithContext(ctx context.Context) *GetOneGroupServiceAccountParams

NewGetOneGroupServiceAccountParamsWithContext creates a new GetOneGroupServiceAccountParams object with the ability to set a context for a request.

func NewGetOneGroupServiceAccountParamsWithHTTPClient

func NewGetOneGroupServiceAccountParamsWithHTTPClient(client *http.Client) *GetOneGroupServiceAccountParams

NewGetOneGroupServiceAccountParamsWithHTTPClient creates a new GetOneGroupServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetOneGroupServiceAccountParamsWithTimeout

func NewGetOneGroupServiceAccountParamsWithTimeout(timeout time.Duration) *GetOneGroupServiceAccountParams

NewGetOneGroupServiceAccountParamsWithTimeout creates a new GetOneGroupServiceAccountParams object with the ability to set a timeout on a request.

func (*GetOneGroupServiceAccountParams) SetContext

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

SetContext adds the context to the get one group service account params

func (*GetOneGroupServiceAccountParams) SetDefaults

func (o *GetOneGroupServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the get one group service account params (not the query body).

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

func (*GetOneGroupServiceAccountParams) SetGroupID

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

SetGroupID adds the groupId to the get one group service account params

func (*GetOneGroupServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get one group service account params

func (*GetOneGroupServiceAccountParams) SetServiceaccountID

func (o *GetOneGroupServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the get one group service account params

func (*GetOneGroupServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get one group service account params

func (*GetOneGroupServiceAccountParams) SetVersion

func (o *GetOneGroupServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithContext

WithContext adds the context to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the get one group service account params (not the query body).

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

func (*GetOneGroupServiceAccountParams) WithGroupID

WithGroupID adds the groupID to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithServiceaccountID

func (o *GetOneGroupServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *GetOneGroupServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the get one group service account params

func (*GetOneGroupServiceAccountParams) WithVersion

WithVersion adds the version to the get one group service account params

func (*GetOneGroupServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOneGroupServiceAccountReader

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

GetOneGroupServiceAccountReader is a Reader for the GetOneGroupServiceAccount structure.

func (*GetOneGroupServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOneGroupServiceAccountUnauthorized

type GetOneGroupServiceAccountUnauthorized 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 *GetOneGroupServiceAccountUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewGetOneGroupServiceAccountUnauthorized

func NewGetOneGroupServiceAccountUnauthorized() *GetOneGroupServiceAccountUnauthorized

NewGetOneGroupServiceAccountUnauthorized creates a GetOneGroupServiceAccountUnauthorized with default headers values

func (*GetOneGroupServiceAccountUnauthorized) Code

Code gets the status code for the get one group service account unauthorized response

func (*GetOneGroupServiceAccountUnauthorized) Error

func (*GetOneGroupServiceAccountUnauthorized) GetPayload

func (*GetOneGroupServiceAccountUnauthorized) IsClientError

func (o *GetOneGroupServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this get one group service account unauthorized response has a 4xx status code

func (*GetOneGroupServiceAccountUnauthorized) IsCode

IsCode returns true when this get one group service account unauthorized response a status code equal to that given

func (*GetOneGroupServiceAccountUnauthorized) IsRedirect

IsRedirect returns true when this get one group service account unauthorized response has a 3xx status code

func (*GetOneGroupServiceAccountUnauthorized) IsServerError

func (o *GetOneGroupServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this get one group service account unauthorized response has a 5xx status code

func (*GetOneGroupServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this get one group service account unauthorized response has a 2xx status code

func (*GetOneGroupServiceAccountUnauthorized) String

type GetOneGroupServiceAccountUnauthorizedBody

type GetOneGroupServiceAccountUnauthorizedBody struct {

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

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

GetOneGroupServiceAccountUnauthorizedBody get one group service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneGroupServiceAccountUnauthorizedBody

func (*GetOneGroupServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this get one group service account unauthorized body based on the context it is used

func (*GetOneGroupServiceAccountUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBody) Validate

Validate validates this get one group service account unauthorized body

type GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0

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

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

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

GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0 get one group service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this get one group service account unauthorized body errors items0 based on the context it is used

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this get one group service account unauthorized body errors items0

type GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one group service account unauthorized body errors items0 links based on context it is used

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get one group service account unauthorized body errors items0 links

type GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source

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

GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source get one group service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one group service account unauthorized body errors items0 source based on context it is used

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get one group service account unauthorized body errors items0 source

type GetOneGroupServiceAccountUnauthorizedBodyJsonapi

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

GetOneGroupServiceAccountUnauthorizedBodyJsonapi get one group service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetOneGroupServiceAccountUnauthorizedBodyJsonapi

func (*GetOneGroupServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this get one group service account unauthorized body jsonapi based on context it is used

func (*GetOneGroupServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneGroupServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this get one group service account unauthorized body jsonapi

type GetOneOrgServiceAccountBadRequest

type GetOneOrgServiceAccountBadRequest 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 *GetOneOrgServiceAccountBadRequestBody
}

GetOneOrgServiceAccountBadRequest 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 NewGetOneOrgServiceAccountBadRequest

func NewGetOneOrgServiceAccountBadRequest() *GetOneOrgServiceAccountBadRequest

NewGetOneOrgServiceAccountBadRequest creates a GetOneOrgServiceAccountBadRequest with default headers values

func (*GetOneOrgServiceAccountBadRequest) Code

Code gets the status code for the get one org service account bad request response

func (*GetOneOrgServiceAccountBadRequest) Error

func (*GetOneOrgServiceAccountBadRequest) GetPayload

func (*GetOneOrgServiceAccountBadRequest) IsClientError

func (o *GetOneOrgServiceAccountBadRequest) IsClientError() bool

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

func (*GetOneOrgServiceAccountBadRequest) IsCode

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

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

func (*GetOneOrgServiceAccountBadRequest) IsRedirect

func (o *GetOneOrgServiceAccountBadRequest) IsRedirect() bool

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

func (*GetOneOrgServiceAccountBadRequest) IsServerError

func (o *GetOneOrgServiceAccountBadRequest) IsServerError() bool

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

func (*GetOneOrgServiceAccountBadRequest) IsSuccess

func (o *GetOneOrgServiceAccountBadRequest) IsSuccess() bool

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

func (*GetOneOrgServiceAccountBadRequest) String

type GetOneOrgServiceAccountBadRequestBody

type GetOneOrgServiceAccountBadRequestBody struct {

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

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

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

func (*GetOneOrgServiceAccountBadRequestBody) ContextValidate

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

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

func (*GetOneOrgServiceAccountBadRequestBody) MarshalBinary

func (o *GetOneOrgServiceAccountBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBody) UnmarshalBinary

func (o *GetOneOrgServiceAccountBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBody) Validate

Validate validates this get one org service account bad request body

type GetOneOrgServiceAccountBadRequestBodyErrorsItems0

type GetOneOrgServiceAccountBadRequestBodyErrorsItems0 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 *GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source `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"`
}

GetOneOrgServiceAccountBadRequestBodyErrorsItems0 get one org service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneOrgServiceAccountBadRequestBodyErrorsItems0

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this get one org service account bad request body errors items0 based on the context it is used

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this get one org service account bad request body errors items0

type GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one org service account bad request body errors items0 links based on context it is used

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this get one org service account bad request body errors items0 links

type GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source

type GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source 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"`
}

GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source get one org service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one org service account bad request body errors items0 source based on context it is used

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this get one org service account bad request body errors items0 source

type GetOneOrgServiceAccountBadRequestBodyJsonapi

type GetOneOrgServiceAccountBadRequestBodyJsonapi 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"`
}

GetOneOrgServiceAccountBadRequestBodyJsonapi get one org service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetOneOrgServiceAccountBadRequestBodyJsonapi

func (*GetOneOrgServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this get one org service account bad request body jsonapi based on context it is used

func (*GetOneOrgServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this get one org service account bad request body jsonapi

type GetOneOrgServiceAccountForbidden

type GetOneOrgServiceAccountForbidden 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 *GetOneOrgServiceAccountForbiddenBody
}

GetOneOrgServiceAccountForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewGetOneOrgServiceAccountForbidden

func NewGetOneOrgServiceAccountForbidden() *GetOneOrgServiceAccountForbidden

NewGetOneOrgServiceAccountForbidden creates a GetOneOrgServiceAccountForbidden with default headers values

func (*GetOneOrgServiceAccountForbidden) Code

Code gets the status code for the get one org service account forbidden response

func (*GetOneOrgServiceAccountForbidden) Error

func (*GetOneOrgServiceAccountForbidden) GetPayload

func (*GetOneOrgServiceAccountForbidden) IsClientError

func (o *GetOneOrgServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this get one org service account forbidden response has a 4xx status code

func (*GetOneOrgServiceAccountForbidden) IsCode

func (o *GetOneOrgServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this get one org service account forbidden response a status code equal to that given

func (*GetOneOrgServiceAccountForbidden) IsRedirect

func (o *GetOneOrgServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this get one org service account forbidden response has a 3xx status code

func (*GetOneOrgServiceAccountForbidden) IsServerError

func (o *GetOneOrgServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this get one org service account forbidden response has a 5xx status code

func (*GetOneOrgServiceAccountForbidden) IsSuccess

func (o *GetOneOrgServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this get one org service account forbidden response has a 2xx status code

func (*GetOneOrgServiceAccountForbidden) String

type GetOneOrgServiceAccountForbiddenBody

type GetOneOrgServiceAccountForbiddenBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetOneOrgServiceAccountForbiddenBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *GetOneOrgServiceAccountForbiddenBodyJsonapi `json:"jsonapi"`
}

GetOneOrgServiceAccountForbiddenBody get one org service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneOrgServiceAccountForbiddenBody

func (*GetOneOrgServiceAccountForbiddenBody) ContextValidate

func (o *GetOneOrgServiceAccountForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get one org service account forbidden body based on the context it is used

func (*GetOneOrgServiceAccountForbiddenBody) MarshalBinary

func (o *GetOneOrgServiceAccountForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBody) UnmarshalBinary

func (o *GetOneOrgServiceAccountForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBody) Validate

Validate validates this get one org service account forbidden body

type GetOneOrgServiceAccountForbiddenBodyErrorsItems0

type GetOneOrgServiceAccountForbiddenBodyErrorsItems0 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 *GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source `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"`
}

GetOneOrgServiceAccountForbiddenBodyErrorsItems0 get one org service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneOrgServiceAccountForbiddenBodyErrorsItems0

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this get one org service account forbidden body errors items0 based on the context it is used

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this get one org service account forbidden body errors items0

type GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one org service account forbidden body errors items0 links based on context it is used

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this get one org service account forbidden body errors items0 links

type GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source

type GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source 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"`
}

GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source get one org service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one org service account forbidden body errors items0 source based on context it is used

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this get one org service account forbidden body errors items0 source

type GetOneOrgServiceAccountForbiddenBodyJsonapi

type GetOneOrgServiceAccountForbiddenBodyJsonapi 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"`
}

GetOneOrgServiceAccountForbiddenBodyJsonapi get one org service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetOneOrgServiceAccountForbiddenBodyJsonapi

func (*GetOneOrgServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this get one org service account forbidden body jsonapi based on context it is used

func (*GetOneOrgServiceAccountForbiddenBodyJsonapi) MarshalBinary

func (o *GetOneOrgServiceAccountForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

func (o *GetOneOrgServiceAccountForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this get one org service account forbidden body jsonapi

type GetOneOrgServiceAccountInternalServerError

type GetOneOrgServiceAccountInternalServerError 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 *GetOneOrgServiceAccountInternalServerErrorBody
}

GetOneOrgServiceAccountInternalServerError 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 NewGetOneOrgServiceAccountInternalServerError

func NewGetOneOrgServiceAccountInternalServerError() *GetOneOrgServiceAccountInternalServerError

NewGetOneOrgServiceAccountInternalServerError creates a GetOneOrgServiceAccountInternalServerError with default headers values

func (*GetOneOrgServiceAccountInternalServerError) Code

Code gets the status code for the get one org service account internal server error response

func (*GetOneOrgServiceAccountInternalServerError) Error

func (*GetOneOrgServiceAccountInternalServerError) GetPayload

func (*GetOneOrgServiceAccountInternalServerError) IsClientError

IsClientError returns true when this get one org service account internal server error response has a 4xx status code

func (*GetOneOrgServiceAccountInternalServerError) IsCode

IsCode returns true when this get one org service account internal server error response a status code equal to that given

func (*GetOneOrgServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this get one org service account internal server error response has a 3xx status code

func (*GetOneOrgServiceAccountInternalServerError) IsServerError

IsServerError returns true when this get one org service account internal server error response has a 5xx status code

func (*GetOneOrgServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this get one org service account internal server error response has a 2xx status code

func (*GetOneOrgServiceAccountInternalServerError) String

type GetOneOrgServiceAccountInternalServerErrorBody

type GetOneOrgServiceAccountInternalServerErrorBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *GetOneOrgServiceAccountInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

GetOneOrgServiceAccountInternalServerErrorBody get one org service account internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneOrgServiceAccountInternalServerErrorBody

func (*GetOneOrgServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this get one org service account internal server error body based on the context it is used

func (*GetOneOrgServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBody) Validate

Validate validates this get one org service account internal server error body

type GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0

type GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0 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 *GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source `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"`
}

GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0 get one org service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this get one org service account internal server error body errors items0 based on the context it is used

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this get one org service account internal server error body errors items0

type GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one org service account internal server error body errors items0 links based on context it is used

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this get one org service account internal server error body errors items0 links

type GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source

type GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source 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"`
}

GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source get one org service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one org service account internal server error body errors items0 source based on context it is used

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this get one org service account internal server error body errors items0 source

type GetOneOrgServiceAccountInternalServerErrorBodyJsonapi

type GetOneOrgServiceAccountInternalServerErrorBodyJsonapi 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"`
}

GetOneOrgServiceAccountInternalServerErrorBodyJsonapi get one org service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetOneOrgServiceAccountInternalServerErrorBodyJsonapi

func (*GetOneOrgServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this get one org service account internal server error body jsonapi based on context it is used

func (*GetOneOrgServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this get one org service account internal server error body jsonapi

type GetOneOrgServiceAccountNotFound

type GetOneOrgServiceAccountNotFound 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 *GetOneOrgServiceAccountNotFoundBody
}

GetOneOrgServiceAccountNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewGetOneOrgServiceAccountNotFound

func NewGetOneOrgServiceAccountNotFound() *GetOneOrgServiceAccountNotFound

NewGetOneOrgServiceAccountNotFound creates a GetOneOrgServiceAccountNotFound with default headers values

func (*GetOneOrgServiceAccountNotFound) Code

Code gets the status code for the get one org service account not found response

func (*GetOneOrgServiceAccountNotFound) Error

func (*GetOneOrgServiceAccountNotFound) GetPayload

func (*GetOneOrgServiceAccountNotFound) IsClientError

func (o *GetOneOrgServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this get one org service account not found response has a 4xx status code

func (*GetOneOrgServiceAccountNotFound) IsCode

func (o *GetOneOrgServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this get one org service account not found response a status code equal to that given

func (*GetOneOrgServiceAccountNotFound) IsRedirect

func (o *GetOneOrgServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get one org service account not found response has a 3xx status code

func (*GetOneOrgServiceAccountNotFound) IsServerError

func (o *GetOneOrgServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this get one org service account not found response has a 5xx status code

func (*GetOneOrgServiceAccountNotFound) IsSuccess

func (o *GetOneOrgServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this get one org service account not found response has a 2xx status code

func (*GetOneOrgServiceAccountNotFound) String

type GetOneOrgServiceAccountNotFoundBody

type GetOneOrgServiceAccountNotFoundBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetOneOrgServiceAccountNotFoundBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *GetOneOrgServiceAccountNotFoundBodyJsonapi `json:"jsonapi"`
}

GetOneOrgServiceAccountNotFoundBody get one org service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneOrgServiceAccountNotFoundBody

func (*GetOneOrgServiceAccountNotFoundBody) ContextValidate

func (o *GetOneOrgServiceAccountNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get one org service account not found body based on the context it is used

func (*GetOneOrgServiceAccountNotFoundBody) MarshalBinary

func (o *GetOneOrgServiceAccountNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBody) UnmarshalBinary

func (o *GetOneOrgServiceAccountNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBody) Validate

Validate validates this get one org service account not found body

type GetOneOrgServiceAccountNotFoundBodyErrorsItems0

type GetOneOrgServiceAccountNotFoundBodyErrorsItems0 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 *GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source `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"`
}

GetOneOrgServiceAccountNotFoundBodyErrorsItems0 get one org service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneOrgServiceAccountNotFoundBodyErrorsItems0

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this get one org service account not found body errors items0 based on the context it is used

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this get one org service account not found body errors items0

type GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one org service account not found body errors items0 links based on context it is used

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this get one org service account not found body errors items0 links

type GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source

type GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source 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"`
}

GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source get one org service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one org service account not found body errors items0 source based on context it is used

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this get one org service account not found body errors items0 source

type GetOneOrgServiceAccountNotFoundBodyJsonapi

type GetOneOrgServiceAccountNotFoundBodyJsonapi 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"`
}

GetOneOrgServiceAccountNotFoundBodyJsonapi get one org service account not found body jsonapi // Example: {"version":"1.0"} swagger:model GetOneOrgServiceAccountNotFoundBodyJsonapi

func (*GetOneOrgServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this get one org service account not found body jsonapi based on context it is used

func (*GetOneOrgServiceAccountNotFoundBodyJsonapi) MarshalBinary

func (o *GetOneOrgServiceAccountNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

func (o *GetOneOrgServiceAccountNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this get one org service account not found body jsonapi

type GetOneOrgServiceAccountOK

type GetOneOrgServiceAccountOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *GetOneOrgServiceAccountOKBody
}

GetOneOrgServiceAccountOK describes a response with status code 200, with default header values.

Service account is returned.

func NewGetOneOrgServiceAccountOK

func NewGetOneOrgServiceAccountOK() *GetOneOrgServiceAccountOK

NewGetOneOrgServiceAccountOK creates a GetOneOrgServiceAccountOK with default headers values

func (*GetOneOrgServiceAccountOK) Code

func (o *GetOneOrgServiceAccountOK) Code() int

Code gets the status code for the get one org service account o k response

func (*GetOneOrgServiceAccountOK) Error

func (o *GetOneOrgServiceAccountOK) Error() string

func (*GetOneOrgServiceAccountOK) GetPayload

func (*GetOneOrgServiceAccountOK) IsClientError

func (o *GetOneOrgServiceAccountOK) IsClientError() bool

IsClientError returns true when this get one org service account o k response has a 4xx status code

func (*GetOneOrgServiceAccountOK) IsCode

func (o *GetOneOrgServiceAccountOK) IsCode(code int) bool

IsCode returns true when this get one org service account o k response a status code equal to that given

func (*GetOneOrgServiceAccountOK) IsRedirect

func (o *GetOneOrgServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this get one org service account o k response has a 3xx status code

func (*GetOneOrgServiceAccountOK) IsServerError

func (o *GetOneOrgServiceAccountOK) IsServerError() bool

IsServerError returns true when this get one org service account o k response has a 5xx status code

func (*GetOneOrgServiceAccountOK) IsSuccess

func (o *GetOneOrgServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this get one org service account o k response has a 2xx status code

func (*GetOneOrgServiceAccountOK) String

func (o *GetOneOrgServiceAccountOK) String() string

type GetOneOrgServiceAccountOKBody

type GetOneOrgServiceAccountOKBody struct {

	// data
	// Required: true
	Data *GetOneOrgServiceAccountOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`
}

GetOneOrgServiceAccountOKBody get one org service account o k body swagger:model GetOneOrgServiceAccountOKBody

func (*GetOneOrgServiceAccountOKBody) ContextValidate

func (o *GetOneOrgServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get one org service account o k body based on the context it is used

func (*GetOneOrgServiceAccountOKBody) MarshalBinary

func (o *GetOneOrgServiceAccountOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBody) UnmarshalBinary

func (o *GetOneOrgServiceAccountOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBody) Validate

func (o *GetOneOrgServiceAccountOKBody) Validate(formats strfmt.Registry) error

Validate validates this get one org service account o k body

type GetOneOrgServiceAccountOKBodyData

type GetOneOrgServiceAccountOKBodyData struct {

	// attributes
	// Required: true
	Attributes *GetOneOrgServiceAccountOKBodyDataAttributes `json:"attributes"`

	// id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *GetOneOrgServiceAccountOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

GetOneOrgServiceAccountOKBodyData get one org service account o k body data swagger:model GetOneOrgServiceAccountOKBodyData

func (*GetOneOrgServiceAccountOKBodyData) ContextValidate

func (o *GetOneOrgServiceAccountOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get one org service account o k body data based on the context it is used

func (*GetOneOrgServiceAccountOKBodyData) MarshalBinary

func (o *GetOneOrgServiceAccountOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyData) UnmarshalBinary

func (o *GetOneOrgServiceAccountOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyData) Validate

Validate validates this get one org service account o k body data

type GetOneOrgServiceAccountOKBodyDataAttributes

type GetOneOrgServiceAccountOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

GetOneOrgServiceAccountOKBodyDataAttributes get one org service account o k body data attributes swagger:model GetOneOrgServiceAccountOKBodyDataAttributes

func (*GetOneOrgServiceAccountOKBodyDataAttributes) ContextValidate

ContextValidate validates this get one org service account o k body data attributes based on context it is used

func (*GetOneOrgServiceAccountOKBodyDataAttributes) MarshalBinary

func (o *GetOneOrgServiceAccountOKBodyDataAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyDataAttributes) UnmarshalBinary

func (o *GetOneOrgServiceAccountOKBodyDataAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyDataAttributes) Validate

Validate validates this get one org service account o k body data attributes

type GetOneOrgServiceAccountOKBodyDataLinks struct {

	// first
	// Example: https://example.com/api/resource
	First interface{} `json:"first,omitempty"`

	// last
	// Example: https://example.com/api/resource
	Last interface{} `json:"last,omitempty"`

	// next
	// Example: https://example.com/api/resource
	Next interface{} `json:"next,omitempty"`

	// prev
	// Example: https://example.com/api/resource
	Prev interface{} `json:"prev,omitempty"`

	// related
	// Example: https://example.com/api/resource
	Related interface{} `json:"related,omitempty"`

	// self
	// Example: https://example.com/api/resource
	Self interface{} `json:"self,omitempty"`
}

GetOneOrgServiceAccountOKBodyDataLinks get one org service account o k body data links swagger:model GetOneOrgServiceAccountOKBodyDataLinks

func (*GetOneOrgServiceAccountOKBodyDataLinks) ContextValidate

ContextValidate validates this get one org service account o k body data links based on context it is used

func (*GetOneOrgServiceAccountOKBodyDataLinks) MarshalBinary

func (o *GetOneOrgServiceAccountOKBodyDataLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyDataLinks) UnmarshalBinary

func (o *GetOneOrgServiceAccountOKBodyDataLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountOKBodyDataLinks) Validate

Validate validates this get one org service account o k body data links

type GetOneOrgServiceAccountParams

type GetOneOrgServiceAccountParams struct {

	/* OrgID.

	   The ID of the Snyk Organization that owns the service account.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

	   Format: uuid
	*/
	ServiceaccountID 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
}

GetOneOrgServiceAccountParams contains all the parameters to send to the API endpoint

for the get one org service account operation.

Typically these are written to a http.Request.

func NewGetOneOrgServiceAccountParams

func NewGetOneOrgServiceAccountParams() *GetOneOrgServiceAccountParams

NewGetOneOrgServiceAccountParams creates a new GetOneOrgServiceAccountParams 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 NewGetOneOrgServiceAccountParamsWithContext

func NewGetOneOrgServiceAccountParamsWithContext(ctx context.Context) *GetOneOrgServiceAccountParams

NewGetOneOrgServiceAccountParamsWithContext creates a new GetOneOrgServiceAccountParams object with the ability to set a context for a request.

func NewGetOneOrgServiceAccountParamsWithHTTPClient

func NewGetOneOrgServiceAccountParamsWithHTTPClient(client *http.Client) *GetOneOrgServiceAccountParams

NewGetOneOrgServiceAccountParamsWithHTTPClient creates a new GetOneOrgServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetOneOrgServiceAccountParamsWithTimeout

func NewGetOneOrgServiceAccountParamsWithTimeout(timeout time.Duration) *GetOneOrgServiceAccountParams

NewGetOneOrgServiceAccountParamsWithTimeout creates a new GetOneOrgServiceAccountParams object with the ability to set a timeout on a request.

func (*GetOneOrgServiceAccountParams) SetContext

func (o *GetOneOrgServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the get one org service account params

func (*GetOneOrgServiceAccountParams) SetDefaults

func (o *GetOneOrgServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the get one org service account params (not the query body).

All values with no default are reset to their zero value.

func (*GetOneOrgServiceAccountParams) SetHTTPClient

func (o *GetOneOrgServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get one org service account params

func (*GetOneOrgServiceAccountParams) SetOrgID

func (o *GetOneOrgServiceAccountParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the get one org service account params

func (*GetOneOrgServiceAccountParams) SetServiceaccountID

func (o *GetOneOrgServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the get one org service account params

func (*GetOneOrgServiceAccountParams) SetTimeout

func (o *GetOneOrgServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get one org service account params

func (*GetOneOrgServiceAccountParams) SetVersion

func (o *GetOneOrgServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithContext

WithContext adds the context to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the get one org service account params (not the query body).

All values with no default are reset to their zero value.

func (*GetOneOrgServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithOrgID

WithOrgID adds the orgID to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithServiceaccountID

func (o *GetOneOrgServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *GetOneOrgServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the get one org service account params

func (*GetOneOrgServiceAccountParams) WithVersion

WithVersion adds the version to the get one org service account params

func (*GetOneOrgServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOneOrgServiceAccountReader

type GetOneOrgServiceAccountReader struct {
	// contains filtered or unexported fields
}

GetOneOrgServiceAccountReader is a Reader for the GetOneOrgServiceAccount structure.

func (*GetOneOrgServiceAccountReader) ReadResponse

func (o *GetOneOrgServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOneOrgServiceAccountUnauthorized

type GetOneOrgServiceAccountUnauthorized 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 *GetOneOrgServiceAccountUnauthorizedBody
}

GetOneOrgServiceAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewGetOneOrgServiceAccountUnauthorized

func NewGetOneOrgServiceAccountUnauthorized() *GetOneOrgServiceAccountUnauthorized

NewGetOneOrgServiceAccountUnauthorized creates a GetOneOrgServiceAccountUnauthorized with default headers values

func (*GetOneOrgServiceAccountUnauthorized) Code

Code gets the status code for the get one org service account unauthorized response

func (*GetOneOrgServiceAccountUnauthorized) Error

func (*GetOneOrgServiceAccountUnauthorized) GetPayload

func (*GetOneOrgServiceAccountUnauthorized) IsClientError

func (o *GetOneOrgServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this get one org service account unauthorized response has a 4xx status code

func (*GetOneOrgServiceAccountUnauthorized) IsCode

IsCode returns true when this get one org service account unauthorized response a status code equal to that given

func (*GetOneOrgServiceAccountUnauthorized) IsRedirect

func (o *GetOneOrgServiceAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this get one org service account unauthorized response has a 3xx status code

func (*GetOneOrgServiceAccountUnauthorized) IsServerError

func (o *GetOneOrgServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this get one org service account unauthorized response has a 5xx status code

func (*GetOneOrgServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this get one org service account unauthorized response has a 2xx status code

func (*GetOneOrgServiceAccountUnauthorized) String

type GetOneOrgServiceAccountUnauthorizedBody

type GetOneOrgServiceAccountUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *GetOneOrgServiceAccountUnauthorizedBodyJsonapi `json:"jsonapi"`
}

GetOneOrgServiceAccountUnauthorizedBody get one org service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOneOrgServiceAccountUnauthorizedBody

func (*GetOneOrgServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this get one org service account unauthorized body based on the context it is used

func (*GetOneOrgServiceAccountUnauthorizedBody) MarshalBinary

func (o *GetOneOrgServiceAccountUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBody) UnmarshalBinary

func (o *GetOneOrgServiceAccountUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBody) Validate

Validate validates this get one org service account unauthorized body

type GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0

type GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0 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 *GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source `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"`
}

GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0 get one org service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this get one org service account unauthorized body errors items0 based on the context it is used

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this get one org service account unauthorized body errors items0

type GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this get one org service account unauthorized body errors items0 links based on context it is used

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this get one org service account unauthorized body errors items0 links

type GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source

type GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source 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"`
}

GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source get one org service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this get one org service account unauthorized body errors items0 source based on context it is used

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this get one org service account unauthorized body errors items0 source

type GetOneOrgServiceAccountUnauthorizedBodyJsonapi

type GetOneOrgServiceAccountUnauthorizedBodyJsonapi 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"`
}

GetOneOrgServiceAccountUnauthorizedBodyJsonapi get one org service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetOneOrgServiceAccountUnauthorizedBodyJsonapi

func (*GetOneOrgServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this get one org service account unauthorized body jsonapi based on context it is used

func (*GetOneOrgServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOneOrgServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this get one org service account unauthorized body jsonapi

type UpdateGroupServiceAccountBadRequest

type UpdateGroupServiceAccountBadRequest 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 *UpdateGroupServiceAccountBadRequestBody
}

UpdateGroupServiceAccountBadRequest 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 NewUpdateGroupServiceAccountBadRequest

func NewUpdateGroupServiceAccountBadRequest() *UpdateGroupServiceAccountBadRequest

NewUpdateGroupServiceAccountBadRequest creates a UpdateGroupServiceAccountBadRequest with default headers values

func (*UpdateGroupServiceAccountBadRequest) Code

Code gets the status code for the update group service account bad request response

func (*UpdateGroupServiceAccountBadRequest) Error

func (*UpdateGroupServiceAccountBadRequest) GetPayload

func (*UpdateGroupServiceAccountBadRequest) IsClientError

func (o *UpdateGroupServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this update group service account bad request response has a 4xx status code

func (*UpdateGroupServiceAccountBadRequest) IsCode

IsCode returns true when this update group service account bad request response a status code equal to that given

func (*UpdateGroupServiceAccountBadRequest) IsRedirect

func (o *UpdateGroupServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this update group service account bad request response has a 3xx status code

func (*UpdateGroupServiceAccountBadRequest) IsServerError

func (o *UpdateGroupServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this update group service account bad request response has a 5xx status code

func (*UpdateGroupServiceAccountBadRequest) IsSuccess

IsSuccess returns true when this update group service account bad request response has a 2xx status code

func (*UpdateGroupServiceAccountBadRequest) String

type UpdateGroupServiceAccountBadRequestBody

type UpdateGroupServiceAccountBadRequestBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateGroupServiceAccountBadRequestBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateGroupServiceAccountBadRequestBodyJsonapi `json:"jsonapi"`
}

UpdateGroupServiceAccountBadRequestBody update group service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateGroupServiceAccountBadRequestBody

func (*UpdateGroupServiceAccountBadRequestBody) ContextValidate

ContextValidate validate this update group service account bad request body based on the context it is used

func (*UpdateGroupServiceAccountBadRequestBody) MarshalBinary

func (o *UpdateGroupServiceAccountBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBody) Validate

Validate validates this update group service account bad request body

type UpdateGroupServiceAccountBadRequestBodyErrorsItems0

type UpdateGroupServiceAccountBadRequestBodyErrorsItems0 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 *UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source `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"`
}

UpdateGroupServiceAccountBadRequestBodyErrorsItems0 update group service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateGroupServiceAccountBadRequestBodyErrorsItems0

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this update group service account bad request body errors items0 based on the context it is used

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this update group service account bad request body errors items0

type UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update group service account bad request body errors items0 links based on context it is used

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this update group service account bad request body errors items0 links

type UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source

type UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source 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"`
}

UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source update group service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update group service account bad request body errors items0 source based on context it is used

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this update group service account bad request body errors items0 source

type UpdateGroupServiceAccountBadRequestBodyJsonapi

type UpdateGroupServiceAccountBadRequestBodyJsonapi 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"`
}

UpdateGroupServiceAccountBadRequestBodyJsonapi update group service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateGroupServiceAccountBadRequestBodyJsonapi

func (*UpdateGroupServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this update group service account bad request body jsonapi based on context it is used

func (*UpdateGroupServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this update group service account bad request body jsonapi

type UpdateGroupServiceAccountBody

type UpdateGroupServiceAccountBody struct {

	// data
	// Required: true
	Data *UpdateGroupServiceAccountParamsBodyData `json:"data"`
}

UpdateGroupServiceAccountBody update group service account body swagger:model UpdateGroupServiceAccountBody

func (*UpdateGroupServiceAccountBody) ContextValidate

func (o *UpdateGroupServiceAccountBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update group service account body based on the context it is used

func (*UpdateGroupServiceAccountBody) MarshalBinary

func (o *UpdateGroupServiceAccountBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountBody) Validate

func (o *UpdateGroupServiceAccountBody) Validate(formats strfmt.Registry) error

Validate validates this update group service account body

type UpdateGroupServiceAccountForbidden

type UpdateGroupServiceAccountForbidden 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 *UpdateGroupServiceAccountForbiddenBody
}

UpdateGroupServiceAccountForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewUpdateGroupServiceAccountForbidden

func NewUpdateGroupServiceAccountForbidden() *UpdateGroupServiceAccountForbidden

NewUpdateGroupServiceAccountForbidden creates a UpdateGroupServiceAccountForbidden with default headers values

func (*UpdateGroupServiceAccountForbidden) Code

Code gets the status code for the update group service account forbidden response

func (*UpdateGroupServiceAccountForbidden) Error

func (*UpdateGroupServiceAccountForbidden) GetPayload

func (*UpdateGroupServiceAccountForbidden) IsClientError

func (o *UpdateGroupServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this update group service account forbidden response has a 4xx status code

func (*UpdateGroupServiceAccountForbidden) IsCode

IsCode returns true when this update group service account forbidden response a status code equal to that given

func (*UpdateGroupServiceAccountForbidden) IsRedirect

func (o *UpdateGroupServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this update group service account forbidden response has a 3xx status code

func (*UpdateGroupServiceAccountForbidden) IsServerError

func (o *UpdateGroupServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this update group service account forbidden response has a 5xx status code

func (*UpdateGroupServiceAccountForbidden) IsSuccess

IsSuccess returns true when this update group service account forbidden response has a 2xx status code

func (*UpdateGroupServiceAccountForbidden) String

type UpdateGroupServiceAccountForbiddenBody

type UpdateGroupServiceAccountForbiddenBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateGroupServiceAccountForbiddenBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateGroupServiceAccountForbiddenBodyJsonapi `json:"jsonapi"`
}

UpdateGroupServiceAccountForbiddenBody update group service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateGroupServiceAccountForbiddenBody

func (*UpdateGroupServiceAccountForbiddenBody) ContextValidate

ContextValidate validate this update group service account forbidden body based on the context it is used

func (*UpdateGroupServiceAccountForbiddenBody) MarshalBinary

func (o *UpdateGroupServiceAccountForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBody) Validate

Validate validates this update group service account forbidden body

type UpdateGroupServiceAccountForbiddenBodyErrorsItems0

type UpdateGroupServiceAccountForbiddenBodyErrorsItems0 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 *UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source `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"`
}

UpdateGroupServiceAccountForbiddenBodyErrorsItems0 update group service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateGroupServiceAccountForbiddenBodyErrorsItems0

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this update group service account forbidden body errors items0 based on the context it is used

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this update group service account forbidden body errors items0

type UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update group service account forbidden body errors items0 links based on context it is used

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this update group service account forbidden body errors items0 links

type UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source

type UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source 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"`
}

UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source update group service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update group service account forbidden body errors items0 source based on context it is used

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this update group service account forbidden body errors items0 source

type UpdateGroupServiceAccountForbiddenBodyJsonapi

type UpdateGroupServiceAccountForbiddenBodyJsonapi 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"`
}

UpdateGroupServiceAccountForbiddenBodyJsonapi update group service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateGroupServiceAccountForbiddenBodyJsonapi

func (*UpdateGroupServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this update group service account forbidden body jsonapi based on context it is used

func (*UpdateGroupServiceAccountForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this update group service account forbidden body jsonapi

type UpdateGroupServiceAccountInternalServerError

type UpdateGroupServiceAccountInternalServerError 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 *UpdateGroupServiceAccountInternalServerErrorBody
}

UpdateGroupServiceAccountInternalServerError 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 NewUpdateGroupServiceAccountInternalServerError

func NewUpdateGroupServiceAccountInternalServerError() *UpdateGroupServiceAccountInternalServerError

NewUpdateGroupServiceAccountInternalServerError creates a UpdateGroupServiceAccountInternalServerError with default headers values

func (*UpdateGroupServiceAccountInternalServerError) Code

Code gets the status code for the update group service account internal server error response

func (*UpdateGroupServiceAccountInternalServerError) Error

func (*UpdateGroupServiceAccountInternalServerError) GetPayload

func (*UpdateGroupServiceAccountInternalServerError) IsClientError

IsClientError returns true when this update group service account internal server error response has a 4xx status code

func (*UpdateGroupServiceAccountInternalServerError) IsCode

IsCode returns true when this update group service account internal server error response a status code equal to that given

func (*UpdateGroupServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this update group service account internal server error response has a 3xx status code

func (*UpdateGroupServiceAccountInternalServerError) IsServerError

IsServerError returns true when this update group service account internal server error response has a 5xx status code

func (*UpdateGroupServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this update group service account internal server error response has a 2xx status code

func (*UpdateGroupServiceAccountInternalServerError) String

type UpdateGroupServiceAccountInternalServerErrorBody

type UpdateGroupServiceAccountInternalServerErrorBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateGroupServiceAccountInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

UpdateGroupServiceAccountInternalServerErrorBody update group service account internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateGroupServiceAccountInternalServerErrorBody

func (*UpdateGroupServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this update group service account internal server error body based on the context it is used

func (*UpdateGroupServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBody) Validate

Validate validates this update group service account internal server error body

type UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0

type UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0 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 *UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source `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"`
}

UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0 update group service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this update group service account internal server error body errors items0 based on the context it is used

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update group service account internal server error body errors items0

type UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update group service account internal server error body errors items0 links based on context it is used

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update group service account internal server error body errors items0 links

type UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

type UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source 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"`
}

UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source update group service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update group service account internal server error body errors items0 source based on context it is used

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update group service account internal server error body errors items0 source

type UpdateGroupServiceAccountInternalServerErrorBodyJsonapi

type UpdateGroupServiceAccountInternalServerErrorBodyJsonapi 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"`
}

UpdateGroupServiceAccountInternalServerErrorBodyJsonapi update group service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateGroupServiceAccountInternalServerErrorBodyJsonapi

func (*UpdateGroupServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this update group service account internal server error body jsonapi based on context it is used

func (*UpdateGroupServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this update group service account internal server error body jsonapi

type UpdateGroupServiceAccountNotFound

type UpdateGroupServiceAccountNotFound 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 *UpdateGroupServiceAccountNotFoundBody
}

UpdateGroupServiceAccountNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewUpdateGroupServiceAccountNotFound

func NewUpdateGroupServiceAccountNotFound() *UpdateGroupServiceAccountNotFound

NewUpdateGroupServiceAccountNotFound creates a UpdateGroupServiceAccountNotFound with default headers values

func (*UpdateGroupServiceAccountNotFound) Code

Code gets the status code for the update group service account not found response

func (*UpdateGroupServiceAccountNotFound) Error

func (*UpdateGroupServiceAccountNotFound) GetPayload

func (*UpdateGroupServiceAccountNotFound) IsClientError

func (o *UpdateGroupServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this update group service account not found response has a 4xx status code

func (*UpdateGroupServiceAccountNotFound) IsCode

func (o *UpdateGroupServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this update group service account not found response a status code equal to that given

func (*UpdateGroupServiceAccountNotFound) IsRedirect

func (o *UpdateGroupServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this update group service account not found response has a 3xx status code

func (*UpdateGroupServiceAccountNotFound) IsServerError

func (o *UpdateGroupServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this update group service account not found response has a 5xx status code

func (*UpdateGroupServiceAccountNotFound) IsSuccess

func (o *UpdateGroupServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this update group service account not found response has a 2xx status code

func (*UpdateGroupServiceAccountNotFound) String

type UpdateGroupServiceAccountNotFoundBody

type UpdateGroupServiceAccountNotFoundBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateGroupServiceAccountNotFoundBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateGroupServiceAccountNotFoundBodyJsonapi `json:"jsonapi"`
}

UpdateGroupServiceAccountNotFoundBody update group service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateGroupServiceAccountNotFoundBody

func (*UpdateGroupServiceAccountNotFoundBody) ContextValidate

func (o *UpdateGroupServiceAccountNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update group service account not found body based on the context it is used

func (*UpdateGroupServiceAccountNotFoundBody) MarshalBinary

func (o *UpdateGroupServiceAccountNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBody) Validate

Validate validates this update group service account not found body

type UpdateGroupServiceAccountNotFoundBodyErrorsItems0

type UpdateGroupServiceAccountNotFoundBodyErrorsItems0 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 *UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source `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"`
}

UpdateGroupServiceAccountNotFoundBodyErrorsItems0 update group service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateGroupServiceAccountNotFoundBodyErrorsItems0

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this update group service account not found body errors items0 based on the context it is used

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this update group service account not found body errors items0

type UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update group service account not found body errors items0 links based on context it is used

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this update group service account not found body errors items0 links

type UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source

type UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source 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"`
}

UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source update group service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update group service account not found body errors items0 source based on context it is used

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this update group service account not found body errors items0 source

type UpdateGroupServiceAccountNotFoundBodyJsonapi

type UpdateGroupServiceAccountNotFoundBodyJsonapi 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"`
}

UpdateGroupServiceAccountNotFoundBodyJsonapi update group service account not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateGroupServiceAccountNotFoundBodyJsonapi

func (*UpdateGroupServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this update group service account not found body jsonapi based on context it is used

func (*UpdateGroupServiceAccountNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this update group service account not found body jsonapi

type UpdateGroupServiceAccountOK

type UpdateGroupServiceAccountOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *UpdateGroupServiceAccountOKBody
}

UpdateGroupServiceAccountOK describes a response with status code 200, with default header values.

Service account is returned.

func NewUpdateGroupServiceAccountOK

func NewUpdateGroupServiceAccountOK() *UpdateGroupServiceAccountOK

NewUpdateGroupServiceAccountOK creates a UpdateGroupServiceAccountOK with default headers values

func (*UpdateGroupServiceAccountOK) Code

func (o *UpdateGroupServiceAccountOK) Code() int

Code gets the status code for the update group service account o k response

func (*UpdateGroupServiceAccountOK) Error

func (*UpdateGroupServiceAccountOK) GetPayload

func (*UpdateGroupServiceAccountOK) IsClientError

func (o *UpdateGroupServiceAccountOK) IsClientError() bool

IsClientError returns true when this update group service account o k response has a 4xx status code

func (*UpdateGroupServiceAccountOK) IsCode

func (o *UpdateGroupServiceAccountOK) IsCode(code int) bool

IsCode returns true when this update group service account o k response a status code equal to that given

func (*UpdateGroupServiceAccountOK) IsRedirect

func (o *UpdateGroupServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this update group service account o k response has a 3xx status code

func (*UpdateGroupServiceAccountOK) IsServerError

func (o *UpdateGroupServiceAccountOK) IsServerError() bool

IsServerError returns true when this update group service account o k response has a 5xx status code

func (*UpdateGroupServiceAccountOK) IsSuccess

func (o *UpdateGroupServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this update group service account o k response has a 2xx status code

func (*UpdateGroupServiceAccountOK) String

func (o *UpdateGroupServiceAccountOK) String() string

type UpdateGroupServiceAccountOKBody

type UpdateGroupServiceAccountOKBody struct {

	// data
	// Required: true
	Data *UpdateGroupServiceAccountOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`
}

UpdateGroupServiceAccountOKBody update group service account o k body swagger:model UpdateGroupServiceAccountOKBody

func (*UpdateGroupServiceAccountOKBody) ContextValidate

func (o *UpdateGroupServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update group service account o k body based on the context it is used

func (*UpdateGroupServiceAccountOKBody) MarshalBinary

func (o *UpdateGroupServiceAccountOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBody) Validate

Validate validates this update group service account o k body

type UpdateGroupServiceAccountOKBodyData

type UpdateGroupServiceAccountOKBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateGroupServiceAccountOKBodyDataAttributes `json:"attributes"`

	// id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *UpdateGroupServiceAccountOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

UpdateGroupServiceAccountOKBodyData update group service account o k body data swagger:model UpdateGroupServiceAccountOKBodyData

func (*UpdateGroupServiceAccountOKBodyData) ContextValidate

func (o *UpdateGroupServiceAccountOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update group service account o k body data based on the context it is used

func (*UpdateGroupServiceAccountOKBodyData) MarshalBinary

func (o *UpdateGroupServiceAccountOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyData) UnmarshalBinary

func (o *UpdateGroupServiceAccountOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyData) Validate

Validate validates this update group service account o k body data

type UpdateGroupServiceAccountOKBodyDataAttributes

type UpdateGroupServiceAccountOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

UpdateGroupServiceAccountOKBodyDataAttributes update group service account o k body data attributes swagger:model UpdateGroupServiceAccountOKBodyDataAttributes

func (*UpdateGroupServiceAccountOKBodyDataAttributes) ContextValidate

ContextValidate validates this update group service account o k body data attributes based on context it is used

func (*UpdateGroupServiceAccountOKBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyDataAttributes) Validate

Validate validates this update group service account o k body data attributes

type UpdateGroupServiceAccountOKBodyDataLinks struct {

	// first
	// Example: https://example.com/api/resource
	First interface{} `json:"first,omitempty"`

	// last
	// Example: https://example.com/api/resource
	Last interface{} `json:"last,omitempty"`

	// next
	// Example: https://example.com/api/resource
	Next interface{} `json:"next,omitempty"`

	// prev
	// Example: https://example.com/api/resource
	Prev interface{} `json:"prev,omitempty"`

	// related
	// Example: https://example.com/api/resource
	Related interface{} `json:"related,omitempty"`

	// self
	// Example: https://example.com/api/resource
	Self interface{} `json:"self,omitempty"`
}

UpdateGroupServiceAccountOKBodyDataLinks update group service account o k body data links swagger:model UpdateGroupServiceAccountOKBodyDataLinks

func (*UpdateGroupServiceAccountOKBodyDataLinks) ContextValidate

ContextValidate validates this update group service account o k body data links based on context it is used

func (*UpdateGroupServiceAccountOKBodyDataLinks) MarshalBinary

func (o *UpdateGroupServiceAccountOKBodyDataLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyDataLinks) UnmarshalBinary

func (o *UpdateGroupServiceAccountOKBodyDataLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountOKBodyDataLinks) Validate

Validate validates this update group service account o k body data links

type UpdateGroupServiceAccountParams

type UpdateGroupServiceAccountParams struct {

	// Body.
	Body UpdateGroupServiceAccountBody

	/* GroupID.

	   The ID of the Snyk Group that owns the service account.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

	   Format: uuid
	*/
	ServiceaccountID 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
}

UpdateGroupServiceAccountParams contains all the parameters to send to the API endpoint

for the update group service account operation.

Typically these are written to a http.Request.

func NewUpdateGroupServiceAccountParams

func NewUpdateGroupServiceAccountParams() *UpdateGroupServiceAccountParams

NewUpdateGroupServiceAccountParams creates a new UpdateGroupServiceAccountParams 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 NewUpdateGroupServiceAccountParamsWithContext

func NewUpdateGroupServiceAccountParamsWithContext(ctx context.Context) *UpdateGroupServiceAccountParams

NewUpdateGroupServiceAccountParamsWithContext creates a new UpdateGroupServiceAccountParams object with the ability to set a context for a request.

func NewUpdateGroupServiceAccountParamsWithHTTPClient

func NewUpdateGroupServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateGroupServiceAccountParams

NewUpdateGroupServiceAccountParamsWithHTTPClient creates a new UpdateGroupServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGroupServiceAccountParamsWithTimeout

func NewUpdateGroupServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateGroupServiceAccountParams

NewUpdateGroupServiceAccountParamsWithTimeout creates a new UpdateGroupServiceAccountParams object with the ability to set a timeout on a request.

func (*UpdateGroupServiceAccountParams) SetBody

SetBody adds the body to the update group service account params

func (*UpdateGroupServiceAccountParams) SetContext

func (o *UpdateGroupServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the update group service account params

func (*UpdateGroupServiceAccountParams) SetDefaults

func (o *UpdateGroupServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the update group service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGroupServiceAccountParams) SetGroupID

func (o *UpdateGroupServiceAccountParams) SetGroupID(groupID strfmt.UUID)

SetGroupID adds the groupId to the update group service account params

func (*UpdateGroupServiceAccountParams) SetHTTPClient

func (o *UpdateGroupServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update group service account params

func (*UpdateGroupServiceAccountParams) SetServiceaccountID

func (o *UpdateGroupServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the update group service account params

func (*UpdateGroupServiceAccountParams) SetTimeout

func (o *UpdateGroupServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update group service account params

func (*UpdateGroupServiceAccountParams) SetVersion

func (o *UpdateGroupServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the update group service account params

func (*UpdateGroupServiceAccountParams) WithBody

WithBody adds the body to the update group service account params

func (*UpdateGroupServiceAccountParams) WithContext

WithContext adds the context to the update group service account params

func (*UpdateGroupServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the update group service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGroupServiceAccountParams) WithGroupID

WithGroupID adds the groupID to the update group service account params

func (*UpdateGroupServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update group service account params

func (*UpdateGroupServiceAccountParams) WithServiceaccountID

func (o *UpdateGroupServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *UpdateGroupServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the update group service account params

func (*UpdateGroupServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the update group service account params

func (*UpdateGroupServiceAccountParams) WithVersion

WithVersion adds the version to the update group service account params

func (*UpdateGroupServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGroupServiceAccountParamsBodyData

type UpdateGroupServiceAccountParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateGroupServiceAccountParamsBodyDataAttributes `json:"attributes"`

	// The ID of the service account. Must match the id in the url path.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// The Resource type.
	// Required: true
	// Enum: [service_account]
	Type *string `json:"type"`
}

UpdateGroupServiceAccountParamsBodyData update group service account params body data swagger:model UpdateGroupServiceAccountParamsBodyData

func (*UpdateGroupServiceAccountParamsBodyData) ContextValidate

ContextValidate validate this update group service account params body data based on the context it is used

func (*UpdateGroupServiceAccountParamsBodyData) MarshalBinary

func (o *UpdateGroupServiceAccountParamsBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountParamsBodyData) UnmarshalBinary

func (o *UpdateGroupServiceAccountParamsBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountParamsBodyData) Validate

Validate validates this update group service account params body data

type UpdateGroupServiceAccountParamsBodyDataAttributes

type UpdateGroupServiceAccountParamsBodyDataAttributes struct {

	// A human-friendly name for the service account. Must be unique within the group.
	// Required: true
	Name *string `json:"name"`
}

UpdateGroupServiceAccountParamsBodyDataAttributes update group service account params body data attributes swagger:model UpdateGroupServiceAccountParamsBodyDataAttributes

func (*UpdateGroupServiceAccountParamsBodyDataAttributes) ContextValidate

ContextValidate validates this update group service account params body data attributes based on context it is used

func (*UpdateGroupServiceAccountParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountParamsBodyDataAttributes) Validate

Validate validates this update group service account params body data attributes

type UpdateGroupServiceAccountReader

type UpdateGroupServiceAccountReader struct {
	// contains filtered or unexported fields
}

UpdateGroupServiceAccountReader is a Reader for the UpdateGroupServiceAccount structure.

func (*UpdateGroupServiceAccountReader) ReadResponse

func (o *UpdateGroupServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGroupServiceAccountUnauthorized

type UpdateGroupServiceAccountUnauthorized 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 *UpdateGroupServiceAccountUnauthorizedBody
}

UpdateGroupServiceAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewUpdateGroupServiceAccountUnauthorized

func NewUpdateGroupServiceAccountUnauthorized() *UpdateGroupServiceAccountUnauthorized

NewUpdateGroupServiceAccountUnauthorized creates a UpdateGroupServiceAccountUnauthorized with default headers values

func (*UpdateGroupServiceAccountUnauthorized) Code

Code gets the status code for the update group service account unauthorized response

func (*UpdateGroupServiceAccountUnauthorized) Error

func (*UpdateGroupServiceAccountUnauthorized) GetPayload

func (*UpdateGroupServiceAccountUnauthorized) IsClientError

func (o *UpdateGroupServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this update group service account unauthorized response has a 4xx status code

func (*UpdateGroupServiceAccountUnauthorized) IsCode

IsCode returns true when this update group service account unauthorized response a status code equal to that given

func (*UpdateGroupServiceAccountUnauthorized) IsRedirect

IsRedirect returns true when this update group service account unauthorized response has a 3xx status code

func (*UpdateGroupServiceAccountUnauthorized) IsServerError

func (o *UpdateGroupServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this update group service account unauthorized response has a 5xx status code

func (*UpdateGroupServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this update group service account unauthorized response has a 2xx status code

func (*UpdateGroupServiceAccountUnauthorized) String

type UpdateGroupServiceAccountUnauthorizedBody

type UpdateGroupServiceAccountUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateGroupServiceAccountUnauthorizedBodyJsonapi `json:"jsonapi"`
}

UpdateGroupServiceAccountUnauthorizedBody update group service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateGroupServiceAccountUnauthorizedBody

func (*UpdateGroupServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this update group service account unauthorized body based on the context it is used

func (*UpdateGroupServiceAccountUnauthorizedBody) MarshalBinary

func (o *UpdateGroupServiceAccountUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBody) UnmarshalBinary

func (o *UpdateGroupServiceAccountUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBody) Validate

Validate validates this update group service account unauthorized body

type UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0

type UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0 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 *UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0 update group service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update group service account unauthorized body errors items0 based on the context it is used

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this update group service account unauthorized body errors items0

type UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update group service account unauthorized body errors items0 links based on context it is used

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update group service account unauthorized body errors items0 links

type UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source

type UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source update group service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update group service account unauthorized body errors items0 source based on context it is used

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update group service account unauthorized body errors items0 source

type UpdateGroupServiceAccountUnauthorizedBodyJsonapi

type UpdateGroupServiceAccountUnauthorizedBodyJsonapi 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"`
}

UpdateGroupServiceAccountUnauthorizedBodyJsonapi update group service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateGroupServiceAccountUnauthorizedBodyJsonapi

func (*UpdateGroupServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update group service account unauthorized body jsonapi based on context it is used

func (*UpdateGroupServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateGroupServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this update group service account unauthorized body jsonapi

type UpdateOrgServiceAccountBadRequest

type UpdateOrgServiceAccountBadRequest 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 *UpdateOrgServiceAccountBadRequestBody
}

UpdateOrgServiceAccountBadRequest 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 NewUpdateOrgServiceAccountBadRequest

func NewUpdateOrgServiceAccountBadRequest() *UpdateOrgServiceAccountBadRequest

NewUpdateOrgServiceAccountBadRequest creates a UpdateOrgServiceAccountBadRequest with default headers values

func (*UpdateOrgServiceAccountBadRequest) Code

Code gets the status code for the update org service account bad request response

func (*UpdateOrgServiceAccountBadRequest) Error

func (*UpdateOrgServiceAccountBadRequest) GetPayload

func (*UpdateOrgServiceAccountBadRequest) IsClientError

func (o *UpdateOrgServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this update org service account bad request response has a 4xx status code

func (*UpdateOrgServiceAccountBadRequest) IsCode

func (o *UpdateOrgServiceAccountBadRequest) IsCode(code int) bool

IsCode returns true when this update org service account bad request response a status code equal to that given

func (*UpdateOrgServiceAccountBadRequest) IsRedirect

func (o *UpdateOrgServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this update org service account bad request response has a 3xx status code

func (*UpdateOrgServiceAccountBadRequest) IsServerError

func (o *UpdateOrgServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this update org service account bad request response has a 5xx status code

func (*UpdateOrgServiceAccountBadRequest) IsSuccess

func (o *UpdateOrgServiceAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this update org service account bad request response has a 2xx status code

func (*UpdateOrgServiceAccountBadRequest) String

type UpdateOrgServiceAccountBadRequestBody

type UpdateOrgServiceAccountBadRequestBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountBadRequestBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountBadRequestBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountBadRequestBody update org service account bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountBadRequestBody

func (*UpdateOrgServiceAccountBadRequestBody) ContextValidate

func (o *UpdateOrgServiceAccountBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account bad request body based on the context it is used

func (*UpdateOrgServiceAccountBadRequestBody) MarshalBinary

func (o *UpdateOrgServiceAccountBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBody) Validate

Validate validates this update org service account bad request body

type UpdateOrgServiceAccountBadRequestBodyErrorsItems0

type UpdateOrgServiceAccountBadRequestBodyErrorsItems0 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 *UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountBadRequestBodyErrorsItems0 update org service account bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountBadRequestBodyErrorsItems0

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account bad request body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0) Validate

Validate validates this update org service account bad request body errors items0

type UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account bad request body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Links) Validate

Validate validates this update org service account bad request body errors items0 links

type UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source

type UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source update org service account bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account bad request body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyErrorsItems0Source) Validate

Validate validates this update org service account bad request body errors items0 source

type UpdateOrgServiceAccountBadRequestBodyJsonapi

type UpdateOrgServiceAccountBadRequestBodyJsonapi 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"`
}

UpdateOrgServiceAccountBadRequestBodyJsonapi update org service account bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountBadRequestBodyJsonapi

func (*UpdateOrgServiceAccountBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this update org service account bad request body jsonapi based on context it is used

func (*UpdateOrgServiceAccountBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBadRequestBodyJsonapi) Validate

Validate validates this update org service account bad request body jsonapi

type UpdateOrgServiceAccountBody

type UpdateOrgServiceAccountBody struct {

	// data
	// Required: true
	Data *UpdateOrgServiceAccountParamsBodyData `json:"data"`
}

UpdateOrgServiceAccountBody update org service account body swagger:model UpdateOrgServiceAccountBody

func (*UpdateOrgServiceAccountBody) ContextValidate

func (o *UpdateOrgServiceAccountBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account body based on the context it is used

func (*UpdateOrgServiceAccountBody) MarshalBinary

func (o *UpdateOrgServiceAccountBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountBody) Validate

func (o *UpdateOrgServiceAccountBody) Validate(formats strfmt.Registry) error

Validate validates this update org service account body

type UpdateOrgServiceAccountForbidden

type UpdateOrgServiceAccountForbidden 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 *UpdateOrgServiceAccountForbiddenBody
}

UpdateOrgServiceAccountForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewUpdateOrgServiceAccountForbidden

func NewUpdateOrgServiceAccountForbidden() *UpdateOrgServiceAccountForbidden

NewUpdateOrgServiceAccountForbidden creates a UpdateOrgServiceAccountForbidden with default headers values

func (*UpdateOrgServiceAccountForbidden) Code

Code gets the status code for the update org service account forbidden response

func (*UpdateOrgServiceAccountForbidden) Error

func (*UpdateOrgServiceAccountForbidden) GetPayload

func (*UpdateOrgServiceAccountForbidden) IsClientError

func (o *UpdateOrgServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this update org service account forbidden response has a 4xx status code

func (*UpdateOrgServiceAccountForbidden) IsCode

func (o *UpdateOrgServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this update org service account forbidden response a status code equal to that given

func (*UpdateOrgServiceAccountForbidden) IsRedirect

func (o *UpdateOrgServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this update org service account forbidden response has a 3xx status code

func (*UpdateOrgServiceAccountForbidden) IsServerError

func (o *UpdateOrgServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this update org service account forbidden response has a 5xx status code

func (*UpdateOrgServiceAccountForbidden) IsSuccess

func (o *UpdateOrgServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this update org service account forbidden response has a 2xx status code

func (*UpdateOrgServiceAccountForbidden) String

type UpdateOrgServiceAccountForbiddenBody

type UpdateOrgServiceAccountForbiddenBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountForbiddenBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountForbiddenBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountForbiddenBody update org service account forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountForbiddenBody

func (*UpdateOrgServiceAccountForbiddenBody) ContextValidate

func (o *UpdateOrgServiceAccountForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account forbidden body based on the context it is used

func (*UpdateOrgServiceAccountForbiddenBody) MarshalBinary

func (o *UpdateOrgServiceAccountForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBody) Validate

Validate validates this update org service account forbidden body

type UpdateOrgServiceAccountForbiddenBodyErrorsItems0

type UpdateOrgServiceAccountForbiddenBodyErrorsItems0 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 *UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountForbiddenBodyErrorsItems0 update org service account forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountForbiddenBodyErrorsItems0

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account forbidden body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0) Validate

Validate validates this update org service account forbidden body errors items0

type UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account forbidden body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Links) Validate

Validate validates this update org service account forbidden body errors items0 links

type UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source

type UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source update org service account forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account forbidden body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyErrorsItems0Source) Validate

Validate validates this update org service account forbidden body errors items0 source

type UpdateOrgServiceAccountForbiddenBodyJsonapi

type UpdateOrgServiceAccountForbiddenBodyJsonapi 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"`
}

UpdateOrgServiceAccountForbiddenBodyJsonapi update org service account forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountForbiddenBodyJsonapi

func (*UpdateOrgServiceAccountForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this update org service account forbidden body jsonapi based on context it is used

func (*UpdateOrgServiceAccountForbiddenBodyJsonapi) MarshalBinary

func (o *UpdateOrgServiceAccountForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgServiceAccountForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountForbiddenBodyJsonapi) Validate

Validate validates this update org service account forbidden body jsonapi

type UpdateOrgServiceAccountInternalServerError

type UpdateOrgServiceAccountInternalServerError 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 *UpdateOrgServiceAccountInternalServerErrorBody
}

UpdateOrgServiceAccountInternalServerError 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 NewUpdateOrgServiceAccountInternalServerError

func NewUpdateOrgServiceAccountInternalServerError() *UpdateOrgServiceAccountInternalServerError

NewUpdateOrgServiceAccountInternalServerError creates a UpdateOrgServiceAccountInternalServerError with default headers values

func (*UpdateOrgServiceAccountInternalServerError) Code

Code gets the status code for the update org service account internal server error response

func (*UpdateOrgServiceAccountInternalServerError) Error

func (*UpdateOrgServiceAccountInternalServerError) GetPayload

func (*UpdateOrgServiceAccountInternalServerError) IsClientError

IsClientError returns true when this update org service account internal server error response has a 4xx status code

func (*UpdateOrgServiceAccountInternalServerError) IsCode

IsCode returns true when this update org service account internal server error response a status code equal to that given

func (*UpdateOrgServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this update org service account internal server error response has a 3xx status code

func (*UpdateOrgServiceAccountInternalServerError) IsServerError

IsServerError returns true when this update org service account internal server error response has a 5xx status code

func (*UpdateOrgServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this update org service account internal server error response has a 2xx status code

func (*UpdateOrgServiceAccountInternalServerError) String

type UpdateOrgServiceAccountInternalServerErrorBody

type UpdateOrgServiceAccountInternalServerErrorBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountInternalServerErrorBody update org service account internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountInternalServerErrorBody

func (*UpdateOrgServiceAccountInternalServerErrorBody) ContextValidate

ContextValidate validate this update org service account internal server error body based on the context it is used

func (*UpdateOrgServiceAccountInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBody) Validate

Validate validates this update org service account internal server error body

type UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0

type UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0 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 *UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0 update org service account internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account internal server error body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update org service account internal server error body errors items0

type UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account internal server error body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update org service account internal server error body errors items0 links

type UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source

type UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source update org service account internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account internal server error body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update org service account internal server error body errors items0 source

type UpdateOrgServiceAccountInternalServerErrorBodyJsonapi

type UpdateOrgServiceAccountInternalServerErrorBodyJsonapi 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"`
}

UpdateOrgServiceAccountInternalServerErrorBodyJsonapi update org service account internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountInternalServerErrorBodyJsonapi

func (*UpdateOrgServiceAccountInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this update org service account internal server error body jsonapi based on context it is used

func (*UpdateOrgServiceAccountInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountInternalServerErrorBodyJsonapi) Validate

Validate validates this update org service account internal server error body jsonapi

type UpdateOrgServiceAccountNotFound

type UpdateOrgServiceAccountNotFound 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 *UpdateOrgServiceAccountNotFoundBody
}

UpdateOrgServiceAccountNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewUpdateOrgServiceAccountNotFound

func NewUpdateOrgServiceAccountNotFound() *UpdateOrgServiceAccountNotFound

NewUpdateOrgServiceAccountNotFound creates a UpdateOrgServiceAccountNotFound with default headers values

func (*UpdateOrgServiceAccountNotFound) Code

Code gets the status code for the update org service account not found response

func (*UpdateOrgServiceAccountNotFound) Error

func (*UpdateOrgServiceAccountNotFound) GetPayload

func (*UpdateOrgServiceAccountNotFound) IsClientError

func (o *UpdateOrgServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this update org service account not found response has a 4xx status code

func (*UpdateOrgServiceAccountNotFound) IsCode

func (o *UpdateOrgServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this update org service account not found response a status code equal to that given

func (*UpdateOrgServiceAccountNotFound) IsRedirect

func (o *UpdateOrgServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this update org service account not found response has a 3xx status code

func (*UpdateOrgServiceAccountNotFound) IsServerError

func (o *UpdateOrgServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this update org service account not found response has a 5xx status code

func (*UpdateOrgServiceAccountNotFound) IsSuccess

func (o *UpdateOrgServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this update org service account not found response has a 2xx status code

func (*UpdateOrgServiceAccountNotFound) String

type UpdateOrgServiceAccountNotFoundBody

type UpdateOrgServiceAccountNotFoundBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountNotFoundBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountNotFoundBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountNotFoundBody update org service account not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountNotFoundBody

func (*UpdateOrgServiceAccountNotFoundBody) ContextValidate

func (o *UpdateOrgServiceAccountNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account not found body based on the context it is used

func (*UpdateOrgServiceAccountNotFoundBody) MarshalBinary

func (o *UpdateOrgServiceAccountNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBody) Validate

Validate validates this update org service account not found body

type UpdateOrgServiceAccountNotFoundBodyErrorsItems0

type UpdateOrgServiceAccountNotFoundBodyErrorsItems0 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 *UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountNotFoundBodyErrorsItems0 update org service account not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountNotFoundBodyErrorsItems0

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account not found body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0) Validate

Validate validates this update org service account not found body errors items0

type UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account not found body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Links) Validate

Validate validates this update org service account not found body errors items0 links

type UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source

type UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source update org service account not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account not found body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyErrorsItems0Source) Validate

Validate validates this update org service account not found body errors items0 source

type UpdateOrgServiceAccountNotFoundBodyJsonapi

type UpdateOrgServiceAccountNotFoundBodyJsonapi 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"`
}

UpdateOrgServiceAccountNotFoundBodyJsonapi update org service account not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountNotFoundBodyJsonapi

func (*UpdateOrgServiceAccountNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this update org service account not found body jsonapi based on context it is used

func (*UpdateOrgServiceAccountNotFoundBodyJsonapi) MarshalBinary

func (o *UpdateOrgServiceAccountNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyJsonapi) UnmarshalBinary

func (o *UpdateOrgServiceAccountNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountNotFoundBodyJsonapi) Validate

Validate validates this update org service account not found body jsonapi

type UpdateOrgServiceAccountOK

type UpdateOrgServiceAccountOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *UpdateOrgServiceAccountOKBody
}

UpdateOrgServiceAccountOK describes a response with status code 200, with default header values.

Service account is returned.

func NewUpdateOrgServiceAccountOK

func NewUpdateOrgServiceAccountOK() *UpdateOrgServiceAccountOK

NewUpdateOrgServiceAccountOK creates a UpdateOrgServiceAccountOK with default headers values

func (*UpdateOrgServiceAccountOK) Code

func (o *UpdateOrgServiceAccountOK) Code() int

Code gets the status code for the update org service account o k response

func (*UpdateOrgServiceAccountOK) Error

func (o *UpdateOrgServiceAccountOK) Error() string

func (*UpdateOrgServiceAccountOK) GetPayload

func (*UpdateOrgServiceAccountOK) IsClientError

func (o *UpdateOrgServiceAccountOK) IsClientError() bool

IsClientError returns true when this update org service account o k response has a 4xx status code

func (*UpdateOrgServiceAccountOK) IsCode

func (o *UpdateOrgServiceAccountOK) IsCode(code int) bool

IsCode returns true when this update org service account o k response a status code equal to that given

func (*UpdateOrgServiceAccountOK) IsRedirect

func (o *UpdateOrgServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this update org service account o k response has a 3xx status code

func (*UpdateOrgServiceAccountOK) IsServerError

func (o *UpdateOrgServiceAccountOK) IsServerError() bool

IsServerError returns true when this update org service account o k response has a 5xx status code

func (*UpdateOrgServiceAccountOK) IsSuccess

func (o *UpdateOrgServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this update org service account o k response has a 2xx status code

func (*UpdateOrgServiceAccountOK) String

func (o *UpdateOrgServiceAccountOK) String() string

type UpdateOrgServiceAccountOKBody

type UpdateOrgServiceAccountOKBody struct {

	// data
	// Required: true
	Data *UpdateOrgServiceAccountOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	// Required: true
	Links *models.Links `json:"links"`
}

UpdateOrgServiceAccountOKBody update org service account o k body swagger:model UpdateOrgServiceAccountOKBody

func (*UpdateOrgServiceAccountOKBody) ContextValidate

func (o *UpdateOrgServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account o k body based on the context it is used

func (*UpdateOrgServiceAccountOKBody) MarshalBinary

func (o *UpdateOrgServiceAccountOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBody) Validate

func (o *UpdateOrgServiceAccountOKBody) Validate(formats strfmt.Registry) error

Validate validates this update org service account o k body

type UpdateOrgServiceAccountOKBodyData

type UpdateOrgServiceAccountOKBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateOrgServiceAccountOKBodyDataAttributes `json:"attributes"`

	// id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *UpdateOrgServiceAccountOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

UpdateOrgServiceAccountOKBodyData update org service account o k body data swagger:model UpdateOrgServiceAccountOKBodyData

func (*UpdateOrgServiceAccountOKBodyData) ContextValidate

func (o *UpdateOrgServiceAccountOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account o k body data based on the context it is used

func (*UpdateOrgServiceAccountOKBodyData) MarshalBinary

func (o *UpdateOrgServiceAccountOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyData) UnmarshalBinary

func (o *UpdateOrgServiceAccountOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyData) Validate

Validate validates this update org service account o k body data

type UpdateOrgServiceAccountOKBodyDataAttributes

type UpdateOrgServiceAccountOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

UpdateOrgServiceAccountOKBodyDataAttributes update org service account o k body data attributes swagger:model UpdateOrgServiceAccountOKBodyDataAttributes

func (*UpdateOrgServiceAccountOKBodyDataAttributes) ContextValidate

ContextValidate validates this update org service account o k body data attributes based on context it is used

func (*UpdateOrgServiceAccountOKBodyDataAttributes) MarshalBinary

func (o *UpdateOrgServiceAccountOKBodyDataAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyDataAttributes) UnmarshalBinary

func (o *UpdateOrgServiceAccountOKBodyDataAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyDataAttributes) Validate

Validate validates this update org service account o k body data attributes

type UpdateOrgServiceAccountOKBodyDataLinks struct {

	// first
	// Example: https://example.com/api/resource
	First interface{} `json:"first,omitempty"`

	// last
	// Example: https://example.com/api/resource
	Last interface{} `json:"last,omitempty"`

	// next
	// Example: https://example.com/api/resource
	Next interface{} `json:"next,omitempty"`

	// prev
	// Example: https://example.com/api/resource
	Prev interface{} `json:"prev,omitempty"`

	// related
	// Example: https://example.com/api/resource
	Related interface{} `json:"related,omitempty"`

	// self
	// Example: https://example.com/api/resource
	Self interface{} `json:"self,omitempty"`
}

UpdateOrgServiceAccountOKBodyDataLinks update org service account o k body data links swagger:model UpdateOrgServiceAccountOKBodyDataLinks

func (*UpdateOrgServiceAccountOKBodyDataLinks) ContextValidate

ContextValidate validates this update org service account o k body data links based on context it is used

func (*UpdateOrgServiceAccountOKBodyDataLinks) MarshalBinary

func (o *UpdateOrgServiceAccountOKBodyDataLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyDataLinks) UnmarshalBinary

func (o *UpdateOrgServiceAccountOKBodyDataLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountOKBodyDataLinks) Validate

Validate validates this update org service account o k body data links

type UpdateOrgServiceAccountParams

type UpdateOrgServiceAccountParams struct {

	// Body.
	Body UpdateOrgServiceAccountBody

	/* OrgID.

	   The ID of the Snyk Organization that owns the service account.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

	   Format: uuid
	*/
	ServiceaccountID 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
}

UpdateOrgServiceAccountParams contains all the parameters to send to the API endpoint

for the update org service account operation.

Typically these are written to a http.Request.

func NewUpdateOrgServiceAccountParams

func NewUpdateOrgServiceAccountParams() *UpdateOrgServiceAccountParams

NewUpdateOrgServiceAccountParams creates a new UpdateOrgServiceAccountParams 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 NewUpdateOrgServiceAccountParamsWithContext

func NewUpdateOrgServiceAccountParamsWithContext(ctx context.Context) *UpdateOrgServiceAccountParams

NewUpdateOrgServiceAccountParamsWithContext creates a new UpdateOrgServiceAccountParams object with the ability to set a context for a request.

func NewUpdateOrgServiceAccountParamsWithHTTPClient

func NewUpdateOrgServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateOrgServiceAccountParams

NewUpdateOrgServiceAccountParamsWithHTTPClient creates a new UpdateOrgServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgServiceAccountParamsWithTimeout

func NewUpdateOrgServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateOrgServiceAccountParams

NewUpdateOrgServiceAccountParamsWithTimeout creates a new UpdateOrgServiceAccountParams object with the ability to set a timeout on a request.

func (*UpdateOrgServiceAccountParams) SetBody

SetBody adds the body to the update org service account params

func (*UpdateOrgServiceAccountParams) SetContext

func (o *UpdateOrgServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the update org service account params

func (*UpdateOrgServiceAccountParams) SetDefaults

func (o *UpdateOrgServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the update org service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgServiceAccountParams) SetHTTPClient

func (o *UpdateOrgServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update org service account params

func (*UpdateOrgServiceAccountParams) SetOrgID

func (o *UpdateOrgServiceAccountParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the update org service account params

func (*UpdateOrgServiceAccountParams) SetServiceaccountID

func (o *UpdateOrgServiceAccountParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the update org service account params

func (*UpdateOrgServiceAccountParams) SetTimeout

func (o *UpdateOrgServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update org service account params

func (*UpdateOrgServiceAccountParams) SetVersion

func (o *UpdateOrgServiceAccountParams) SetVersion(version string)

SetVersion adds the version to the update org service account params

func (*UpdateOrgServiceAccountParams) WithBody

WithBody adds the body to the update org service account params

func (*UpdateOrgServiceAccountParams) WithContext

WithContext adds the context to the update org service account params

func (*UpdateOrgServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the update org service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update org service account params

func (*UpdateOrgServiceAccountParams) WithOrgID

WithOrgID adds the orgID to the update org service account params

func (*UpdateOrgServiceAccountParams) WithServiceaccountID

func (o *UpdateOrgServiceAccountParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *UpdateOrgServiceAccountParams

WithServiceaccountID adds the serviceaccountID to the update org service account params

func (*UpdateOrgServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the update org service account params

func (*UpdateOrgServiceAccountParams) WithVersion

WithVersion adds the version to the update org service account params

func (*UpdateOrgServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrgServiceAccountParamsBodyData

type UpdateOrgServiceAccountParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateOrgServiceAccountParamsBodyDataAttributes `json:"attributes"`

	// The ID of the service account. Must match the id in the url path.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// The Resource type.
	// Required: true
	// Enum: [service_account]
	Type *string `json:"type"`
}

UpdateOrgServiceAccountParamsBodyData update org service account params body data swagger:model UpdateOrgServiceAccountParamsBodyData

func (*UpdateOrgServiceAccountParamsBodyData) ContextValidate

func (o *UpdateOrgServiceAccountParamsBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account params body data based on the context it is used

func (*UpdateOrgServiceAccountParamsBodyData) MarshalBinary

func (o *UpdateOrgServiceAccountParamsBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountParamsBodyData) UnmarshalBinary

func (o *UpdateOrgServiceAccountParamsBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountParamsBodyData) Validate

Validate validates this update org service account params body data

type UpdateOrgServiceAccountParamsBodyDataAttributes

type UpdateOrgServiceAccountParamsBodyDataAttributes struct {

	// A human-friendly name for the service account. Must be unique within the organization.
	// Required: true
	Name *string `json:"name"`
}

UpdateOrgServiceAccountParamsBodyDataAttributes update org service account params body data attributes swagger:model UpdateOrgServiceAccountParamsBodyDataAttributes

func (*UpdateOrgServiceAccountParamsBodyDataAttributes) ContextValidate

ContextValidate validates this update org service account params body data attributes based on context it is used

func (*UpdateOrgServiceAccountParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountParamsBodyDataAttributes) Validate

Validate validates this update org service account params body data attributes

type UpdateOrgServiceAccountReader

type UpdateOrgServiceAccountReader struct {
	// contains filtered or unexported fields
}

UpdateOrgServiceAccountReader is a Reader for the UpdateOrgServiceAccount structure.

func (*UpdateOrgServiceAccountReader) ReadResponse

func (o *UpdateOrgServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateOrgServiceAccountSecretBadRequest

type UpdateOrgServiceAccountSecretBadRequest 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 *UpdateOrgServiceAccountSecretBadRequestBody
}

UpdateOrgServiceAccountSecretBadRequest 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 NewUpdateOrgServiceAccountSecretBadRequest

func NewUpdateOrgServiceAccountSecretBadRequest() *UpdateOrgServiceAccountSecretBadRequest

NewUpdateOrgServiceAccountSecretBadRequest creates a UpdateOrgServiceAccountSecretBadRequest with default headers values

func (*UpdateOrgServiceAccountSecretBadRequest) Code

Code gets the status code for the update org service account secret bad request response

func (*UpdateOrgServiceAccountSecretBadRequest) Error

func (*UpdateOrgServiceAccountSecretBadRequest) GetPayload

func (*UpdateOrgServiceAccountSecretBadRequest) IsClientError

func (o *UpdateOrgServiceAccountSecretBadRequest) IsClientError() bool

IsClientError returns true when this update org service account secret bad request response has a 4xx status code

func (*UpdateOrgServiceAccountSecretBadRequest) IsCode

IsCode returns true when this update org service account secret bad request response a status code equal to that given

func (*UpdateOrgServiceAccountSecretBadRequest) IsRedirect

IsRedirect returns true when this update org service account secret bad request response has a 3xx status code

func (*UpdateOrgServiceAccountSecretBadRequest) IsServerError

func (o *UpdateOrgServiceAccountSecretBadRequest) IsServerError() bool

IsServerError returns true when this update org service account secret bad request response has a 5xx status code

func (*UpdateOrgServiceAccountSecretBadRequest) IsSuccess

IsSuccess returns true when this update org service account secret bad request response has a 2xx status code

func (*UpdateOrgServiceAccountSecretBadRequest) String

type UpdateOrgServiceAccountSecretBadRequestBody

type UpdateOrgServiceAccountSecretBadRequestBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountSecretBadRequestBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountSecretBadRequestBody update org service account secret bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountSecretBadRequestBody

func (*UpdateOrgServiceAccountSecretBadRequestBody) ContextValidate

ContextValidate validate this update org service account secret bad request body based on the context it is used

func (*UpdateOrgServiceAccountSecretBadRequestBody) MarshalBinary

func (o *UpdateOrgServiceAccountSecretBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBody) Validate

Validate validates this update org service account secret bad request body

type UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0

type UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0 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 *UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0 update org service account secret bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account secret bad request body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0) Validate

Validate validates this update org service account secret bad request body errors items0

type UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account secret bad request body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Links) Validate

Validate validates this update org service account secret bad request body errors items0 links

type UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source

type UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source update org service account secret bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account secret bad request body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyErrorsItems0Source) Validate

Validate validates this update org service account secret bad request body errors items0 source

type UpdateOrgServiceAccountSecretBadRequestBodyJsonapi

type UpdateOrgServiceAccountSecretBadRequestBodyJsonapi 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"`
}

UpdateOrgServiceAccountSecretBadRequestBodyJsonapi update org service account secret bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountSecretBadRequestBodyJsonapi

func (*UpdateOrgServiceAccountSecretBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this update org service account secret bad request body jsonapi based on context it is used

func (*UpdateOrgServiceAccountSecretBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBadRequestBodyJsonapi) Validate

Validate validates this update org service account secret bad request body jsonapi

type UpdateOrgServiceAccountSecretBody

type UpdateOrgServiceAccountSecretBody struct {

	// data
	// Required: true
	Data *UpdateOrgServiceAccountSecretParamsBodyData `json:"data"`
}

UpdateOrgServiceAccountSecretBody update org service account secret body swagger:model UpdateOrgServiceAccountSecretBody

func (*UpdateOrgServiceAccountSecretBody) ContextValidate

func (o *UpdateOrgServiceAccountSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account secret body based on the context it is used

func (*UpdateOrgServiceAccountSecretBody) MarshalBinary

func (o *UpdateOrgServiceAccountSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretBody) Validate

Validate validates this update org service account secret body

type UpdateOrgServiceAccountSecretForbidden

type UpdateOrgServiceAccountSecretForbidden 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 *UpdateOrgServiceAccountSecretForbiddenBody
}

UpdateOrgServiceAccountSecretForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewUpdateOrgServiceAccountSecretForbidden

func NewUpdateOrgServiceAccountSecretForbidden() *UpdateOrgServiceAccountSecretForbidden

NewUpdateOrgServiceAccountSecretForbidden creates a UpdateOrgServiceAccountSecretForbidden with default headers values

func (*UpdateOrgServiceAccountSecretForbidden) Code

Code gets the status code for the update org service account secret forbidden response

func (*UpdateOrgServiceAccountSecretForbidden) Error

func (*UpdateOrgServiceAccountSecretForbidden) GetPayload

func (*UpdateOrgServiceAccountSecretForbidden) IsClientError

func (o *UpdateOrgServiceAccountSecretForbidden) IsClientError() bool

IsClientError returns true when this update org service account secret forbidden response has a 4xx status code

func (*UpdateOrgServiceAccountSecretForbidden) IsCode

IsCode returns true when this update org service account secret forbidden response a status code equal to that given

func (*UpdateOrgServiceAccountSecretForbidden) IsRedirect

IsRedirect returns true when this update org service account secret forbidden response has a 3xx status code

func (*UpdateOrgServiceAccountSecretForbidden) IsServerError

func (o *UpdateOrgServiceAccountSecretForbidden) IsServerError() bool

IsServerError returns true when this update org service account secret forbidden response has a 5xx status code

func (*UpdateOrgServiceAccountSecretForbidden) IsSuccess

IsSuccess returns true when this update org service account secret forbidden response has a 2xx status code

func (*UpdateOrgServiceAccountSecretForbidden) String

type UpdateOrgServiceAccountSecretForbiddenBody

type UpdateOrgServiceAccountSecretForbiddenBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountSecretForbiddenBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountSecretForbiddenBody update org service account secret forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountSecretForbiddenBody

func (*UpdateOrgServiceAccountSecretForbiddenBody) ContextValidate

ContextValidate validate this update org service account secret forbidden body based on the context it is used

func (*UpdateOrgServiceAccountSecretForbiddenBody) MarshalBinary

func (o *UpdateOrgServiceAccountSecretForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBody) Validate

Validate validates this update org service account secret forbidden body

type UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0

type UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0 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 *UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0 update org service account secret forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account secret forbidden body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0) Validate

Validate validates this update org service account secret forbidden body errors items0

type UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account secret forbidden body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Links) Validate

Validate validates this update org service account secret forbidden body errors items0 links

type UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source

type UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source update org service account secret forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account secret forbidden body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyErrorsItems0Source) Validate

Validate validates this update org service account secret forbidden body errors items0 source

type UpdateOrgServiceAccountSecretForbiddenBodyJsonapi

type UpdateOrgServiceAccountSecretForbiddenBodyJsonapi 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"`
}

UpdateOrgServiceAccountSecretForbiddenBodyJsonapi update org service account secret forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountSecretForbiddenBodyJsonapi

func (*UpdateOrgServiceAccountSecretForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this update org service account secret forbidden body jsonapi based on context it is used

func (*UpdateOrgServiceAccountSecretForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretForbiddenBodyJsonapi) Validate

Validate validates this update org service account secret forbidden body jsonapi

type UpdateOrgServiceAccountSecretInternalServerError

type UpdateOrgServiceAccountSecretInternalServerError 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 *UpdateOrgServiceAccountSecretInternalServerErrorBody
}

UpdateOrgServiceAccountSecretInternalServerError 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 NewUpdateOrgServiceAccountSecretInternalServerError

func NewUpdateOrgServiceAccountSecretInternalServerError() *UpdateOrgServiceAccountSecretInternalServerError

NewUpdateOrgServiceAccountSecretInternalServerError creates a UpdateOrgServiceAccountSecretInternalServerError with default headers values

func (*UpdateOrgServiceAccountSecretInternalServerError) Code

Code gets the status code for the update org service account secret internal server error response

func (*UpdateOrgServiceAccountSecretInternalServerError) Error

func (*UpdateOrgServiceAccountSecretInternalServerError) GetPayload

func (*UpdateOrgServiceAccountSecretInternalServerError) IsClientError

IsClientError returns true when this update org service account secret internal server error response has a 4xx status code

func (*UpdateOrgServiceAccountSecretInternalServerError) IsCode

IsCode returns true when this update org service account secret internal server error response a status code equal to that given

func (*UpdateOrgServiceAccountSecretInternalServerError) IsRedirect

IsRedirect returns true when this update org service account secret internal server error response has a 3xx status code

func (*UpdateOrgServiceAccountSecretInternalServerError) IsServerError

IsServerError returns true when this update org service account secret internal server error response has a 5xx status code

func (*UpdateOrgServiceAccountSecretInternalServerError) IsSuccess

IsSuccess returns true when this update org service account secret internal server error response has a 2xx status code

func (*UpdateOrgServiceAccountSecretInternalServerError) String

type UpdateOrgServiceAccountSecretInternalServerErrorBody

type UpdateOrgServiceAccountSecretInternalServerErrorBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountSecretInternalServerErrorBody update org service account secret internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountSecretInternalServerErrorBody

func (*UpdateOrgServiceAccountSecretInternalServerErrorBody) ContextValidate

ContextValidate validate this update org service account secret internal server error body based on the context it is used

func (*UpdateOrgServiceAccountSecretInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBody) Validate

Validate validates this update org service account secret internal server error body

type UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0

type UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0 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 *UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0 update org service account secret internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account secret internal server error body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update org service account secret internal server error body errors items0

type UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account secret internal server error body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update org service account secret internal server error body errors items0 links

type UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source

type UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source update org service account secret internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account secret internal server error body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update org service account secret internal server error body errors items0 source

type UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi

type UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi 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"`
}

UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi update org service account secret internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this update org service account secret internal server error body jsonapi based on context it is used

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretInternalServerErrorBodyJsonapi) Validate

Validate validates this update org service account secret internal server error body jsonapi

type UpdateOrgServiceAccountSecretNotFound

type UpdateOrgServiceAccountSecretNotFound 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 *UpdateOrgServiceAccountSecretNotFoundBody
}

UpdateOrgServiceAccountSecretNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewUpdateOrgServiceAccountSecretNotFound

func NewUpdateOrgServiceAccountSecretNotFound() *UpdateOrgServiceAccountSecretNotFound

NewUpdateOrgServiceAccountSecretNotFound creates a UpdateOrgServiceAccountSecretNotFound with default headers values

func (*UpdateOrgServiceAccountSecretNotFound) Code

Code gets the status code for the update org service account secret not found response

func (*UpdateOrgServiceAccountSecretNotFound) Error

func (*UpdateOrgServiceAccountSecretNotFound) GetPayload

func (*UpdateOrgServiceAccountSecretNotFound) IsClientError

func (o *UpdateOrgServiceAccountSecretNotFound) IsClientError() bool

IsClientError returns true when this update org service account secret not found response has a 4xx status code

func (*UpdateOrgServiceAccountSecretNotFound) IsCode

IsCode returns true when this update org service account secret not found response a status code equal to that given

func (*UpdateOrgServiceAccountSecretNotFound) IsRedirect

IsRedirect returns true when this update org service account secret not found response has a 3xx status code

func (*UpdateOrgServiceAccountSecretNotFound) IsServerError

func (o *UpdateOrgServiceAccountSecretNotFound) IsServerError() bool

IsServerError returns true when this update org service account secret not found response has a 5xx status code

func (*UpdateOrgServiceAccountSecretNotFound) IsSuccess

IsSuccess returns true when this update org service account secret not found response has a 2xx status code

func (*UpdateOrgServiceAccountSecretNotFound) String

type UpdateOrgServiceAccountSecretNotFoundBody

type UpdateOrgServiceAccountSecretNotFoundBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountSecretNotFoundBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountSecretNotFoundBody update org service account secret not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountSecretNotFoundBody

func (*UpdateOrgServiceAccountSecretNotFoundBody) ContextValidate

ContextValidate validate this update org service account secret not found body based on the context it is used

func (*UpdateOrgServiceAccountSecretNotFoundBody) MarshalBinary

func (o *UpdateOrgServiceAccountSecretNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBody) Validate

Validate validates this update org service account secret not found body

type UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0

type UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0 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 *UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0 update org service account secret not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account secret not found body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0) Validate

Validate validates this update org service account secret not found body errors items0

type UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account secret not found body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Links) Validate

Validate validates this update org service account secret not found body errors items0 links

type UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source

type UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source update org service account secret not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account secret not found body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyErrorsItems0Source) Validate

Validate validates this update org service account secret not found body errors items0 source

type UpdateOrgServiceAccountSecretNotFoundBodyJsonapi

type UpdateOrgServiceAccountSecretNotFoundBodyJsonapi 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"`
}

UpdateOrgServiceAccountSecretNotFoundBodyJsonapi update org service account secret not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountSecretNotFoundBodyJsonapi

func (*UpdateOrgServiceAccountSecretNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this update org service account secret not found body jsonapi based on context it is used

func (*UpdateOrgServiceAccountSecretNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretNotFoundBodyJsonapi) Validate

Validate validates this update org service account secret not found body jsonapi

type UpdateOrgServiceAccountSecretOK

type UpdateOrgServiceAccountSecretOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *UpdateOrgServiceAccountSecretOKBody
}

UpdateOrgServiceAccountSecretOK describes a response with status code 200, with default header values.

Service account client secret has been updated.

func NewUpdateOrgServiceAccountSecretOK

func NewUpdateOrgServiceAccountSecretOK() *UpdateOrgServiceAccountSecretOK

NewUpdateOrgServiceAccountSecretOK creates a UpdateOrgServiceAccountSecretOK with default headers values

func (*UpdateOrgServiceAccountSecretOK) Code

Code gets the status code for the update org service account secret o k response

func (*UpdateOrgServiceAccountSecretOK) Error

func (*UpdateOrgServiceAccountSecretOK) GetPayload

func (*UpdateOrgServiceAccountSecretOK) IsClientError

func (o *UpdateOrgServiceAccountSecretOK) IsClientError() bool

IsClientError returns true when this update org service account secret o k response has a 4xx status code

func (*UpdateOrgServiceAccountSecretOK) IsCode

func (o *UpdateOrgServiceAccountSecretOK) IsCode(code int) bool

IsCode returns true when this update org service account secret o k response a status code equal to that given

func (*UpdateOrgServiceAccountSecretOK) IsRedirect

func (o *UpdateOrgServiceAccountSecretOK) IsRedirect() bool

IsRedirect returns true when this update org service account secret o k response has a 3xx status code

func (*UpdateOrgServiceAccountSecretOK) IsServerError

func (o *UpdateOrgServiceAccountSecretOK) IsServerError() bool

IsServerError returns true when this update org service account secret o k response has a 5xx status code

func (*UpdateOrgServiceAccountSecretOK) IsSuccess

func (o *UpdateOrgServiceAccountSecretOK) IsSuccess() bool

IsSuccess returns true when this update org service account secret o k response has a 2xx status code

func (*UpdateOrgServiceAccountSecretOK) String

type UpdateOrgServiceAccountSecretOKBody

type UpdateOrgServiceAccountSecretOKBody struct {

	// data
	// Required: true
	Data *UpdateOrgServiceAccountSecretOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	Links *models.Links `json:"links,omitempty"`
}

UpdateOrgServiceAccountSecretOKBody update org service account secret o k body swagger:model UpdateOrgServiceAccountSecretOKBody

func (*UpdateOrgServiceAccountSecretOKBody) ContextValidate

func (o *UpdateOrgServiceAccountSecretOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update org service account secret o k body based on the context it is used

func (*UpdateOrgServiceAccountSecretOKBody) MarshalBinary

func (o *UpdateOrgServiceAccountSecretOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBody) Validate

Validate validates this update org service account secret o k body

type UpdateOrgServiceAccountSecretOKBodyData

type UpdateOrgServiceAccountSecretOKBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateOrgServiceAccountSecretOKBodyDataAttributes `json:"attributes"`

	// id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *UpdateOrgServiceAccountSecretOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

UpdateOrgServiceAccountSecretOKBodyData update org service account secret o k body data swagger:model UpdateOrgServiceAccountSecretOKBodyData

func (*UpdateOrgServiceAccountSecretOKBodyData) ContextValidate

ContextValidate validate this update org service account secret o k body data based on the context it is used

func (*UpdateOrgServiceAccountSecretOKBodyData) MarshalBinary

func (o *UpdateOrgServiceAccountSecretOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyData) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyData) Validate

Validate validates this update org service account secret o k body data

type UpdateOrgServiceAccountSecretOKBodyDataAttributes

type UpdateOrgServiceAccountSecretOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

UpdateOrgServiceAccountSecretOKBodyDataAttributes update org service account secret o k body data attributes swagger:model UpdateOrgServiceAccountSecretOKBodyDataAttributes

func (*UpdateOrgServiceAccountSecretOKBodyDataAttributes) ContextValidate

ContextValidate validates this update org service account secret o k body data attributes based on context it is used

func (*UpdateOrgServiceAccountSecretOKBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyDataAttributes) Validate

Validate validates this update org service account secret o k body data attributes

type UpdateOrgServiceAccountSecretOKBodyDataLinks struct {

	// first
	// Example: https://example.com/api/resource
	First interface{} `json:"first,omitempty"`

	// last
	// Example: https://example.com/api/resource
	Last interface{} `json:"last,omitempty"`

	// next
	// Example: https://example.com/api/resource
	Next interface{} `json:"next,omitempty"`

	// prev
	// Example: https://example.com/api/resource
	Prev interface{} `json:"prev,omitempty"`

	// related
	// Example: https://example.com/api/resource
	Related interface{} `json:"related,omitempty"`

	// self
	// Example: https://example.com/api/resource
	Self interface{} `json:"self,omitempty"`
}

UpdateOrgServiceAccountSecretOKBodyDataLinks update org service account secret o k body data links swagger:model UpdateOrgServiceAccountSecretOKBodyDataLinks

func (*UpdateOrgServiceAccountSecretOKBodyDataLinks) ContextValidate

ContextValidate validates this update org service account secret o k body data links based on context it is used

func (*UpdateOrgServiceAccountSecretOKBodyDataLinks) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyDataLinks) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretOKBodyDataLinks) Validate

Validate validates this update org service account secret o k body data links

type UpdateOrgServiceAccountSecretParams

type UpdateOrgServiceAccountSecretParams struct {

	// Body.
	Body UpdateOrgServiceAccountSecretBody

	/* OrgID.

	   The ID of the Snyk Organization that owns the service account.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

	   Format: uuid
	*/
	ServiceaccountID 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
}

UpdateOrgServiceAccountSecretParams contains all the parameters to send to the API endpoint

for the update org service account secret operation.

Typically these are written to a http.Request.

func NewUpdateOrgServiceAccountSecretParams

func NewUpdateOrgServiceAccountSecretParams() *UpdateOrgServiceAccountSecretParams

NewUpdateOrgServiceAccountSecretParams creates a new UpdateOrgServiceAccountSecretParams 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 NewUpdateOrgServiceAccountSecretParamsWithContext

func NewUpdateOrgServiceAccountSecretParamsWithContext(ctx context.Context) *UpdateOrgServiceAccountSecretParams

NewUpdateOrgServiceAccountSecretParamsWithContext creates a new UpdateOrgServiceAccountSecretParams object with the ability to set a context for a request.

func NewUpdateOrgServiceAccountSecretParamsWithHTTPClient

func NewUpdateOrgServiceAccountSecretParamsWithHTTPClient(client *http.Client) *UpdateOrgServiceAccountSecretParams

NewUpdateOrgServiceAccountSecretParamsWithHTTPClient creates a new UpdateOrgServiceAccountSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgServiceAccountSecretParamsWithTimeout

func NewUpdateOrgServiceAccountSecretParamsWithTimeout(timeout time.Duration) *UpdateOrgServiceAccountSecretParams

NewUpdateOrgServiceAccountSecretParamsWithTimeout creates a new UpdateOrgServiceAccountSecretParams object with the ability to set a timeout on a request.

func (*UpdateOrgServiceAccountSecretParams) SetBody

SetBody adds the body to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetContext

SetContext adds the context to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetDefaults

func (o *UpdateOrgServiceAccountSecretParams) SetDefaults()

SetDefaults hydrates default values in the update org service account secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgServiceAccountSecretParams) SetHTTPClient

func (o *UpdateOrgServiceAccountSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetOrgID

func (o *UpdateOrgServiceAccountSecretParams) SetOrgID(orgID strfmt.UUID)

SetOrgID adds the orgId to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetServiceaccountID

func (o *UpdateOrgServiceAccountSecretParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetTimeout

func (o *UpdateOrgServiceAccountSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) SetVersion

func (o *UpdateOrgServiceAccountSecretParams) SetVersion(version string)

SetVersion adds the version to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithBody

WithBody adds the body to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithContext

WithContext adds the context to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithDefaults

WithDefaults hydrates default values in the update org service account secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrgServiceAccountSecretParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithOrgID

WithOrgID adds the orgID to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithServiceaccountID

func (o *UpdateOrgServiceAccountSecretParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *UpdateOrgServiceAccountSecretParams

WithServiceaccountID adds the serviceaccountID to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithTimeout

WithTimeout adds the timeout to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WithVersion

WithVersion adds the version to the update org service account secret params

func (*UpdateOrgServiceAccountSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrgServiceAccountSecretParamsBodyData

type UpdateOrgServiceAccountSecretParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateOrgServiceAccountSecretParamsBodyDataAttributes `json:"attributes"`

	// The Resource type.
	// Required: true
	// Enum: [service_account]
	Type *string `json:"type"`
}

UpdateOrgServiceAccountSecretParamsBodyData update org service account secret params body data swagger:model UpdateOrgServiceAccountSecretParamsBodyData

func (*UpdateOrgServiceAccountSecretParamsBodyData) ContextValidate

ContextValidate validate this update org service account secret params body data based on the context it is used

func (*UpdateOrgServiceAccountSecretParamsBodyData) MarshalBinary

func (o *UpdateOrgServiceAccountSecretParamsBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretParamsBodyData) UnmarshalBinary

func (o *UpdateOrgServiceAccountSecretParamsBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretParamsBodyData) Validate

Validate validates this update org service account secret params body data

type UpdateOrgServiceAccountSecretParamsBodyDataAttributes

type UpdateOrgServiceAccountSecretParamsBodyDataAttributes struct {

	// Operation to perform:
	//   * `replace` - Replace existing secrets with a new generated secret.
	//   * `create` - Add a new secret, preserving existing secrets. A maximum of to two secrets can exist at a time.
	//   * `delete` - Remove an existing secret by value. At least one secret must remain per service account.
	//
	// Required: true
	// Enum: [replace create delete]
	Mode *string `json:"mode"`

	// Secret to delete when using `delete` mode
	Secret string `json:"secret,omitempty"`
}

UpdateOrgServiceAccountSecretParamsBodyDataAttributes update org service account secret params body data attributes swagger:model UpdateOrgServiceAccountSecretParamsBodyDataAttributes

func (*UpdateOrgServiceAccountSecretParamsBodyDataAttributes) ContextValidate

ContextValidate validates this update org service account secret params body data attributes based on context it is used

func (*UpdateOrgServiceAccountSecretParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretParamsBodyDataAttributes) Validate

Validate validates this update org service account secret params body data attributes

type UpdateOrgServiceAccountSecretReader

type UpdateOrgServiceAccountSecretReader struct {
	// contains filtered or unexported fields
}

UpdateOrgServiceAccountSecretReader is a Reader for the UpdateOrgServiceAccountSecret structure.

func (*UpdateOrgServiceAccountSecretReader) ReadResponse

func (o *UpdateOrgServiceAccountSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateOrgServiceAccountSecretUnauthorized

type UpdateOrgServiceAccountSecretUnauthorized 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 *UpdateOrgServiceAccountSecretUnauthorizedBody
}

UpdateOrgServiceAccountSecretUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewUpdateOrgServiceAccountSecretUnauthorized

func NewUpdateOrgServiceAccountSecretUnauthorized() *UpdateOrgServiceAccountSecretUnauthorized

NewUpdateOrgServiceAccountSecretUnauthorized creates a UpdateOrgServiceAccountSecretUnauthorized with default headers values

func (*UpdateOrgServiceAccountSecretUnauthorized) Code

Code gets the status code for the update org service account secret unauthorized response

func (*UpdateOrgServiceAccountSecretUnauthorized) Error

func (*UpdateOrgServiceAccountSecretUnauthorized) GetPayload

func (*UpdateOrgServiceAccountSecretUnauthorized) IsClientError

IsClientError returns true when this update org service account secret unauthorized response has a 4xx status code

func (*UpdateOrgServiceAccountSecretUnauthorized) IsCode

IsCode returns true when this update org service account secret unauthorized response a status code equal to that given

func (*UpdateOrgServiceAccountSecretUnauthorized) IsRedirect

IsRedirect returns true when this update org service account secret unauthorized response has a 3xx status code

func (*UpdateOrgServiceAccountSecretUnauthorized) IsServerError

IsServerError returns true when this update org service account secret unauthorized response has a 5xx status code

func (*UpdateOrgServiceAccountSecretUnauthorized) IsSuccess

IsSuccess returns true when this update org service account secret unauthorized response has a 2xx status code

func (*UpdateOrgServiceAccountSecretUnauthorized) String

type UpdateOrgServiceAccountSecretUnauthorizedBody

type UpdateOrgServiceAccountSecretUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountSecretUnauthorizedBody update org service account secret unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountSecretUnauthorizedBody

func (*UpdateOrgServiceAccountSecretUnauthorizedBody) ContextValidate

ContextValidate validate this update org service account secret unauthorized body based on the context it is used

func (*UpdateOrgServiceAccountSecretUnauthorizedBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBody) Validate

Validate validates this update org service account secret unauthorized body

type UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0

type UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0 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 *UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0 update org service account secret unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account secret unauthorized body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0) Validate

Validate validates this update org service account secret unauthorized body errors items0

type UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account secret unauthorized body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update org service account secret unauthorized body errors items0 links

type UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source

type UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source update org service account secret unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account secret unauthorized body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update org service account secret unauthorized body errors items0 source

type UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi

type UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi 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"`
}

UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi update org service account secret unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update org service account secret unauthorized body jsonapi based on context it is used

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountSecretUnauthorizedBodyJsonapi) Validate

Validate validates this update org service account secret unauthorized body jsonapi

type UpdateOrgServiceAccountUnauthorized

type UpdateOrgServiceAccountUnauthorized 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 *UpdateOrgServiceAccountUnauthorizedBody
}

UpdateOrgServiceAccountUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewUpdateOrgServiceAccountUnauthorized

func NewUpdateOrgServiceAccountUnauthorized() *UpdateOrgServiceAccountUnauthorized

NewUpdateOrgServiceAccountUnauthorized creates a UpdateOrgServiceAccountUnauthorized with default headers values

func (*UpdateOrgServiceAccountUnauthorized) Code

Code gets the status code for the update org service account unauthorized response

func (*UpdateOrgServiceAccountUnauthorized) Error

func (*UpdateOrgServiceAccountUnauthorized) GetPayload

func (*UpdateOrgServiceAccountUnauthorized) IsClientError

func (o *UpdateOrgServiceAccountUnauthorized) IsClientError() bool

IsClientError returns true when this update org service account unauthorized response has a 4xx status code

func (*UpdateOrgServiceAccountUnauthorized) IsCode

IsCode returns true when this update org service account unauthorized response a status code equal to that given

func (*UpdateOrgServiceAccountUnauthorized) IsRedirect

func (o *UpdateOrgServiceAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this update org service account unauthorized response has a 3xx status code

func (*UpdateOrgServiceAccountUnauthorized) IsServerError

func (o *UpdateOrgServiceAccountUnauthorized) IsServerError() bool

IsServerError returns true when this update org service account unauthorized response has a 5xx status code

func (*UpdateOrgServiceAccountUnauthorized) IsSuccess

IsSuccess returns true when this update org service account unauthorized response has a 2xx status code

func (*UpdateOrgServiceAccountUnauthorized) String

type UpdateOrgServiceAccountUnauthorizedBody

type UpdateOrgServiceAccountUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateOrgServiceAccountUnauthorizedBodyJsonapi `json:"jsonapi"`
}

UpdateOrgServiceAccountUnauthorizedBody update org service account unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgServiceAccountUnauthorizedBody

func (*UpdateOrgServiceAccountUnauthorizedBody) ContextValidate

ContextValidate validate this update org service account unauthorized body based on the context it is used

func (*UpdateOrgServiceAccountUnauthorizedBody) MarshalBinary

func (o *UpdateOrgServiceAccountUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBody) UnmarshalBinary

func (o *UpdateOrgServiceAccountUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBody) Validate

Validate validates this update org service account unauthorized body

type UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0

type UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0 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 *UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0 update org service account unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update org service account unauthorized body errors items0 based on the context it is used

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0) Validate

Validate validates this update org service account unauthorized body errors items0

type UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update org service account unauthorized body errors items0 links based on context it is used

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update org service account unauthorized body errors items0 links

type UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source

type UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source update org service account unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update org service account unauthorized body errors items0 source based on context it is used

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update org service account unauthorized body errors items0 source

type UpdateOrgServiceAccountUnauthorizedBodyJsonapi

type UpdateOrgServiceAccountUnauthorizedBodyJsonapi 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"`
}

UpdateOrgServiceAccountUnauthorizedBodyJsonapi update org service account unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgServiceAccountUnauthorizedBodyJsonapi

func (*UpdateOrgServiceAccountUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update org service account unauthorized body jsonapi based on context it is used

func (*UpdateOrgServiceAccountUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrgServiceAccountUnauthorizedBodyJsonapi) Validate

Validate validates this update org service account unauthorized body jsonapi

type UpdateServiceAccountSecretBadRequest

type UpdateServiceAccountSecretBadRequest 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 *UpdateServiceAccountSecretBadRequestBody
}

UpdateServiceAccountSecretBadRequest 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 NewUpdateServiceAccountSecretBadRequest

func NewUpdateServiceAccountSecretBadRequest() *UpdateServiceAccountSecretBadRequest

NewUpdateServiceAccountSecretBadRequest creates a UpdateServiceAccountSecretBadRequest with default headers values

func (*UpdateServiceAccountSecretBadRequest) Code

Code gets the status code for the update service account secret bad request response

func (*UpdateServiceAccountSecretBadRequest) Error

func (*UpdateServiceAccountSecretBadRequest) GetPayload

func (*UpdateServiceAccountSecretBadRequest) IsClientError

func (o *UpdateServiceAccountSecretBadRequest) IsClientError() bool

IsClientError returns true when this update service account secret bad request response has a 4xx status code

func (*UpdateServiceAccountSecretBadRequest) IsCode

IsCode returns true when this update service account secret bad request response a status code equal to that given

func (*UpdateServiceAccountSecretBadRequest) IsRedirect

IsRedirect returns true when this update service account secret bad request response has a 3xx status code

func (*UpdateServiceAccountSecretBadRequest) IsServerError

func (o *UpdateServiceAccountSecretBadRequest) IsServerError() bool

IsServerError returns true when this update service account secret bad request response has a 5xx status code

func (*UpdateServiceAccountSecretBadRequest) IsSuccess

IsSuccess returns true when this update service account secret bad request response has a 2xx status code

func (*UpdateServiceAccountSecretBadRequest) String

type UpdateServiceAccountSecretBadRequestBody

type UpdateServiceAccountSecretBadRequestBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateServiceAccountSecretBadRequestBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateServiceAccountSecretBadRequestBodyJsonapi `json:"jsonapi"`
}

UpdateServiceAccountSecretBadRequestBody update service account secret bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateServiceAccountSecretBadRequestBody

func (*UpdateServiceAccountSecretBadRequestBody) ContextValidate

ContextValidate validate this update service account secret bad request body based on the context it is used

func (*UpdateServiceAccountSecretBadRequestBody) MarshalBinary

func (o *UpdateServiceAccountSecretBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBody) Validate

Validate validates this update service account secret bad request body

type UpdateServiceAccountSecretBadRequestBodyErrorsItems0

type UpdateServiceAccountSecretBadRequestBodyErrorsItems0 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 *UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source `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"`
}

UpdateServiceAccountSecretBadRequestBodyErrorsItems0 update service account secret bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateServiceAccountSecretBadRequestBodyErrorsItems0

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0) ContextValidate

ContextValidate validate this update service account secret bad request body errors items0 based on the context it is used

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0) Validate

Validate validates this update service account secret bad request body errors items0

type UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update service account secret bad request body errors items0 links based on context it is used

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Links) Validate

Validate validates this update service account secret bad request body errors items0 links

type UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source

type UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source 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"`
}

UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source update service account secret bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update service account secret bad request body errors items0 source based on context it is used

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyErrorsItems0Source) Validate

Validate validates this update service account secret bad request body errors items0 source

type UpdateServiceAccountSecretBadRequestBodyJsonapi

type UpdateServiceAccountSecretBadRequestBodyJsonapi 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"`
}

UpdateServiceAccountSecretBadRequestBodyJsonapi update service account secret bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateServiceAccountSecretBadRequestBodyJsonapi

func (*UpdateServiceAccountSecretBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this update service account secret bad request body jsonapi based on context it is used

func (*UpdateServiceAccountSecretBadRequestBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBadRequestBodyJsonapi) Validate

Validate validates this update service account secret bad request body jsonapi

type UpdateServiceAccountSecretBody

type UpdateServiceAccountSecretBody struct {

	// data
	// Required: true
	Data *UpdateServiceAccountSecretParamsBodyData `json:"data"`
}

UpdateServiceAccountSecretBody update service account secret body swagger:model UpdateServiceAccountSecretBody

func (*UpdateServiceAccountSecretBody) ContextValidate

func (o *UpdateServiceAccountSecretBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update service account secret body based on the context it is used

func (*UpdateServiceAccountSecretBody) MarshalBinary

func (o *UpdateServiceAccountSecretBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretBody) Validate

func (o *UpdateServiceAccountSecretBody) Validate(formats strfmt.Registry) error

Validate validates this update service account secret body

type UpdateServiceAccountSecretForbidden

type UpdateServiceAccountSecretForbidden 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 *UpdateServiceAccountSecretForbiddenBody
}

UpdateServiceAccountSecretForbidden describes a response with status code 403, with default header values.

Forbidden: the request requires an authentication token with more or different permissions.

func NewUpdateServiceAccountSecretForbidden

func NewUpdateServiceAccountSecretForbidden() *UpdateServiceAccountSecretForbidden

NewUpdateServiceAccountSecretForbidden creates a UpdateServiceAccountSecretForbidden with default headers values

func (*UpdateServiceAccountSecretForbidden) Code

Code gets the status code for the update service account secret forbidden response

func (*UpdateServiceAccountSecretForbidden) Error

func (*UpdateServiceAccountSecretForbidden) GetPayload

func (*UpdateServiceAccountSecretForbidden) IsClientError

func (o *UpdateServiceAccountSecretForbidden) IsClientError() bool

IsClientError returns true when this update service account secret forbidden response has a 4xx status code

func (*UpdateServiceAccountSecretForbidden) IsCode

IsCode returns true when this update service account secret forbidden response a status code equal to that given

func (*UpdateServiceAccountSecretForbidden) IsRedirect

func (o *UpdateServiceAccountSecretForbidden) IsRedirect() bool

IsRedirect returns true when this update service account secret forbidden response has a 3xx status code

func (*UpdateServiceAccountSecretForbidden) IsServerError

func (o *UpdateServiceAccountSecretForbidden) IsServerError() bool

IsServerError returns true when this update service account secret forbidden response has a 5xx status code

func (*UpdateServiceAccountSecretForbidden) IsSuccess

IsSuccess returns true when this update service account secret forbidden response has a 2xx status code

func (*UpdateServiceAccountSecretForbidden) String

type UpdateServiceAccountSecretForbiddenBody

type UpdateServiceAccountSecretForbiddenBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateServiceAccountSecretForbiddenBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateServiceAccountSecretForbiddenBodyJsonapi `json:"jsonapi"`
}

UpdateServiceAccountSecretForbiddenBody update service account secret forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateServiceAccountSecretForbiddenBody

func (*UpdateServiceAccountSecretForbiddenBody) ContextValidate

ContextValidate validate this update service account secret forbidden body based on the context it is used

func (*UpdateServiceAccountSecretForbiddenBody) MarshalBinary

func (o *UpdateServiceAccountSecretForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBody) Validate

Validate validates this update service account secret forbidden body

type UpdateServiceAccountSecretForbiddenBodyErrorsItems0

type UpdateServiceAccountSecretForbiddenBodyErrorsItems0 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 *UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source `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"`
}

UpdateServiceAccountSecretForbiddenBodyErrorsItems0 update service account secret forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateServiceAccountSecretForbiddenBodyErrorsItems0

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this update service account secret forbidden body errors items0 based on the context it is used

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0) Validate

Validate validates this update service account secret forbidden body errors items0

type UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update service account secret forbidden body errors items0 links based on context it is used

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Links) Validate

Validate validates this update service account secret forbidden body errors items0 links

type UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source

type UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source 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"`
}

UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source update service account secret forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update service account secret forbidden body errors items0 source based on context it is used

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyErrorsItems0Source) Validate

Validate validates this update service account secret forbidden body errors items0 source

type UpdateServiceAccountSecretForbiddenBodyJsonapi

type UpdateServiceAccountSecretForbiddenBodyJsonapi 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"`
}

UpdateServiceAccountSecretForbiddenBodyJsonapi update service account secret forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateServiceAccountSecretForbiddenBodyJsonapi

func (*UpdateServiceAccountSecretForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this update service account secret forbidden body jsonapi based on context it is used

func (*UpdateServiceAccountSecretForbiddenBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretForbiddenBodyJsonapi) Validate

Validate validates this update service account secret forbidden body jsonapi

type UpdateServiceAccountSecretInternalServerError

type UpdateServiceAccountSecretInternalServerError 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 *UpdateServiceAccountSecretInternalServerErrorBody
}

UpdateServiceAccountSecretInternalServerError 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 NewUpdateServiceAccountSecretInternalServerError

func NewUpdateServiceAccountSecretInternalServerError() *UpdateServiceAccountSecretInternalServerError

NewUpdateServiceAccountSecretInternalServerError creates a UpdateServiceAccountSecretInternalServerError with default headers values

func (*UpdateServiceAccountSecretInternalServerError) Code

Code gets the status code for the update service account secret internal server error response

func (*UpdateServiceAccountSecretInternalServerError) Error

func (*UpdateServiceAccountSecretInternalServerError) GetPayload

func (*UpdateServiceAccountSecretInternalServerError) IsClientError

IsClientError returns true when this update service account secret internal server error response has a 4xx status code

func (*UpdateServiceAccountSecretInternalServerError) IsCode

IsCode returns true when this update service account secret internal server error response a status code equal to that given

func (*UpdateServiceAccountSecretInternalServerError) IsRedirect

IsRedirect returns true when this update service account secret internal server error response has a 3xx status code

func (*UpdateServiceAccountSecretInternalServerError) IsServerError

IsServerError returns true when this update service account secret internal server error response has a 5xx status code

func (*UpdateServiceAccountSecretInternalServerError) IsSuccess

IsSuccess returns true when this update service account secret internal server error response has a 2xx status code

func (*UpdateServiceAccountSecretInternalServerError) String

type UpdateServiceAccountSecretInternalServerErrorBody

type UpdateServiceAccountSecretInternalServerErrorBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateServiceAccountSecretInternalServerErrorBodyJsonapi `json:"jsonapi"`
}

UpdateServiceAccountSecretInternalServerErrorBody update service account secret internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateServiceAccountSecretInternalServerErrorBody

func (*UpdateServiceAccountSecretInternalServerErrorBody) ContextValidate

ContextValidate validate this update service account secret internal server error body based on the context it is used

func (*UpdateServiceAccountSecretInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBody) Validate

Validate validates this update service account secret internal server error body

type UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0

type UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0 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 *UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source `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"`
}

UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0 update service account secret internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0) ContextValidate

ContextValidate validate this update service account secret internal server error body errors items0 based on the context it is used

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0) Validate

Validate validates this update service account secret internal server error body errors items0

type UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update service account secret internal server error body errors items0 links based on context it is used

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this update service account secret internal server error body errors items0 links

type UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source

type UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source 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"`
}

UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source update service account secret internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update service account secret internal server error body errors items0 source based on context it is used

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this update service account secret internal server error body errors items0 source

type UpdateServiceAccountSecretInternalServerErrorBodyJsonapi

type UpdateServiceAccountSecretInternalServerErrorBodyJsonapi 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"`
}

UpdateServiceAccountSecretInternalServerErrorBodyJsonapi update service account secret internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateServiceAccountSecretInternalServerErrorBodyJsonapi

func (*UpdateServiceAccountSecretInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this update service account secret internal server error body jsonapi based on context it is used

func (*UpdateServiceAccountSecretInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretInternalServerErrorBodyJsonapi) Validate

Validate validates this update service account secret internal server error body jsonapi

type UpdateServiceAccountSecretNotFound

type UpdateServiceAccountSecretNotFound 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 *UpdateServiceAccountSecretNotFoundBody
}

UpdateServiceAccountSecretNotFound describes a response with status code 404, with default header values.

Not Found: The resource being operated on could not be found.

func NewUpdateServiceAccountSecretNotFound

func NewUpdateServiceAccountSecretNotFound() *UpdateServiceAccountSecretNotFound

NewUpdateServiceAccountSecretNotFound creates a UpdateServiceAccountSecretNotFound with default headers values

func (*UpdateServiceAccountSecretNotFound) Code

Code gets the status code for the update service account secret not found response

func (*UpdateServiceAccountSecretNotFound) Error

func (*UpdateServiceAccountSecretNotFound) GetPayload

func (*UpdateServiceAccountSecretNotFound) IsClientError

func (o *UpdateServiceAccountSecretNotFound) IsClientError() bool

IsClientError returns true when this update service account secret not found response has a 4xx status code

func (*UpdateServiceAccountSecretNotFound) IsCode

IsCode returns true when this update service account secret not found response a status code equal to that given

func (*UpdateServiceAccountSecretNotFound) IsRedirect

func (o *UpdateServiceAccountSecretNotFound) IsRedirect() bool

IsRedirect returns true when this update service account secret not found response has a 3xx status code

func (*UpdateServiceAccountSecretNotFound) IsServerError

func (o *UpdateServiceAccountSecretNotFound) IsServerError() bool

IsServerError returns true when this update service account secret not found response has a 5xx status code

func (*UpdateServiceAccountSecretNotFound) IsSuccess

IsSuccess returns true when this update service account secret not found response has a 2xx status code

func (*UpdateServiceAccountSecretNotFound) String

type UpdateServiceAccountSecretNotFoundBody

type UpdateServiceAccountSecretNotFoundBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateServiceAccountSecretNotFoundBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateServiceAccountSecretNotFoundBodyJsonapi `json:"jsonapi"`
}

UpdateServiceAccountSecretNotFoundBody update service account secret not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateServiceAccountSecretNotFoundBody

func (*UpdateServiceAccountSecretNotFoundBody) ContextValidate

ContextValidate validate this update service account secret not found body based on the context it is used

func (*UpdateServiceAccountSecretNotFoundBody) MarshalBinary

func (o *UpdateServiceAccountSecretNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBody) Validate

Validate validates this update service account secret not found body

type UpdateServiceAccountSecretNotFoundBodyErrorsItems0

type UpdateServiceAccountSecretNotFoundBodyErrorsItems0 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 *UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source `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"`
}

UpdateServiceAccountSecretNotFoundBodyErrorsItems0 update service account secret not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateServiceAccountSecretNotFoundBodyErrorsItems0

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0) ContextValidate

ContextValidate validate this update service account secret not found body errors items0 based on the context it is used

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0) Validate

Validate validates this update service account secret not found body errors items0

type UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update service account secret not found body errors items0 links based on context it is used

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Links) Validate

Validate validates this update service account secret not found body errors items0 links

type UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source

type UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source 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"`
}

UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source update service account secret not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update service account secret not found body errors items0 source based on context it is used

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyErrorsItems0Source) Validate

Validate validates this update service account secret not found body errors items0 source

type UpdateServiceAccountSecretNotFoundBodyJsonapi

type UpdateServiceAccountSecretNotFoundBodyJsonapi 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"`
}

UpdateServiceAccountSecretNotFoundBodyJsonapi update service account secret not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateServiceAccountSecretNotFoundBodyJsonapi

func (*UpdateServiceAccountSecretNotFoundBodyJsonapi) ContextValidate

ContextValidate validates this update service account secret not found body jsonapi based on context it is used

func (*UpdateServiceAccountSecretNotFoundBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretNotFoundBodyJsonapi) Validate

Validate validates this update service account secret not found body jsonapi

type UpdateServiceAccountSecretOK

type UpdateServiceAccountSecretOK struct {

	/* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:
	https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html


	     Format: date-time
	*/
	Deprecation strfmt.DateTime

	/* A header providing a URL for the location of a resource


	   Format: url
	*/
	Location string

	/* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID.


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

	/* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint.

	 */
	SnykVersionLifecycleStage string

	/* A header containing the version of the endpoint requested by the caller.
	 */
	SnykVersionRequested string

	/* A header containing the version of the endpoint that was served by the API.
	 */
	SnykVersionServed string

	/* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:
	https://datatracker.ietf.org/doc/html/rfc8594


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *UpdateServiceAccountSecretOKBody
}

UpdateServiceAccountSecretOK describes a response with status code 200, with default header values.

Service account client secret has been updated.

func NewUpdateServiceAccountSecretOK

func NewUpdateServiceAccountSecretOK() *UpdateServiceAccountSecretOK

NewUpdateServiceAccountSecretOK creates a UpdateServiceAccountSecretOK with default headers values

func (*UpdateServiceAccountSecretOK) Code

Code gets the status code for the update service account secret o k response

func (*UpdateServiceAccountSecretOK) Error

func (*UpdateServiceAccountSecretOK) GetPayload

func (*UpdateServiceAccountSecretOK) IsClientError

func (o *UpdateServiceAccountSecretOK) IsClientError() bool

IsClientError returns true when this update service account secret o k response has a 4xx status code

func (*UpdateServiceAccountSecretOK) IsCode

func (o *UpdateServiceAccountSecretOK) IsCode(code int) bool

IsCode returns true when this update service account secret o k response a status code equal to that given

func (*UpdateServiceAccountSecretOK) IsRedirect

func (o *UpdateServiceAccountSecretOK) IsRedirect() bool

IsRedirect returns true when this update service account secret o k response has a 3xx status code

func (*UpdateServiceAccountSecretOK) IsServerError

func (o *UpdateServiceAccountSecretOK) IsServerError() bool

IsServerError returns true when this update service account secret o k response has a 5xx status code

func (*UpdateServiceAccountSecretOK) IsSuccess

func (o *UpdateServiceAccountSecretOK) IsSuccess() bool

IsSuccess returns true when this update service account secret o k response has a 2xx status code

func (*UpdateServiceAccountSecretOK) String

type UpdateServiceAccountSecretOKBody

type UpdateServiceAccountSecretOKBody struct {

	// data
	// Required: true
	Data *UpdateServiceAccountSecretOKBodyData `json:"data"`

	// jsonapi
	// Required: true
	Jsonapi *models.JSONAPI `json:"jsonapi"`

	// links
	Links *models.Links `json:"links,omitempty"`
}

UpdateServiceAccountSecretOKBody update service account secret o k body swagger:model UpdateServiceAccountSecretOKBody

func (*UpdateServiceAccountSecretOKBody) ContextValidate

func (o *UpdateServiceAccountSecretOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update service account secret o k body based on the context it is used

func (*UpdateServiceAccountSecretOKBody) MarshalBinary

func (o *UpdateServiceAccountSecretOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBody) Validate

Validate validates this update service account secret o k body

type UpdateServiceAccountSecretOKBodyData

type UpdateServiceAccountSecretOKBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateServiceAccountSecretOKBodyDataAttributes `json:"attributes"`

	// id
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id"`

	// links
	Links *UpdateServiceAccountSecretOKBodyDataLinks `json:"links,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

UpdateServiceAccountSecretOKBodyData update service account secret o k body data swagger:model UpdateServiceAccountSecretOKBodyData

func (*UpdateServiceAccountSecretOKBodyData) ContextValidate

func (o *UpdateServiceAccountSecretOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update service account secret o k body data based on the context it is used

func (*UpdateServiceAccountSecretOKBodyData) MarshalBinary

func (o *UpdateServiceAccountSecretOKBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyData) UnmarshalBinary

func (o *UpdateServiceAccountSecretOKBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyData) Validate

Validate validates this update service account secret o k body data

type UpdateServiceAccountSecretOKBodyDataAttributes

type UpdateServiceAccountSecretOKBodyDataAttributes struct {

	// The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt.
	AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"`

	// The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key.
	APIKey string `json:"api_key,omitempty"`

	// The authentication strategy for the service account:
	//   * api_key - Regular Snyk API Key.
	//   * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token.
	//   * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9.
	// Required: true
	// Enum: [api_key oauth_client_secret oauth_private_key_jwt]
	AuthType *string `json:"auth_type"`

	// The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt.
	ClientID string `json:"client_id,omitempty"`

	// The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret.
	ClientSecret string `json:"client_secret,omitempty"`

	// A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt.
	JwksURL string `json:"jwks_url,omitempty"`

	// The level of access for the service account:
	//   * Group - the service account was created at the Group level.
	//   * Org - the service account was created at the Org level.
	// Enum: [Group Org]
	Level string `json:"level,omitempty"`

	// A human-friendly name of the service account.
	// Required: true
	Name *string `json:"name"`

	// The ID of the role which the Service Account is associated with.
	// Required: true
	// Format: uuid
	RoleID *strfmt.UUID `json:"role_id"`
}

UpdateServiceAccountSecretOKBodyDataAttributes update service account secret o k body data attributes swagger:model UpdateServiceAccountSecretOKBodyDataAttributes

func (*UpdateServiceAccountSecretOKBodyDataAttributes) ContextValidate

ContextValidate validates this update service account secret o k body data attributes based on context it is used

func (*UpdateServiceAccountSecretOKBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyDataAttributes) Validate

Validate validates this update service account secret o k body data attributes

type UpdateServiceAccountSecretOKBodyDataLinks struct {

	// first
	// Example: https://example.com/api/resource
	First interface{} `json:"first,omitempty"`

	// last
	// Example: https://example.com/api/resource
	Last interface{} `json:"last,omitempty"`

	// next
	// Example: https://example.com/api/resource
	Next interface{} `json:"next,omitempty"`

	// prev
	// Example: https://example.com/api/resource
	Prev interface{} `json:"prev,omitempty"`

	// related
	// Example: https://example.com/api/resource
	Related interface{} `json:"related,omitempty"`

	// self
	// Example: https://example.com/api/resource
	Self interface{} `json:"self,omitempty"`
}

UpdateServiceAccountSecretOKBodyDataLinks update service account secret o k body data links swagger:model UpdateServiceAccountSecretOKBodyDataLinks

func (*UpdateServiceAccountSecretOKBodyDataLinks) ContextValidate

ContextValidate validates this update service account secret o k body data links based on context it is used

func (*UpdateServiceAccountSecretOKBodyDataLinks) MarshalBinary

func (o *UpdateServiceAccountSecretOKBodyDataLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyDataLinks) UnmarshalBinary

func (o *UpdateServiceAccountSecretOKBodyDataLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretOKBodyDataLinks) Validate

Validate validates this update service account secret o k body data links

type UpdateServiceAccountSecretParams

type UpdateServiceAccountSecretParams struct {

	// Body.
	Body UpdateServiceAccountSecretBody

	/* GroupID.

	   The ID of the Snyk Group that owns the service account.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* ServiceaccountID.

	   The ID of the service account.

	   Format: uuid
	*/
	ServiceaccountID 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
}

UpdateServiceAccountSecretParams contains all the parameters to send to the API endpoint

for the update service account secret operation.

Typically these are written to a http.Request.

func NewUpdateServiceAccountSecretParams

func NewUpdateServiceAccountSecretParams() *UpdateServiceAccountSecretParams

NewUpdateServiceAccountSecretParams creates a new UpdateServiceAccountSecretParams 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 NewUpdateServiceAccountSecretParamsWithContext

func NewUpdateServiceAccountSecretParamsWithContext(ctx context.Context) *UpdateServiceAccountSecretParams

NewUpdateServiceAccountSecretParamsWithContext creates a new UpdateServiceAccountSecretParams object with the ability to set a context for a request.

func NewUpdateServiceAccountSecretParamsWithHTTPClient

func NewUpdateServiceAccountSecretParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountSecretParams

NewUpdateServiceAccountSecretParamsWithHTTPClient creates a new UpdateServiceAccountSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceAccountSecretParamsWithTimeout

func NewUpdateServiceAccountSecretParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountSecretParams

NewUpdateServiceAccountSecretParamsWithTimeout creates a new UpdateServiceAccountSecretParams object with the ability to set a timeout on a request.

func (*UpdateServiceAccountSecretParams) SetBody

SetBody adds the body to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetContext

SetContext adds the context to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetDefaults

func (o *UpdateServiceAccountSecretParams) SetDefaults()

SetDefaults hydrates default values in the update service account secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountSecretParams) SetGroupID

func (o *UpdateServiceAccountSecretParams) SetGroupID(groupID strfmt.UUID)

SetGroupID adds the groupId to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetHTTPClient

func (o *UpdateServiceAccountSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetServiceaccountID

func (o *UpdateServiceAccountSecretParams) SetServiceaccountID(serviceaccountID strfmt.UUID)

SetServiceaccountID adds the serviceaccountId to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetTimeout

func (o *UpdateServiceAccountSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update service account secret params

func (*UpdateServiceAccountSecretParams) SetVersion

func (o *UpdateServiceAccountSecretParams) SetVersion(version string)

SetVersion adds the version to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithBody

WithBody adds the body to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithContext

WithContext adds the context to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithDefaults

WithDefaults hydrates default values in the update service account secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountSecretParams) WithGroupID

WithGroupID adds the groupID to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithServiceaccountID

func (o *UpdateServiceAccountSecretParams) WithServiceaccountID(serviceaccountID strfmt.UUID) *UpdateServiceAccountSecretParams

WithServiceaccountID adds the serviceaccountID to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithTimeout

WithTimeout adds the timeout to the update service account secret params

func (*UpdateServiceAccountSecretParams) WithVersion

WithVersion adds the version to the update service account secret params

func (*UpdateServiceAccountSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceAccountSecretParamsBodyData

type UpdateServiceAccountSecretParamsBodyData struct {

	// attributes
	// Required: true
	Attributes *UpdateServiceAccountSecretParamsBodyDataAttributes `json:"attributes"`

	// The Resource type.
	// Required: true
	// Enum: [service_account]
	Type *string `json:"type"`
}

UpdateServiceAccountSecretParamsBodyData update service account secret params body data swagger:model UpdateServiceAccountSecretParamsBodyData

func (*UpdateServiceAccountSecretParamsBodyData) ContextValidate

ContextValidate validate this update service account secret params body data based on the context it is used

func (*UpdateServiceAccountSecretParamsBodyData) MarshalBinary

func (o *UpdateServiceAccountSecretParamsBodyData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretParamsBodyData) UnmarshalBinary

func (o *UpdateServiceAccountSecretParamsBodyData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretParamsBodyData) Validate

Validate validates this update service account secret params body data

type UpdateServiceAccountSecretParamsBodyDataAttributes

type UpdateServiceAccountSecretParamsBodyDataAttributes struct {

	// Operation to perform:
	//   * `replace` - Replace existing secrets with a new generated secret.
	//   * `create` - Add a new secret, preserving existing secrets. A maximum of to two secrets can exist at a time.
	//   * `delete` - Remove an existing secret by value. At least one secret must remain per service account.
	//
	// Required: true
	// Enum: [replace create delete]
	Mode *string `json:"mode"`

	// Secret to delete when using `delete` mode
	Secret string `json:"secret,omitempty"`
}

UpdateServiceAccountSecretParamsBodyDataAttributes update service account secret params body data attributes swagger:model UpdateServiceAccountSecretParamsBodyDataAttributes

func (*UpdateServiceAccountSecretParamsBodyDataAttributes) ContextValidate

ContextValidate validates this update service account secret params body data attributes based on context it is used

func (*UpdateServiceAccountSecretParamsBodyDataAttributes) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretParamsBodyDataAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretParamsBodyDataAttributes) Validate

Validate validates this update service account secret params body data attributes

type UpdateServiceAccountSecretReader

type UpdateServiceAccountSecretReader struct {
	// contains filtered or unexported fields
}

UpdateServiceAccountSecretReader is a Reader for the UpdateServiceAccountSecret structure.

func (*UpdateServiceAccountSecretReader) ReadResponse

func (o *UpdateServiceAccountSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateServiceAccountSecretUnauthorized

type UpdateServiceAccountSecretUnauthorized 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 *UpdateServiceAccountSecretUnauthorizedBody
}

UpdateServiceAccountSecretUnauthorized describes a response with status code 401, with default header values.

Unauthorized: the request requires an authentication token.

func NewUpdateServiceAccountSecretUnauthorized

func NewUpdateServiceAccountSecretUnauthorized() *UpdateServiceAccountSecretUnauthorized

NewUpdateServiceAccountSecretUnauthorized creates a UpdateServiceAccountSecretUnauthorized with default headers values

func (*UpdateServiceAccountSecretUnauthorized) Code

Code gets the status code for the update service account secret unauthorized response

func (*UpdateServiceAccountSecretUnauthorized) Error

func (*UpdateServiceAccountSecretUnauthorized) GetPayload

func (*UpdateServiceAccountSecretUnauthorized) IsClientError

func (o *UpdateServiceAccountSecretUnauthorized) IsClientError() bool

IsClientError returns true when this update service account secret unauthorized response has a 4xx status code

func (*UpdateServiceAccountSecretUnauthorized) IsCode

IsCode returns true when this update service account secret unauthorized response a status code equal to that given

func (*UpdateServiceAccountSecretUnauthorized) IsRedirect

IsRedirect returns true when this update service account secret unauthorized response has a 3xx status code

func (*UpdateServiceAccountSecretUnauthorized) IsServerError

func (o *UpdateServiceAccountSecretUnauthorized) IsServerError() bool

IsServerError returns true when this update service account secret unauthorized response has a 5xx status code

func (*UpdateServiceAccountSecretUnauthorized) IsSuccess

IsSuccess returns true when this update service account secret unauthorized response has a 2xx status code

func (*UpdateServiceAccountSecretUnauthorized) String

type UpdateServiceAccountSecretUnauthorizedBody

type UpdateServiceAccountSecretUnauthorizedBody struct {

	// errors
	// Example: [{"detail":"Permission denied for this resource","status":"403"}]
	// Required: true
	// Min Items: 1
	Errors []*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0 `json:"errors"`

	// jsonapi
	// Required: true
	Jsonapi *UpdateServiceAccountSecretUnauthorizedBodyJsonapi `json:"jsonapi"`
}

UpdateServiceAccountSecretUnauthorizedBody update service account secret unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateServiceAccountSecretUnauthorizedBody

func (*UpdateServiceAccountSecretUnauthorizedBody) ContextValidate

ContextValidate validate this update service account secret unauthorized body based on the context it is used

func (*UpdateServiceAccountSecretUnauthorizedBody) MarshalBinary

func (o *UpdateServiceAccountSecretUnauthorizedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBody) UnmarshalBinary

func (o *UpdateServiceAccountSecretUnauthorizedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBody) Validate

Validate validates this update service account secret unauthorized body

type UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0

type UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0 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 *UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"`

	// meta
	// Example: {"key":"value"}
	Meta interface{} `json:"meta,omitempty"`

	// source
	Source *UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source `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"`
}

UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0 update service account secret unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this update service account secret unauthorized body errors items0 based on the context it is used

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0) Validate

Validate validates this update service account secret unauthorized body errors items0

type UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links struct {

	// about
	// Example: https://example.com/api/resource
	About interface{} `json:"about,omitempty"`
}

UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this update service account secret unauthorized body errors items0 links based on context it is used

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this update service account secret unauthorized body errors items0 links

type UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source

type UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source 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"`
}

UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source update service account secret unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this update service account secret unauthorized body errors items0 source based on context it is used

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this update service account secret unauthorized body errors items0 source

type UpdateServiceAccountSecretUnauthorizedBodyJsonapi

type UpdateServiceAccountSecretUnauthorizedBodyJsonapi 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"`
}

UpdateServiceAccountSecretUnauthorizedBodyJsonapi update service account secret unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateServiceAccountSecretUnauthorizedBodyJsonapi

func (*UpdateServiceAccountSecretUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this update service account secret unauthorized body jsonapi based on context it is used

func (*UpdateServiceAccountSecretUnauthorizedBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateServiceAccountSecretUnauthorizedBodyJsonapi) Validate

Validate validates this update service account secret unauthorized body jsonapi

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL