Documentation
¶
Index ¶
- type Client
- func (a *Client) ListGroupAuditLogs(params *ListGroupAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGroupAuditLogsOK, error)
- func (a *Client) ListOrgAuditLogs(params *ListOrgAuditLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrgAuditLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListGroupAuditLogsBadRequest
- func (o *ListGroupAuditLogsBadRequest) Code() int
- func (o *ListGroupAuditLogsBadRequest) Error() string
- func (o *ListGroupAuditLogsBadRequest) GetPayload() *ListGroupAuditLogsBadRequestBody
- func (o *ListGroupAuditLogsBadRequest) IsClientError() bool
- func (o *ListGroupAuditLogsBadRequest) IsCode(code int) bool
- func (o *ListGroupAuditLogsBadRequest) IsRedirect() bool
- func (o *ListGroupAuditLogsBadRequest) IsServerError() bool
- func (o *ListGroupAuditLogsBadRequest) IsSuccess() bool
- func (o *ListGroupAuditLogsBadRequest) String() string
- type ListGroupAuditLogsBadRequestBody
- func (o *ListGroupAuditLogsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsBadRequestBodyErrorsItems0
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsBadRequestBodyErrorsItems0Links
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsBadRequestBodyErrorsItems0Source
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsBadRequestBodyJsonapi
- func (o *ListGroupAuditLogsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsForbidden
- func (o *ListGroupAuditLogsForbidden) Code() int
- func (o *ListGroupAuditLogsForbidden) Error() string
- func (o *ListGroupAuditLogsForbidden) GetPayload() *ListGroupAuditLogsForbiddenBody
- func (o *ListGroupAuditLogsForbidden) IsClientError() bool
- func (o *ListGroupAuditLogsForbidden) IsCode(code int) bool
- func (o *ListGroupAuditLogsForbidden) IsRedirect() bool
- func (o *ListGroupAuditLogsForbidden) IsServerError() bool
- func (o *ListGroupAuditLogsForbidden) IsSuccess() bool
- func (o *ListGroupAuditLogsForbidden) String() string
- type ListGroupAuditLogsForbiddenBody
- func (o *ListGroupAuditLogsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsForbiddenBodyErrorsItems0
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsForbiddenBodyErrorsItems0Links
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsForbiddenBodyErrorsItems0Source
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsForbiddenBodyJsonapi
- func (o *ListGroupAuditLogsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsInternalServerError
- func (o *ListGroupAuditLogsInternalServerError) Code() int
- func (o *ListGroupAuditLogsInternalServerError) Error() string
- func (o *ListGroupAuditLogsInternalServerError) GetPayload() *ListGroupAuditLogsInternalServerErrorBody
- func (o *ListGroupAuditLogsInternalServerError) IsClientError() bool
- func (o *ListGroupAuditLogsInternalServerError) IsCode(code int) bool
- func (o *ListGroupAuditLogsInternalServerError) IsRedirect() bool
- func (o *ListGroupAuditLogsInternalServerError) IsServerError() bool
- func (o *ListGroupAuditLogsInternalServerError) IsSuccess() bool
- func (o *ListGroupAuditLogsInternalServerError) String() string
- type ListGroupAuditLogsInternalServerErrorBody
- func (o *ListGroupAuditLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsInternalServerErrorBodyJsonapi
- func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsNotFound
- func (o *ListGroupAuditLogsNotFound) Code() int
- func (o *ListGroupAuditLogsNotFound) Error() string
- func (o *ListGroupAuditLogsNotFound) GetPayload() *ListGroupAuditLogsNotFoundBody
- func (o *ListGroupAuditLogsNotFound) IsClientError() bool
- func (o *ListGroupAuditLogsNotFound) IsCode(code int) bool
- func (o *ListGroupAuditLogsNotFound) IsRedirect() bool
- func (o *ListGroupAuditLogsNotFound) IsServerError() bool
- func (o *ListGroupAuditLogsNotFound) IsSuccess() bool
- func (o *ListGroupAuditLogsNotFound) String() string
- type ListGroupAuditLogsNotFoundBody
- func (o *ListGroupAuditLogsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsNotFoundBodyErrorsItems0
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsNotFoundBodyErrorsItems0Links
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsNotFoundBodyErrorsItems0Source
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsNotFoundBodyJsonapi
- func (o *ListGroupAuditLogsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsOK
- func (o *ListGroupAuditLogsOK) Code() int
- func (o *ListGroupAuditLogsOK) Error() string
- func (o *ListGroupAuditLogsOK) GetPayload() *ListGroupAuditLogsOKBody
- func (o *ListGroupAuditLogsOK) IsClientError() bool
- func (o *ListGroupAuditLogsOK) IsCode(code int) bool
- func (o *ListGroupAuditLogsOK) IsRedirect() bool
- func (o *ListGroupAuditLogsOK) IsServerError() bool
- func (o *ListGroupAuditLogsOK) IsSuccess() bool
- func (o *ListGroupAuditLogsOK) String() string
- type ListGroupAuditLogsOKBody
- func (o *ListGroupAuditLogsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsOKBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsParams
- func NewListGroupAuditLogsParams() *ListGroupAuditLogsParams
- func NewListGroupAuditLogsParamsWithContext(ctx context.Context) *ListGroupAuditLogsParams
- func NewListGroupAuditLogsParamsWithHTTPClient(client *http.Client) *ListGroupAuditLogsParams
- func NewListGroupAuditLogsParamsWithTimeout(timeout time.Duration) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) SetContext(ctx context.Context)
- func (o *ListGroupAuditLogsParams) SetCursor(cursor *string)
- func (o *ListGroupAuditLogsParams) SetDefaults()
- func (o *ListGroupAuditLogsParams) SetEvent(event *string)
- func (o *ListGroupAuditLogsParams) SetExcludeEvent(excludeEvent *string)
- func (o *ListGroupAuditLogsParams) SetFrom(from *strfmt.Date)
- func (o *ListGroupAuditLogsParams) SetGroupID(groupID strfmt.UUID)
- func (o *ListGroupAuditLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListGroupAuditLogsParams) SetProjectID(projectID *strfmt.UUID)
- func (o *ListGroupAuditLogsParams) SetSize(size *int32)
- func (o *ListGroupAuditLogsParams) SetSortOrder(sortOrder *string)
- func (o *ListGroupAuditLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListGroupAuditLogsParams) SetTo(to *strfmt.Date)
- func (o *ListGroupAuditLogsParams) SetUserID(userID *strfmt.UUID)
- func (o *ListGroupAuditLogsParams) SetVersion(version string)
- func (o *ListGroupAuditLogsParams) WithContext(ctx context.Context) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithCursor(cursor *string) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithDefaults() *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithEvent(event *string) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithExcludeEvent(excludeEvent *string) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithFrom(from *strfmt.Date) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithGroupID(groupID strfmt.UUID) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithHTTPClient(client *http.Client) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithProjectID(projectID *strfmt.UUID) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithSize(size *int32) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithSortOrder(sortOrder *string) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithTimeout(timeout time.Duration) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithTo(to *strfmt.Date) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithUserID(userID *strfmt.UUID) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WithVersion(version string) *ListGroupAuditLogsParams
- func (o *ListGroupAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGroupAuditLogsReader
- type ListGroupAuditLogsUnauthorized
- func (o *ListGroupAuditLogsUnauthorized) Code() int
- func (o *ListGroupAuditLogsUnauthorized) Error() string
- func (o *ListGroupAuditLogsUnauthorized) GetPayload() *ListGroupAuditLogsUnauthorizedBody
- func (o *ListGroupAuditLogsUnauthorized) IsClientError() bool
- func (o *ListGroupAuditLogsUnauthorized) IsCode(code int) bool
- func (o *ListGroupAuditLogsUnauthorized) IsRedirect() bool
- func (o *ListGroupAuditLogsUnauthorized) IsServerError() bool
- func (o *ListGroupAuditLogsUnauthorized) IsSuccess() bool
- func (o *ListGroupAuditLogsUnauthorized) String() string
- type ListGroupAuditLogsUnauthorizedBody
- func (o *ListGroupAuditLogsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsUnauthorizedBodyErrorsItems0
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListGroupAuditLogsUnauthorizedBodyJsonapi
- func (o *ListGroupAuditLogsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListGroupAuditLogsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListGroupAuditLogsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListGroupAuditLogsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsBadRequest
- func (o *ListOrgAuditLogsBadRequest) Code() int
- func (o *ListOrgAuditLogsBadRequest) Error() string
- func (o *ListOrgAuditLogsBadRequest) GetPayload() *ListOrgAuditLogsBadRequestBody
- func (o *ListOrgAuditLogsBadRequest) IsClientError() bool
- func (o *ListOrgAuditLogsBadRequest) IsCode(code int) bool
- func (o *ListOrgAuditLogsBadRequest) IsRedirect() bool
- func (o *ListOrgAuditLogsBadRequest) IsServerError() bool
- func (o *ListOrgAuditLogsBadRequest) IsSuccess() bool
- func (o *ListOrgAuditLogsBadRequest) String() string
- type ListOrgAuditLogsBadRequestBody
- func (o *ListOrgAuditLogsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsBadRequestBodyErrorsItems0
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsBadRequestBodyErrorsItems0Links
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsBadRequestBodyErrorsItems0Source
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsBadRequestBodyJsonapi
- func (o *ListOrgAuditLogsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsForbidden
- func (o *ListOrgAuditLogsForbidden) Code() int
- func (o *ListOrgAuditLogsForbidden) Error() string
- func (o *ListOrgAuditLogsForbidden) GetPayload() *ListOrgAuditLogsForbiddenBody
- func (o *ListOrgAuditLogsForbidden) IsClientError() bool
- func (o *ListOrgAuditLogsForbidden) IsCode(code int) bool
- func (o *ListOrgAuditLogsForbidden) IsRedirect() bool
- func (o *ListOrgAuditLogsForbidden) IsServerError() bool
- func (o *ListOrgAuditLogsForbidden) IsSuccess() bool
- func (o *ListOrgAuditLogsForbidden) String() string
- type ListOrgAuditLogsForbiddenBody
- func (o *ListOrgAuditLogsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsForbiddenBodyErrorsItems0
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsForbiddenBodyErrorsItems0Links
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsForbiddenBodyErrorsItems0Source
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsForbiddenBodyJsonapi
- func (o *ListOrgAuditLogsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsInternalServerError
- func (o *ListOrgAuditLogsInternalServerError) Code() int
- func (o *ListOrgAuditLogsInternalServerError) Error() string
- func (o *ListOrgAuditLogsInternalServerError) GetPayload() *ListOrgAuditLogsInternalServerErrorBody
- func (o *ListOrgAuditLogsInternalServerError) IsClientError() bool
- func (o *ListOrgAuditLogsInternalServerError) IsCode(code int) bool
- func (o *ListOrgAuditLogsInternalServerError) IsRedirect() bool
- func (o *ListOrgAuditLogsInternalServerError) IsServerError() bool
- func (o *ListOrgAuditLogsInternalServerError) IsSuccess() bool
- func (o *ListOrgAuditLogsInternalServerError) String() string
- type ListOrgAuditLogsInternalServerErrorBody
- func (o *ListOrgAuditLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsInternalServerErrorBodyJsonapi
- func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsNotFound
- func (o *ListOrgAuditLogsNotFound) Code() int
- func (o *ListOrgAuditLogsNotFound) Error() string
- func (o *ListOrgAuditLogsNotFound) GetPayload() *ListOrgAuditLogsNotFoundBody
- func (o *ListOrgAuditLogsNotFound) IsClientError() bool
- func (o *ListOrgAuditLogsNotFound) IsCode(code int) bool
- func (o *ListOrgAuditLogsNotFound) IsRedirect() bool
- func (o *ListOrgAuditLogsNotFound) IsServerError() bool
- func (o *ListOrgAuditLogsNotFound) IsSuccess() bool
- func (o *ListOrgAuditLogsNotFound) String() string
- type ListOrgAuditLogsNotFoundBody
- func (o *ListOrgAuditLogsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsNotFoundBodyErrorsItems0
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsNotFoundBodyErrorsItems0Links
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsNotFoundBodyErrorsItems0Source
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsNotFoundBodyJsonapi
- func (o *ListOrgAuditLogsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsOK
- func (o *ListOrgAuditLogsOK) Code() int
- func (o *ListOrgAuditLogsOK) Error() string
- func (o *ListOrgAuditLogsOK) GetPayload() *ListOrgAuditLogsOKBody
- func (o *ListOrgAuditLogsOK) IsClientError() bool
- func (o *ListOrgAuditLogsOK) IsCode(code int) bool
- func (o *ListOrgAuditLogsOK) IsRedirect() bool
- func (o *ListOrgAuditLogsOK) IsServerError() bool
- func (o *ListOrgAuditLogsOK) IsSuccess() bool
- func (o *ListOrgAuditLogsOK) String() string
- type ListOrgAuditLogsOKBody
- func (o *ListOrgAuditLogsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsOKBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsParams
- func NewListOrgAuditLogsParams() *ListOrgAuditLogsParams
- func NewListOrgAuditLogsParamsWithContext(ctx context.Context) *ListOrgAuditLogsParams
- func NewListOrgAuditLogsParamsWithHTTPClient(client *http.Client) *ListOrgAuditLogsParams
- func NewListOrgAuditLogsParamsWithTimeout(timeout time.Duration) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) SetContext(ctx context.Context)
- func (o *ListOrgAuditLogsParams) SetCursor(cursor *string)
- func (o *ListOrgAuditLogsParams) SetDefaults()
- func (o *ListOrgAuditLogsParams) SetEvent(event *string)
- func (o *ListOrgAuditLogsParams) SetExcludeEvent(excludeEvent *string)
- func (o *ListOrgAuditLogsParams) SetFrom(from *strfmt.Date)
- func (o *ListOrgAuditLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgAuditLogsParams) SetOrgID(orgID strfmt.UUID)
- func (o *ListOrgAuditLogsParams) SetProjectID(projectID *strfmt.UUID)
- func (o *ListOrgAuditLogsParams) SetSize(size *int32)
- func (o *ListOrgAuditLogsParams) SetSortOrder(sortOrder *string)
- func (o *ListOrgAuditLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgAuditLogsParams) SetTo(to *strfmt.Date)
- func (o *ListOrgAuditLogsParams) SetUserID(userID *strfmt.UUID)
- func (o *ListOrgAuditLogsParams) SetVersion(version string)
- func (o *ListOrgAuditLogsParams) WithContext(ctx context.Context) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithCursor(cursor *string) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithDefaults() *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithEvent(event *string) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithExcludeEvent(excludeEvent *string) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithFrom(from *strfmt.Date) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithHTTPClient(client *http.Client) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithOrgID(orgID strfmt.UUID) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithProjectID(projectID *strfmt.UUID) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithSize(size *int32) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithSortOrder(sortOrder *string) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithTimeout(timeout time.Duration) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithTo(to *strfmt.Date) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithUserID(userID *strfmt.UUID) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WithVersion(version string) *ListOrgAuditLogsParams
- func (o *ListOrgAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgAuditLogsReader
- type ListOrgAuditLogsUnauthorized
- func (o *ListOrgAuditLogsUnauthorized) Code() int
- func (o *ListOrgAuditLogsUnauthorized) Error() string
- func (o *ListOrgAuditLogsUnauthorized) GetPayload() *ListOrgAuditLogsUnauthorizedBody
- func (o *ListOrgAuditLogsUnauthorized) IsClientError() bool
- func (o *ListOrgAuditLogsUnauthorized) IsCode(code int) bool
- func (o *ListOrgAuditLogsUnauthorized) IsRedirect() bool
- func (o *ListOrgAuditLogsUnauthorized) IsServerError() bool
- func (o *ListOrgAuditLogsUnauthorized) IsSuccess() bool
- func (o *ListOrgAuditLogsUnauthorized) String() string
- type ListOrgAuditLogsUnauthorizedBody
- func (o *ListOrgAuditLogsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsUnauthorizedBodyErrorsItems0
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgAuditLogsUnauthorizedBodyJsonapi
- func (o *ListOrgAuditLogsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgAuditLogsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgAuditLogsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgAuditLogsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
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 ¶
func (o *ListGroupAuditLogsBadRequest) Code() int
Code gets the status code for the list group audit logs bad request response
func (*ListGroupAuditLogsBadRequest) Error ¶
func (o *ListGroupAuditLogsBadRequest) Error() string
func (*ListGroupAuditLogsBadRequest) GetPayload ¶
func (o *ListGroupAuditLogsBadRequest) GetPayload() *ListGroupAuditLogsBadRequestBody
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 ¶
func (o *ListGroupAuditLogsBadRequest) String() 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
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 ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list group audit logs bad request body errors items0 based on the context it is used
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAuditLogsBadRequestBodyErrorsItems0Links ¶
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 ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs bad request body errors items0 links based on context it is used
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs bad request body errors items0 source based on context it is used
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListGroupAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ListGroupAuditLogsForbidden) Error() string
func (*ListGroupAuditLogsForbidden) GetPayload ¶
func (o *ListGroupAuditLogsForbidden) GetPayload() *ListGroupAuditLogsForbiddenBody
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
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 ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type ListGroupAuditLogsForbiddenBodyErrorsItems0Links ¶
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 ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs forbidden body errors items0 links based on context it is used
func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs forbidden body errors items0 source based on context it is used
func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListGroupAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *ListGroupAuditLogsInternalServerError) Code() int
Code gets the status code for the list group audit logs internal server error response
func (*ListGroupAuditLogsInternalServerError) Error ¶
func (o *ListGroupAuditLogsInternalServerError) Error() string
func (*ListGroupAuditLogsInternalServerError) GetPayload ¶
func (o *ListGroupAuditLogsInternalServerError) GetPayload() *ListGroupAuditLogsInternalServerErrorBody
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 ¶
func (o *ListGroupAuditLogsInternalServerError) IsCode(code int) bool
IsCode returns true when this list group audit logs internal server error response a status code equal to that given
func (*ListGroupAuditLogsInternalServerError) IsRedirect ¶
func (o *ListGroupAuditLogsInternalServerError) IsRedirect() bool
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 ¶
func (o *ListGroupAuditLogsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list group audit logs internal server error response has a 2xx status code
func (*ListGroupAuditLogsInternalServerError) String ¶
func (o *ListGroupAuditLogsInternalServerError) String() 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 ¶
func (o *ListGroupAuditLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list group audit logs internal server error body errors items0 based on the context it is used
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links ¶
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 ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs internal server error body errors items0 links based on context it is used
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs internal server error body errors items0 source based on context it is used
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs internal server error body jsonapi based on context it is used
func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *ListGroupAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 (o *ListGroupAuditLogsNotFound) Error() string
func (*ListGroupAuditLogsNotFound) GetPayload ¶
func (o *ListGroupAuditLogsNotFound) GetPayload() *ListGroupAuditLogsNotFoundBody
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
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 ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type ListGroupAuditLogsNotFoundBodyErrorsItems0Links ¶
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 ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs not found body errors items0 links based on context it is used
func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs not found body errors items0 source based on context it is used
func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListGroupAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 (o *ListGroupAuditLogsOK) GetPayload() *ListGroupAuditLogsOKBody
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
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 ¶
func (o *ListGroupAuditLogsParams) WithContext(ctx context.Context) *ListGroupAuditLogsParams
WithContext adds the context to the list group audit logs params
func (*ListGroupAuditLogsParams) WithCursor ¶
func (o *ListGroupAuditLogsParams) WithCursor(cursor *string) *ListGroupAuditLogsParams
WithCursor adds the cursor to the list group audit logs params
func (*ListGroupAuditLogsParams) WithDefaults ¶
func (o *ListGroupAuditLogsParams) WithDefaults() *ListGroupAuditLogsParams
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 ¶
func (o *ListGroupAuditLogsParams) WithEvent(event *string) *ListGroupAuditLogsParams
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 ¶
func (o *ListGroupAuditLogsParams) WithFrom(from *strfmt.Date) *ListGroupAuditLogsParams
WithFrom adds the from to the list group audit logs params
func (*ListGroupAuditLogsParams) WithGroupID ¶
func (o *ListGroupAuditLogsParams) WithGroupID(groupID strfmt.UUID) *ListGroupAuditLogsParams
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 ¶
func (o *ListGroupAuditLogsParams) WithSize(size *int32) *ListGroupAuditLogsParams
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 ¶
func (o *ListGroupAuditLogsParams) WithTimeout(timeout time.Duration) *ListGroupAuditLogsParams
WithTimeout adds the timeout to the list group audit logs params
func (*ListGroupAuditLogsParams) WithTo ¶
func (o *ListGroupAuditLogsParams) WithTo(to *strfmt.Date) *ListGroupAuditLogsParams
WithTo adds the to to the list group audit logs params
func (*ListGroupAuditLogsParams) WithUserID ¶
func (o *ListGroupAuditLogsParams) WithUserID(userID *strfmt.UUID) *ListGroupAuditLogsParams
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 ¶
func (o *ListGroupAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
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 ¶
func (o *ListGroupAuditLogsUnauthorized) Code() int
Code gets the status code for the list group audit logs unauthorized response
func (*ListGroupAuditLogsUnauthorized) Error ¶
func (o *ListGroupAuditLogsUnauthorized) Error() string
func (*ListGroupAuditLogsUnauthorized) GetPayload ¶
func (o *ListGroupAuditLogsUnauthorized) GetPayload() *ListGroupAuditLogsUnauthorizedBody
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 ¶
func (o *ListGroupAuditLogsUnauthorized) String() string
type ListGroupAuditLogsUnauthorizedBody ¶
type ListGroupAuditLogsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListGroupAuditLogsUnauthorizedBodyErrorsItems0 `json:"errors"` // 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
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0 ¶
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // 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 ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list group audit logs unauthorized body errors items0 based on the context it is used
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links ¶
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links struct { // 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 ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs unauthorized body errors items0 links based on context it is used
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source ¶
type ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // 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 ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group audit logs unauthorized body errors items0 source based on context it is used
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListGroupAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAuditLogsUnauthorizedBodyJsonapi ¶
type ListGroupAuditLogsUnauthorizedBodyJsonapi struct { // 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 ¶
func (o *ListGroupAuditLogsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ListOrgAuditLogsBadRequest) Error() string
func (*ListOrgAuditLogsBadRequest) GetPayload ¶
func (o *ListOrgAuditLogsBadRequest) GetPayload() *ListOrgAuditLogsBadRequestBody
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
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 ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type ListOrgAuditLogsBadRequestBodyErrorsItems0Links ¶
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 ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs bad request body errors items0 links based on context it is used
func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs bad request body errors items0 source based on context it is used
func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgAuditLogsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 (o *ListOrgAuditLogsForbidden) GetPayload() *ListOrgAuditLogsForbiddenBody
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
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 ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type ListOrgAuditLogsForbiddenBodyErrorsItems0Links ¶
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 ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs forbidden body errors items0 links based on context it is used
func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs forbidden body errors items0 source based on context it is used
func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgAuditLogsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (o *ListOrgAuditLogsInternalServerError) Code() int
Code gets the status code for the list org audit logs internal server error response
func (*ListOrgAuditLogsInternalServerError) Error ¶
func (o *ListOrgAuditLogsInternalServerError) Error() string
func (*ListOrgAuditLogsInternalServerError) GetPayload ¶
func (o *ListOrgAuditLogsInternalServerError) GetPayload() *ListOrgAuditLogsInternalServerErrorBody
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 ¶
func (o *ListOrgAuditLogsInternalServerError) IsCode(code int) bool
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 ¶
func (o *ListOrgAuditLogsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list org audit logs internal server error response has a 2xx status code
func (*ListOrgAuditLogsInternalServerError) String ¶
func (o *ListOrgAuditLogsInternalServerError) String() 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 ¶
func (o *ListOrgAuditLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org audit logs internal server error body errors items0 based on the context it is used
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links ¶
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 ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs internal server error body errors items0 links based on context it is used
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs internal server error body errors items0 source based on context it is used
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs internal server error body jsonapi based on context it is used
func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgAuditLogsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 (o *ListOrgAuditLogsNotFound) GetPayload() *ListOrgAuditLogsNotFoundBody
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
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 ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type ListOrgAuditLogsNotFoundBodyErrorsItems0Links ¶
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 ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs not found body errors items0 links based on context it is used
func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs not found body errors items0 source based on context it is used
func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgAuditLogsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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 ¶
func (o *ListOrgAuditLogsParams) WithContext(ctx context.Context) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithDefaults() *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithEvent(event *string) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithFrom(from *strfmt.Date) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithOrgID(orgID strfmt.UUID) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithSize(size *int32) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WithTimeout(timeout time.Duration) *ListOrgAuditLogsParams
WithTimeout adds the timeout to the list org audit logs params
func (*ListOrgAuditLogsParams) WithTo ¶
func (o *ListOrgAuditLogsParams) WithTo(to *strfmt.Date) *ListOrgAuditLogsParams
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 ¶
func (o *ListOrgAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
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 ¶
func (o *ListOrgAuditLogsUnauthorized) Code() int
Code gets the status code for the list org audit logs unauthorized response
func (*ListOrgAuditLogsUnauthorized) Error ¶
func (o *ListOrgAuditLogsUnauthorized) Error() string
func (*ListOrgAuditLogsUnauthorized) GetPayload ¶
func (o *ListOrgAuditLogsUnauthorized) GetPayload() *ListOrgAuditLogsUnauthorizedBody
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 ¶
func (o *ListOrgAuditLogsUnauthorized) String() string
type ListOrgAuditLogsUnauthorizedBody ¶
type ListOrgAuditLogsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgAuditLogsUnauthorizedBodyErrorsItems0 `json:"errors"` // 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
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0 ¶
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // 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 ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org audit logs unauthorized body errors items0 based on the context it is used
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links ¶
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links struct { // 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 ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs unauthorized body errors items0 links based on context it is used
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source ¶
type ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // 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 ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org audit logs unauthorized body errors items0 source based on context it is used
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgAuditLogsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgAuditLogsUnauthorizedBodyJsonapi ¶
type ListOrgAuditLogsUnauthorizedBodyJsonapi struct { // 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 ¶
func (o *ListOrgAuditLogsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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