audit_logs

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for audit logs API

func (*Client) ListGroupAuditLogs

func (a *Client) ListGroupAuditLogs(params *ListGroupAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupAuditLogsOK, error)
ListGroupAuditLogs searches group audit logs

Search audit logs for a Group. Some Organization level events are supported as well as the following

Group level events:

  • api.access
  • group.cloud_config.settings.edit
  • group.create
  • group.delete
  • group.edit
  • group.notification_settings.edit
  • group.org.add
  • group.org.remove
  • group.policy.create
  • group.policy.delete
  • group.policy.edit
  • group.request_access_settings.edit
  • group.role.create
  • group.role.delete
  • group.role.edit
  • group.service_account.create
  • group.service_account.delete
  • group.service_account.edit
  • group.settings.edit
  • group.settings.feature_flag.edit
  • group.sso.add
  • group.sso.auth0_connection.create
  • group.sso.auth0_connection.edit
  • group.sso.create
  • group.sso.delete
  • group.sso.edit
  • group.sso.membership.sync
  • group.sso.remove
  • group.tag.create
  • group.tag.delete
  • group.user.add
  • group.user.remove
  • group.user.role.edit

func (*Client) ListOrgAuditLogs

func (a *Client) ListOrgAuditLogs(params *ListOrgAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgAuditLogsOK, error)

ListOrgAuditLogs searches organization audit logs

Search audit logs for an Organization. Supported event types: - api.access - org.app_bot.create - org.app.create - org.app.delete - org.app.edit - org.cloud_config.settings.edit - org.collection.create - org.collection.delete - org.collection.edit - org.create - org.delete - org.edit - org.ignore_policy.edit - org.integration.create - org.integration.delete - org.integration.edit - org.integration.settings.edit - org.language_settings.edit - org.notification_settings.edit - org.org_source.create - org.org_source.delete - org.org_source.edit - org.policy.edit - org.project_filter.create - org.project_filter.delete - org.project.add - org.project.attributes.edit - org.project.delete - org.project.edit - org.project.fix_pr.auto_open - org.project.fix_pr.manual_open - org.project.ignore.create - org.project.ignore.delete - org.project.ignore.edit - org.project.monitor - org.project.pr_check.edit - org.project.remove - org.project.settings.delete - org.project.settings.edit - org.project.stop_monitor - org.project.tag.add - org.project.tag.remove - org.project.test - org.request_access_settings.edit - org.sast_settings.edit - org.service_account.create - org.service_account.delete - org.service_account.edit - org.settings.feature_flag.edit - org.target.create - org.target.delete - org.user.add - org.user.invite - org.user.invite.accept - org.user.invite.revoke - org.user.invite_link.accept - org.user.invite_link.create - org.user.invite_link.revoke - org.user.leave - org.user.provision.accept - org.user.provision.create - org.user.provision.delete - org.user.remove - org.user.role.create - org.user.role.delete - org.user.role.details.edit - org.user.role.edit - org.user.role.permissions.edit - org.webhook.add - org.webhook.delete - user.org.notification_settings.edit

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListGroupAuditLogs(params *ListGroupAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupAuditLogsOK, error)

	ListOrgAuditLogs(params *ListOrgAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgAuditLogsOK, 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 audit logs API client.

type ListGroupAuditLogsBadRequest

type ListGroupAuditLogsBadRequest 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 *ListGroupAuditLogsBadRequestBody
}

ListGroupAuditLogsBadRequest 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 NewListGroupAuditLogsBadRequest

func NewListGroupAuditLogsBadRequest() *ListGroupAuditLogsBadRequest

NewListGroupAuditLogsBadRequest creates a ListGroupAuditLogsBadRequest with default headers values

func (*ListGroupAuditLogsBadRequest) Code

Code gets the status code for the list group audit logs bad request response

func (*ListGroupAuditLogsBadRequest) Error

func (*ListGroupAuditLogsBadRequest) GetPayload

func (*ListGroupAuditLogsBadRequest) IsClientError

func (o *ListGroupAuditLogsBadRequest) IsClientError() bool

IsClientError returns true when this list group audit logs bad request response has a 4xx status code

func (*ListGroupAuditLogsBadRequest) IsCode

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

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

func (*ListGroupAuditLogsBadRequest) IsRedirect

func (o *ListGroupAuditLogsBadRequest) IsRedirect() bool

IsRedirect returns true when this list group audit logs bad request response has a 3xx status code

func (*ListGroupAuditLogsBadRequest) IsServerError

func (o *ListGroupAuditLogsBadRequest) IsServerError() bool

IsServerError returns true when this list group audit logs bad request response has a 5xx status code

func (*ListGroupAuditLogsBadRequest) IsSuccess

func (o *ListGroupAuditLogsBadRequest) IsSuccess() bool

IsSuccess returns true when this list group audit logs bad request response has a 2xx status code

func (*ListGroupAuditLogsBadRequest) String

type ListGroupAuditLogsBadRequestBody

type ListGroupAuditLogsBadRequestBody struct {

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

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

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

func (*ListGroupAuditLogsBadRequestBody) ContextValidate

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

ContextValidate validate this list group audit logs bad request body based on the context it is used

func (*ListGroupAuditLogsBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBody) Validate

Validate validates this list group audit logs bad request body

type ListGroupAuditLogsBadRequestBodyErrorsItems0

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

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

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

ListGroupAuditLogsBadRequestBodyErrorsItems0 list group audit logs bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListGroupAuditLogsBadRequestBodyErrorsItems0

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) ContextValidate

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

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) Validate

Validate validates this list group audit logs bad request body errors items0

type ListGroupAuditLogsBadRequestBodyErrorsItems0Links struct {

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

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

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) Validate

Validate validates this list group audit logs bad request body errors items0 links

type ListGroupAuditLogsBadRequestBodyErrorsItems0Source

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

ListGroupAuditLogsBadRequestBodyErrorsItems0Source list group audit logs bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListGroupAuditLogsBadRequestBodyErrorsItems0Source

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) Validate

Validate validates this list group audit logs bad request body errors items0 source

type ListGroupAuditLogsBadRequestBodyJsonapi

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

ListGroupAuditLogsBadRequestBodyJsonapi list group audit logs bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListGroupAuditLogsBadRequestBodyJsonapi

func (*ListGroupAuditLogsBadRequestBodyJsonapi) ContextValidate

ContextValidate validates this list group audit logs bad request body jsonapi based on context it is used

func (*ListGroupAuditLogsBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsBadRequestBodyJsonapi) Validate

Validate validates this list group audit logs bad request body jsonapi

type ListGroupAuditLogsForbidden

type ListGroupAuditLogsForbidden 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 *ListGroupAuditLogsForbiddenBody
}

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

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

func NewListGroupAuditLogsForbidden

func NewListGroupAuditLogsForbidden() *ListGroupAuditLogsForbidden

NewListGroupAuditLogsForbidden creates a ListGroupAuditLogsForbidden with default headers values

func (*ListGroupAuditLogsForbidden) Code

func (o *ListGroupAuditLogsForbidden) Code() int

Code gets the status code for the list group audit logs forbidden response

func (*ListGroupAuditLogsForbidden) Error

func (*ListGroupAuditLogsForbidden) GetPayload

func (*ListGroupAuditLogsForbidden) IsClientError

func (o *ListGroupAuditLogsForbidden) IsClientError() bool

IsClientError returns true when this list group audit logs forbidden response has a 4xx status code

func (*ListGroupAuditLogsForbidden) IsCode

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

IsCode returns true when this list group audit logs forbidden response a status code equal to that given

func (*ListGroupAuditLogsForbidden) IsRedirect

func (o *ListGroupAuditLogsForbidden) IsRedirect() bool

IsRedirect returns true when this list group audit logs forbidden response has a 3xx status code

func (*ListGroupAuditLogsForbidden) IsServerError

func (o *ListGroupAuditLogsForbidden) IsServerError() bool

IsServerError returns true when this list group audit logs forbidden response has a 5xx status code

func (*ListGroupAuditLogsForbidden) IsSuccess

func (o *ListGroupAuditLogsForbidden) IsSuccess() bool

IsSuccess returns true when this list group audit logs forbidden response has a 2xx status code

func (*ListGroupAuditLogsForbidden) String

func (o *ListGroupAuditLogsForbidden) String() string

type ListGroupAuditLogsForbiddenBody

type ListGroupAuditLogsForbiddenBody struct {

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

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

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

func (*ListGroupAuditLogsForbiddenBody) ContextValidate

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

ContextValidate validate this list group audit logs forbidden body based on the context it is used

func (*ListGroupAuditLogsForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBody) Validate

Validate validates this list group audit logs forbidden body

type ListGroupAuditLogsForbiddenBodyErrorsItems0

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

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

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

ListGroupAuditLogsForbiddenBodyErrorsItems0 list group audit logs forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListGroupAuditLogsForbiddenBodyErrorsItems0

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0) ContextValidate

ContextValidate validate this list group audit logs forbidden body errors items0 based on the context it is used

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0) Validate

Validate validates this list group audit logs forbidden body errors items0

type ListGroupAuditLogsForbiddenBodyErrorsItems0Links struct {

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

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

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate

ContextValidate validates this list group audit logs forbidden body errors items0 links based on context it is used

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) Validate

Validate validates this list group audit logs forbidden body errors items0 links

type ListGroupAuditLogsForbiddenBodyErrorsItems0Source

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

ListGroupAuditLogsForbiddenBodyErrorsItems0Source list group audit logs forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListGroupAuditLogsForbiddenBodyErrorsItems0Source

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate

ContextValidate validates this list group audit logs forbidden body errors items0 source based on context it is used

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) Validate

Validate validates this list group audit logs forbidden body errors items0 source

type ListGroupAuditLogsForbiddenBodyJsonapi

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

ListGroupAuditLogsForbiddenBodyJsonapi list group audit logs forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListGroupAuditLogsForbiddenBodyJsonapi

func (*ListGroupAuditLogsForbiddenBodyJsonapi) ContextValidate

ContextValidate validates this list group audit logs forbidden body jsonapi based on context it is used

func (*ListGroupAuditLogsForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsForbiddenBodyJsonapi) Validate

Validate validates this list group audit logs forbidden body jsonapi

type ListGroupAuditLogsInternalServerError

type ListGroupAuditLogsInternalServerError 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 *ListGroupAuditLogsInternalServerErrorBody
}

ListGroupAuditLogsInternalServerError 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 NewListGroupAuditLogsInternalServerError

func NewListGroupAuditLogsInternalServerError() *ListGroupAuditLogsInternalServerError

NewListGroupAuditLogsInternalServerError creates a ListGroupAuditLogsInternalServerError with default headers values

func (*ListGroupAuditLogsInternalServerError) Code

Code gets the status code for the list group audit logs internal server error response

func (*ListGroupAuditLogsInternalServerError) Error

func (*ListGroupAuditLogsInternalServerError) GetPayload

func (*ListGroupAuditLogsInternalServerError) IsClientError

func (o *ListGroupAuditLogsInternalServerError) IsClientError() bool

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

func (*ListGroupAuditLogsInternalServerError) IsCode

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

func (*ListGroupAuditLogsInternalServerError) IsRedirect

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

func (*ListGroupAuditLogsInternalServerError) IsServerError

func (o *ListGroupAuditLogsInternalServerError) IsServerError() bool

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

func (*ListGroupAuditLogsInternalServerError) IsSuccess

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

func (*ListGroupAuditLogsInternalServerError) String

type ListGroupAuditLogsInternalServerErrorBody

type ListGroupAuditLogsInternalServerErrorBody struct {

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

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

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

func (*ListGroupAuditLogsInternalServerErrorBody) ContextValidate

ContextValidate validate this list group audit logs internal server error body based on the context it is used

func (*ListGroupAuditLogsInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBody) Validate

Validate validates this list group audit logs internal server error body

type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0

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

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

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

ListGroupAuditLogsInternalServerErrorBodyErrorsItems0 list group audit logs internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListGroupAuditLogsInternalServerErrorBodyErrorsItems0

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this list group audit logs internal server error body errors items0

type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) Validate

Validate validates this list group audit logs internal server error body errors items0 links

type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source

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

ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source list group audit logs internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) Validate

Validate validates this list group audit logs internal server error body errors items0 source

type ListGroupAuditLogsInternalServerErrorBodyJsonapi

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

ListGroupAuditLogsInternalServerErrorBodyJsonapi list group audit logs internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListGroupAuditLogsInternalServerErrorBodyJsonapi

func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) ContextValidate

ContextValidate validates this list group audit logs internal server error body jsonapi based on context it is used

func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) Validate

Validate validates this list group audit logs internal server error body jsonapi

type ListGroupAuditLogsNotFound

type ListGroupAuditLogsNotFound 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 *ListGroupAuditLogsNotFoundBody
}

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

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

func NewListGroupAuditLogsNotFound

func NewListGroupAuditLogsNotFound() *ListGroupAuditLogsNotFound

NewListGroupAuditLogsNotFound creates a ListGroupAuditLogsNotFound with default headers values

func (*ListGroupAuditLogsNotFound) Code

func (o *ListGroupAuditLogsNotFound) Code() int

Code gets the status code for the list group audit logs not found response

func (*ListGroupAuditLogsNotFound) Error

func (*ListGroupAuditLogsNotFound) GetPayload

func (*ListGroupAuditLogsNotFound) IsClientError

func (o *ListGroupAuditLogsNotFound) IsClientError() bool

IsClientError returns true when this list group audit logs not found response has a 4xx status code

func (*ListGroupAuditLogsNotFound) IsCode

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

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

func (*ListGroupAuditLogsNotFound) IsRedirect

func (o *ListGroupAuditLogsNotFound) IsRedirect() bool

IsRedirect returns true when this list group audit logs not found response has a 3xx status code

func (*ListGroupAuditLogsNotFound) IsServerError

func (o *ListGroupAuditLogsNotFound) IsServerError() bool

IsServerError returns true when this list group audit logs not found response has a 5xx status code

func (*ListGroupAuditLogsNotFound) IsSuccess

func (o *ListGroupAuditLogsNotFound) IsSuccess() bool

IsSuccess returns true when this list group audit logs not found response has a 2xx status code

func (*ListGroupAuditLogsNotFound) String

func (o *ListGroupAuditLogsNotFound) String() string

type ListGroupAuditLogsNotFoundBody

type ListGroupAuditLogsNotFoundBody struct {

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

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

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

func (*ListGroupAuditLogsNotFoundBody) ContextValidate

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

ContextValidate validate this list group audit logs not found body based on the context it is used

func (*ListGroupAuditLogsNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBody) Validate

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

Validate validates this list group audit logs not found body

type ListGroupAuditLogsNotFoundBodyErrorsItems0

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

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

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

ListGroupAuditLogsNotFoundBodyErrorsItems0 list group audit logs not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListGroupAuditLogsNotFoundBodyErrorsItems0

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0) ContextValidate

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

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0) Validate

Validate validates this list group audit logs not found body errors items0

type ListGroupAuditLogsNotFoundBodyErrorsItems0Links struct {

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

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

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) Validate

Validate validates this list group audit logs not found body errors items0 links

type ListGroupAuditLogsNotFoundBodyErrorsItems0Source

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

ListGroupAuditLogsNotFoundBodyErrorsItems0Source list group audit logs not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListGroupAuditLogsNotFoundBodyErrorsItems0Source

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) Validate

Validate validates this list group audit logs not found body errors items0 source

type ListGroupAuditLogsNotFoundBodyJsonapi

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

ListGroupAuditLogsNotFoundBodyJsonapi list group audit logs not found body jsonapi // Example: {"version":"1.0"} swagger:model ListGroupAuditLogsNotFoundBodyJsonapi

func (*ListGroupAuditLogsNotFoundBodyJsonapi) ContextValidate

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

ContextValidate validates this list group audit logs not found body jsonapi based on context it is used

func (*ListGroupAuditLogsNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsNotFoundBodyJsonapi) Validate

Validate validates this list group audit logs not found body jsonapi

type ListGroupAuditLogsOK

type ListGroupAuditLogsOK struct {

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


	     Format: date-time
	*/
	Deprecation strfmt.DateTime
	Location    string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *ListGroupAuditLogsOKBody
}

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

Group Audit Logs.

func NewListGroupAuditLogsOK

func NewListGroupAuditLogsOK() *ListGroupAuditLogsOK

NewListGroupAuditLogsOK creates a ListGroupAuditLogsOK with default headers values

func (*ListGroupAuditLogsOK) Code

func (o *ListGroupAuditLogsOK) Code() int

Code gets the status code for the list group audit logs o k response

func (*ListGroupAuditLogsOK) Error

func (o *ListGroupAuditLogsOK) Error() string

func (*ListGroupAuditLogsOK) GetPayload

func (*ListGroupAuditLogsOK) IsClientError

func (o *ListGroupAuditLogsOK) IsClientError() bool

IsClientError returns true when this list group audit logs o k response has a 4xx status code

func (*ListGroupAuditLogsOK) IsCode

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

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

func (*ListGroupAuditLogsOK) IsRedirect

func (o *ListGroupAuditLogsOK) IsRedirect() bool

IsRedirect returns true when this list group audit logs o k response has a 3xx status code

func (*ListGroupAuditLogsOK) IsServerError

func (o *ListGroupAuditLogsOK) IsServerError() bool

IsServerError returns true when this list group audit logs o k response has a 5xx status code

func (*ListGroupAuditLogsOK) IsSuccess

func (o *ListGroupAuditLogsOK) IsSuccess() bool

IsSuccess returns true when this list group audit logs o k response has a 2xx status code

func (*ListGroupAuditLogsOK) String

func (o *ListGroupAuditLogsOK) String() string

type ListGroupAuditLogsOKBody

type ListGroupAuditLogsOKBody struct {

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

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

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

ListGroupAuditLogsOKBody list group audit logs o k body swagger:model ListGroupAuditLogsOKBody

func (*ListGroupAuditLogsOKBody) ContextValidate

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

ContextValidate validate this list group audit logs o k body based on the context it is used

func (*ListGroupAuditLogsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsOKBody) Validate

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

Validate validates this list group audit logs o k body

type ListGroupAuditLogsParams

type ListGroupAuditLogsParams struct {

	/* Cursor.

	   The ID for the next page of results.
	*/
	Cursor *string

	/* Event.

	   Filter logs by event type, cannot be used in conjunction with exclude_event parameter.
	*/
	Event *string

	/* ExcludeEvent.

	   Exclude event type from results, cannot be used in conjunctions with event parameter.
	*/
	ExcludeEvent *string

	/* From.

	   The start date (inclusive) of the audit logs search. Example: 2023-07-27


	   Format: date
	*/
	From *strfmt.Date

	/* GroupID.

	   The ID of the Group.

	   Format: uuid
	*/
	GroupID strfmt.UUID

	/* ProjectID.

	   Filter logs by project ID.

	   Format: uuid
	*/
	ProjectID *strfmt.UUID

	/* Size.

	   Number of results to return per page.

	   Format: int32
	*/
	Size *int32

	/* SortOrder.

	   Order in which results are returned.

	   Default: "DESC"
	*/
	SortOrder *string

	/* To.

	   The end date (inclusive) of the audit logs search. Example: 2023-07-27


	   Format: date
	*/
	To *strfmt.Date

	/* UserID.

	   Filter logs by user ID.

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

ListGroupAuditLogsParams contains all the parameters to send to the API endpoint

for the list group audit logs operation.

Typically these are written to a http.Request.

func NewListGroupAuditLogsParams

func NewListGroupAuditLogsParams() *ListGroupAuditLogsParams

NewListGroupAuditLogsParams creates a new ListGroupAuditLogsParams 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 NewListGroupAuditLogsParamsWithContext

func NewListGroupAuditLogsParamsWithContext(ctx context.Context) *ListGroupAuditLogsParams

NewListGroupAuditLogsParamsWithContext creates a new ListGroupAuditLogsParams object with the ability to set a context for a request.

func NewListGroupAuditLogsParamsWithHTTPClient

func NewListGroupAuditLogsParamsWithHTTPClient(client *http.Client) *ListGroupAuditLogsParams

NewListGroupAuditLogsParamsWithHTTPClient creates a new ListGroupAuditLogsParams object with the ability to set a custom HTTPClient for a request.

func NewListGroupAuditLogsParamsWithTimeout

func NewListGroupAuditLogsParamsWithTimeout(timeout time.Duration) *ListGroupAuditLogsParams

NewListGroupAuditLogsParamsWithTimeout creates a new ListGroupAuditLogsParams object with the ability to set a timeout on a request.

func (*ListGroupAuditLogsParams) SetContext

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

SetContext adds the context to the list group audit logs params

func (*ListGroupAuditLogsParams) SetCursor

func (o *ListGroupAuditLogsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the list group audit logs params

func (*ListGroupAuditLogsParams) SetDefaults

func (o *ListGroupAuditLogsParams) SetDefaults()

SetDefaults hydrates default values in the list group audit logs params (not the query body).

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

func (*ListGroupAuditLogsParams) SetEvent

func (o *ListGroupAuditLogsParams) SetEvent(event *string)

SetEvent adds the event to the list group audit logs params

func (*ListGroupAuditLogsParams) SetExcludeEvent

func (o *ListGroupAuditLogsParams) SetExcludeEvent(excludeEvent *string)

SetExcludeEvent adds the excludeEvent to the list group audit logs params

func (*ListGroupAuditLogsParams) SetFrom

func (o *ListGroupAuditLogsParams) SetFrom(from *strfmt.Date)

SetFrom adds the from to the list group audit logs params

func (*ListGroupAuditLogsParams) SetGroupID

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

SetGroupID adds the groupId to the list group audit logs params

func (*ListGroupAuditLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list group audit logs params

func (*ListGroupAuditLogsParams) SetProjectID

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

SetProjectID adds the projectId to the list group audit logs params

func (*ListGroupAuditLogsParams) SetSize

func (o *ListGroupAuditLogsParams) SetSize(size *int32)

SetSize adds the size to the list group audit logs params

func (*ListGroupAuditLogsParams) SetSortOrder

func (o *ListGroupAuditLogsParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the list group audit logs params

func (*ListGroupAuditLogsParams) SetTimeout

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

SetTimeout adds the timeout to the list group audit logs params

func (*ListGroupAuditLogsParams) SetTo

func (o *ListGroupAuditLogsParams) SetTo(to *strfmt.Date)

SetTo adds the to to the list group audit logs params

func (*ListGroupAuditLogsParams) SetUserID

func (o *ListGroupAuditLogsParams) SetUserID(userID *strfmt.UUID)

SetUserID adds the userId to the list group audit logs params

func (*ListGroupAuditLogsParams) SetVersion

func (o *ListGroupAuditLogsParams) SetVersion(version string)

SetVersion adds the version to the list group audit logs params

func (*ListGroupAuditLogsParams) WithContext

WithContext adds the context to the list group audit logs params

func (*ListGroupAuditLogsParams) WithCursor

WithCursor adds the cursor to the list group audit logs params

func (*ListGroupAuditLogsParams) WithDefaults

WithDefaults hydrates default values in the list group audit logs params (not the query body).

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

func (*ListGroupAuditLogsParams) WithEvent

WithEvent adds the event to the list group audit logs params

func (*ListGroupAuditLogsParams) WithExcludeEvent

func (o *ListGroupAuditLogsParams) WithExcludeEvent(excludeEvent *string) *ListGroupAuditLogsParams

WithExcludeEvent adds the excludeEvent to the list group audit logs params

func (*ListGroupAuditLogsParams) WithFrom

WithFrom adds the from to the list group audit logs params

func (*ListGroupAuditLogsParams) WithGroupID

WithGroupID adds the groupID to the list group audit logs params

func (*ListGroupAuditLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list group audit logs params

func (*ListGroupAuditLogsParams) WithProjectID

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

WithProjectID adds the projectID to the list group audit logs params

func (*ListGroupAuditLogsParams) WithSize

WithSize adds the size to the list group audit logs params

func (*ListGroupAuditLogsParams) WithSortOrder

func (o *ListGroupAuditLogsParams) WithSortOrder(sortOrder *string) *ListGroupAuditLogsParams

WithSortOrder adds the sortOrder to the list group audit logs params

func (*ListGroupAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the list group audit logs params

func (*ListGroupAuditLogsParams) WithTo

WithTo adds the to to the list group audit logs params

func (*ListGroupAuditLogsParams) WithUserID

WithUserID adds the userID to the list group audit logs params

func (*ListGroupAuditLogsParams) WithVersion

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

WithVersion adds the version to the list group audit logs params

func (*ListGroupAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGroupAuditLogsReader

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

ListGroupAuditLogsReader is a Reader for the ListGroupAuditLogs structure.

func (*ListGroupAuditLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGroupAuditLogsUnauthorized

type ListGroupAuditLogsUnauthorized 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 *ListGroupAuditLogsUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewListGroupAuditLogsUnauthorized

func NewListGroupAuditLogsUnauthorized() *ListGroupAuditLogsUnauthorized

NewListGroupAuditLogsUnauthorized creates a ListGroupAuditLogsUnauthorized with default headers values

func (*ListGroupAuditLogsUnauthorized) Code

Code gets the status code for the list group audit logs unauthorized response

func (*ListGroupAuditLogsUnauthorized) Error

func (*ListGroupAuditLogsUnauthorized) GetPayload

func (*ListGroupAuditLogsUnauthorized) IsClientError

func (o *ListGroupAuditLogsUnauthorized) IsClientError() bool

IsClientError returns true when this list group audit logs unauthorized response has a 4xx status code

func (*ListGroupAuditLogsUnauthorized) IsCode

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

IsCode returns true when this list group audit logs unauthorized response a status code equal to that given

func (*ListGroupAuditLogsUnauthorized) IsRedirect

func (o *ListGroupAuditLogsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list group audit logs unauthorized response has a 3xx status code

func (*ListGroupAuditLogsUnauthorized) IsServerError

func (o *ListGroupAuditLogsUnauthorized) IsServerError() bool

IsServerError returns true when this list group audit logs unauthorized response has a 5xx status code

func (*ListGroupAuditLogsUnauthorized) IsSuccess

func (o *ListGroupAuditLogsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list group audit logs unauthorized response has a 2xx status code

func (*ListGroupAuditLogsUnauthorized) String

type ListGroupAuditLogsUnauthorizedBody

type ListGroupAuditLogsUnauthorizedBody struct {

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

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

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

func (*ListGroupAuditLogsUnauthorizedBody) ContextValidate

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

ContextValidate validate this list group audit logs unauthorized body based on the context it is used

func (*ListGroupAuditLogsUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBody) Validate

Validate validates this list group audit logs unauthorized body

type ListGroupAuditLogsUnauthorizedBodyErrorsItems0

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

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

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

ListGroupAuditLogsUnauthorizedBodyErrorsItems0 list group audit logs unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListGroupAuditLogsUnauthorizedBodyErrorsItems0

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate

ContextValidate validate this list group audit logs unauthorized body errors items0 based on the context it is used

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) Validate

Validate validates this list group audit logs unauthorized body errors items0

type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate

ContextValidate validates this list group audit logs unauthorized body errors items0 links based on context it is used

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this list group audit logs unauthorized body errors items0 links

type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source

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

ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source list group audit logs unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate

ContextValidate validates this list group audit logs unauthorized body errors items0 source based on context it is used

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this list group audit logs unauthorized body errors items0 source

type ListGroupAuditLogsUnauthorizedBodyJsonapi

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

ListGroupAuditLogsUnauthorizedBodyJsonapi list group audit logs unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListGroupAuditLogsUnauthorizedBodyJsonapi

func (*ListGroupAuditLogsUnauthorizedBodyJsonapi) ContextValidate

ContextValidate validates this list group audit logs unauthorized body jsonapi based on context it is used

func (*ListGroupAuditLogsUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupAuditLogsUnauthorizedBodyJsonapi) Validate

Validate validates this list group audit logs unauthorized body jsonapi

type ListOrgAuditLogsBadRequest

type ListOrgAuditLogsBadRequest 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 *ListOrgAuditLogsBadRequestBody
}

ListOrgAuditLogsBadRequest 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 NewListOrgAuditLogsBadRequest

func NewListOrgAuditLogsBadRequest() *ListOrgAuditLogsBadRequest

NewListOrgAuditLogsBadRequest creates a ListOrgAuditLogsBadRequest with default headers values

func (*ListOrgAuditLogsBadRequest) Code

func (o *ListOrgAuditLogsBadRequest) Code() int

Code gets the status code for the list org audit logs bad request response

func (*ListOrgAuditLogsBadRequest) Error

func (*ListOrgAuditLogsBadRequest) GetPayload

func (*ListOrgAuditLogsBadRequest) IsClientError

func (o *ListOrgAuditLogsBadRequest) IsClientError() bool

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

func (*ListOrgAuditLogsBadRequest) IsCode

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

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

func (*ListOrgAuditLogsBadRequest) IsRedirect

func (o *ListOrgAuditLogsBadRequest) IsRedirect() bool

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

func (*ListOrgAuditLogsBadRequest) IsServerError

func (o *ListOrgAuditLogsBadRequest) IsServerError() bool

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

func (*ListOrgAuditLogsBadRequest) IsSuccess

func (o *ListOrgAuditLogsBadRequest) IsSuccess() bool

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

func (*ListOrgAuditLogsBadRequest) String

func (o *ListOrgAuditLogsBadRequest) String() string

type ListOrgAuditLogsBadRequestBody

type ListOrgAuditLogsBadRequestBody struct {

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

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

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

func (*ListOrgAuditLogsBadRequestBody) ContextValidate

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

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

func (*ListOrgAuditLogsBadRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBody) Validate

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

Validate validates this list org audit logs bad request body

type ListOrgAuditLogsBadRequestBodyErrorsItems0

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

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

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

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

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0) ContextValidate

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

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0) Validate

Validate validates this list org audit logs bad request body errors items0

type ListOrgAuditLogsBadRequestBodyErrorsItems0Links struct {

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

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

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) Validate

Validate validates this list org audit logs bad request body errors items0 links

type ListOrgAuditLogsBadRequestBodyErrorsItems0Source

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

ListOrgAuditLogsBadRequestBodyErrorsItems0Source list org audit logs bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgAuditLogsBadRequestBodyErrorsItems0Source

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) Validate

Validate validates this list org audit logs bad request body errors items0 source

type ListOrgAuditLogsBadRequestBodyJsonapi

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

ListOrgAuditLogsBadRequestBodyJsonapi list org audit logs bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgAuditLogsBadRequestBodyJsonapi

func (*ListOrgAuditLogsBadRequestBodyJsonapi) ContextValidate

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

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

func (*ListOrgAuditLogsBadRequestBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsBadRequestBodyJsonapi) Validate

Validate validates this list org audit logs bad request body jsonapi

type ListOrgAuditLogsForbidden

type ListOrgAuditLogsForbidden 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 *ListOrgAuditLogsForbiddenBody
}

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

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

func NewListOrgAuditLogsForbidden

func NewListOrgAuditLogsForbidden() *ListOrgAuditLogsForbidden

NewListOrgAuditLogsForbidden creates a ListOrgAuditLogsForbidden with default headers values

func (*ListOrgAuditLogsForbidden) Code

func (o *ListOrgAuditLogsForbidden) Code() int

Code gets the status code for the list org audit logs forbidden response

func (*ListOrgAuditLogsForbidden) Error

func (o *ListOrgAuditLogsForbidden) Error() string

func (*ListOrgAuditLogsForbidden) GetPayload

func (*ListOrgAuditLogsForbidden) IsClientError

func (o *ListOrgAuditLogsForbidden) IsClientError() bool

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

func (*ListOrgAuditLogsForbidden) IsCode

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

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

func (*ListOrgAuditLogsForbidden) IsRedirect

func (o *ListOrgAuditLogsForbidden) IsRedirect() bool

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

func (*ListOrgAuditLogsForbidden) IsServerError

func (o *ListOrgAuditLogsForbidden) IsServerError() bool

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

func (*ListOrgAuditLogsForbidden) IsSuccess

func (o *ListOrgAuditLogsForbidden) IsSuccess() bool

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

func (*ListOrgAuditLogsForbidden) String

func (o *ListOrgAuditLogsForbidden) String() string

type ListOrgAuditLogsForbiddenBody

type ListOrgAuditLogsForbiddenBody struct {

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

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

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

func (*ListOrgAuditLogsForbiddenBody) ContextValidate

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

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

func (*ListOrgAuditLogsForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBody) Validate

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

Validate validates this list org audit logs forbidden body

type ListOrgAuditLogsForbiddenBodyErrorsItems0

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

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

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

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

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0) ContextValidate

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

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0) Validate

Validate validates this list org audit logs forbidden body errors items0

type ListOrgAuditLogsForbiddenBodyErrorsItems0Links struct {

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

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

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) Validate

Validate validates this list org audit logs forbidden body errors items0 links

type ListOrgAuditLogsForbiddenBodyErrorsItems0Source

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

ListOrgAuditLogsForbiddenBodyErrorsItems0Source list org audit logs forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgAuditLogsForbiddenBodyErrorsItems0Source

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) Validate

Validate validates this list org audit logs forbidden body errors items0 source

type ListOrgAuditLogsForbiddenBodyJsonapi

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

ListOrgAuditLogsForbiddenBodyJsonapi list org audit logs forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgAuditLogsForbiddenBodyJsonapi

func (*ListOrgAuditLogsForbiddenBodyJsonapi) ContextValidate

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

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

func (*ListOrgAuditLogsForbiddenBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsForbiddenBodyJsonapi) Validate

Validate validates this list org audit logs forbidden body jsonapi

type ListOrgAuditLogsInternalServerError

type ListOrgAuditLogsInternalServerError 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 *ListOrgAuditLogsInternalServerErrorBody
}

ListOrgAuditLogsInternalServerError 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 NewListOrgAuditLogsInternalServerError

func NewListOrgAuditLogsInternalServerError() *ListOrgAuditLogsInternalServerError

NewListOrgAuditLogsInternalServerError creates a ListOrgAuditLogsInternalServerError with default headers values

func (*ListOrgAuditLogsInternalServerError) Code

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

func (*ListOrgAuditLogsInternalServerError) Error

func (*ListOrgAuditLogsInternalServerError) GetPayload

func (*ListOrgAuditLogsInternalServerError) IsClientError

func (o *ListOrgAuditLogsInternalServerError) IsClientError() bool

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

func (*ListOrgAuditLogsInternalServerError) IsCode

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

func (*ListOrgAuditLogsInternalServerError) IsRedirect

func (o *ListOrgAuditLogsInternalServerError) IsRedirect() bool

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

func (*ListOrgAuditLogsInternalServerError) IsServerError

func (o *ListOrgAuditLogsInternalServerError) IsServerError() bool

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

func (*ListOrgAuditLogsInternalServerError) IsSuccess

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

func (*ListOrgAuditLogsInternalServerError) String

type ListOrgAuditLogsInternalServerErrorBody

type ListOrgAuditLogsInternalServerErrorBody struct {

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

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

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

func (*ListOrgAuditLogsInternalServerErrorBody) ContextValidate

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

func (*ListOrgAuditLogsInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBody) Validate

Validate validates this list org audit logs internal server error body

type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0

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

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

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

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) Validate

Validate validates this list org audit logs internal server error body errors items0

type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links struct {

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

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) Validate

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

type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source

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

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) Validate

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

type ListOrgAuditLogsInternalServerErrorBodyJsonapi

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

ListOrgAuditLogsInternalServerErrorBodyJsonapi list org audit logs internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgAuditLogsInternalServerErrorBodyJsonapi

func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) ContextValidate

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

func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) Validate

Validate validates this list org audit logs internal server error body jsonapi

type ListOrgAuditLogsNotFound

type ListOrgAuditLogsNotFound 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 *ListOrgAuditLogsNotFoundBody
}

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

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

func NewListOrgAuditLogsNotFound

func NewListOrgAuditLogsNotFound() *ListOrgAuditLogsNotFound

NewListOrgAuditLogsNotFound creates a ListOrgAuditLogsNotFound with default headers values

func (*ListOrgAuditLogsNotFound) Code

func (o *ListOrgAuditLogsNotFound) Code() int

Code gets the status code for the list org audit logs not found response

func (*ListOrgAuditLogsNotFound) Error

func (o *ListOrgAuditLogsNotFound) Error() string

func (*ListOrgAuditLogsNotFound) GetPayload

func (*ListOrgAuditLogsNotFound) IsClientError

func (o *ListOrgAuditLogsNotFound) IsClientError() bool

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

func (*ListOrgAuditLogsNotFound) IsCode

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

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

func (*ListOrgAuditLogsNotFound) IsRedirect

func (o *ListOrgAuditLogsNotFound) IsRedirect() bool

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

func (*ListOrgAuditLogsNotFound) IsServerError

func (o *ListOrgAuditLogsNotFound) IsServerError() bool

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

func (*ListOrgAuditLogsNotFound) IsSuccess

func (o *ListOrgAuditLogsNotFound) IsSuccess() bool

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

func (*ListOrgAuditLogsNotFound) String

func (o *ListOrgAuditLogsNotFound) String() string

type ListOrgAuditLogsNotFoundBody

type ListOrgAuditLogsNotFoundBody struct {

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

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

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

func (*ListOrgAuditLogsNotFoundBody) ContextValidate

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

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

func (*ListOrgAuditLogsNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBody) Validate

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

Validate validates this list org audit logs not found body

type ListOrgAuditLogsNotFoundBodyErrorsItems0

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

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

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

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

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0) ContextValidate

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

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0) Validate

Validate validates this list org audit logs not found body errors items0

type ListOrgAuditLogsNotFoundBodyErrorsItems0Links struct {

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

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

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) Validate

Validate validates this list org audit logs not found body errors items0 links

type ListOrgAuditLogsNotFoundBodyErrorsItems0Source

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

ListOrgAuditLogsNotFoundBodyErrorsItems0Source list org audit logs not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgAuditLogsNotFoundBodyErrorsItems0Source

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) Validate

Validate validates this list org audit logs not found body errors items0 source

type ListOrgAuditLogsNotFoundBodyJsonapi

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

ListOrgAuditLogsNotFoundBodyJsonapi list org audit logs not found body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgAuditLogsNotFoundBodyJsonapi

func (*ListOrgAuditLogsNotFoundBodyJsonapi) ContextValidate

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

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

func (*ListOrgAuditLogsNotFoundBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsNotFoundBodyJsonapi) Validate

Validate validates this list org audit logs not found body jsonapi

type ListOrgAuditLogsOK

type ListOrgAuditLogsOK struct {

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


	     Format: date-time
	*/
	Deprecation strfmt.DateTime
	Location    string

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


	   Format: uuid
	*/
	SnykRequestID strfmt.UUID

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

	 */
	SnykVersionLifecycleStage string

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

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

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


	     Format: date-time
	*/
	Sunset strfmt.DateTime

	Payload *ListOrgAuditLogsOKBody
}

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

Organization Audit Logs.

func NewListOrgAuditLogsOK

func NewListOrgAuditLogsOK() *ListOrgAuditLogsOK

NewListOrgAuditLogsOK creates a ListOrgAuditLogsOK with default headers values

func (*ListOrgAuditLogsOK) Code

func (o *ListOrgAuditLogsOK) Code() int

Code gets the status code for the list org audit logs o k response

func (*ListOrgAuditLogsOK) Error

func (o *ListOrgAuditLogsOK) Error() string

func (*ListOrgAuditLogsOK) GetPayload

func (o *ListOrgAuditLogsOK) GetPayload() *ListOrgAuditLogsOKBody

func (*ListOrgAuditLogsOK) IsClientError

func (o *ListOrgAuditLogsOK) IsClientError() bool

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

func (*ListOrgAuditLogsOK) IsCode

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

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

func (*ListOrgAuditLogsOK) IsRedirect

func (o *ListOrgAuditLogsOK) IsRedirect() bool

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

func (*ListOrgAuditLogsOK) IsServerError

func (o *ListOrgAuditLogsOK) IsServerError() bool

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

func (*ListOrgAuditLogsOK) IsSuccess

func (o *ListOrgAuditLogsOK) IsSuccess() bool

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

func (*ListOrgAuditLogsOK) String

func (o *ListOrgAuditLogsOK) String() string

type ListOrgAuditLogsOKBody

type ListOrgAuditLogsOKBody struct {

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

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

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

ListOrgAuditLogsOKBody list org audit logs o k body swagger:model ListOrgAuditLogsOKBody

func (*ListOrgAuditLogsOKBody) ContextValidate

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

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

func (*ListOrgAuditLogsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsOKBody) Validate

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

Validate validates this list org audit logs o k body

type ListOrgAuditLogsParams

type ListOrgAuditLogsParams struct {

	/* Cursor.

	   The ID for the next page of results.
	*/
	Cursor *string

	/* Event.

	   Filter logs by event type, cannot be used in conjunction with exclude_event parameter.
	*/
	Event *string

	/* ExcludeEvent.

	   Exclude event type from results, cannot be used in conjunctions with event parameter.
	*/
	ExcludeEvent *string

	/* From.

	   The start date (inclusive) of the audit logs search. Example: 2023-07-27


	   Format: date
	*/
	From *strfmt.Date

	/* OrgID.

	   The ID of the organization.

	   Format: uuid
	*/
	OrgID strfmt.UUID

	/* ProjectID.

	   Filter logs by project ID.

	   Format: uuid
	*/
	ProjectID *strfmt.UUID

	/* Size.

	   Number of results to return per page.

	   Format: int32
	*/
	Size *int32

	/* SortOrder.

	   Order in which results are returned.

	   Default: "DESC"
	*/
	SortOrder *string

	/* To.

	   The end date (inclusive) of the audit logs search. Example: 2023-07-27


	   Format: date
	*/
	To *strfmt.Date

	/* UserID.

	   Filter logs by user ID.

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

ListOrgAuditLogsParams contains all the parameters to send to the API endpoint

for the list org audit logs operation.

Typically these are written to a http.Request.

func NewListOrgAuditLogsParams

func NewListOrgAuditLogsParams() *ListOrgAuditLogsParams

NewListOrgAuditLogsParams creates a new ListOrgAuditLogsParams 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 NewListOrgAuditLogsParamsWithContext

func NewListOrgAuditLogsParamsWithContext(ctx context.Context) *ListOrgAuditLogsParams

NewListOrgAuditLogsParamsWithContext creates a new ListOrgAuditLogsParams object with the ability to set a context for a request.

func NewListOrgAuditLogsParamsWithHTTPClient

func NewListOrgAuditLogsParamsWithHTTPClient(client *http.Client) *ListOrgAuditLogsParams

NewListOrgAuditLogsParamsWithHTTPClient creates a new ListOrgAuditLogsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgAuditLogsParamsWithTimeout

func NewListOrgAuditLogsParamsWithTimeout(timeout time.Duration) *ListOrgAuditLogsParams

NewListOrgAuditLogsParamsWithTimeout creates a new ListOrgAuditLogsParams object with the ability to set a timeout on a request.

func (*ListOrgAuditLogsParams) SetContext

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

SetContext adds the context to the list org audit logs params

func (*ListOrgAuditLogsParams) SetCursor

func (o *ListOrgAuditLogsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the list org audit logs params

func (*ListOrgAuditLogsParams) SetDefaults

func (o *ListOrgAuditLogsParams) SetDefaults()

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

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

func (*ListOrgAuditLogsParams) SetEvent

func (o *ListOrgAuditLogsParams) SetEvent(event *string)

SetEvent adds the event to the list org audit logs params

func (*ListOrgAuditLogsParams) SetExcludeEvent

func (o *ListOrgAuditLogsParams) SetExcludeEvent(excludeEvent *string)

SetExcludeEvent adds the excludeEvent to the list org audit logs params

func (*ListOrgAuditLogsParams) SetFrom

func (o *ListOrgAuditLogsParams) SetFrom(from *strfmt.Date)

SetFrom adds the from to the list org audit logs params

func (*ListOrgAuditLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list org audit logs params

func (*ListOrgAuditLogsParams) SetOrgID

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

SetOrgID adds the orgId to the list org audit logs params

func (*ListOrgAuditLogsParams) SetProjectID

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

SetProjectID adds the projectId to the list org audit logs params

func (*ListOrgAuditLogsParams) SetSize

func (o *ListOrgAuditLogsParams) SetSize(size *int32)

SetSize adds the size to the list org audit logs params

func (*ListOrgAuditLogsParams) SetSortOrder

func (o *ListOrgAuditLogsParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the list org audit logs params

func (*ListOrgAuditLogsParams) SetTimeout

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

SetTimeout adds the timeout to the list org audit logs params

func (*ListOrgAuditLogsParams) SetTo

func (o *ListOrgAuditLogsParams) SetTo(to *strfmt.Date)

SetTo adds the to to the list org audit logs params

func (*ListOrgAuditLogsParams) SetUserID

func (o *ListOrgAuditLogsParams) SetUserID(userID *strfmt.UUID)

SetUserID adds the userId to the list org audit logs params

func (*ListOrgAuditLogsParams) SetVersion

func (o *ListOrgAuditLogsParams) SetVersion(version string)

SetVersion adds the version to the list org audit logs params

func (*ListOrgAuditLogsParams) WithContext

WithContext adds the context to the list org audit logs params

func (*ListOrgAuditLogsParams) WithCursor

func (o *ListOrgAuditLogsParams) WithCursor(cursor *string) *ListOrgAuditLogsParams

WithCursor adds the cursor to the list org audit logs params

func (*ListOrgAuditLogsParams) WithDefaults

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

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

func (*ListOrgAuditLogsParams) WithEvent

WithEvent adds the event to the list org audit logs params

func (*ListOrgAuditLogsParams) WithExcludeEvent

func (o *ListOrgAuditLogsParams) WithExcludeEvent(excludeEvent *string) *ListOrgAuditLogsParams

WithExcludeEvent adds the excludeEvent to the list org audit logs params

func (*ListOrgAuditLogsParams) WithFrom

WithFrom adds the from to the list org audit logs params

func (*ListOrgAuditLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list org audit logs params

func (*ListOrgAuditLogsParams) WithOrgID

WithOrgID adds the orgID to the list org audit logs params

func (*ListOrgAuditLogsParams) WithProjectID

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

WithProjectID adds the projectID to the list org audit logs params

func (*ListOrgAuditLogsParams) WithSize

WithSize adds the size to the list org audit logs params

func (*ListOrgAuditLogsParams) WithSortOrder

func (o *ListOrgAuditLogsParams) WithSortOrder(sortOrder *string) *ListOrgAuditLogsParams

WithSortOrder adds the sortOrder to the list org audit logs params

func (*ListOrgAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the list org audit logs params

func (*ListOrgAuditLogsParams) WithTo

WithTo adds the to to the list org audit logs params

func (*ListOrgAuditLogsParams) WithUserID

func (o *ListOrgAuditLogsParams) WithUserID(userID *strfmt.UUID) *ListOrgAuditLogsParams

WithUserID adds the userID to the list org audit logs params

func (*ListOrgAuditLogsParams) WithVersion

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

WithVersion adds the version to the list org audit logs params

func (*ListOrgAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrgAuditLogsReader

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

ListOrgAuditLogsReader is a Reader for the ListOrgAuditLogs structure.

func (*ListOrgAuditLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgAuditLogsUnauthorized

type ListOrgAuditLogsUnauthorized 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 *ListOrgAuditLogsUnauthorizedBody
}

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

Unauthorized: the request requires an authentication token.

func NewListOrgAuditLogsUnauthorized

func NewListOrgAuditLogsUnauthorized() *ListOrgAuditLogsUnauthorized

NewListOrgAuditLogsUnauthorized creates a ListOrgAuditLogsUnauthorized with default headers values

func (*ListOrgAuditLogsUnauthorized) Code

Code gets the status code for the list org audit logs unauthorized response

func (*ListOrgAuditLogsUnauthorized) Error

func (*ListOrgAuditLogsUnauthorized) GetPayload

func (*ListOrgAuditLogsUnauthorized) IsClientError

func (o *ListOrgAuditLogsUnauthorized) IsClientError() bool

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

func (*ListOrgAuditLogsUnauthorized) IsCode

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

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

func (*ListOrgAuditLogsUnauthorized) IsRedirect

func (o *ListOrgAuditLogsUnauthorized) IsRedirect() bool

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

func (*ListOrgAuditLogsUnauthorized) IsServerError

func (o *ListOrgAuditLogsUnauthorized) IsServerError() bool

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

func (*ListOrgAuditLogsUnauthorized) IsSuccess

func (o *ListOrgAuditLogsUnauthorized) IsSuccess() bool

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

func (*ListOrgAuditLogsUnauthorized) String

type ListOrgAuditLogsUnauthorizedBody

type ListOrgAuditLogsUnauthorizedBody struct {

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

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

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

func (*ListOrgAuditLogsUnauthorizedBody) ContextValidate

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

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

func (*ListOrgAuditLogsUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBody) Validate

Validate validates this list org audit logs unauthorized body

type ListOrgAuditLogsUnauthorizedBodyErrorsItems0

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

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

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

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

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate

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

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) Validate

Validate validates this list org audit logs unauthorized body errors items0

type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links struct {

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

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

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate

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

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) Validate

Validate validates this list org audit logs unauthorized body errors items0 links

type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source

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

ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source list org audit logs unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate

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

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary

MarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) Validate

Validate validates this list org audit logs unauthorized body errors items0 source

type ListOrgAuditLogsUnauthorizedBodyJsonapi

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

ListOrgAuditLogsUnauthorizedBodyJsonapi list org audit logs unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgAuditLogsUnauthorizedBodyJsonapi

func (*ListOrgAuditLogsUnauthorizedBodyJsonapi) ContextValidate

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

func (*ListOrgAuditLogsUnauthorizedBodyJsonapi) MarshalBinary

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

MarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyJsonapi) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListOrgAuditLogsUnauthorizedBodyJsonapi) Validate

Validate validates this list org audit logs unauthorized body jsonapi

Jump to

Keyboard shortcuts

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