Documentation ¶
Index ¶
- Constants
- type AccessTokenTTLSeconds
- type ActualVersion
- type AppBot
- type AppBotRelationships
- type AppBotRelationshipsApp
- func (m *AppBotRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppBotRelationshipsApp) MarshalBinary() ([]byte, error)
- func (m *AppBotRelationshipsApp) UnmarshalBinary(b []byte) error
- func (m *AppBotRelationshipsApp) Validate(formats strfmt.Registry) error
- type AppData
- type AppDataWithSecret
- type AppInstallData
- type AppInstallDataAttributes
- func (m *AppInstallDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataAttributes) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataAttributes) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataAttributes) Validate(formats strfmt.Registry) error
- type AppInstallDataRelationships
- func (m *AppInstallDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataRelationships) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataRelationships) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataRelationships) Validate(formats strfmt.Registry) error
- type AppInstallDataRelationshipsApp
- func (m *AppInstallDataRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataRelationshipsApp) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataRelationshipsApp) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataRelationshipsApp) Validate(formats strfmt.Registry) error
- type AppInstallDataWithSecret
- func (m *AppInstallDataWithSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataWithSecret) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataWithSecret) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataWithSecret) Validate(formats strfmt.Registry) error
- type AppInstallDataWithSecretAttributes
- func (m *AppInstallDataWithSecretAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataWithSecretAttributes) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataWithSecretAttributes) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataWithSecretAttributes) Validate(formats strfmt.Registry) error
- type AppInstallDataWithSecretRelationships
- func (m *AppInstallDataWithSecretRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataWithSecretRelationships) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataWithSecretRelationships) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataWithSecretRelationships) Validate(formats strfmt.Registry) error
- type AppInstallDataWithSecretRelationshipsApp
- func (m *AppInstallDataWithSecretRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallDataWithSecretRelationshipsApp) MarshalBinary() ([]byte, error)
- func (m *AppInstallDataWithSecretRelationshipsApp) UnmarshalBinary(b []byte) error
- func (m *AppInstallDataWithSecretRelationshipsApp) Validate(formats strfmt.Registry) error
- type AppInstallWithClient
- type AppInstallWithClientAttributes
- func (m *AppInstallWithClientAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallWithClientAttributes) MarshalBinary() ([]byte, error)
- func (m *AppInstallWithClientAttributes) UnmarshalBinary(b []byte) error
- func (m *AppInstallWithClientAttributes) Validate(formats strfmt.Registry) error
- type AppInstallWithClientRelationships
- func (m *AppInstallWithClientRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallWithClientRelationships) MarshalBinary() ([]byte, error)
- func (m *AppInstallWithClientRelationships) UnmarshalBinary(b []byte) error
- func (m *AppInstallWithClientRelationships) Validate(formats strfmt.Registry) error
- type AppInstallWithClientRelationshipsApp
- func (m *AppInstallWithClientRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallWithClientRelationshipsApp) MarshalBinary() ([]byte, error)
- func (m *AppInstallWithClientRelationshipsApp) UnmarshalBinary(b []byte) error
- func (m *AppInstallWithClientRelationshipsApp) Validate(formats strfmt.Registry) error
- type AppInstallWithClientRelationshipsAppData
- func (m *AppInstallWithClientRelationshipsAppData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppInstallWithClientRelationshipsAppData) MarshalBinary() ([]byte, error)
- func (m *AppInstallWithClientRelationshipsAppData) UnmarshalBinary(b []byte) error
- func (m *AppInstallWithClientRelationshipsAppData) Validate(formats strfmt.Registry) error
- type AppName
- type AppPatchRequest
- type AppPatchRequestData
- type AppPatchRequestDataAttributes
- func (m *AppPatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppPatchRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *AppPatchRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *AppPatchRequestDataAttributes) Validate(formats strfmt.Registry) error
- type AppPostRequest
- type AppPostRequestData
- type AppPostRequestDataAttributes
- func (m *AppPostRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppPostRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *AppPostRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *AppPostRequestDataAttributes) Validate(formats strfmt.Registry) error
- type AppPostResponse
- type AppResourceAttributes
- type AppResourceAttributesWithSecret
- func (m *AppResourceAttributesWithSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AppResourceAttributesWithSecret) MarshalBinary() ([]byte, error)
- func (m *AppResourceAttributesWithSecret) UnmarshalBinary(b []byte) error
- func (m *AppResourceAttributesWithSecret) Validate(formats strfmt.Registry) error
- type AuditLogSearch
- type AuditLogSearchItemsItems0
- func (m *AuditLogSearchItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuditLogSearchItemsItems0) MarshalBinary() ([]byte, error)
- func (m *AuditLogSearchItemsItems0) UnmarshalBinary(b []byte) error
- func (m *AuditLogSearchItemsItems0) Validate(formats strfmt.Registry) error
- type AutoDependencyUpgradeSettings
- func (m *AutoDependencyUpgradeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AutoDependencyUpgradeSettings) MarshalBinary() ([]byte, error)
- func (m *AutoDependencyUpgradeSettings) UnmarshalBinary(b []byte) error
- func (m *AutoDependencyUpgradeSettings) Validate(formats strfmt.Registry) error
- type AutoRemediationPRsSettings
- func (m *AutoRemediationPRsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AutoRemediationPRsSettings) MarshalBinary() ([]byte, error)
- func (m *AutoRemediationPRsSettings) UnmarshalBinary(b []byte) error
- func (m *AutoRemediationPRsSettings) Validate(formats strfmt.Registry) error
- type BulkPackageUrlsRequestBody
- func (m *BulkPackageUrlsRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BulkPackageUrlsRequestBody) MarshalBinary() ([]byte, error)
- func (m *BulkPackageUrlsRequestBody) UnmarshalBinary(b []byte) error
- func (m *BulkPackageUrlsRequestBody) Validate(formats strfmt.Registry) error
- type BulkPackageUrlsRequestBodyData
- func (m *BulkPackageUrlsRequestBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BulkPackageUrlsRequestBodyData) MarshalBinary() ([]byte, error)
- func (m *BulkPackageUrlsRequestBodyData) UnmarshalBinary(b []byte) error
- func (m *BulkPackageUrlsRequestBodyData) Validate(formats strfmt.Registry) error
- type BulkPackageUrlsRequestBodyDataAttributes
- func (m *BulkPackageUrlsRequestBodyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BulkPackageUrlsRequestBodyDataAttributes) MarshalBinary() ([]byte, error)
- func (m *BulkPackageUrlsRequestBodyDataAttributes) UnmarshalBinary(b []byte) error
- func (m *BulkPackageUrlsRequestBodyDataAttributes) Validate(formats strfmt.Registry) error
- type Class
- type ClassTypeDef
- type ClientID
- type ClientSecret
- type CloudResource
- type CollectionAttributes
- type CollectionMeta
- type CollectionRelationships
- func (m *CollectionRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionRelationships) MarshalBinary() ([]byte, error)
- func (m *CollectionRelationships) UnmarshalBinary(b []byte) error
- func (m *CollectionRelationships) Validate(formats strfmt.Registry) error
- type CollectionRelationshipsCreatedByUser
- func (m *CollectionRelationshipsCreatedByUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionRelationshipsCreatedByUser) MarshalBinary() ([]byte, error)
- func (m *CollectionRelationshipsCreatedByUser) UnmarshalBinary(b []byte) error
- func (m *CollectionRelationshipsCreatedByUser) Validate(formats strfmt.Registry) error
- type CollectionRelationshipsCreatedByUserData
- func (m *CollectionRelationshipsCreatedByUserData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionRelationshipsCreatedByUserData) MarshalBinary() ([]byte, error)
- func (m *CollectionRelationshipsCreatedByUserData) UnmarshalBinary(b []byte) error
- func (m *CollectionRelationshipsCreatedByUserData) Validate(formats strfmt.Registry) error
- type CollectionRelationshipsOrg
- func (m *CollectionRelationshipsOrg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionRelationshipsOrg) MarshalBinary() ([]byte, error)
- func (m *CollectionRelationshipsOrg) UnmarshalBinary(b []byte) error
- func (m *CollectionRelationshipsOrg) Validate(formats strfmt.Registry) error
- type CollectionRelationshipsOrgData
- func (m *CollectionRelationshipsOrgData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionRelationshipsOrgData) MarshalBinary() ([]byte, error)
- func (m *CollectionRelationshipsOrgData) UnmarshalBinary(b []byte) error
- func (m *CollectionRelationshipsOrgData) Validate(formats strfmt.Registry) error
- type CollectionResponse
- type CommonIssueModel
- type CommonIssueModelAttributes
- func (m *CommonIssueModelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelAttributes) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelAttributes) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelAttributes) Validate(formats strfmt.Registry) error
- type CommonIssueModelAttributesCoordinatesItems0
- func (m *CommonIssueModelAttributesCoordinatesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelAttributesCoordinatesItems0) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelAttributesCoordinatesItems0) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelAttributesCoordinatesItems0) Validate(formats strfmt.Registry) error
- type CommonIssueModelAttributesCoordinatesItems0RemediesItems0
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) Validate(formats strfmt.Registry) error
- type CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) Validate(formats strfmt.Registry) error
- type CommonIssueModelAttributesProblemsItems0
- func (m *CommonIssueModelAttributesProblemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelAttributesProblemsItems0) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelAttributesProblemsItems0) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelAttributesProblemsItems0) Validate(formats strfmt.Registry) error
- type CommonIssueModelVTwo
- type CommonIssueModelVTwoAttributes
- func (m *CommonIssueModelVTwoAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelVTwoAttributes) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelVTwoAttributes) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelVTwoAttributes) Validate(formats strfmt.Registry) error
- type CommonIssueModelVTwoAttributesProblemsItems0
- func (m *CommonIssueModelVTwoAttributesProblemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonIssueModelVTwoAttributesProblemsItems0) MarshalBinary() ([]byte, error)
- func (m *CommonIssueModelVTwoAttributesProblemsItems0) UnmarshalBinary(b []byte) error
- func (m *CommonIssueModelVTwoAttributesProblemsItems0) Validate(formats strfmt.Registry) error
- type ContainerBuildArgs
- type Context
- type Coordinate
- type CoordinateVTwo
- type CoordinateVTwoRemediesItems0
- func (m *CoordinateVTwoRemediesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CoordinateVTwoRemediesItems0) MarshalBinary() ([]byte, error)
- func (m *CoordinateVTwoRemediesItems0) UnmarshalBinary(b []byte) error
- func (m *CoordinateVTwoRemediesItems0) Validate(formats strfmt.Registry) error
- type CoordinateVTwoRemediesItems0Details
- func (m *CoordinateVTwoRemediesItems0Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CoordinateVTwoRemediesItems0Details) MarshalBinary() ([]byte, error)
- func (m *CoordinateVTwoRemediesItems0Details) UnmarshalBinary(b []byte) error
- func (m *CoordinateVTwoRemediesItems0Details) Validate(formats strfmt.Registry) error
- type CreateCollectionRequest
- func (m *CreateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCollectionRequest) MarshalBinary() ([]byte, error)
- func (m *CreateCollectionRequest) UnmarshalBinary(b []byte) error
- func (m *CreateCollectionRequest) Validate(formats strfmt.Registry) error
- type CreateCollectionRequestData
- func (m *CreateCollectionRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCollectionRequestData) MarshalBinary() ([]byte, error)
- func (m *CreateCollectionRequestData) UnmarshalBinary(b []byte) error
- func (m *CreateCollectionRequestData) Validate(formats strfmt.Registry) error
- type CreateCollectionRequestDataAttributes
- func (m *CreateCollectionRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCollectionRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *CreateCollectionRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *CreateCollectionRequestDataAttributes) Validate(formats strfmt.Registry) error
- type CustomBaseImageAttributes
- func (m *CustomBaseImageAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageAttributes) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageAttributes) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageAttributes) Validate(formats strfmt.Registry) error
- type CustomBaseImageCollectionResponse
- func (m *CustomBaseImageCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageCollectionResponse) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageCollectionResponse) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageCollectionResponse) Validate(formats strfmt.Registry) error
- type CustomBaseImageCollectionResponseDataItems0
- func (m *CustomBaseImageCollectionResponseDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageCollectionResponseDataItems0) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageCollectionResponseDataItems0) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageCollectionResponseDataItems0) Validate(formats strfmt.Registry) error
- type CustomBaseImagePatchRequest
- func (m *CustomBaseImagePatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImagePatchRequest) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImagePatchRequest) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImagePatchRequest) Validate(formats strfmt.Registry) error
- type CustomBaseImagePatchRequestData
- func (m *CustomBaseImagePatchRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImagePatchRequestData) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImagePatchRequestData) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImagePatchRequestData) Validate(formats strfmt.Registry) error
- type CustomBaseImagePatchRequestDataAttributes
- func (m *CustomBaseImagePatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImagePatchRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImagePatchRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImagePatchRequestDataAttributes) Validate(formats strfmt.Registry) error
- type CustomBaseImagePostRequest
- func (m *CustomBaseImagePostRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImagePostRequest) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImagePostRequest) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImagePostRequest) Validate(formats strfmt.Registry) error
- type CustomBaseImagePostRequestData
- func (m *CustomBaseImagePostRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImagePostRequestData) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImagePostRequestData) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImagePostRequestData) Validate(formats strfmt.Registry) error
- type CustomBaseImageResource
- func (m *CustomBaseImageResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageResource) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageResource) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageResource) Validate(formats strfmt.Registry) error
- type CustomBaseImageResponse
- func (m *CustomBaseImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageResponse) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageResponse) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageResponse) Validate(formats strfmt.Registry) error
- type CustomBaseImageSnapshot
- func (m *CustomBaseImageSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomBaseImageSnapshot) MarshalBinary() ([]byte, error)
- func (m *CustomBaseImageSnapshot) UnmarshalBinary(b []byte) error
- func (m *CustomBaseImageSnapshot) Validate(formats strfmt.Registry) error
- type CycloneDxComponent
- type CycloneDxDependency
- type CycloneDxDocument
- type CycloneDxMetadata
- type CycloneDxProperty
- type CycloneDxTool
- type CycloneDxXMLDocument
- type DeleteProjectsFromCollectionRequest
- func (m *DeleteProjectsFromCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteProjectsFromCollectionRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteProjectsFromCollectionRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteProjectsFromCollectionRequest) Validate(formats strfmt.Registry) error
- type DeleteProjectsFromCollectionRequestDataItems0
- func (m *DeleteProjectsFromCollectionRequestDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteProjectsFromCollectionRequestDataItems0) MarshalBinary() ([]byte, error)
- func (m *DeleteProjectsFromCollectionRequestDataItems0) UnmarshalBinary(b []byte) error
- func (m *DeleteProjectsFromCollectionRequestDataItems0) Validate(formats strfmt.Registry) error
- type Dependency
- type DeployedRiskFactor
- type Environment
- type EnvironmentTypeDef
- type Error
- type ErrorDocument
- type ErrorDocumentErrorsItems0
- func (m *ErrorDocumentErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ErrorDocumentErrorsItems0) MarshalBinary() ([]byte, error)
- func (m *ErrorDocumentErrorsItems0) UnmarshalBinary(b []byte) error
- func (m *ErrorDocumentErrorsItems0) Validate(formats strfmt.Registry) error
- type ErrorDocumentErrorsItems0Source
- func (m *ErrorDocumentErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ErrorDocumentErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (m *ErrorDocumentErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (m *ErrorDocumentErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ErrorDocumentJsonapi
- type ErrorLink
- type ErrorSource
- type FilePosition
- type GetProjectSettingsCollection
- func (m *GetProjectSettingsCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetProjectSettingsCollection) MarshalBinary() ([]byte, error)
- func (m *GetProjectSettingsCollection) UnmarshalBinary(b []byte) error
- func (m *GetProjectSettingsCollection) Validate(formats strfmt.Registry) error
- type GetProjectsOfCollectionResponse
- func (m *GetProjectsOfCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetProjectsOfCollectionResponse) MarshalBinary() ([]byte, error)
- func (m *GetProjectsOfCollectionResponse) UnmarshalBinary(b []byte) error
- func (m *GetProjectsOfCollectionResponse) Validate(formats strfmt.Registry) error
- type GrantType
- type GroupIacSettingsRequest
- func (m *GroupIacSettingsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsRequest) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsRequest) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsRequest) Validate(formats strfmt.Registry) error
- type GroupIacSettingsRequestAttributes
- func (m *GroupIacSettingsRequestAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsRequestAttributes) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsRequestAttributes) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsRequestAttributes) Validate(formats strfmt.Registry) error
- type GroupIacSettingsRequestAttributesCustomRules
- func (m *GroupIacSettingsRequestAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsRequestAttributesCustomRules) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsRequestAttributesCustomRules) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsRequestAttributesCustomRules) Validate(formats strfmt.Registry) error
- type GroupIacSettingsResponse
- func (m *GroupIacSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsResponse) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsResponse) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsResponse) Validate(formats strfmt.Registry) error
- type GroupIacSettingsResponseAttributes
- func (m *GroupIacSettingsResponseAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsResponseAttributes) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsResponseAttributes) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsResponseAttributes) Validate(formats strfmt.Registry) error
- type GroupIacSettingsResponseAttributesCustomRules
- func (m *GroupIacSettingsResponseAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupIacSettingsResponseAttributesCustomRules) MarshalBinary() ([]byte, error)
- func (m *GroupIacSettingsResponseAttributesCustomRules) UnmarshalBinary(b []byte) error
- func (m *GroupIacSettingsResponseAttributesCustomRules) Validate(formats strfmt.Registry) error
- type HelloWorld
- type HelloWorldAttributes
- type HelloWorldAttributesRequestSubject
- func (m *HelloWorldAttributesRequestSubject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HelloWorldAttributesRequestSubject) MarshalBinary() ([]byte, error)
- func (m *HelloWorldAttributesRequestSubject) UnmarshalBinary(b []byte) error
- func (m *HelloWorldAttributesRequestSubject) Validate(formats strfmt.Registry) error
- type ID
- type IgnoreType
- type Image
- type ImageAttributes
- type ImageDigest
- type ImageName
- type ImageRelationships
- type ImageRelationshipsImageTargetRefs
- func (m *ImageRelationshipsImageTargetRefs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImageRelationshipsImageTargetRefs) MarshalBinary() ([]byte, error)
- func (m *ImageRelationshipsImageTargetRefs) UnmarshalBinary(b []byte) error
- func (m *ImageRelationshipsImageTargetRefs) Validate(formats strfmt.Registry) error
- type ImageTargetRef
- type ImageTargetRefAttributes
- func (m *ImageTargetRefAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImageTargetRefAttributes) MarshalBinary() ([]byte, error)
- func (m *ImageTargetRefAttributes) UnmarshalBinary(b []byte) error
- func (m *ImageTargetRefAttributes) Validate(formats strfmt.Registry) error
- type InheritFromParent
- type IsActive
- type IsConfidential
- type IsEnabled
- type IsPublic
- type Issue
- type IssueAttributes
- type IssueRelationships
- type IssueRelationshipsIgnore
- func (m *IssueRelationshipsIgnore) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsIgnore) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsIgnore) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsIgnore) Validate(formats strfmt.Registry) error
- type IssueRelationshipsIgnoreData
- func (m *IssueRelationshipsIgnoreData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsIgnoreData) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsIgnoreData) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsIgnoreData) Validate(formats strfmt.Registry) error
- type IssueRelationshipsOrganization
- func (m *IssueRelationshipsOrganization) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsOrganization) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsOrganization) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsOrganization) Validate(formats strfmt.Registry) error
- type IssueRelationshipsOrganizationData
- func (m *IssueRelationshipsOrganizationData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsOrganizationData) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsOrganizationData) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsOrganizationData) Validate(formats strfmt.Registry) error
- type IssueRelationshipsScanItem
- func (m *IssueRelationshipsScanItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsScanItem) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsScanItem) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsScanItem) Validate(formats strfmt.Registry) error
- type IssueRelationshipsScanItemData
- func (m *IssueRelationshipsScanItemData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsScanItemData) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsScanItemData) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsScanItemData) Validate(formats strfmt.Registry) error
- type IssueRelationshipsTestExecutions
- func (m *IssueRelationshipsTestExecutions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsTestExecutions) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsTestExecutions) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsTestExecutions) Validate(formats strfmt.Registry) error
- type IssueRelationshipsTestExecutionsDataItems0
- func (m *IssueRelationshipsTestExecutionsDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueRelationshipsTestExecutionsDataItems0) MarshalBinary() ([]byte, error)
- func (m *IssueRelationshipsTestExecutionsDataItems0) UnmarshalBinary(b []byte) error
- func (m *IssueRelationshipsTestExecutionsDataItems0) Validate(formats strfmt.Registry) error
- type IssueType
- type IssuesMeta
- type IssuesResponse
- type IssuesWithPurlsResponse
- func (m *IssuesWithPurlsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssuesWithPurlsResponse) MarshalBinary() ([]byte, error)
- func (m *IssuesWithPurlsResponse) UnmarshalBinary(b []byte) error
- func (m *IssuesWithPurlsResponse) Validate(formats strfmt.Registry) error
- type IssuesWithPurlsResponseMeta
- func (m *IssuesWithPurlsResponseMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssuesWithPurlsResponseMeta) MarshalBinary() ([]byte, error)
- func (m *IssuesWithPurlsResponseMeta) UnmarshalBinary(b []byte) error
- func (m *IssuesWithPurlsResponseMeta) Validate(formats strfmt.Registry) error
- type IssuesWithPurlsResponseMetaErrorsItems0
- func (m *IssuesWithPurlsResponseMetaErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0) MarshalBinary() ([]byte, error)
- func (m *IssuesWithPurlsResponseMetaErrorsItems0) UnmarshalBinary(b []byte) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0) Validate(formats strfmt.Registry) error
- type IssuesWithPurlsResponseMetaErrorsItems0Links
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) Validate(formats strfmt.Registry) error
- type IssuesWithPurlsResponseMetaErrorsItems0Source
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) Validate(formats strfmt.Registry) error
- type JSONAPI
- type LatestDependencyTotal
- type LatestIssueCounts
- type LinkProperty
- type Links
- type ManualRemediationPRsSettings
- func (m *ManualRemediationPRsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ManualRemediationPRsSettings) MarshalBinary() ([]byte, error)
- func (m *ManualRemediationPRsSettings) UnmarshalBinary(b []byte) error
- func (m *ManualRemediationPRsSettings) Validate(formats strfmt.Registry) error
- type MemberRoleRelationship
- func (m *MemberRoleRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MemberRoleRelationship) MarshalBinary() ([]byte, error)
- func (m *MemberRoleRelationship) UnmarshalBinary(b []byte) error
- func (m *MemberRoleRelationship) Validate(formats strfmt.Registry) error
- type MemberRoleRelationshipData
- func (m *MemberRoleRelationshipData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MemberRoleRelationshipData) MarshalBinary() ([]byte, error)
- func (m *MemberRoleRelationshipData) UnmarshalBinary(b []byte) error
- func (m *MemberRoleRelationshipData) Validate(formats strfmt.Registry) error
- type Meta
- type Name
- type NugetBuildArgs
- type OSConditionRiskFactor
- type OciRegistryTag
- type OciRegistryURL
- type Org
- type OrgAttributes
- type OrgIacSettingsRequest
- type OrgIacSettingsRequestAttributes
- func (m *OrgIacSettingsRequestAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsRequestAttributes) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsRequestAttributes) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsRequestAttributes) Validate(formats strfmt.Registry) error
- type OrgIacSettingsRequestAttributesCustomRules
- func (m *OrgIacSettingsRequestAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsRequestAttributesCustomRules) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsRequestAttributesCustomRules) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsRequestAttributesCustomRules) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponse
- func (m *OrgIacSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponse) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponse) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponse) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponseAttributes
- func (m *OrgIacSettingsResponseAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponseAttributes) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponseAttributes) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponseAttributes) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponseAttributesCustomRules
- func (m *OrgIacSettingsResponseAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponseAttributesCustomRules) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponseAttributesCustomRules) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponseAttributesCustomRules) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponseAttributesCustomRulesParents
- func (m *OrgIacSettingsResponseAttributesCustomRulesParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParents) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponseAttributesCustomRulesParents) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParents) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponseAttributesCustomRulesParentsGroup
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) Validate(formats strfmt.Registry) error
- type OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) MarshalBinary() ([]byte, error)
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) UnmarshalBinary(b []byte) error
- func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) Validate(formats strfmt.Registry) error
- type OrgInvitation
- type OrgInvitationAttributes
- func (m *OrgInvitationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgInvitationAttributes) MarshalBinary() ([]byte, error)
- func (m *OrgInvitationAttributes) UnmarshalBinary(b []byte) error
- func (m *OrgInvitationAttributes) Validate(formats strfmt.Registry) error
- type OrgInvitationPostAttributes
- func (m *OrgInvitationPostAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgInvitationPostAttributes) MarshalBinary() ([]byte, error)
- func (m *OrgInvitationPostAttributes) UnmarshalBinary(b []byte) error
- func (m *OrgInvitationPostAttributes) Validate(formats strfmt.Registry) error
- type OrgInvitationPostData
- type OrgInvitationPostDataRelationships
- func (m *OrgInvitationPostDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgInvitationPostDataRelationships) MarshalBinary() ([]byte, error)
- func (m *OrgInvitationPostDataRelationships) UnmarshalBinary(b []byte) error
- func (m *OrgInvitationPostDataRelationships) Validate(formats strfmt.Registry) error
- type OrgInvitationRelationships
- func (m *OrgInvitationRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgInvitationRelationships) MarshalBinary() ([]byte, error)
- func (m *OrgInvitationRelationships) UnmarshalBinary(b []byte) error
- func (m *OrgInvitationRelationships) Validate(formats strfmt.Registry) error
- type OrgRelationships
- type OrgRoleAttributes
- type OrgUpdateAttributes
- type OrgWithRelationships
- type OrganizationType
- type Package
- type PackageMeta
- type PackageRepresentation
- type PaginatedLinks
- type PatchProjectRequest
- type PatchProjectRequestData
- func (m *PatchProjectRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestData) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestData) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestData) Validate(formats strfmt.Registry) error
- type PatchProjectRequestDataAttributes
- func (m *PatchProjectRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestDataAttributes) Validate(formats strfmt.Registry) error
- type PatchProjectRequestDataAttributesTagsItems0
- func (m *PatchProjectRequestDataAttributesTagsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestDataAttributesTagsItems0) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestDataAttributesTagsItems0) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestDataAttributesTagsItems0) Validate(formats strfmt.Registry) error
- type PatchProjectRequestDataRelationships
- func (m *PatchProjectRequestDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestDataRelationships) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestDataRelationships) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestDataRelationships) Validate(formats strfmt.Registry) error
- type PatchProjectRequestDataRelationshipsOwner
- func (m *PatchProjectRequestDataRelationshipsOwner) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestDataRelationshipsOwner) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestDataRelationshipsOwner) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestDataRelationshipsOwner) Validate(formats strfmt.Registry) error
- type PatchProjectRequestDataRelationshipsOwnerData
- func (m *PatchProjectRequestDataRelationshipsOwnerData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchProjectRequestDataRelationshipsOwnerData) MarshalBinary() ([]byte, error)
- func (m *PatchProjectRequestDataRelationshipsOwnerData) UnmarshalBinary(b []byte) error
- func (m *PatchProjectRequestDataRelationshipsOwnerData) Validate(formats strfmt.Registry) error
- type Platform
- type Problem
- type ProblemTypeDef
- type ProjectAttributes
- type ProjectAttributesTagsItems0
- func (m *ProjectAttributesTagsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectAttributesTagsItems0) MarshalBinary() ([]byte, error)
- func (m *ProjectAttributesTagsItems0) UnmarshalBinary(b []byte) error
- func (m *ProjectAttributesTagsItems0) Validate(formats strfmt.Registry) error
- type ProjectMeta
- type ProjectOfCollection
- type ProjectOfCollectionRelationships
- func (m *ProjectOfCollectionRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectOfCollectionRelationships) MarshalBinary() ([]byte, error)
- func (m *ProjectOfCollectionRelationships) UnmarshalBinary(b []byte) error
- func (m *ProjectOfCollectionRelationships) Validate(formats strfmt.Registry) error
- type ProjectOfCollectionRelationshipsTarget
- func (m *ProjectOfCollectionRelationshipsTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectOfCollectionRelationshipsTarget) MarshalBinary() ([]byte, error)
- func (m *ProjectOfCollectionRelationshipsTarget) UnmarshalBinary(b []byte) error
- func (m *ProjectOfCollectionRelationshipsTarget) Validate(formats strfmt.Registry) error
- type ProjectOfCollectionRelationshipsTargetData
- func (m *ProjectOfCollectionRelationshipsTargetData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectOfCollectionRelationshipsTargetData) MarshalBinary() ([]byte, error)
- func (m *ProjectOfCollectionRelationshipsTargetData) UnmarshalBinary(b []byte) error
- func (m *ProjectOfCollectionRelationshipsTargetData) Validate(formats strfmt.Registry) error
- type ProjectRelationships
- type ProjectRelationshipsTarget
- func (m *ProjectRelationshipsTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectRelationshipsTarget) MarshalBinary() ([]byte, error)
- func (m *ProjectRelationshipsTarget) UnmarshalBinary(b []byte) error
- func (m *ProjectRelationshipsTarget) Validate(formats strfmt.Registry) error
- type ProjectRelationshipsTargetData
- func (m *ProjectRelationshipsTargetData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectRelationshipsTargetData) MarshalBinary() ([]byte, error)
- func (m *ProjectRelationshipsTargetData) UnmarshalBinary(b []byte) error
- func (m *ProjectRelationshipsTargetData) Validate(formats strfmt.Registry) error
- type ProjectRelationshipsTargetDataAttributes
- func (m *ProjectRelationshipsTargetDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectRelationshipsTargetDataAttributes) MarshalBinary() ([]byte, error)
- func (m *ProjectRelationshipsTargetDataAttributes) UnmarshalBinary(b []byte) error
- func (m *ProjectRelationshipsTargetDataAttributes) Validate(formats strfmt.Registry) error
- type ProjectRelationshipsTargetDataMeta
- func (m *ProjectRelationshipsTargetDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectRelationshipsTargetDataMeta) MarshalBinary() ([]byte, error)
- func (m *ProjectRelationshipsTargetDataMeta) UnmarshalBinary(b []byte) error
- func (m *ProjectRelationshipsTargetDataMeta) Validate(formats strfmt.Registry) error
- type ProjectSettings
- type ProjectSettingsData
- type ProjectSettingsDataAttributes
- func (m *ProjectSettingsDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectSettingsDataAttributes) MarshalBinary() ([]byte, error)
- func (m *ProjectSettingsDataAttributes) UnmarshalBinary(b []byte) error
- func (m *ProjectSettingsDataAttributes) Validate(formats strfmt.Registry) error
- type ProjectSettingsPatchRequest
- func (m *ProjectSettingsPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectSettingsPatchRequest) MarshalBinary() ([]byte, error)
- func (m *ProjectSettingsPatchRequest) UnmarshalBinary(b []byte) error
- func (m *ProjectSettingsPatchRequest) Validate(formats strfmt.Registry) error
- type ProjectSettingsPatchRequestData
- func (m *ProjectSettingsPatchRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectSettingsPatchRequestData) MarshalBinary() ([]byte, error)
- func (m *ProjectSettingsPatchRequestData) UnmarshalBinary(b []byte) error
- func (m *ProjectSettingsPatchRequestData) Validate(formats strfmt.Registry) error
- type ProjectSettingsPatchRequestDataAttributes
- func (m *ProjectSettingsPatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProjectSettingsPatchRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *ProjectSettingsPatchRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *ProjectSettingsPatchRequestDataAttributes) Validate(formats strfmt.Registry) error
- type PublicApp
- type PublicAppAttributes
- type PublicAppData
- type PublicAppDataAttributes
- func (m *PublicAppDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicAppDataAttributes) MarshalBinary() ([]byte, error)
- func (m *PublicAppDataAttributes) UnmarshalBinary(b []byte) error
- func (m *PublicAppDataAttributes) Validate(formats strfmt.Registry) error
- type PublicFacingRiskFactor
- func (m *PublicFacingRiskFactor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicFacingRiskFactor) MarshalBinary() ([]byte, error)
- func (m *PublicFacingRiskFactor) UnmarshalBinary(b []byte) error
- func (m *PublicFacingRiskFactor) Validate(formats strfmt.Registry) error
- type PullRequestAssignmentSettings
- func (m *PullRequestAssignmentSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PullRequestAssignmentSettings) MarshalBinary() ([]byte, error)
- func (m *PullRequestAssignmentSettings) UnmarshalBinary(b []byte) error
- func (m *PullRequestAssignmentSettings) Validate(formats strfmt.Registry) error
- type PullRequestsSettings
- type QueryVersion
- type RecurringTestsSettings
- func (m *RecurringTestsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RecurringTestsSettings) MarshalBinary() ([]byte, error)
- func (m *RecurringTestsSettings) UnmarshalBinary(b []byte) error
- func (m *RecurringTestsSettings) Validate(formats strfmt.Registry) error
- type RedirectUris
- type RedirectUrisNoMin
- type Region
- type RelatedLink
- type Relationship
- type RelationshipData
- type Remedy
- type RemedyMetadata
- type Resolution
- type ResolutionTypeDef
- type Resource
- type ResourcePath
- type ResourcePathRepresentation
- func (m *ResourcePathRepresentation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcePathRepresentation) MarshalBinary() ([]byte, error)
- func (m *ResourcePathRepresentation) UnmarshalBinary(b []byte) error
- func (m *ResourcePathRepresentation) Validate(formats strfmt.Registry) error
- type Risk
- type RiskFactor
- type RiskFactorLinks
- type RiskScore
- type SastEnablement
- type SastEnablementAttributes
- func (m *SastEnablementAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SastEnablementAttributes) MarshalBinary() ([]byte, error)
- func (m *SastEnablementAttributes) UnmarshalBinary(b []byte) error
- func (m *SastEnablementAttributes) Validate(formats strfmt.Registry) error
- type SbomResource
- type SbomResponse
- type ScanItemType
- type Scopes
- type SelfLink
- type ServiceAccount
- type ServiceAccountAttributes
- func (m *ServiceAccountAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceAccountAttributes) MarshalBinary() ([]byte, error)
- func (m *ServiceAccountAttributes) UnmarshalBinary(b []byte) error
- func (m *ServiceAccountAttributes) Validate(formats strfmt.Registry) error
- type ServiceAccountLinks
- type SessionAttributes
- type SessionData
- type SettingsAttributes
- type SettingsRequest
- type SettingsRequestData
- type Severity
- type SeverityThreshold
- type SlackChannel
- type SlackChannelAttributes
- func (m *SlackChannelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SlackChannelAttributes) MarshalBinary() ([]byte, error)
- func (m *SlackChannelAttributes) UnmarshalBinary(b []byte) error
- func (m *SlackChannelAttributes) Validate(formats strfmt.Registry) error
- type SlackDefaultSettingsData
- func (m *SlackDefaultSettingsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SlackDefaultSettingsData) MarshalBinary() ([]byte, error)
- func (m *SlackDefaultSettingsData) UnmarshalBinary(b []byte) error
- func (m *SlackDefaultSettingsData) Validate(formats strfmt.Registry) error
- type SlackDefaultSettingsDataAttributes
- func (m *SlackDefaultSettingsDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SlackDefaultSettingsDataAttributes) MarshalBinary() ([]byte, error)
- func (m *SlackDefaultSettingsDataAttributes) UnmarshalBinary(b []byte) error
- func (m *SlackDefaultSettingsDataAttributes) Validate(formats strfmt.Registry) error
- type Slots
- type SlotsReferencesItems0
- type SourceLocation
- type SpdxDocument
- type TargetChannelID
- type TargetChannelName
- type TestExecutionType
- type Type
- type TypeDef
- type Types
- type UUID
- type UpdateCollectionRequest
- func (m *UpdateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCollectionRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateCollectionRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateCollectionRequest) Validate(formats strfmt.Registry) error
- type UpdateCollectionRequestData
- func (m *UpdateCollectionRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCollectionRequestData) MarshalBinary() ([]byte, error)
- func (m *UpdateCollectionRequestData) UnmarshalBinary(b []byte) error
- func (m *UpdateCollectionRequestData) Validate(formats strfmt.Registry) error
- type UpdateCollectionRequestDataAttributes
- func (m *UpdateCollectionRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCollectionRequestDataAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateCollectionRequestDataAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateCollectionRequestDataAttributes) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsRequest
- func (m *UpdateCollectionWithProjectsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCollectionWithProjectsRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateCollectionWithProjectsRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateCollectionWithProjectsRequest) Validate(formats strfmt.Registry) error
- type UpdateCollectionWithProjectsRequestDataItems0
- func (m *UpdateCollectionWithProjectsRequestDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCollectionWithProjectsRequestDataItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateCollectionWithProjectsRequestDataItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateCollectionWithProjectsRequestDataItems0) Validate(formats strfmt.Registry) error
- type Updated
- func (m Updated) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Updated) MarshalBinary() ([]byte, error)
- func (m Updated) MarshalJSON() ([]byte, error)
- func (m *Updated) UnmarshalBinary(b []byte) error
- func (m *Updated) UnmarshalJSON(b []byte) error
- func (m Updated) Validate(formats strfmt.Registry) error
- type VersioningSchema
- func (m *VersioningSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VersioningSchema) MarshalBinary() ([]byte, error)
- func (m VersioningSchema) MarshalJSON() ([]byte, error)
- func (m *VersioningSchema) UnmarshalBinary(b []byte) error
- func (m *VersioningSchema) UnmarshalJSON(raw []byte) error
- func (m *VersioningSchema) Validate(formats strfmt.Registry) error
- type VersioningSchemaAllOf0
- type VersioningSchemaCustomType
- func (m *VersioningSchemaCustomType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VersioningSchemaCustomType) MarshalBinary() ([]byte, error)
- func (m *VersioningSchemaCustomType) UnmarshalBinary(b []byte) error
- func (m *VersioningSchemaCustomType) Validate(formats strfmt.Registry) error
- type VersioningSchemaSemverType
- func (m *VersioningSchemaSemverType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VersioningSchemaSemverType) MarshalBinary() ([]byte, error)
- func (m *VersioningSchemaSemverType) UnmarshalBinary(b []byte) error
- func (m *VersioningSchemaSemverType) Validate(formats strfmt.Registry) error
- type VersioningSchemaSingleSelectionType
- func (m *VersioningSchemaSingleSelectionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VersioningSchemaSingleSelectionType) MarshalBinary() ([]byte, error)
- func (m *VersioningSchemaSingleSelectionType) UnmarshalBinary(b []byte) error
- func (m *VersioningSchemaSingleSelectionType) Validate(formats strfmt.Registry) error
- type YarnBuildArgs
Constants ¶
const ( // CommonIssueModelAttributesEffectiveSeverityLevelInfo captures enum value "info" CommonIssueModelAttributesEffectiveSeverityLevelInfo string = "info" // CommonIssueModelAttributesEffectiveSeverityLevelLow captures enum value "low" CommonIssueModelAttributesEffectiveSeverityLevelLow string = "low" // CommonIssueModelAttributesEffectiveSeverityLevelMedium captures enum value "medium" CommonIssueModelAttributesEffectiveSeverityLevelMedium string = "medium" // CommonIssueModelAttributesEffectiveSeverityLevelHigh captures enum value "high" CommonIssueModelAttributesEffectiveSeverityLevelHigh string = "high" // CommonIssueModelAttributesEffectiveSeverityLevelCritical captures enum value "critical" CommonIssueModelAttributesEffectiveSeverityLevelCritical string = "critical" )
const ( // CommonIssueModelVTwoAttributesEffectiveSeverityLevelInfo captures enum value "info" CommonIssueModelVTwoAttributesEffectiveSeverityLevelInfo string = "info" // CommonIssueModelVTwoAttributesEffectiveSeverityLevelLow captures enum value "low" CommonIssueModelVTwoAttributesEffectiveSeverityLevelLow string = "low" // CommonIssueModelVTwoAttributesEffectiveSeverityLevelMedium captures enum value "medium" CommonIssueModelVTwoAttributesEffectiveSeverityLevelMedium string = "medium" // CommonIssueModelVTwoAttributesEffectiveSeverityLevelHigh captures enum value "high" CommonIssueModelVTwoAttributesEffectiveSeverityLevelHigh string = "high" // CommonIssueModelVTwoAttributesEffectiveSeverityLevelCritical captures enum value "critical" CommonIssueModelVTwoAttributesEffectiveSeverityLevelCritical string = "critical" )
const ( // IssueAttributesEffectiveSeverityLevelInfo captures enum value "info" IssueAttributesEffectiveSeverityLevelInfo string = "info" // IssueAttributesEffectiveSeverityLevelLow captures enum value "low" IssueAttributesEffectiveSeverityLevelLow string = "low" // IssueAttributesEffectiveSeverityLevelMedium captures enum value "medium" IssueAttributesEffectiveSeverityLevelMedium string = "medium" // IssueAttributesEffectiveSeverityLevelHigh captures enum value "high" IssueAttributesEffectiveSeverityLevelHigh string = "high" // IssueAttributesEffectiveSeverityLevelCritical captures enum value "critical" IssueAttributesEffectiveSeverityLevelCritical string = "critical" )
const ( // IssueAttributesStatusOpen captures enum value "open" IssueAttributesStatusOpen string = "open" // IssueAttributesStatusResolved captures enum value "resolved" IssueAttributesStatusResolved string = "resolved" )
const ( // PatchProjectRequestDataAttributesTestFrequencyDaily captures enum value "daily" PatchProjectRequestDataAttributesTestFrequencyDaily string = "daily" // PatchProjectRequestDataAttributesTestFrequencyWeekly captures enum value "weekly" PatchProjectRequestDataAttributesTestFrequencyWeekly string = "weekly" // PatchProjectRequestDataAttributesTestFrequencyNever captures enum value "never" PatchProjectRequestDataAttributesTestFrequencyNever string = "never" )
const ( // ProjectAttributesStatusActive captures enum value "active" ProjectAttributesStatusActive string = "active" // ProjectAttributesStatusInactive captures enum value "inactive" ProjectAttributesStatusInactive string = "inactive" )
const ( // PublicAppDataAttributesContextTenant captures enum value "tenant" PublicAppDataAttributesContextTenant string = "tenant" // PublicAppDataAttributesContextUser captures enum value "user" PublicAppDataAttributesContextUser string = "user" )
const ( // PullRequestAssignmentSettingsTypeAuto captures enum value "auto" PullRequestAssignmentSettingsTypeAuto string = "auto" // PullRequestAssignmentSettingsTypeManual captures enum value "manual" PullRequestAssignmentSettingsTypeManual string = "manual" )
const ( // PullRequestsSettingsPolicyAll captures enum value "all" PullRequestsSettingsPolicyAll string = "all" // PullRequestsSettingsPolicyOnlyNew captures enum value "only_new" PullRequestsSettingsPolicyOnlyNew string = "only_new" )
const ( // PullRequestsSettingsSeverityThresholdLow captures enum value "low" PullRequestsSettingsSeverityThresholdLow string = "low" // PullRequestsSettingsSeverityThresholdMedium captures enum value "medium" PullRequestsSettingsSeverityThresholdMedium string = "medium" // PullRequestsSettingsSeverityThresholdHigh captures enum value "high" PullRequestsSettingsSeverityThresholdHigh string = "high" // PullRequestsSettingsSeverityThresholdCritical captures enum value "critical" PullRequestsSettingsSeverityThresholdCritical string = "critical" )
const ( // RecurringTestsSettingsFrequencyDaily captures enum value "daily" RecurringTestsSettingsFrequencyDaily string = "daily" // RecurringTestsSettingsFrequencyWeekly captures enum value "weekly" RecurringTestsSettingsFrequencyWeekly string = "weekly" // RecurringTestsSettingsFrequencyNever captures enum value "never" RecurringTestsSettingsFrequencyNever string = "never" )
const ( // RemedyTypeIndeterminate captures enum value "indeterminate" RemedyTypeIndeterminate string = "indeterminate" // RemedyTypeManual captures enum value "manual" RemedyTypeManual string = "manual" // RemedyTypeAutomated captures enum value "automated" RemedyTypeAutomated string = "automated" // RemedyTypeRuleResultMessage captures enum value "rule_result_message" RemedyTypeRuleResultMessage string = "rule_result_message" // RemedyTypeTerraform captures enum value "terraform" RemedyTypeTerraform string = "terraform" // RemedyTypeCloudformation captures enum value "cloudformation" RemedyTypeCloudformation string = "cloudformation" // RemedyTypeCli captures enum value "cli" RemedyTypeCli string = "cli" // RemedyTypeKubernetes captures enum value "kubernetes" RemedyTypeKubernetes string = "kubernetes" // RemedyTypeArm captures enum value "arm" RemedyTypeArm string = "arm" )
const ( // ResourceInputTypeCloudScan captures enum value "cloud_scan" ResourceInputTypeCloudScan string = "cloud_scan" // ResourceInputTypeArm captures enum value "arm" ResourceInputTypeArm string = "arm" // ResourceInputTypeK8s captures enum value "k8s" ResourceInputTypeK8s string = "k8s" // ResourceInputTypeTf captures enum value "tf" ResourceInputTypeTf string = "tf" // ResourceInputTypeTfHcl captures enum value "tf_hcl" ResourceInputTypeTfHcl string = "tf_hcl" // ResourceInputTypeTfPlan captures enum value "tf_plan" ResourceInputTypeTfPlan string = "tf_plan" // ResourceInputTypeTfState captures enum value "tf_state" ResourceInputTypeTfState string = "tf_state" // ResourceInputTypeCfn captures enum value "cfn" ResourceInputTypeCfn string = "cfn" )
const ( // ResourceTypeCloud captures enum value "cloud" ResourceTypeCloud string = "cloud" // ResourceTypeIac captures enum value "iac" ResourceTypeIac string = "iac" )
const ( // ServiceAccountAttributesAuthTypeAPIKey captures enum value "api_key" ServiceAccountAttributesAuthTypeAPIKey string = "api_key" // ServiceAccountAttributesAuthTypeOauthClientSecret captures enum value "oauth_client_secret" ServiceAccountAttributesAuthTypeOauthClientSecret string = "oauth_client_secret" // ServiceAccountAttributesAuthTypeOauthPrivateKeyJwt captures enum value "oauth_private_key_jwt" ServiceAccountAttributesAuthTypeOauthPrivateKeyJwt string = "oauth_private_key_jwt" )
const ( // ServiceAccountAttributesLevelGroup captures enum value "Group" ServiceAccountAttributesLevelGroup string = "Group" // ServiceAccountAttributesLevelOrg captures enum value "Org" ServiceAccountAttributesLevelOrg string = "Org" )
const ( // SlackChannelAttributesTypePublic captures enum value "public" SlackChannelAttributesTypePublic string = "public" // SlackChannelAttributesTypePrivate captures enum value "private" SlackChannelAttributesTypePrivate string = "private" // SlackChannelAttributesTypeDirectMessage captures enum value "direct_message" SlackChannelAttributesTypeDirectMessage string = "direct_message" // SlackChannelAttributesTypeMultipartyDirectMessage captures enum value "multiparty_direct_message" SlackChannelAttributesTypeMultipartyDirectMessage string = "multiparty_direct_message" )
const ( // AppPatchRequestDataTypeApp captures enum value "app" AppPatchRequestDataTypeApp string = "app" )
const ( // AppPostRequestDataTypeApp captures enum value "app" AppPostRequestDataTypeApp string = "app" )
const ( // CycloneDxDocumentBomFormatCycloneDX captures enum value "CycloneDX" CycloneDxDocumentBomFormatCycloneDX string = "CycloneDX" )
const ( // DeleteProjectsFromCollectionRequestDataItems0TypeProject captures enum value "project" DeleteProjectsFromCollectionRequestDataItems0TypeProject string = "project" )
const ( // ImageTargetRefTypeImageTargetReference captures enum value "image_target_reference" ImageTargetRefTypeImageTargetReference string = "image_target_reference" )
const ( // ImageTypeContainerImage captures enum value "container_image" ImageTypeContainerImage string = "container_image" )
const ( // OrgInvitationPostDataTypeOrgInvitation captures enum value "org_invitation" OrgInvitationPostDataTypeOrgInvitation string = "org_invitation" )
const ( // OrgInvitationTypeOrgInvitation captures enum value "org_invitation" OrgInvitationTypeOrgInvitation string = "org_invitation" )
const ( // PatchProjectRequestDataTypeProject captures enum value "project" PatchProjectRequestDataTypeProject string = "project" )
const ( // ProjectSettingsPatchRequestDataTypeSlack captures enum value "slack" ProjectSettingsPatchRequestDataTypeSlack string = "slack" )
const ( // SettingsRequestDataTypeSlack captures enum value "slack" SettingsRequestDataTypeSlack string = "slack" )
const ( // UpdateCollectionWithProjectsRequestDataItems0TypeProject captures enum value "project" UpdateCollectionWithProjectsRequestDataItems0TypeProject string = "project" )
const ( // VersioningSchemaCustomTypeTypeCustom captures enum value "custom" VersioningSchemaCustomTypeTypeCustom string = "custom" )
const ( // VersioningSchemaSemverTypeTypeSemver captures enum value "semver" VersioningSchemaSemverTypeTypeSemver string = "semver" )
const ( // VersioningSchemaSingleSelectionTypeTypeSingleDashSelection captures enum value "single-selection" VersioningSchemaSingleSelectionTypeTypeSingleDashSelection string = "single-selection" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenTTLSeconds ¶
type AccessTokenTTLSeconds float64
AccessTokenTTLSeconds The access token time to live for your app, in seconds. It only affects the newly generated access tokens, existing access token will continue to have their previous time to live as expiration. Example: 3600
swagger:model AccessTokenTtlSeconds
func (AccessTokenTTLSeconds) ContextValidate ¶
ContextValidate validates this access token Ttl seconds based on context it is used
type ActualVersion ¶
type ActualVersion string
ActualVersion Resolved API version
swagger:model ActualVersion
func (ActualVersion) ContextValidate ¶
ContextValidate validates this actual version based on context it is used
type AppBot ¶
type AppBot struct { // attributes Attributes interface{} `json:"attributes,omitempty"` // id // Required: true // Format: uuid ID *ID `json:"id"` // links Links *Links `json:"links,omitempty"` // relationships // Required: true Relationships *AppBotRelationships `json:"relationships"` // type // Required: true Type *Type `json:"type"` }
AppBot app bot
swagger:model AppBot
func (*AppBot) ContextValidate ¶
ContextValidate validate this app bot based on the context it is used
func (*AppBot) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppBot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppBotRelationships ¶
type AppBotRelationships struct { // app // Required: true App *AppBotRelationshipsApp `json:"app"` }
AppBotRelationships app bot relationships
swagger:model AppBotRelationships
func (*AppBotRelationships) ContextValidate ¶
ContextValidate validate this app bot relationships based on the context it is used
func (*AppBotRelationships) MarshalBinary ¶
func (m *AppBotRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppBotRelationships) UnmarshalBinary ¶
func (m *AppBotRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppBotRelationshipsApp ¶
type AppBotRelationshipsApp struct { // data Data *PublicApp `json:"data,omitempty"` }
AppBotRelationshipsApp app bot relationships app
swagger:model AppBotRelationshipsApp
func (*AppBotRelationshipsApp) ContextValidate ¶
func (m *AppBotRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app bot relationships app based on the context it is used
func (*AppBotRelationshipsApp) MarshalBinary ¶
func (m *AppBotRelationshipsApp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppBotRelationshipsApp) UnmarshalBinary ¶
func (m *AppBotRelationshipsApp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppData ¶
type AppData struct { // attributes // Required: true Attributes *AppResourceAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *ID `json:"id"` // type // Required: true Type *Type `json:"type"` }
AppData app data
swagger:model AppData
func (*AppData) ContextValidate ¶
ContextValidate validate this app data based on the context it is used
func (*AppData) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppDataWithSecret ¶
type AppDataWithSecret struct { // attributes // Required: true Attributes *AppResourceAttributesWithSecret `json:"attributes"` // id // Required: true // Format: uuid ID *ID `json:"id"` // type // Required: true Type *Type `json:"type"` }
AppDataWithSecret app data with secret
swagger:model AppDataWithSecret
func (*AppDataWithSecret) ContextValidate ¶
ContextValidate validate this app data with secret based on the context it is used
func (*AppDataWithSecret) MarshalBinary ¶
func (m *AppDataWithSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppDataWithSecret) UnmarshalBinary ¶
func (m *AppDataWithSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallData ¶
type AppInstallData struct { // attributes // Required: true Attributes *AppInstallDataAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *UUID `json:"id"` // links Links *Links `json:"links,omitempty"` // relationships Relationships *AppInstallDataRelationships `json:"relationships,omitempty"` // type // Required: true Type *Type `json:"type"` }
AppInstallData app install data
swagger:model AppInstallData
func (*AppInstallData) ContextValidate ¶
ContextValidate validate this app install data based on the context it is used
func (*AppInstallData) MarshalBinary ¶
func (m *AppInstallData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallData) UnmarshalBinary ¶
func (m *AppInstallData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataAttributes ¶
type AppInstallDataAttributes struct { // client id // Format: uuid ClientID ClientID `json:"client_id,omitempty"` }
AppInstallDataAttributes app install data attributes
swagger:model AppInstallDataAttributes
func (*AppInstallDataAttributes) ContextValidate ¶
func (m *AppInstallDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data attributes based on the context it is used
func (*AppInstallDataAttributes) MarshalBinary ¶
func (m *AppInstallDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataAttributes) UnmarshalBinary ¶
func (m *AppInstallDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataRelationships ¶
type AppInstallDataRelationships struct { // app App *AppInstallDataRelationshipsApp `json:"app,omitempty"` }
AppInstallDataRelationships app install data relationships
swagger:model AppInstallDataRelationships
func (*AppInstallDataRelationships) ContextValidate ¶
func (m *AppInstallDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data relationships based on the context it is used
func (*AppInstallDataRelationships) MarshalBinary ¶
func (m *AppInstallDataRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataRelationships) UnmarshalBinary ¶
func (m *AppInstallDataRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataRelationshipsApp ¶
type AppInstallDataRelationshipsApp struct { // data Data *PublicAppData `json:"data,omitempty"` }
AppInstallDataRelationshipsApp app install data relationships app
swagger:model AppInstallDataRelationshipsApp
func (*AppInstallDataRelationshipsApp) ContextValidate ¶
func (m *AppInstallDataRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data relationships app based on the context it is used
func (*AppInstallDataRelationshipsApp) MarshalBinary ¶
func (m *AppInstallDataRelationshipsApp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataRelationshipsApp) UnmarshalBinary ¶
func (m *AppInstallDataRelationshipsApp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataWithSecret ¶
type AppInstallDataWithSecret struct { // attributes // Required: true Attributes *AppInstallDataWithSecretAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *UUID `json:"id"` // links Links *Links `json:"links,omitempty"` // relationships Relationships *AppInstallDataWithSecretRelationships `json:"relationships,omitempty"` // type // Required: true Type *Type `json:"type"` }
AppInstallDataWithSecret app install data with secret
swagger:model AppInstallDataWithSecret
func (*AppInstallDataWithSecret) ContextValidate ¶
func (m *AppInstallDataWithSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data with secret based on the context it is used
func (*AppInstallDataWithSecret) MarshalBinary ¶
func (m *AppInstallDataWithSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataWithSecret) UnmarshalBinary ¶
func (m *AppInstallDataWithSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataWithSecretAttributes ¶
type AppInstallDataWithSecretAttributes struct { // client id // Required: true // Format: uuid ClientID *ClientID `json:"client_id"` // client secret // Required: true ClientSecret *ClientSecret `json:"client_secret"` }
AppInstallDataWithSecretAttributes app install data with secret attributes
swagger:model AppInstallDataWithSecretAttributes
func (*AppInstallDataWithSecretAttributes) ContextValidate ¶
func (m *AppInstallDataWithSecretAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data with secret attributes based on the context it is used
func (*AppInstallDataWithSecretAttributes) MarshalBinary ¶
func (m *AppInstallDataWithSecretAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataWithSecretAttributes) UnmarshalBinary ¶
func (m *AppInstallDataWithSecretAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataWithSecretRelationships ¶
type AppInstallDataWithSecretRelationships struct { // app App *AppInstallDataWithSecretRelationshipsApp `json:"app,omitempty"` }
AppInstallDataWithSecretRelationships app install data with secret relationships
swagger:model AppInstallDataWithSecretRelationships
func (*AppInstallDataWithSecretRelationships) ContextValidate ¶
func (m *AppInstallDataWithSecretRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data with secret relationships based on the context it is used
func (*AppInstallDataWithSecretRelationships) MarshalBinary ¶
func (m *AppInstallDataWithSecretRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataWithSecretRelationships) UnmarshalBinary ¶
func (m *AppInstallDataWithSecretRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallDataWithSecretRelationshipsApp ¶
type AppInstallDataWithSecretRelationshipsApp struct { // data Data *PublicAppData `json:"data,omitempty"` }
AppInstallDataWithSecretRelationshipsApp app install data with secret relationships app
swagger:model AppInstallDataWithSecretRelationshipsApp
func (*AppInstallDataWithSecretRelationshipsApp) ContextValidate ¶
func (m *AppInstallDataWithSecretRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install data with secret relationships app based on the context it is used
func (*AppInstallDataWithSecretRelationshipsApp) MarshalBinary ¶
func (m *AppInstallDataWithSecretRelationshipsApp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallDataWithSecretRelationshipsApp) UnmarshalBinary ¶
func (m *AppInstallDataWithSecretRelationshipsApp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallWithClient ¶
type AppInstallWithClient struct { // attributes // Required: true Attributes *AppInstallWithClientAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *UUID `json:"id"` // links Links *Links `json:"links,omitempty"` // relationships // Required: true Relationships *AppInstallWithClientRelationships `json:"relationships"` // type // Required: true Type *Type `json:"type"` }
AppInstallWithClient app install with client
swagger:model AppInstallWithClient
func (*AppInstallWithClient) ContextValidate ¶
ContextValidate validate this app install with client based on the context it is used
func (*AppInstallWithClient) MarshalBinary ¶
func (m *AppInstallWithClient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallWithClient) UnmarshalBinary ¶
func (m *AppInstallWithClient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallWithClientAttributes ¶
type AppInstallWithClientAttributes struct { // client id // Required: true // Format: uuid ClientID *strfmt.UUID `json:"client_id"` // client secret // Required: true ClientSecret *string `json:"client_secret"` }
AppInstallWithClientAttributes app install with client attributes
swagger:model AppInstallWithClientAttributes
func (*AppInstallWithClientAttributes) ContextValidate ¶
func (m *AppInstallWithClientAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this app install with client attributes based on context it is used
func (*AppInstallWithClientAttributes) MarshalBinary ¶
func (m *AppInstallWithClientAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallWithClientAttributes) UnmarshalBinary ¶
func (m *AppInstallWithClientAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallWithClientRelationships ¶
type AppInstallWithClientRelationships struct { // app App *AppInstallWithClientRelationshipsApp `json:"app,omitempty"` }
AppInstallWithClientRelationships app install with client relationships
swagger:model AppInstallWithClientRelationships
func (*AppInstallWithClientRelationships) ContextValidate ¶
func (m *AppInstallWithClientRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install with client relationships based on the context it is used
func (*AppInstallWithClientRelationships) MarshalBinary ¶
func (m *AppInstallWithClientRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallWithClientRelationships) UnmarshalBinary ¶
func (m *AppInstallWithClientRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallWithClientRelationshipsApp ¶
type AppInstallWithClientRelationshipsApp struct { // data Data *AppInstallWithClientRelationshipsAppData `json:"data,omitempty"` }
AppInstallWithClientRelationshipsApp app install with client relationships app
swagger:model AppInstallWithClientRelationshipsApp
func (*AppInstallWithClientRelationshipsApp) ContextValidate ¶
func (m *AppInstallWithClientRelationshipsApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install with client relationships app based on the context it is used
func (*AppInstallWithClientRelationshipsApp) MarshalBinary ¶
func (m *AppInstallWithClientRelationshipsApp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallWithClientRelationshipsApp) UnmarshalBinary ¶
func (m *AppInstallWithClientRelationshipsApp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInstallWithClientRelationshipsAppData ¶
type AppInstallWithClientRelationshipsAppData struct { // id // Required: true // Format: uuid ID *UUID `json:"id"` // type // Required: true Type *Type `json:"type"` }
AppInstallWithClientRelationshipsAppData app install with client relationships app data
swagger:model AppInstallWithClientRelationshipsAppData
func (*AppInstallWithClientRelationshipsAppData) ContextValidate ¶
func (m *AppInstallWithClientRelationshipsAppData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app install with client relationships app data based on the context it is used
func (*AppInstallWithClientRelationshipsAppData) MarshalBinary ¶
func (m *AppInstallWithClientRelationshipsAppData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppInstallWithClientRelationshipsAppData) UnmarshalBinary ¶
func (m *AppInstallWithClientRelationshipsAppData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppName ¶
type AppName string
AppName New name of the app to display to users during authorization flow. Example: My App
swagger:model AppName
func (AppName) ContextValidate ¶
ContextValidate validates this app name based on context it is used
type AppPatchRequest ¶
type AppPatchRequest struct { // data // Required: true Data *AppPatchRequestData `json:"data"` }
AppPatchRequest app patch request
swagger:model AppPatchRequest
func (*AppPatchRequest) ContextValidate ¶
ContextValidate validate this app patch request based on the context it is used
func (*AppPatchRequest) MarshalBinary ¶
func (m *AppPatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPatchRequest) UnmarshalBinary ¶
func (m *AppPatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPatchRequestData ¶
type AppPatchRequestData struct { // attributes Attributes *AppPatchRequestDataAttributes `json:"attributes,omitempty"` // type // Enum: [app] Type string `json:"type,omitempty"` }
AppPatchRequestData app patch request data
swagger:model AppPatchRequestData
func (*AppPatchRequestData) ContextValidate ¶
ContextValidate validate this app patch request data based on the context it is used
func (*AppPatchRequestData) MarshalBinary ¶
func (m *AppPatchRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPatchRequestData) UnmarshalBinary ¶
func (m *AppPatchRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPatchRequestDataAttributes ¶
type AppPatchRequestDataAttributes struct { // access token ttl seconds AccessTokenTTLSeconds AccessTokenTTLSeconds `json:"access_token_ttl_seconds,omitempty"` // name Name AppName `json:"name,omitempty"` // redirect uris RedirectUris RedirectUris `json:"redirect_uris,omitempty"` }
AppPatchRequestDataAttributes app patch request data attributes
Min Properties: 1
swagger:model AppPatchRequestDataAttributes
func (*AppPatchRequestDataAttributes) ContextValidate ¶
func (m *AppPatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app patch request data attributes based on the context it is used
func (*AppPatchRequestDataAttributes) MarshalBinary ¶
func (m *AppPatchRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPatchRequestDataAttributes) UnmarshalBinary ¶
func (m *AppPatchRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPostRequest ¶
type AppPostRequest struct { // data // Required: true Data *AppPostRequestData `json:"data"` }
AppPostRequest app post request
swagger:model AppPostRequest
func (*AppPostRequest) ContextValidate ¶
ContextValidate validate this app post request based on the context it is used
func (*AppPostRequest) MarshalBinary ¶
func (m *AppPostRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPostRequest) UnmarshalBinary ¶
func (m *AppPostRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPostRequestData ¶
type AppPostRequestData struct { // attributes // Required: true Attributes *AppPostRequestDataAttributes `json:"attributes"` // type // Required: true // Enum: [app] Type *string `json:"type"` }
AppPostRequestData app post request data
swagger:model AppPostRequestData
func (*AppPostRequestData) ContextValidate ¶
ContextValidate validate this app post request data based on the context it is used
func (*AppPostRequestData) MarshalBinary ¶
func (m *AppPostRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPostRequestData) UnmarshalBinary ¶
func (m *AppPostRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPostRequestDataAttributes ¶
type AppPostRequestDataAttributes struct { // access token ttl seconds AccessTokenTTLSeconds AccessTokenTTLSeconds `json:"access_token_ttl_seconds,omitempty"` // context // Required: true Context *Context `json:"context"` // name // Required: true Name *AppName `json:"name"` // redirect uris // Required: true RedirectUris RedirectUris `json:"redirect_uris"` // scopes // Required: true Scopes Scopes `json:"scopes"` }
AppPostRequestDataAttributes app post request data attributes
swagger:model AppPostRequestDataAttributes
func (*AppPostRequestDataAttributes) ContextValidate ¶
func (m *AppPostRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app post request data attributes based on the context it is used
func (*AppPostRequestDataAttributes) MarshalBinary ¶
func (m *AppPostRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPostRequestDataAttributes) UnmarshalBinary ¶
func (m *AppPostRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppPostResponse ¶
type AppPostResponse struct { // data Data *AppDataWithSecret `json:"data,omitempty"` // jsonapi Jsonapi *JSONAPI `json:"jsonapi,omitempty"` // links Links *SelfLink `json:"links,omitempty"` }
AppPostResponse app post response
swagger:model AppPostResponse
func (*AppPostResponse) ContextValidate ¶
ContextValidate validate this app post response based on the context it is used
func (*AppPostResponse) MarshalBinary ¶
func (m *AppPostResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppPostResponse) UnmarshalBinary ¶
func (m *AppPostResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppResourceAttributes ¶
type AppResourceAttributes struct { // access token ttl seconds // Required: true AccessTokenTTLSeconds *AccessTokenTTLSeconds `json:"access_token_ttl_seconds"` // client id // Format: uuid ClientID ClientID `json:"client_id,omitempty"` // context // Required: true Context *Context `json:"context"` // grant type // Required: true GrantType *GrantType `json:"grant_type"` // is confidential // Required: true IsConfidential *IsConfidential `json:"is_confidential"` // is public // Required: true IsPublic *IsPublic `json:"is_public"` // name // Required: true Name *AppName `json:"name"` // org public id // Format: uuid OrgPublicID UUID `json:"org_public_id,omitempty"` // redirect uris RedirectUris RedirectUris `json:"redirect_uris,omitempty"` // scopes // Required: true Scopes Scopes `json:"scopes"` }
AppResourceAttributes app resource attributes
swagger:model AppResourceAttributes
func (*AppResourceAttributes) ContextValidate ¶
ContextValidate validate this app resource attributes based on the context it is used
func (*AppResourceAttributes) MarshalBinary ¶
func (m *AppResourceAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppResourceAttributes) UnmarshalBinary ¶
func (m *AppResourceAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppResourceAttributesWithSecret ¶
type AppResourceAttributesWithSecret struct { // access token ttl seconds // Required: true AccessTokenTTLSeconds *AccessTokenTTLSeconds `json:"access_token_ttl_seconds"` // client id // Required: true // Format: uuid ClientID *ClientID `json:"client_id"` // client secret // Required: true ClientSecret *ClientSecret `json:"client_secret"` // context // Required: true Context *Context `json:"context"` // grant type // Required: true GrantType *GrantType `json:"grant_type"` // is confidential // Required: true IsConfidential *IsConfidential `json:"is_confidential"` // is public // Required: true IsPublic *IsPublic `json:"is_public"` // name // Required: true Name *AppName `json:"name"` // org public id // Format: uuid OrgPublicID UUID `json:"org_public_id,omitempty"` // redirect uris // Required: true RedirectUris RedirectUris `json:"redirect_uris"` // scopes // Required: true Scopes Scopes `json:"scopes"` }
AppResourceAttributesWithSecret app resource attributes with secret
swagger:model AppResourceAttributesWithSecret
func (*AppResourceAttributesWithSecret) ContextValidate ¶
func (m *AppResourceAttributesWithSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this app resource attributes with secret based on the context it is used
func (*AppResourceAttributesWithSecret) MarshalBinary ¶
func (m *AppResourceAttributesWithSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppResourceAttributesWithSecret) UnmarshalBinary ¶
func (m *AppResourceAttributesWithSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditLogSearch ¶
type AuditLogSearch struct { // items Items []*AuditLogSearchItemsItems0 `json:"items"` // type Type string `json:"type,omitempty"` }
AuditLogSearch audit log search
swagger:model AuditLogSearch
func (*AuditLogSearch) ContextValidate ¶
ContextValidate validate this audit log search based on the context it is used
func (*AuditLogSearch) MarshalBinary ¶
func (m *AuditLogSearch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuditLogSearch) UnmarshalBinary ¶
func (m *AuditLogSearch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditLogSearchItemsItems0 ¶
type AuditLogSearchItemsItems0 struct { // content Content interface{} `json:"content,omitempty"` // created // Example: 2021-07-01T00:00:00Z // Required: true // Format: date-time Created *strfmt.DateTime `json:"created"` // event // Example: api.access // Required: true Event *string `json:"event"` // group id // Example: 0d3728ec-eebf-484d-9907-ba238019f10b // Format: uuid GroupID strfmt.UUID `json:"group_id,omitempty"` // org id // Example: 0d3728ec-eebf-484d-9907-ba238019f10b // Format: uuid OrgID strfmt.UUID `json:"org_id,omitempty"` // project id // Example: 0d3728ec-eebf-484d-9907-ba238019f10b // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` }
AuditLogSearchItemsItems0 audit log search items items0
swagger:model AuditLogSearchItemsItems0
func (*AuditLogSearchItemsItems0) ContextValidate ¶
func (m *AuditLogSearchItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this audit log search items items0 based on context it is used
func (*AuditLogSearchItemsItems0) MarshalBinary ¶
func (m *AuditLogSearchItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuditLogSearchItemsItems0) UnmarshalBinary ¶
func (m *AuditLogSearchItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoDependencyUpgradeSettings ¶
type AutoDependencyUpgradeSettings struct { // Dependencies which should NOT be included in an automatic upgrade operation. // Example: ["typescript"] IgnoredDependencies []string `json:"ignored_dependencies"` // Automatically raise pull requests to update out-of-date dependencies. // Example: true IsEnabled bool `json:"is_enabled,omitempty"` // Apply the auto dependency integration settings of the Organization to this project. // Example: true IsInherited bool `json:"is_inherited,omitempty"` // Include major version in dependency upgrade recommendation. // Example: true IsMajorUpgradeEnabled bool `json:"is_major_upgrade_enabled,omitempty"` // Limit of dependency upgrade PRs which can be opened simultaneously. When the limit is reached, no new upgrade PRs are created. If specified, must be between 1 and 10. // Example: 10 // Maximum: 10 // Minimum: 1 Limit float64 `json:"limit,omitempty"` // Minimum dependency maturity period in days. If specified, must be between 1 and 365. // Example: 365 MinimumAge float64 `json:"minimum_age,omitempty"` }
AutoDependencyUpgradeSettings Automatically create pull requests on recurring tests for dependencies as upgrades become available. If not specified, settings will be inherited from the Project's integration.
swagger:model AutoDependencyUpgradeSettings
func (*AutoDependencyUpgradeSettings) ContextValidate ¶
func (m *AutoDependencyUpgradeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this auto dependency upgrade settings based on context it is used
func (*AutoDependencyUpgradeSettings) MarshalBinary ¶
func (m *AutoDependencyUpgradeSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoDependencyUpgradeSettings) UnmarshalBinary ¶
func (m *AutoDependencyUpgradeSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoRemediationPRsSettings ¶
type AutoRemediationPRsSettings struct { // Automatically create pull requests on scheduled tests for known (backlog) vulnerabilities. // Example: true IsBacklogPrsEnabled bool `json:"is_backlog_prs_enabled,omitempty"` // Automatically create pull requests on scheduled tests for new vulnerabilities. // Example: true IsFreshPrsEnabled bool `json:"is_fresh_prs_enabled,omitempty"` // Include vulnerability patches in automatic pull requests. // Example: true IsPatchRemediationEnabled bool `json:"is_patch_remediation_enabled,omitempty"` }
AutoRemediationPRsSettings Automatically raise pull requests on recurring tests to fix new and existing vulnerabilities. If not specified, settings will be inherited from the Project's integration.
swagger:model AutoRemediationPRsSettings
func (*AutoRemediationPRsSettings) ContextValidate ¶
func (m *AutoRemediationPRsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this auto remediation p rs settings based on context it is used
func (*AutoRemediationPRsSettings) MarshalBinary ¶
func (m *AutoRemediationPRsSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoRemediationPRsSettings) UnmarshalBinary ¶
func (m *AutoRemediationPRsSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkPackageUrlsRequestBody ¶
type BulkPackageUrlsRequestBody struct { // data // Required: true Data *BulkPackageUrlsRequestBodyData `json:"data"` }
BulkPackageUrlsRequestBody bulk package urls request body
swagger:model BulkPackageUrlsRequestBody
func (*BulkPackageUrlsRequestBody) ContextValidate ¶
func (m *BulkPackageUrlsRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bulk package urls request body based on the context it is used
func (*BulkPackageUrlsRequestBody) MarshalBinary ¶
func (m *BulkPackageUrlsRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkPackageUrlsRequestBody) UnmarshalBinary ¶
func (m *BulkPackageUrlsRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkPackageUrlsRequestBodyData ¶
type BulkPackageUrlsRequestBodyData struct { // attributes // Required: true Attributes *BulkPackageUrlsRequestBodyDataAttributes `json:"attributes"` // type Type Types `json:"type,omitempty"` }
BulkPackageUrlsRequestBodyData bulk package urls request body data
swagger:model BulkPackageUrlsRequestBodyData
func (*BulkPackageUrlsRequestBodyData) ContextValidate ¶
func (m *BulkPackageUrlsRequestBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bulk package urls request body data based on the context it is used
func (*BulkPackageUrlsRequestBodyData) MarshalBinary ¶
func (m *BulkPackageUrlsRequestBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkPackageUrlsRequestBodyData) UnmarshalBinary ¶
func (m *BulkPackageUrlsRequestBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkPackageUrlsRequestBodyDataAttributes ¶
type BulkPackageUrlsRequestBodyDataAttributes struct { // An array of Package URLs (purl). Supported purl types are apk, cargo, cocoapods, composer, deb, gem, generic, golang, hex, maven, npm, nuget, pub, pypi, rpm, and swift. A version for the package is also required. // Required: true Purls []string `json:"purls"` }
BulkPackageUrlsRequestBodyDataAttributes bulk package urls request body data attributes
swagger:model BulkPackageUrlsRequestBodyDataAttributes
func (*BulkPackageUrlsRequestBodyDataAttributes) ContextValidate ¶
func (m *BulkPackageUrlsRequestBodyDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bulk package urls request body data attributes based on context it is used
func (*BulkPackageUrlsRequestBodyDataAttributes) MarshalBinary ¶
func (m *BulkPackageUrlsRequestBodyDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkPackageUrlsRequestBodyDataAttributes) UnmarshalBinary ¶
func (m *BulkPackageUrlsRequestBodyDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Class ¶
type Class struct { // id // Required: true // Max Length: 1024 // Min Length: 1 ID *string `json:"id"` // source // Example: CWE // Required: true // Max Length: 64 // Min Length: 1 Source *string `json:"source"` // type // Required: true Type *ClassTypeDef `json:"type"` // An optional URL for this class. // Max Length: 4096 // Min Length: 1 // Format: uri URL strfmt.URI `json:"url,omitempty"` }
Class class Example: {"id":"CWE-190","source":"CWE","type":"weakness"}
swagger:model Class
func (*Class) ContextValidate ¶
ContextValidate validate this class based on the context it is used
func (*Class) MarshalBinary ¶
MarshalBinary interface implementation
func (*Class) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ClassTypeDef ¶
type ClassTypeDef string
ClassTypeDef class type def Example: compliance
swagger:model ClassTypeDef
const ( // ClassTypeDefRuleDashCategory captures enum value "rule-category" ClassTypeDefRuleDashCategory ClassTypeDef = "rule-category" // ClassTypeDefCompliance captures enum value "compliance" ClassTypeDefCompliance ClassTypeDef = "compliance" // ClassTypeDefWeakness captures enum value "weakness" ClassTypeDefWeakness ClassTypeDef = "weakness" )
func NewClassTypeDef ¶
func NewClassTypeDef(value ClassTypeDef) *ClassTypeDef
func (ClassTypeDef) ContextValidate ¶
ContextValidate validates this class type def based on context it is used
func (ClassTypeDef) Pointer ¶
func (m ClassTypeDef) Pointer() *ClassTypeDef
Pointer returns a pointer to a freshly-allocated ClassTypeDef.
type ClientID ¶
ClientID The oauth2 client id for the app. Example: 941b423a-e0a0-4a33-a7ca-dd9e9e6bd8cf
swagger:model ClientId
func (ClientID) ContextValidate ¶
ContextValidate validates this client Id based on context it is used
type ClientSecret ¶
type ClientSecret string
ClientSecret The oauth2 client secret for the app. This is the only time this secret will be returned, store it securely and don’t lose it. Example: snyk_cs_ctZW0JsWG^Bm`*oPo=mnV26qU_6pjxht\u003c]S_v1
swagger:model ClientSecret
func (ClientSecret) ContextValidate ¶
ContextValidate validates this client secret based on context it is used
type CloudResource ¶
type CloudResource struct { // environment // Required: true Environment *Environment `json:"environment"` // resource Resource *Resource `json:"resource,omitempty"` }
CloudResource cloud resource
swagger:model CloudResource
func (*CloudResource) ContextValidate ¶
ContextValidate validate this cloud resource based on the context it is used
func (*CloudResource) MarshalBinary ¶
func (m *CloudResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudResource) UnmarshalBinary ¶
func (m *CloudResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionAttributes ¶
type CollectionAttributes struct { // is generated IsGenerated bool `json:"is_generated,omitempty"` // name // Required: true Name *Name `json:"name"` }
CollectionAttributes collection attributes
swagger:model CollectionAttributes
func (*CollectionAttributes) ContextValidate ¶
ContextValidate validate this collection attributes based on the context it is used
func (*CollectionAttributes) MarshalBinary ¶
func (m *CollectionAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionAttributes) UnmarshalBinary ¶
func (m *CollectionAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionMeta ¶
type CollectionMeta struct { // The sum of critical severity issues of the collection's projects // Example: 10 // Required: true IssuesCriticalCount *float64 `json:"issues_critical_count"` // The sum of high severity issues of the collection's projects // Example: 10 // Required: true IssuesHighCount *float64 `json:"issues_high_count"` // The sum of low severity issues of the collection's projects // Example: 10 // Required: true IssuesLowCount *float64 `json:"issues_low_count"` // The sum of medium severity issues of the collection's projects // Example: 10 // Required: true IssuesMediumCount *float64 `json:"issues_medium_count"` // The amount of projects belonging to this collection // Example: 7 // Required: true ProjectsCount *float64 `json:"projects_count"` }
CollectionMeta collection meta
swagger:model CollectionMeta
func (*CollectionMeta) ContextValidate ¶
ContextValidate validates this collection meta based on context it is used
func (*CollectionMeta) MarshalBinary ¶
func (m *CollectionMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionMeta) UnmarshalBinary ¶
func (m *CollectionMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionRelationships ¶
type CollectionRelationships struct { // created by user // Required: true CreatedByUser *CollectionRelationshipsCreatedByUser `json:"created_by_user"` // org // Required: true Org *CollectionRelationshipsOrg `json:"org"` }
CollectionRelationships collection relationships
swagger:model CollectionRelationships
func (*CollectionRelationships) ContextValidate ¶
func (m *CollectionRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this collection relationships based on the context it is used
func (*CollectionRelationships) MarshalBinary ¶
func (m *CollectionRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionRelationships) UnmarshalBinary ¶
func (m *CollectionRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionRelationshipsCreatedByUser ¶
type CollectionRelationshipsCreatedByUser struct { // data // Required: true Data *CollectionRelationshipsCreatedByUserData `json:"data"` }
CollectionRelationshipsCreatedByUser collection relationships created by user
swagger:model CollectionRelationshipsCreatedByUser
func (*CollectionRelationshipsCreatedByUser) ContextValidate ¶
func (m *CollectionRelationshipsCreatedByUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this collection relationships created by user based on the context it is used
func (*CollectionRelationshipsCreatedByUser) MarshalBinary ¶
func (m *CollectionRelationshipsCreatedByUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionRelationshipsCreatedByUser) UnmarshalBinary ¶
func (m *CollectionRelationshipsCreatedByUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionRelationshipsCreatedByUserData ¶
type CollectionRelationshipsCreatedByUserData struct { // ID of the user that created the collection. Null for auto-collections. // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true // Enum: [user] Type interface{} `json:"type"` }
CollectionRelationshipsCreatedByUserData collection relationships created by user data
swagger:model CollectionRelationshipsCreatedByUserData
func (*CollectionRelationshipsCreatedByUserData) ContextValidate ¶
func (m *CollectionRelationshipsCreatedByUserData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this collection relationships created by user data based on context it is used
func (*CollectionRelationshipsCreatedByUserData) MarshalBinary ¶
func (m *CollectionRelationshipsCreatedByUserData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionRelationshipsCreatedByUserData) UnmarshalBinary ¶
func (m *CollectionRelationshipsCreatedByUserData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionRelationshipsOrg ¶
type CollectionRelationshipsOrg struct { // data // Required: true Data *CollectionRelationshipsOrgData `json:"data"` }
CollectionRelationshipsOrg collection relationships org
swagger:model CollectionRelationshipsOrg
func (*CollectionRelationshipsOrg) ContextValidate ¶
func (m *CollectionRelationshipsOrg) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this collection relationships org based on the context it is used
func (*CollectionRelationshipsOrg) MarshalBinary ¶
func (m *CollectionRelationshipsOrg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionRelationshipsOrg) UnmarshalBinary ¶
func (m *CollectionRelationshipsOrg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionRelationshipsOrgData ¶
type CollectionRelationshipsOrgData struct { // ID of the org that this collection belongs to // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true // Enum: [org] Type interface{} `json:"type"` }
CollectionRelationshipsOrgData collection relationships org data
swagger:model CollectionRelationshipsOrgData
func (*CollectionRelationshipsOrgData) ContextValidate ¶
func (m *CollectionRelationshipsOrgData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this collection relationships org data based on context it is used
func (*CollectionRelationshipsOrgData) MarshalBinary ¶
func (m *CollectionRelationshipsOrgData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionRelationshipsOrgData) UnmarshalBinary ¶
func (m *CollectionRelationshipsOrgData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CollectionResponse ¶
type CollectionResponse struct { // attributes // Required: true Attributes *CollectionAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // meta // Required: true Meta *CollectionMeta `json:"meta"` // relationships // Required: true Relationships *CollectionRelationships `json:"relationships"` // type // Required: true Type *Types `json:"type"` }
CollectionResponse collection response
swagger:model CollectionResponse
func (*CollectionResponse) ContextValidate ¶
ContextValidate validate this collection response based on the context it is used
func (*CollectionResponse) MarshalBinary ¶
func (m *CollectionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollectionResponse) UnmarshalBinary ¶
func (m *CollectionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModel ¶
type CommonIssueModel struct { // attributes Attributes *CommonIssueModelAttributes `json:"attributes,omitempty"` // The Snyk ID of the vulnerability. // Example: SNYK-JAVA-COMFASTERXMLWOODSTOX-2928754 ID string `json:"id,omitempty"` // The type of the REST resource. Always ‘issue’. // Example: issue Type string `json:"type,omitempty"` }
CommonIssueModel common issue model
swagger:model CommonIssueModel
func (*CommonIssueModel) ContextValidate ¶
ContextValidate validate this common issue model based on the context it is used
func (*CommonIssueModel) MarshalBinary ¶
func (m *CommonIssueModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModel) UnmarshalBinary ¶
func (m *CommonIssueModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelAttributes ¶
type CommonIssueModelAttributes struct { // coordinates Coordinates []*CommonIssueModelAttributesCoordinatesItems0 `json:"coordinates"` // created at // Example: 2022-06-16T13:51:13Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // A description of the issue in Markdown format // Example: ## Overview\\n\\n\\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection. Description string `json:"description,omitempty"` // The type from enumeration of the issue’s severity level. This is usually set from the issue’s producer, but can be overridden by policies. // Enum: [info low medium high critical] EffectiveSeverityLevel string `json:"effective_severity_level,omitempty"` // The Snyk vulnerability ID. // Example: SNYK-JAVA-COMFASTERXMLWOODSTOX-2928754 Key string `json:"key,omitempty"` // problems Problems []*CommonIssueModelAttributesProblemsItems0 `json:"problems"` // The severity level of the vulnerability: ‘low’, ‘medium’, ‘high’ or ‘critical’. Severities []*Severity `json:"severities"` // slots Slots *Slots `json:"slots,omitempty"` // A human-readable title for this issue. // Example: XML External Entity (XXE) Injection Title string `json:"title,omitempty"` // The issue type // Example: package_vulnerability Type string `json:"type,omitempty"` // When the vulnerability information was last modified. // Example: 2022-06-16T14:00:24.315507Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
CommonIssueModelAttributes common issue model attributes
swagger:model CommonIssueModelAttributes
func (*CommonIssueModelAttributes) ContextValidate ¶
func (m *CommonIssueModelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this common issue model attributes based on the context it is used
func (*CommonIssueModelAttributes) MarshalBinary ¶
func (m *CommonIssueModelAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelAttributes) UnmarshalBinary ¶
func (m *CommonIssueModelAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelAttributesCoordinatesItems0 ¶
type CommonIssueModelAttributesCoordinatesItems0 struct { // remedies Remedies []*CommonIssueModelAttributesCoordinatesItems0RemediesItems0 `json:"remedies"` // The affected versions of this vulnerability. Representation []string `json:"representation"` }
CommonIssueModelAttributesCoordinatesItems0 common issue model attributes coordinates items0
swagger:model CommonIssueModelAttributesCoordinatesItems0
func (*CommonIssueModelAttributesCoordinatesItems0) ContextValidate ¶
func (m *CommonIssueModelAttributesCoordinatesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this common issue model attributes coordinates items0 based on the context it is used
func (*CommonIssueModelAttributesCoordinatesItems0) MarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelAttributesCoordinatesItems0) UnmarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelAttributesCoordinatesItems0RemediesItems0 ¶
type CommonIssueModelAttributesCoordinatesItems0RemediesItems0 struct { // A markdown-formatted optional description of this remedy. // Example: Upgrade the package version to 5.4.0,6.4.0 to fix this vulnerability Description string `json:"description,omitempty"` // details Details *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details `json:"details,omitempty"` // The type of the remedy. Always ‘indeterminate’. // Example: indeterminate Type string `json:"type,omitempty"` }
CommonIssueModelAttributesCoordinatesItems0RemediesItems0 common issue model attributes coordinates items0 remedies items0
swagger:model CommonIssueModelAttributesCoordinatesItems0RemediesItems0
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0) ContextValidate ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this common issue model attributes coordinates items0 remedies items0 based on the context it is used
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0) MarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0) UnmarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details ¶
type CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details struct { // A minimum version to upgrade to in order to remedy the issue. // Example: 5.4.0,6.4.0 UpgradePackage string `json:"upgrade_package,omitempty"` }
CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details common issue model attributes coordinates items0 remedies items0 details
swagger:model CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) ContextValidate ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this common issue model attributes coordinates items0 remedies items0 details based on context it is used
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) MarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) UnmarshalBinary ¶
func (m *CommonIssueModelAttributesCoordinatesItems0RemediesItems0Details) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelAttributesProblemsItems0 ¶
type CommonIssueModelAttributesProblemsItems0 struct { // When this problem was disclosed to the public. // Format: date-time DisclosedAt strfmt.DateTime `json:"disclosed_at,omitempty"` // When this problem was first discovered. // Format: date-time DiscoveredAt strfmt.DateTime `json:"discovered_at,omitempty"` // id // Example: CWE-61 // Required: true // Max Length: 1024 // Min Length: 1 ID *string `json:"id"` // source // Example: CVE // Required: true // Max Length: 64 // Min Length: 1 Source *string `json:"source"` // When this problem was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // An optional URL for this problem. // Max Length: 4096 // Min Length: 1 // Format: uri URL strfmt.URI `json:"url,omitempty"` }
CommonIssueModelAttributesProblemsItems0 common issue model attributes problems items0
swagger:model CommonIssueModelAttributesProblemsItems0
func (*CommonIssueModelAttributesProblemsItems0) ContextValidate ¶
func (m *CommonIssueModelAttributesProblemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this common issue model attributes problems items0 based on context it is used
func (*CommonIssueModelAttributesProblemsItems0) MarshalBinary ¶
func (m *CommonIssueModelAttributesProblemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelAttributesProblemsItems0) UnmarshalBinary ¶
func (m *CommonIssueModelAttributesProblemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelVTwo ¶
type CommonIssueModelVTwo struct { // attributes Attributes *CommonIssueModelVTwoAttributes `json:"attributes,omitempty"` // The Snyk ID of the vulnerability. // Example: SNYK-JAVA-COMFASTERXMLWOODSTOX-2928754 ID string `json:"id,omitempty"` // The type of the REST resource. Always ‘issue’. // Example: issue Type string `json:"type,omitempty"` }
CommonIssueModelVTwo common issue model v two
swagger:model CommonIssueModelVTwo
func (*CommonIssueModelVTwo) ContextValidate ¶
ContextValidate validate this common issue model v two based on the context it is used
func (*CommonIssueModelVTwo) MarshalBinary ¶
func (m *CommonIssueModelVTwo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelVTwo) UnmarshalBinary ¶
func (m *CommonIssueModelVTwo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelVTwoAttributes ¶
type CommonIssueModelVTwoAttributes struct { // coordinates Coordinates []*CoordinateVTwo `json:"coordinates"` // created at // Example: 2022-06-16T13:51:13Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // A description of the issue in Markdown format // Example: ## Overview\\n\\n\\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection. Description string `json:"description,omitempty"` // The type from enumeration of the issue’s severity level. This is usually set from the issue’s producer, but can be overridden by policies. // Enum: [info low medium high critical] EffectiveSeverityLevel string `json:"effective_severity_level,omitempty"` // problems Problems []*CommonIssueModelVTwoAttributesProblemsItems0 `json:"problems"` // The severity level of the vulnerability: ‘low’, ‘medium’, ‘high’ or ‘critical’. Severities []*Severity `json:"severities"` // slots Slots *Slots `json:"slots,omitempty"` // A human-readable title for this issue. // Example: XML External Entity (XXE) Injection Title string `json:"title,omitempty"` // The issue type // Example: package_vulnerability Type string `json:"type,omitempty"` // When the vulnerability information was last modified. // Example: 2022-06-16T14:00:24.315507Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
CommonIssueModelVTwoAttributes common issue model v two attributes
swagger:model CommonIssueModelVTwoAttributes
func (*CommonIssueModelVTwoAttributes) ContextValidate ¶
func (m *CommonIssueModelVTwoAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this common issue model v two attributes based on the context it is used
func (*CommonIssueModelVTwoAttributes) MarshalBinary ¶
func (m *CommonIssueModelVTwoAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelVTwoAttributes) UnmarshalBinary ¶
func (m *CommonIssueModelVTwoAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonIssueModelVTwoAttributesProblemsItems0 ¶
type CommonIssueModelVTwoAttributesProblemsItems0 struct { // When this problem was disclosed to the public. // Format: date-time DisclosedAt strfmt.DateTime `json:"disclosed_at,omitempty"` // When this problem was first discovered. // Format: date-time DiscoveredAt strfmt.DateTime `json:"discovered_at,omitempty"` // id // Example: CWE-61 // Required: true // Max Length: 1024 // Min Length: 1 ID *string `json:"id"` // source // Example: CVE // Required: true // Max Length: 64 // Min Length: 1 Source *string `json:"source"` // When this problem was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // An optional URL for this problem. // Max Length: 4096 // Min Length: 1 // Format: uri URL strfmt.URI `json:"url,omitempty"` }
CommonIssueModelVTwoAttributesProblemsItems0 common issue model v two attributes problems items0
swagger:model CommonIssueModelVTwoAttributesProblemsItems0
func (*CommonIssueModelVTwoAttributesProblemsItems0) ContextValidate ¶
func (m *CommonIssueModelVTwoAttributesProblemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this common issue model v two attributes problems items0 based on context it is used
func (*CommonIssueModelVTwoAttributesProblemsItems0) MarshalBinary ¶
func (m *CommonIssueModelVTwoAttributesProblemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonIssueModelVTwoAttributesProblemsItems0) UnmarshalBinary ¶
func (m *CommonIssueModelVTwoAttributesProblemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerBuildArgs ¶
type ContainerBuildArgs struct { // platform // Required: true Platform *string `json:"platform"` }
ContainerBuildArgs container build args
swagger:model ContainerBuildArgs
func (*ContainerBuildArgs) ContextValidate ¶
ContextValidate validates this container build args based on context it is used
func (*ContainerBuildArgs) MarshalBinary ¶
func (m *ContainerBuildArgs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerBuildArgs) UnmarshalBinary ¶
func (m *ContainerBuildArgs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Context ¶
type Context string
Context Allow installing the app to a org/group or to a user, default tenant.
swagger:model Context
func NewContext ¶
func (Context) ContextValidate ¶
ContextValidate validates this context based on context it is used
type Coordinate ¶
type Coordinate struct { // is fixable manually IsFixableManually bool `json:"is_fixable_manually,omitempty"` // is fixable snyk IsFixableSnyk bool `json:"is_fixable_snyk,omitempty"` // is fixable upstream IsFixableUpstream bool `json:"is_fixable_upstream,omitempty"` // is patchable IsPatchable bool `json:"is_patchable,omitempty"` // is pinnable IsPinnable bool `json:"is_pinnable,omitempty"` // is upgradeable IsUpgradeable bool `json:"is_upgradeable,omitempty"` // reachability Reachability string `json:"reachability,omitempty"` // remedies // Max Items: 5 // Min Items: 1 Remedies []*Remedy `json:"remedies"` // A list of precise locations that surface an issue. // A coordinate may have multiple representations. For example, a package vulnerability may be represented both // by its package dependency graph traversal, and by the location in a package manifest that introduced the // dependency. // // Max Items: 5 // Min Items: 1 Representations []interface{} `json:"representations"` }
Coordinate coordinate
swagger:model Coordinate
func (*Coordinate) ContextValidate ¶
ContextValidate validate this coordinate based on the context it is used
func (*Coordinate) MarshalBinary ¶
func (m *Coordinate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Coordinate) UnmarshalBinary ¶
func (m *Coordinate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoordinateVTwo ¶
type CoordinateVTwo struct { // remedies Remedies []*CoordinateVTwoRemediesItems0 `json:"remedies"` // The affected versions of this vulnerability. // Required: true Representations []interface{} `json:"representations"` }
CoordinateVTwo coordinate v two
swagger:model CoordinateVTwo
func (*CoordinateVTwo) ContextValidate ¶
ContextValidate validate this coordinate v two based on the context it is used
func (*CoordinateVTwo) MarshalBinary ¶
func (m *CoordinateVTwo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoordinateVTwo) UnmarshalBinary ¶
func (m *CoordinateVTwo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoordinateVTwoRemediesItems0 ¶
type CoordinateVTwoRemediesItems0 struct { // A markdown-formatted optional description of this remedy. // Example: Upgrade the package version to 5.4.0,6.4.0 to fix this vulnerability Description string `json:"description,omitempty"` // details Details *CoordinateVTwoRemediesItems0Details `json:"details,omitempty"` // The type of the remedy. Always ‘indeterminate’. // Example: indeterminate Type string `json:"type,omitempty"` }
CoordinateVTwoRemediesItems0 coordinate v two remedies items0
swagger:model CoordinateVTwoRemediesItems0
func (*CoordinateVTwoRemediesItems0) ContextValidate ¶
func (m *CoordinateVTwoRemediesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this coordinate v two remedies items0 based on the context it is used
func (*CoordinateVTwoRemediesItems0) MarshalBinary ¶
func (m *CoordinateVTwoRemediesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoordinateVTwoRemediesItems0) UnmarshalBinary ¶
func (m *CoordinateVTwoRemediesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CoordinateVTwoRemediesItems0Details ¶
type CoordinateVTwoRemediesItems0Details struct { // A minimum version to upgrade to in order to remedy the issue. // Example: 5.4.0,6.4.0 UpgradePackage string `json:"upgrade_package,omitempty"` }
CoordinateVTwoRemediesItems0Details coordinate v two remedies items0 details
swagger:model CoordinateVTwoRemediesItems0Details
func (*CoordinateVTwoRemediesItems0Details) ContextValidate ¶
func (m *CoordinateVTwoRemediesItems0Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this coordinate v two remedies items0 details based on context it is used
func (*CoordinateVTwoRemediesItems0Details) MarshalBinary ¶
func (m *CoordinateVTwoRemediesItems0Details) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CoordinateVTwoRemediesItems0Details) UnmarshalBinary ¶
func (m *CoordinateVTwoRemediesItems0Details) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { // data // Required: true Data *CreateCollectionRequestData `json:"data"` }
CreateCollectionRequest create collection request
swagger:model CreateCollectionRequest
func (*CreateCollectionRequest) ContextValidate ¶
func (m *CreateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection request based on the context it is used
func (*CreateCollectionRequest) MarshalBinary ¶
func (m *CreateCollectionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionRequest) UnmarshalBinary ¶
func (m *CreateCollectionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionRequestData ¶
type CreateCollectionRequestData struct { // attributes // Required: true Attributes *CreateCollectionRequestDataAttributes `json:"attributes"` // type // Required: true Type *Types `json:"type"` }
CreateCollectionRequestData create collection request data
swagger:model CreateCollectionRequestData
func (*CreateCollectionRequestData) ContextValidate ¶
func (m *CreateCollectionRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection request data based on the context it is used
func (*CreateCollectionRequestData) MarshalBinary ¶
func (m *CreateCollectionRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionRequestData) UnmarshalBinary ¶
func (m *CreateCollectionRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCollectionRequestDataAttributes ¶
type CreateCollectionRequestDataAttributes struct { // name // Required: true Name *Name `json:"name"` }
CreateCollectionRequestDataAttributes create collection request data attributes
swagger:model CreateCollectionRequestDataAttributes
func (*CreateCollectionRequestDataAttributes) ContextValidate ¶
func (m *CreateCollectionRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create collection request data attributes based on the context it is used
func (*CreateCollectionRequestDataAttributes) MarshalBinary ¶
func (m *CreateCollectionRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCollectionRequestDataAttributes) UnmarshalBinary ¶
func (m *CreateCollectionRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageAttributes ¶
type CustomBaseImageAttributes struct { // Whether this image should be recommended as a base image upgrade. // If set to true, this image could be shown as a base image upgrade to other projects. // If set to false this image will never be recommended as an upgrade. // // Example: true // Required: true IncludeInRecommendations *bool `json:"include_in_recommendations"` // The ID of the container project that the custom base image is based off of. // The attributes of this custom base image are taken from the latest snapshot at the time of creation. // This means that no changes should be made to the original project after the creation of the custom base image, // as new snapshots created from any changes will NOT be picked up. // // Example: 2cab3939-d112-4ef0-836d-e09c87cbe69b // Required: true // Format: uuid ProjectID *strfmt.UUID `json:"project_id"` // versioning schema VersioningSchema *VersioningSchema `json:"versioning_schema,omitempty"` }
CustomBaseImageAttributes custom base image attributes
swagger:model CustomBaseImageAttributes
func (*CustomBaseImageAttributes) ContextValidate ¶
func (m *CustomBaseImageAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image attributes based on the context it is used
func (*CustomBaseImageAttributes) MarshalBinary ¶
func (m *CustomBaseImageAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageAttributes) UnmarshalBinary ¶
func (m *CustomBaseImageAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageCollectionResponse ¶
type CustomBaseImageCollectionResponse struct { // data // Required: true Data []*CustomBaseImageCollectionResponseDataItems0 `json:"data"` // jsonapi // Required: true Jsonapi *JSONAPI `json:"jsonapi"` // links Links *PaginatedLinks `json:"links,omitempty"` }
CustomBaseImageCollectionResponse custom base image collection response
swagger:model CustomBaseImageCollectionResponse
func (*CustomBaseImageCollectionResponse) ContextValidate ¶
func (m *CustomBaseImageCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image collection response based on the context it is used
func (*CustomBaseImageCollectionResponse) MarshalBinary ¶
func (m *CustomBaseImageCollectionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageCollectionResponse) UnmarshalBinary ¶
func (m *CustomBaseImageCollectionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageCollectionResponseDataItems0 ¶
type CustomBaseImageCollectionResponseDataItems0 struct { // attributes Attributes *CustomBaseImageSnapshot `json:"attributes,omitempty"` // id // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // type Type string `json:"type,omitempty"` }
CustomBaseImageCollectionResponseDataItems0 custom base image collection response data items0
swagger:model CustomBaseImageCollectionResponseDataItems0
func (*CustomBaseImageCollectionResponseDataItems0) ContextValidate ¶
func (m *CustomBaseImageCollectionResponseDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image collection response data items0 based on the context it is used
func (*CustomBaseImageCollectionResponseDataItems0) MarshalBinary ¶
func (m *CustomBaseImageCollectionResponseDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageCollectionResponseDataItems0) UnmarshalBinary ¶
func (m *CustomBaseImageCollectionResponseDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImagePatchRequest ¶
type CustomBaseImagePatchRequest struct { // data // Required: true Data *CustomBaseImagePatchRequestData `json:"data"` }
CustomBaseImagePatchRequest custom base image patch request
swagger:model CustomBaseImagePatchRequest
func (*CustomBaseImagePatchRequest) ContextValidate ¶
func (m *CustomBaseImagePatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image patch request based on the context it is used
func (*CustomBaseImagePatchRequest) MarshalBinary ¶
func (m *CustomBaseImagePatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImagePatchRequest) UnmarshalBinary ¶
func (m *CustomBaseImagePatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImagePatchRequestData ¶
type CustomBaseImagePatchRequestData struct { // attributes // Required: true Attributes *CustomBaseImagePatchRequestDataAttributes `json:"attributes"` // The ID of the custom base image that should be updated. (Same one used in the URI) // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // This should always be "custom_base_image" // Example: custom_base_image // Required: true Type *string `json:"type"` }
CustomBaseImagePatchRequestData custom base image patch request data
swagger:model CustomBaseImagePatchRequestData
func (*CustomBaseImagePatchRequestData) ContextValidate ¶
func (m *CustomBaseImagePatchRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image patch request data based on the context it is used
func (*CustomBaseImagePatchRequestData) MarshalBinary ¶
func (m *CustomBaseImagePatchRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImagePatchRequestData) UnmarshalBinary ¶
func (m *CustomBaseImagePatchRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImagePatchRequestDataAttributes ¶
type CustomBaseImagePatchRequestDataAttributes struct { // include in recommendations // Example: true IncludeInRecommendations bool `json:"include_in_recommendations,omitempty"` // versioning schema VersioningSchema *VersioningSchema `json:"versioning_schema,omitempty"` }
CustomBaseImagePatchRequestDataAttributes custom base image patch request data attributes
Min Properties: 1
swagger:model CustomBaseImagePatchRequestDataAttributes
func (*CustomBaseImagePatchRequestDataAttributes) ContextValidate ¶
func (m *CustomBaseImagePatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image patch request data attributes based on the context it is used
func (*CustomBaseImagePatchRequestDataAttributes) MarshalBinary ¶
func (m *CustomBaseImagePatchRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImagePatchRequestDataAttributes) UnmarshalBinary ¶
func (m *CustomBaseImagePatchRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImagePostRequest ¶
type CustomBaseImagePostRequest struct { // data // Required: true Data *CustomBaseImagePostRequestData `json:"data"` }
CustomBaseImagePostRequest custom base image post request
swagger:model CustomBaseImagePostRequest
func (*CustomBaseImagePostRequest) ContextValidate ¶
func (m *CustomBaseImagePostRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image post request based on the context it is used
func (*CustomBaseImagePostRequest) MarshalBinary ¶
func (m *CustomBaseImagePostRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImagePostRequest) UnmarshalBinary ¶
func (m *CustomBaseImagePostRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImagePostRequestData ¶
type CustomBaseImagePostRequestData struct { // attributes // Required: true Attributes *CustomBaseImageAttributes `json:"attributes"` // This should always be "custom_base_image" // Example: custom_base_image // Required: true Type *string `json:"type"` }
CustomBaseImagePostRequestData custom base image post request data
swagger:model CustomBaseImagePostRequestData
func (*CustomBaseImagePostRequestData) ContextValidate ¶
func (m *CustomBaseImagePostRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image post request data based on the context it is used
func (*CustomBaseImagePostRequestData) MarshalBinary ¶
func (m *CustomBaseImagePostRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImagePostRequestData) UnmarshalBinary ¶
func (m *CustomBaseImagePostRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageResource ¶
type CustomBaseImageResource struct { // attributes // Required: true Attributes *CustomBaseImageAttributes `json:"attributes"` // id // Example: 2cab3939-d112-4ef0-836d-e09c87cbe69b // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Example: custom_base_image // Required: true Type *string `json:"type"` }
CustomBaseImageResource custom base image resource
swagger:model CustomBaseImageResource
func (*CustomBaseImageResource) ContextValidate ¶
func (m *CustomBaseImageResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image resource based on the context it is used
func (*CustomBaseImageResource) MarshalBinary ¶
func (m *CustomBaseImageResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageResource) UnmarshalBinary ¶
func (m *CustomBaseImageResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageResponse ¶
type CustomBaseImageResponse struct { // data // Required: true Data *CustomBaseImageResource `json:"data"` // jsonapi // Required: true Jsonapi *JSONAPI `json:"jsonapi"` // links Links *SelfLink `json:"links,omitempty"` }
CustomBaseImageResponse custom base image response
swagger:model CustomBaseImageResponse
func (*CustomBaseImageResponse) ContextValidate ¶
func (m *CustomBaseImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this custom base image response based on the context it is used
func (*CustomBaseImageResponse) MarshalBinary ¶
func (m *CustomBaseImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageResponse) UnmarshalBinary ¶
func (m *CustomBaseImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomBaseImageSnapshot ¶
type CustomBaseImageSnapshot struct { // group id // Format: uuid GroupID strfmt.UUID `json:"group_id,omitempty"` // include in recommendations IncludeInRecommendations bool `json:"include_in_recommendations,omitempty"` // org id // Format: uuid OrgID strfmt.UUID `json:"org_id,omitempty"` // project id // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` // repository Repository string `json:"repository,omitempty"` // tag Tag string `json:"tag,omitempty"` }
CustomBaseImageSnapshot custom base image snapshot
swagger:model CustomBaseImageSnapshot
func (*CustomBaseImageSnapshot) ContextValidate ¶
func (m *CustomBaseImageSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this custom base image snapshot based on context it is used
func (*CustomBaseImageSnapshot) MarshalBinary ¶
func (m *CustomBaseImageSnapshot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomBaseImageSnapshot) UnmarshalBinary ¶
func (m *CustomBaseImageSnapshot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxComponent ¶
type CycloneDxComponent struct { // bom ref // Example: common-util@3.0.0 BomRef string `json:"bom-ref,omitempty" xml:"bom-ref,attr,omitempty"` // name // Example: acme-lib Name string `json:"name,omitempty"` // purl // Example: pkg:golang/golang.org/x/text@v0.3.7 Purl string `json:"purl,omitempty"` // type // Example: library Type string `json:"type,omitempty" xml:"type,attr,omitempty"` // version // Example: 1.0.0 Version string `json:"version,omitempty"` }
CycloneDxComponent cyclone dx component
swagger:model CycloneDxComponent
func (*CycloneDxComponent) ContextValidate ¶
ContextValidate validates this cyclone dx component based on context it is used
func (*CycloneDxComponent) MarshalBinary ¶
func (m *CycloneDxComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxComponent) UnmarshalBinary ¶
func (m *CycloneDxComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxDependency ¶
type CycloneDxDependency struct { // depends on // Example: ["web-framework@1.0.0","persistence@3.1.0"] DependsOn []string `json:"dependsOn" xml:"dependency"` // ref // Example: common-util@3.0.0 Ref string `json:"ref,omitempty" xml:"ref,attr,omitempty"` }
CycloneDxDependency cyclone dx dependency
swagger:model CycloneDxDependency
func (*CycloneDxDependency) ContextValidate ¶
ContextValidate validates this cyclone dx dependency based on context it is used
func (*CycloneDxDependency) MarshalBinary ¶
func (m *CycloneDxDependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxDependency) UnmarshalBinary ¶
func (m *CycloneDxDependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxDocument ¶
type CycloneDxDocument struct { // bom format // Example: CycloneDX // Required: true // Enum: [CycloneDX] BomFormat *string `json:"bomFormat"` // A list of included software components Components []*CycloneDxComponent `json:"components"` // dependencies // Required: true Dependencies []*CycloneDxDependency `json:"dependencies"` // metadata // Required: true Metadata *CycloneDxMetadata `json:"metadata"` // spec version // Example: 1.4 // Required: true SpecVersion *string `json:"specVersion"` // version // Example: 1 // Required: true Version *int64 `json:"version"` }
CycloneDxDocument cyclone dx document
swagger:model CycloneDxDocument
func (*CycloneDxDocument) ContextValidate ¶
ContextValidate validate this cyclone dx document based on the context it is used
func (*CycloneDxDocument) MarshalBinary ¶
func (m *CycloneDxDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxDocument) UnmarshalBinary ¶
func (m *CycloneDxDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxMetadata ¶
type CycloneDxMetadata struct { // component Component *CycloneDxComponent `json:"component,omitempty"` // properties Properties []*CycloneDxProperty `json:"properties" xml:"properties"` // timestamp // Example: 2021-02-09T20:40:32Z Timestamp string `json:"timestamp,omitempty"` // tools Tools []*CycloneDxTool `json:"tools" xml:"tools"` }
CycloneDxMetadata cyclone dx metadata
swagger:model CycloneDxMetadata
func (*CycloneDxMetadata) ContextValidate ¶
ContextValidate validate this cyclone dx metadata based on the context it is used
func (*CycloneDxMetadata) MarshalBinary ¶
func (m *CycloneDxMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxMetadata) UnmarshalBinary ¶
func (m *CycloneDxMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxProperty ¶
type CycloneDxProperty struct { // name // Example: snyk:org_id Name string `json:"name,omitempty" xml:"name,attr,omitempty"` // value // Example: f1bb66d1-a94e-4574-aea1-9697d794e04d Value string `json:"value,omitempty"` }
CycloneDxProperty cyclone dx property
swagger:model CycloneDxProperty
func (*CycloneDxProperty) ContextValidate ¶
ContextValidate validates this cyclone dx property based on context it is used
func (*CycloneDxProperty) MarshalBinary ¶
func (m *CycloneDxProperty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxProperty) UnmarshalBinary ¶
func (m *CycloneDxProperty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxTool ¶
type CycloneDxTool struct { // name // Example: Snyk Open Source Name string `json:"name,omitempty"` // vendor // Example: Snyk Vendor string `json:"vendor,omitempty"` }
CycloneDxTool cyclone dx tool
swagger:model CycloneDxTool
func (*CycloneDxTool) ContextValidate ¶
ContextValidate validates this cyclone dx tool based on context it is used
func (*CycloneDxTool) MarshalBinary ¶
func (m *CycloneDxTool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxTool) UnmarshalBinary ¶
func (m *CycloneDxTool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycloneDxXMLDocument ¶
type CycloneDxXMLDocument struct { // A list of included software components // Required: true Components []*CycloneDxComponent `json:"components" xml:"components"` // dependencies // Required: true Dependencies []*CycloneDxDependency `json:"dependencies" xml:"dependencies"` // metadata // Required: true Metadata *CycloneDxMetadata `json:"metadata"` }
CycloneDxXMLDocument cyclone dx Xml document
swagger:model CycloneDxXmlDocument
func (*CycloneDxXMLDocument) ContextValidate ¶
ContextValidate validate this cyclone dx Xml document based on the context it is used
func (*CycloneDxXMLDocument) MarshalBinary ¶
func (m *CycloneDxXMLDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycloneDxXMLDocument) UnmarshalBinary ¶
func (m *CycloneDxXMLDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsFromCollectionRequest ¶
type DeleteProjectsFromCollectionRequest struct { // IDs of items to remove from a collection // Required: true // Max Items: 100 Data []*DeleteProjectsFromCollectionRequestDataItems0 `json:"data"` }
DeleteProjectsFromCollectionRequest delete projects from collection request
swagger:model DeleteProjectsFromCollectionRequest
func (*DeleteProjectsFromCollectionRequest) ContextValidate ¶
func (m *DeleteProjectsFromCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete projects from collection request based on the context it is used
func (*DeleteProjectsFromCollectionRequest) MarshalBinary ¶
func (m *DeleteProjectsFromCollectionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsFromCollectionRequest) UnmarshalBinary ¶
func (m *DeleteProjectsFromCollectionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteProjectsFromCollectionRequestDataItems0 ¶
type DeleteProjectsFromCollectionRequestDataItems0 struct { // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // Type of the item id // Required: true // Enum: [project] Type *string `json:"type"` }
DeleteProjectsFromCollectionRequestDataItems0 delete projects from collection request data items0
swagger:model DeleteProjectsFromCollectionRequestDataItems0
func (*DeleteProjectsFromCollectionRequestDataItems0) ContextValidate ¶
func (m *DeleteProjectsFromCollectionRequestDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete projects from collection request data items0 based on context it is used
func (*DeleteProjectsFromCollectionRequestDataItems0) MarshalBinary ¶
func (m *DeleteProjectsFromCollectionRequestDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectsFromCollectionRequestDataItems0) UnmarshalBinary ¶
func (m *DeleteProjectsFromCollectionRequestDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Dependency ¶
type Dependency struct { // The package name the issue was found in // Required: true // Max Length: 2048 // Min Length: 1 PackageName *string `json:"package_name"` // The package version the issue was found in // Required: true // Max Length: 2048 // Min Length: 1 PackageVersion *string `json:"package_version"` }
Dependency dependency
swagger:model Dependency
func (*Dependency) ContextValidate ¶
ContextValidate validates this dependency based on context it is used
func (*Dependency) MarshalBinary ¶
func (m *Dependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Dependency) UnmarshalBinary ¶
func (m *Dependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployedRiskFactor ¶
type DeployedRiskFactor struct { // included in score IncludedInScore *bool `json:"included_in_score,omitempty"` // links Links *RiskFactorLinks `json:"links,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updated_at"` // value // Required: true Value *bool `json:"value"` }
DeployedRiskFactor deployed risk factor
swagger:model DeployedRiskFactor
func (*DeployedRiskFactor) ContextValidate ¶
ContextValidate validate this deployed risk factor based on the context it is used
func (*DeployedRiskFactor) MarshalBinary ¶
func (m *DeployedRiskFactor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployedRiskFactor) UnmarshalBinary ¶
func (m *DeployedRiskFactor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Environment ¶
type Environment struct { // Internal ID for an environment. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // name // Required: true // Max Length: 256 // Min Length: 1 Name *string `json:"name"` // An optional native identifier for this environment. For example, a cloud account id. // Max Length: 2048 // Min Length: 1 NativeID string `json:"native_id,omitempty"` // type // Required: true Type *EnvironmentTypeDef `json:"type"` }
Environment environment
swagger:model Environment
func (*Environment) ContextValidate ¶
ContextValidate validate this environment based on the context it is used
func (*Environment) MarshalBinary ¶
func (m *Environment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Environment) UnmarshalBinary ¶
func (m *Environment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentTypeDef ¶
type EnvironmentTypeDef string
EnvironmentTypeDef environment type def
swagger:model EnvironmentTypeDef
const ( // EnvironmentTypeDefAws captures enum value "aws" EnvironmentTypeDefAws EnvironmentTypeDef = "aws" // EnvironmentTypeDefAzure captures enum value "azure" EnvironmentTypeDefAzure EnvironmentTypeDef = "azure" // EnvironmentTypeDefAzureAd captures enum value "azure_ad" EnvironmentTypeDefAzureAd EnvironmentTypeDef = "azure_ad" // EnvironmentTypeDefGoogle captures enum value "google" EnvironmentTypeDefGoogle EnvironmentTypeDef = "google" // EnvironmentTypeDefScm captures enum value "scm" EnvironmentTypeDefScm EnvironmentTypeDef = "scm" // EnvironmentTypeDefCli captures enum value "cli" EnvironmentTypeDefCli EnvironmentTypeDef = "cli" // EnvironmentTypeDefTfc captures enum value "tfc" EnvironmentTypeDefTfc EnvironmentTypeDef = "tfc" )
func NewEnvironmentTypeDef ¶
func NewEnvironmentTypeDef(value EnvironmentTypeDef) *EnvironmentTypeDef
func (EnvironmentTypeDef) ContextValidate ¶
ContextValidate validates this environment type def based on context it is used
func (EnvironmentTypeDef) Pointer ¶
func (m EnvironmentTypeDef) Pointer() *EnvironmentTypeDef
Pointer returns a pointer to a freshly-allocated EnvironmentTypeDef.
type Error ¶
type Error 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"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ErrorSource `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"` }
Error error Example: {"detail":"Not Found","status":"404"}
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validate this error based on the context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorDocument ¶
type ErrorDocument struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ErrorDocumentErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ErrorDocumentJsonapi `json:"jsonapi"` }
ErrorDocument error document Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}}
swagger:model ErrorDocument
func (*ErrorDocument) ContextValidate ¶
ContextValidate validate this error document based on the context it is used
func (*ErrorDocument) MarshalBinary ¶
func (m *ErrorDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDocument) UnmarshalBinary ¶
func (m *ErrorDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorDocumentErrorsItems0 ¶
type ErrorDocumentErrorsItems0 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"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ErrorDocumentErrorsItems0Source `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"` }
ErrorDocumentErrorsItems0 error document errors items0 Example: {"detail":"Not Found","status":"404"}
swagger:model ErrorDocumentErrorsItems0
func (*ErrorDocumentErrorsItems0) ContextValidate ¶
func (m *ErrorDocumentErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this error document errors items0 based on the context it is used
func (*ErrorDocumentErrorsItems0) MarshalBinary ¶
func (m *ErrorDocumentErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDocumentErrorsItems0) UnmarshalBinary ¶
func (m *ErrorDocumentErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorDocumentErrorsItems0Source ¶
type ErrorDocumentErrorsItems0Source 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"` }
ErrorDocumentErrorsItems0Source error document errors items0 source Example: {"pointer":"/data/attributes"}
swagger:model ErrorDocumentErrorsItems0Source
func (*ErrorDocumentErrorsItems0Source) ContextValidate ¶
func (m *ErrorDocumentErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this error document errors items0 source based on context it is used
func (*ErrorDocumentErrorsItems0Source) MarshalBinary ¶
func (m *ErrorDocumentErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDocumentErrorsItems0Source) UnmarshalBinary ¶
func (m *ErrorDocumentErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorDocumentJsonapi ¶
type ErrorDocumentJsonapi 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"` }
ErrorDocumentJsonapi error document jsonapi Example: {"version":"1.0"}
swagger:model ErrorDocumentJsonapi
func (*ErrorDocumentJsonapi) ContextValidate ¶
ContextValidate validates this error document jsonapi based on context it is used
func (*ErrorDocumentJsonapi) MarshalBinary ¶
func (m *ErrorDocumentJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorDocumentJsonapi) UnmarshalBinary ¶
func (m *ErrorDocumentJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorLink ¶
type ErrorLink struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ErrorLink A link that leads to further details about this particular occurrance of the problem. Example: {"about":"https://example.com/about_this_error"}
swagger:model ErrorLink
func (*ErrorLink) ContextValidate ¶
ContextValidate validates this error link based on context it is used
func (*ErrorLink) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorLink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorSource ¶
type ErrorSource 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"` }
ErrorSource error source Example: {"pointer":"/data/attributes"}
swagger:model ErrorSource
func (*ErrorSource) ContextValidate ¶
ContextValidate validates this error source based on context it is used
func (*ErrorSource) MarshalBinary ¶
func (m *ErrorSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorSource) UnmarshalBinary ¶
func (m *ErrorSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FilePosition ¶
type FilePosition struct { // column // Required: true // Minimum: 0 Column *int64 `json:"column"` // line // Required: true // Minimum: 0 Line *int64 `json:"line"` }
FilePosition file position
swagger:model FilePosition
func (*FilePosition) ContextValidate ¶
ContextValidate validates this file position based on context it is used
func (*FilePosition) MarshalBinary ¶
func (m *FilePosition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FilePosition) UnmarshalBinary ¶
func (m *FilePosition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectSettingsCollection ¶
type GetProjectSettingsCollection struct { // data // Required: true Data []*ProjectSettingsData `json:"data"` // jsonapi // Required: true Jsonapi *JSONAPI `json:"jsonapi"` // links // Required: true Links *PaginatedLinks `json:"links"` }
GetProjectSettingsCollection get project settings collection
swagger:model GetProjectSettingsCollection
func (*GetProjectSettingsCollection) ContextValidate ¶
func (m *GetProjectSettingsCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get project settings collection based on the context it is used
func (*GetProjectSettingsCollection) MarshalBinary ¶
func (m *GetProjectSettingsCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectSettingsCollection) UnmarshalBinary ¶
func (m *GetProjectSettingsCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjectsOfCollectionResponse ¶
type GetProjectsOfCollectionResponse struct { // data Data []*ProjectOfCollection `json:"data"` // jsonapi Jsonapi *JSONAPI `json:"jsonapi,omitempty"` // links Links *PaginatedLinks `json:"links,omitempty"` }
GetProjectsOfCollectionResponse get projects of collection response
swagger:model GetProjectsOfCollectionResponse
func (*GetProjectsOfCollectionResponse) ContextValidate ¶
func (m *GetProjectsOfCollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get projects of collection response based on the context it is used
func (*GetProjectsOfCollectionResponse) MarshalBinary ¶
func (m *GetProjectsOfCollectionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjectsOfCollectionResponse) UnmarshalBinary ¶
func (m *GetProjectsOfCollectionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GrantType ¶
type GrantType string
GrantType An authorization grant is a credential representing the resource owner's authorization (to access its protected resources) used by the client to obtain an access token. The grant type represents the way your app will get the access token.
swagger:model GrantType
func NewGrantType ¶
func (GrantType) ContextValidate ¶
ContextValidate validates this grant type based on context it is used
type GroupIacSettingsRequest ¶
type GroupIacSettingsRequest struct { // attributes // Required: true Attributes *GroupIacSettingsRequestAttributes `json:"attributes"` // Content type // Example: iac_settings // Required: true Type *string `json:"type"` }
GroupIacSettingsRequest The Infrastructure as Code settings for a group.
swagger:model GroupIacSettingsRequest
func (*GroupIacSettingsRequest) ContextValidate ¶
func (m *GroupIacSettingsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings request based on the context it is used
func (*GroupIacSettingsRequest) MarshalBinary ¶
func (m *GroupIacSettingsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsRequest) UnmarshalBinary ¶
func (m *GroupIacSettingsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupIacSettingsRequestAttributes ¶
type GroupIacSettingsRequestAttributes struct { // custom rules CustomRules *GroupIacSettingsRequestAttributesCustomRules `json:"custom_rules,omitempty"` }
GroupIacSettingsRequestAttributes group iac settings request attributes
swagger:model GroupIacSettingsRequestAttributes
func (*GroupIacSettingsRequestAttributes) ContextValidate ¶
func (m *GroupIacSettingsRequestAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings request attributes based on the context it is used
func (*GroupIacSettingsRequestAttributes) MarshalBinary ¶
func (m *GroupIacSettingsRequestAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsRequestAttributes) UnmarshalBinary ¶
func (m *GroupIacSettingsRequestAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupIacSettingsRequestAttributesCustomRules ¶
type GroupIacSettingsRequestAttributesCustomRules struct { // is enabled IsEnabled IsEnabled `json:"is_enabled,omitempty"` // oci registry tag OciRegistryTag OciRegistryTag `json:"oci_registry_tag,omitempty"` // oci registry url OciRegistryURL OciRegistryURL `json:"oci_registry_url,omitempty"` }
GroupIacSettingsRequestAttributesCustomRules The Infrastructure as Code custom rules settings for a group.
Min Properties: 1
swagger:model GroupIacSettingsRequestAttributesCustomRules
func (*GroupIacSettingsRequestAttributesCustomRules) ContextValidate ¶
func (m *GroupIacSettingsRequestAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings request attributes custom rules based on the context it is used
func (*GroupIacSettingsRequestAttributesCustomRules) MarshalBinary ¶
func (m *GroupIacSettingsRequestAttributesCustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsRequestAttributesCustomRules) UnmarshalBinary ¶
func (m *GroupIacSettingsRequestAttributesCustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupIacSettingsResponse ¶
type GroupIacSettingsResponse struct { // attributes Attributes *GroupIacSettingsResponseAttributes `json:"attributes,omitempty"` // ID // Example: ea536a06-0566-40ca-b96b-155568aa2027 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Content type // Example: iac_settings Type string `json:"type,omitempty"` }
GroupIacSettingsResponse The Infrastructure as Code settings for a group.
swagger:model GroupIacSettingsResponse
func (*GroupIacSettingsResponse) ContextValidate ¶
func (m *GroupIacSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings response based on the context it is used
func (*GroupIacSettingsResponse) MarshalBinary ¶
func (m *GroupIacSettingsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsResponse) UnmarshalBinary ¶
func (m *GroupIacSettingsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupIacSettingsResponseAttributes ¶
type GroupIacSettingsResponseAttributes struct { // custom rules CustomRules *GroupIacSettingsResponseAttributesCustomRules `json:"custom_rules,omitempty"` // updated // Format: date-time Updated Updated `json:"updated,omitempty"` }
GroupIacSettingsResponseAttributes group iac settings response attributes
swagger:model GroupIacSettingsResponseAttributes
func (*GroupIacSettingsResponseAttributes) ContextValidate ¶
func (m *GroupIacSettingsResponseAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings response attributes based on the context it is used
func (*GroupIacSettingsResponseAttributes) MarshalBinary ¶
func (m *GroupIacSettingsResponseAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsResponseAttributes) UnmarshalBinary ¶
func (m *GroupIacSettingsResponseAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupIacSettingsResponseAttributesCustomRules ¶
type GroupIacSettingsResponseAttributesCustomRules struct { // is enabled IsEnabled IsEnabled `json:"is_enabled,omitempty"` // oci registry tag OciRegistryTag OciRegistryTag `json:"oci_registry_tag,omitempty"` // oci registry url OciRegistryURL OciRegistryURL `json:"oci_registry_url,omitempty"` }
GroupIacSettingsResponseAttributesCustomRules The Infrastructure as Code custom rules settings for a group.
swagger:model GroupIacSettingsResponseAttributesCustomRules
func (*GroupIacSettingsResponseAttributesCustomRules) ContextValidate ¶
func (m *GroupIacSettingsResponseAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this group iac settings response attributes custom rules based on the context it is used
func (*GroupIacSettingsResponseAttributesCustomRules) MarshalBinary ¶
func (m *GroupIacSettingsResponseAttributesCustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupIacSettingsResponseAttributesCustomRules) UnmarshalBinary ¶
func (m *GroupIacSettingsResponseAttributesCustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelloWorld ¶
type HelloWorld struct { // attributes // Required: true Attributes *HelloWorldAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *string `json:"type"` }
HelloWorld hello world
swagger:model HelloWorld
func (*HelloWorld) ContextValidate ¶
ContextValidate validate this hello world based on the context it is used
func (*HelloWorld) MarshalBinary ¶
func (m *HelloWorld) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelloWorld) UnmarshalBinary ¶
func (m *HelloWorld) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelloWorldAttributes ¶
type HelloWorldAttributes struct { // message // Required: true Message *string `json:"message"` // request subject // Required: true RequestSubject *HelloWorldAttributesRequestSubject `json:"requestSubject"` }
HelloWorldAttributes hello world attributes
swagger:model HelloWorldAttributes
func (*HelloWorldAttributes) ContextValidate ¶
ContextValidate validate this hello world attributes based on the context it is used
func (*HelloWorldAttributes) MarshalBinary ¶
func (m *HelloWorldAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelloWorldAttributes) UnmarshalBinary ¶
func (m *HelloWorldAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HelloWorldAttributesRequestSubject ¶
type HelloWorldAttributesRequestSubject struct { // client Id // Format: uuid ClientID strfmt.UUID `json:"clientId,omitempty"` // public Id // Required: true // Format: uuid PublicID *strfmt.UUID `json:"publicId"` // type // Required: true Type *string `json:"type"` }
HelloWorldAttributesRequestSubject hello world attributes request subject
swagger:model HelloWorldAttributesRequestSubject
func (*HelloWorldAttributesRequestSubject) ContextValidate ¶
func (m *HelloWorldAttributesRequestSubject) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hello world attributes request subject based on context it is used
func (*HelloWorldAttributesRequestSubject) MarshalBinary ¶
func (m *HelloWorldAttributesRequestSubject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HelloWorldAttributesRequestSubject) UnmarshalBinary ¶
func (m *HelloWorldAttributesRequestSubject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ID ¶
ID Id
swagger:model Id
func (ID) ContextValidate ¶
ContextValidate validates this Id based on context it is used
type IgnoreType ¶
type IgnoreType string
IgnoreType ignore type Example: ignore
swagger:model IgnoreType
const ( // IgnoreTypeIgnore captures enum value "ignore" IgnoreTypeIgnore IgnoreType = "ignore" )
func NewIgnoreType ¶
func NewIgnoreType(value IgnoreType) *IgnoreType
func (IgnoreType) ContextValidate ¶
ContextValidate validates this ignore type based on context it is used
func (IgnoreType) Pointer ¶
func (m IgnoreType) Pointer() *IgnoreType
Pointer returns a pointer to a freshly-allocated IgnoreType.
type Image ¶
type Image struct { // attributes // Required: true Attributes *ImageAttributes `json:"attributes"` // id // Required: true // Format: uri ID *ImageDigest `json:"id"` // relationships Relationships *ImageRelationships `json:"relationships,omitempty"` // type // Required: true // Enum: [container_image] Type *string `json:"type"` }
Image image
swagger:model Image
func (*Image) ContextValidate ¶
ContextValidate validate this image based on the context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageAttributes ¶
type ImageAttributes struct { // layers // Required: true // Min Items: 1 Layers []ImageDigest `json:"layers"` // names Names []ImageName `json:"names"` // platform // Required: true Platform *Platform `json:"platform"` }
ImageAttributes image attributes
swagger:model ImageAttributes
func (*ImageAttributes) ContextValidate ¶
ContextValidate validate this image attributes based on the context it is used
func (*ImageAttributes) MarshalBinary ¶
func (m *ImageAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageAttributes) UnmarshalBinary ¶
func (m *ImageAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageDigest ¶
ImageDigest image digest Example: sha256:2bd864580926b790a22c8b96fd74496fe87b3c59c0774fe144bab2788e78e676
swagger:model ImageDigest
func (ImageDigest) ContextValidate ¶
ContextValidate validates this image digest based on context it is used
type ImageName ¶
type ImageName string
ImageName image name Example: gcr.io/snyk/redis:5
swagger:model ImageName
func (ImageName) ContextValidate ¶
ContextValidate validates this image name based on context it is used
type ImageRelationships ¶
type ImageRelationships struct { // image target refs ImageTargetRefs *ImageRelationshipsImageTargetRefs `json:"image_target_refs,omitempty"` }
ImageRelationships image relationships
swagger:model ImageRelationships
func (*ImageRelationships) ContextValidate ¶
ContextValidate validate this image relationships based on the context it is used
func (*ImageRelationships) MarshalBinary ¶
func (m *ImageRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageRelationships) UnmarshalBinary ¶
func (m *ImageRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageRelationshipsImageTargetRefs ¶
type ImageRelationshipsImageTargetRefs struct { // links Links *SelfLink `json:"links,omitempty"` }
ImageRelationshipsImageTargetRefs image relationships image target refs
swagger:model ImageRelationshipsImageTargetRefs
func (*ImageRelationshipsImageTargetRefs) ContextValidate ¶
func (m *ImageRelationshipsImageTargetRefs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this image relationships image target refs based on the context it is used
func (*ImageRelationshipsImageTargetRefs) MarshalBinary ¶
func (m *ImageRelationshipsImageTargetRefs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageRelationshipsImageTargetRefs) UnmarshalBinary ¶
func (m *ImageRelationshipsImageTargetRefs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageTargetRef ¶
type ImageTargetRef struct { // attributes Attributes *ImageTargetRefAttributes `json:"attributes,omitempty"` // id // Example: 3cd4af4c-fb15-45c4-9acd-8e8fcc6690af // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // type // Enum: [image_target_reference] Type string `json:"type,omitempty"` }
ImageTargetRef image target ref
swagger:model ImageTargetRef
func (*ImageTargetRef) ContextValidate ¶
ContextValidate validate this image target ref based on the context it is used
func (*ImageTargetRef) MarshalBinary ¶
func (m *ImageTargetRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageTargetRef) UnmarshalBinary ¶
func (m *ImageTargetRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageTargetRefAttributes ¶
type ImageTargetRefAttributes struct { // platform Platform Platform `json:"platform,omitempty"` // target id // Format: uuid TargetID strfmt.UUID `json:"target_id,omitempty"` // target reference TargetReference string `json:"target_reference,omitempty"` }
ImageTargetRefAttributes image target ref attributes
swagger:model ImageTargetRefAttributes
func (*ImageTargetRefAttributes) ContextValidate ¶
func (m *ImageTargetRefAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this image target ref attributes based on the context it is used
func (*ImageTargetRefAttributes) MarshalBinary ¶
func (m *ImageTargetRefAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageTargetRefAttributes) UnmarshalBinary ¶
func (m *ImageTargetRefAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InheritFromParent ¶
type InheritFromParent string
InheritFromParent Which parent to inherit settings from.
swagger:model InheritFromParent
const ( // InheritFromParentGroup captures enum value "group" InheritFromParentGroup InheritFromParent = "group" )
func NewInheritFromParent ¶
func NewInheritFromParent(value InheritFromParent) *InheritFromParent
func (InheritFromParent) ContextValidate ¶
ContextValidate validates this inherit from parent based on context it is used
func (InheritFromParent) Pointer ¶
func (m InheritFromParent) Pointer() *InheritFromParent
Pointer returns a pointer to a freshly-allocated InheritFromParent.
type IsActive ¶
type IsActive bool
IsActive Current status of the project settings. Example: true
swagger:model IsActive
func (IsActive) ContextValidate ¶
ContextValidate validates this is active based on context it is used
type IsConfidential ¶
type IsConfidential bool
IsConfidential A boolean to indicate if an app is confidential or not as per the OAuth2 RFC. Confidential apps can securely store secrets. Examples of non-confidential apps are full web-based or CLIs. Example: true
swagger:model IsConfidential
func (IsConfidential) ContextValidate ¶
ContextValidate validates this is confidential based on context it is used
type IsEnabled ¶
type IsEnabled bool
IsEnabled Whether the custom rules feature is enabled or not. Example: true
swagger:model IsEnabled
func (IsEnabled) ContextValidate ¶
ContextValidate validates this is enabled based on context it is used
type IsPublic ¶
type IsPublic bool
IsPublic A boolean to indicate if an app is publicly available or not. Example: false
swagger:model IsPublic
func (IsPublic) ContextValidate ¶
ContextValidate validates this is public based on context it is used
type Issue ¶
type Issue struct { // attributes // Required: true Attributes *IssueAttributes `json:"attributes"` // id // Example: 73832c6c-19ff-4a92-850c-2e1ff2800c16 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships // Required: true Relationships *IssueRelationships `json:"relationships"` // type // Required: true Type *IssueType `json:"type"` }
Issue A Snyk Issue.
swagger:model Issue
func (*Issue) ContextValidate ¶
ContextValidate validate this issue based on the context it is used
func (*Issue) MarshalBinary ¶
MarshalBinary interface implementation
func (*Issue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IssueAttributes ¶
type IssueAttributes struct { // A list of details for weakness data, policy, etc that are the class of this issue's source. // Max Items: 50 // Min Items: 1 Classes []*Class `json:"classes"` // Where the issue originated, specific to issue type. Details on what // code, package, etc introduced the issue. An issue may be caused by // more than one coordinate. // // Min Items: 1 Coordinates []*Coordinate `json:"coordinates"` // The creation time of this issue. // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"created_at"` // A markdown-formatted optional description of this issue. Links are not permitted. // Example: Affected versions of this package are vulnerable to Prototype Pollution.\nThe utilities function allow modification of the `Object` prototype.\nIf an attacker can control part of the structure passed to this function,\nthey could add or modify an existing property.\n // Max Length: 4096 // Min Length: 1 Description string `json:"description,omitempty"` // The computed effective severity of this issue. This is either the highest level from all included severities, // or an overridden value set via group level policy. // // Required: true // Enum: [info low medium high critical] EffectiveSeverityLevel *string `json:"effective_severity_level"` // A flag indicating if the issue is being ignored. Derived from the issue's ignore, which provides more details. // Required: true Ignored *bool `json:"ignored"` // An opaque key used for uniquely identifying this issue across test runs, within a project. // Example: 24018479-6bb1-4196-a41b-e54c7c5dcc82:1c6ddc45.7f41fd64.a214ef38.72ad650e.f0ecbaa5.18c3080a.b570850e.89112ac5.1a6d2cd5.71413d6f.a924ef28.71cdd50e.d0e1bea5.52c3a80a.1a0c4319.a9127ac5:1 // Required: true // Max Length: 2048 Key *string `json:"key"` // A list of details for vulnerability data, policy, etc that are the source of this issue. // Max Items: 10 // Min Items: 1 Problems []*Problem `json:"problems"` // resolution Resolution *Resolution `json:"resolution,omitempty"` // risk Risk *Risk `json:"risk,omitempty"` // The issue's status. Derived from the issue's resolution, which provides more details. // Required: true // Enum: [open resolved] Status *string `json:"status"` // A human-readable title for this issue. // Example: Insecure hash function used // Required: true // Max Length: 2048 // Min Length: 1 Title *string `json:"title"` // An opaque identifier for corelating across test runs. // Example: snyk://npm-deps // Max Length: 1024 // Min Length: 1 Tool string `json:"tool,omitempty"` // type // Required: true Type *TypeDef `json:"type"` // The time when this issue was last modified. // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updated_at"` }
IssueAttributes issue attributes
swagger:model IssueAttributes
func (*IssueAttributes) ContextValidate ¶
ContextValidate validate this issue attributes based on the context it is used
func (*IssueAttributes) MarshalBinary ¶
func (m *IssueAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueAttributes) UnmarshalBinary ¶
func (m *IssueAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationships ¶
type IssueRelationships struct { // ignore Ignore *IssueRelationshipsIgnore `json:"ignore,omitempty"` // organization // Required: true Organization *IssueRelationshipsOrganization `json:"organization"` // scan item // Required: true ScanItem *IssueRelationshipsScanItem `json:"scan_item"` // test executions TestExecutions *IssueRelationshipsTestExecutions `json:"test_executions,omitempty"` }
IssueRelationships issue relationships Example: {"ignore":{"data":{"id":"a3952187-0d8e-45d8-9aa2-036642857b5d","type":"ignore"}},"organization":{"data":{"id":"a3952187-0d8e-45d8-9aa2-036642857b5b","type":"organization"}},"scan_item":{"data":{"id":"a3952187-0d8e-45d8-9aa2-036642857b5c","type":"project"}},"test_executions":{"data":[{"id":"0086e1bc-7c27-4f2e-9a99-5fe793ba4bef","type":"test-workflow-execution"}]}}
swagger:model IssueRelationships
func (*IssueRelationships) ContextValidate ¶
ContextValidate validate this issue relationships based on the context it is used
func (*IssueRelationships) MarshalBinary ¶
func (m *IssueRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationships) UnmarshalBinary ¶
func (m *IssueRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsIgnore ¶
type IssueRelationshipsIgnore struct { // data // Required: true Data *IssueRelationshipsIgnoreData `json:"data"` }
IssueRelationshipsIgnore An optional reference to an ignore rule that marks this issue as ignored.
swagger:model IssueRelationshipsIgnore
func (*IssueRelationshipsIgnore) ContextValidate ¶
func (m *IssueRelationshipsIgnore) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships ignore based on the context it is used
func (*IssueRelationshipsIgnore) MarshalBinary ¶
func (m *IssueRelationshipsIgnore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsIgnore) UnmarshalBinary ¶
func (m *IssueRelationshipsIgnore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsIgnoreData ¶
type IssueRelationshipsIgnoreData struct { // id // Example: 5a19d42f-31bc-4ad0-b127-b79a3270db08 // Required: true ID *string `json:"id"` // type // Required: true Type *IgnoreType `json:"type"` }
IssueRelationshipsIgnoreData issue relationships ignore data
swagger:model IssueRelationshipsIgnoreData
func (*IssueRelationshipsIgnoreData) ContextValidate ¶
func (m *IssueRelationshipsIgnoreData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships ignore data based on the context it is used
func (*IssueRelationshipsIgnoreData) MarshalBinary ¶
func (m *IssueRelationshipsIgnoreData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsIgnoreData) UnmarshalBinary ¶
func (m *IssueRelationshipsIgnoreData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsOrganization ¶
type IssueRelationshipsOrganization struct { // data // Required: true Data *IssueRelationshipsOrganizationData `json:"data"` }
IssueRelationshipsOrganization issue relationships organization
swagger:model IssueRelationshipsOrganization
func (*IssueRelationshipsOrganization) ContextValidate ¶
func (m *IssueRelationshipsOrganization) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships organization based on the context it is used
func (*IssueRelationshipsOrganization) MarshalBinary ¶
func (m *IssueRelationshipsOrganization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsOrganization) UnmarshalBinary ¶
func (m *IssueRelationshipsOrganization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsOrganizationData ¶
type IssueRelationshipsOrganizationData struct { // id // Example: 5a19d42f-31bc-4ad0-b127-b79a3270db08 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *OrganizationType `json:"type"` }
IssueRelationshipsOrganizationData issue relationships organization data
swagger:model IssueRelationshipsOrganizationData
func (*IssueRelationshipsOrganizationData) ContextValidate ¶
func (m *IssueRelationshipsOrganizationData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships organization data based on the context it is used
func (*IssueRelationshipsOrganizationData) MarshalBinary ¶
func (m *IssueRelationshipsOrganizationData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsOrganizationData) UnmarshalBinary ¶
func (m *IssueRelationshipsOrganizationData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsScanItem ¶
type IssueRelationshipsScanItem struct { // data // Required: true Data *IssueRelationshipsScanItemData `json:"data"` }
IssueRelationshipsScanItem issue relationships scan item
swagger:model IssueRelationshipsScanItem
func (*IssueRelationshipsScanItem) ContextValidate ¶
func (m *IssueRelationshipsScanItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships scan item based on the context it is used
func (*IssueRelationshipsScanItem) MarshalBinary ¶
func (m *IssueRelationshipsScanItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsScanItem) UnmarshalBinary ¶
func (m *IssueRelationshipsScanItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsScanItemData ¶
type IssueRelationshipsScanItemData struct { // id // Example: 5a19d42f-31bc-4ad0-b127-b79a3270db08 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *ScanItemType `json:"type"` }
IssueRelationshipsScanItemData issue relationships scan item data
swagger:model IssueRelationshipsScanItemData
func (*IssueRelationshipsScanItemData) ContextValidate ¶
func (m *IssueRelationshipsScanItemData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships scan item data based on the context it is used
func (*IssueRelationshipsScanItemData) MarshalBinary ¶
func (m *IssueRelationshipsScanItemData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsScanItemData) UnmarshalBinary ¶
func (m *IssueRelationshipsScanItemData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsTestExecutions ¶
type IssueRelationshipsTestExecutions struct { // List of metadata associated with the test executions that identified this issue // Required: true // Max Items: 25 Data []*IssueRelationshipsTestExecutionsDataItems0 `json:"data"` }
IssueRelationshipsTestExecutions The "test execution" that identified this Issues. This ID represents a grouping of issues, that were identified by some analysis run, to produce Issues.
swagger:model IssueRelationshipsTestExecutions
func (*IssueRelationshipsTestExecutions) ContextValidate ¶
func (m *IssueRelationshipsTestExecutions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships test executions based on the context it is used
func (*IssueRelationshipsTestExecutions) MarshalBinary ¶
func (m *IssueRelationshipsTestExecutions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsTestExecutions) UnmarshalBinary ¶
func (m *IssueRelationshipsTestExecutions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueRelationshipsTestExecutionsDataItems0 ¶
type IssueRelationshipsTestExecutionsDataItems0 struct { // id // Example: 3344947d-a5c3-4e20-928b-385a5d8792a3 // Required: true ID *string `json:"id"` // type // Required: true Type *TestExecutionType `json:"type"` }
IssueRelationshipsTestExecutionsDataItems0 issue relationships test executions data items0
swagger:model IssueRelationshipsTestExecutionsDataItems0
func (*IssueRelationshipsTestExecutionsDataItems0) ContextValidate ¶
func (m *IssueRelationshipsTestExecutionsDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issue relationships test executions data items0 based on the context it is used
func (*IssueRelationshipsTestExecutionsDataItems0) MarshalBinary ¶
func (m *IssueRelationshipsTestExecutionsDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssueRelationshipsTestExecutionsDataItems0) UnmarshalBinary ¶
func (m *IssueRelationshipsTestExecutionsDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssueType ¶
type IssueType string
IssueType issue type Example: issue
swagger:model IssueType
const ( // IssueTypeIssue captures enum value "issue" IssueTypeIssue IssueType = "issue" )
func NewIssueType ¶
func (IssueType) ContextValidate ¶
ContextValidate validates this issue type based on context it is used
type IssuesMeta ¶
type IssuesMeta struct { // package Package *PackageMeta `json:"package,omitempty"` }
IssuesMeta issues meta
swagger:model IssuesMeta
func (*IssuesMeta) ContextValidate ¶
ContextValidate validate this issues meta based on the context it is used
func (*IssuesMeta) MarshalBinary ¶
func (m *IssuesMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesMeta) UnmarshalBinary ¶
func (m *IssuesMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesResponse ¶
type IssuesResponse struct { // data Data []*CommonIssueModel `json:"data"` // jsonapi Jsonapi *JSONAPI `json:"jsonapi,omitempty"` // links Links *PaginatedLinks `json:"links,omitempty"` // meta Meta *IssuesMeta `json:"meta,omitempty"` }
IssuesResponse issues response
swagger:model IssuesResponse
func (*IssuesResponse) ContextValidate ¶
ContextValidate validate this issues response based on the context it is used
func (*IssuesResponse) MarshalBinary ¶
func (m *IssuesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesResponse) UnmarshalBinary ¶
func (m *IssuesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesWithPurlsResponse ¶
type IssuesWithPurlsResponse struct { // data Data []*CommonIssueModelVTwo `json:"data"` // jsonapi Jsonapi *JSONAPI `json:"jsonapi,omitempty"` // links Links *PaginatedLinks `json:"links,omitempty"` // meta Meta *IssuesWithPurlsResponseMeta `json:"meta,omitempty"` }
IssuesWithPurlsResponse issues with purls response
swagger:model IssuesWithPurlsResponse
func (*IssuesWithPurlsResponse) ContextValidate ¶
func (m *IssuesWithPurlsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issues with purls response based on the context it is used
func (*IssuesWithPurlsResponse) MarshalBinary ¶
func (m *IssuesWithPurlsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesWithPurlsResponse) UnmarshalBinary ¶
func (m *IssuesWithPurlsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesWithPurlsResponseMeta ¶
type IssuesWithPurlsResponseMeta struct { // errors Errors []*IssuesWithPurlsResponseMetaErrorsItems0 `json:"errors"` }
IssuesWithPurlsResponseMeta issues with purls response meta
swagger:model IssuesWithPurlsResponseMeta
func (*IssuesWithPurlsResponseMeta) ContextValidate ¶
func (m *IssuesWithPurlsResponseMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issues with purls response meta based on the context it is used
func (*IssuesWithPurlsResponseMeta) MarshalBinary ¶
func (m *IssuesWithPurlsResponseMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesWithPurlsResponseMeta) UnmarshalBinary ¶
func (m *IssuesWithPurlsResponseMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesWithPurlsResponseMetaErrorsItems0 ¶
type IssuesWithPurlsResponseMetaErrorsItems0 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 *IssuesWithPurlsResponseMetaErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *IssuesWithPurlsResponseMetaErrorsItems0Source `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"` }
IssuesWithPurlsResponseMetaErrorsItems0 issues with purls response meta errors items0 Example: {"detail":"Not Found","status":"404"}
swagger:model IssuesWithPurlsResponseMetaErrorsItems0
func (*IssuesWithPurlsResponseMetaErrorsItems0) ContextValidate ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this issues with purls response meta errors items0 based on the context it is used
func (*IssuesWithPurlsResponseMetaErrorsItems0) MarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesWithPurlsResponseMetaErrorsItems0) UnmarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesWithPurlsResponseMetaErrorsItems0Links ¶
type IssuesWithPurlsResponseMetaErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
IssuesWithPurlsResponseMetaErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. Example: {"about":"https://example.com/about_this_error"}
swagger:model IssuesWithPurlsResponseMetaErrorsItems0Links
func (*IssuesWithPurlsResponseMetaErrorsItems0Links) ContextValidate ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this issues with purls response meta errors items0 links based on context it is used
func (*IssuesWithPurlsResponseMetaErrorsItems0Links) MarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesWithPurlsResponseMetaErrorsItems0Links) UnmarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IssuesWithPurlsResponseMetaErrorsItems0Source ¶
type IssuesWithPurlsResponseMetaErrorsItems0Source 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"` }
IssuesWithPurlsResponseMetaErrorsItems0Source issues with purls response meta errors items0 source Example: {"pointer":"/data/attributes"}
swagger:model IssuesWithPurlsResponseMetaErrorsItems0Source
func (*IssuesWithPurlsResponseMetaErrorsItems0Source) ContextValidate ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this issues with purls response meta errors items0 source based on context it is used
func (*IssuesWithPurlsResponseMetaErrorsItems0Source) MarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IssuesWithPurlsResponseMetaErrorsItems0Source) UnmarshalBinary ¶
func (m *IssuesWithPurlsResponseMetaErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JSONAPI ¶
type JSONAPI 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"` }
JSONAPI Json Api Example: {"version":"1.0"}
swagger:model JsonApi
func (*JSONAPI) ContextValidate ¶
ContextValidate validates this Json Api based on context it is used
func (*JSONAPI) MarshalBinary ¶
MarshalBinary interface implementation
func (*JSONAPI) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LatestDependencyTotal ¶
type LatestDependencyTotal struct { // total Total float64 `json:"total,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
LatestDependencyTotal latest dependency total
swagger:model LatestDependencyTotal
func (*LatestDependencyTotal) ContextValidate ¶
ContextValidate validates this latest dependency total based on context it is used
func (*LatestDependencyTotal) MarshalBinary ¶
func (m *LatestDependencyTotal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LatestDependencyTotal) UnmarshalBinary ¶
func (m *LatestDependencyTotal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LatestIssueCounts ¶
type LatestIssueCounts struct { // critical Critical float64 `json:"critical,omitempty"` // high High float64 `json:"high,omitempty"` // low Low float64 `json:"low,omitempty"` // medium Medium float64 `json:"medium,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
LatestIssueCounts latest issue counts
swagger:model LatestIssueCounts
func (*LatestIssueCounts) ContextValidate ¶
ContextValidate validates this latest issue counts based on context it is used
func (*LatestIssueCounts) MarshalBinary ¶
func (m *LatestIssueCounts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LatestIssueCounts) UnmarshalBinary ¶
func (m *LatestIssueCounts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LinkProperty ¶
type LinkProperty interface{}
LinkProperty link property Example: https://example.com/api/resource
swagger:model LinkProperty
type Links ¶
type Links struct { // first First LinkProperty `json:"first,omitempty"` // last Last LinkProperty `json:"last,omitempty"` // next Next LinkProperty `json:"next,omitempty"` // prev Prev LinkProperty `json:"prev,omitempty"` // related Related LinkProperty `json:"related,omitempty"` // self Self LinkProperty `json:"self,omitempty"` }
Links links
swagger:model Links
func (*Links) ContextValidate ¶
ContextValidate validates this links based on context it is used
func (*Links) MarshalBinary ¶
MarshalBinary interface implementation
func (*Links) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ManualRemediationPRsSettings ¶
type ManualRemediationPRsSettings struct { // Include vulnerability patches in manual pull requests. // Example: true IsPatchRemediationEnabled bool `json:"is_patch_remediation_enabled,omitempty"` }
ManualRemediationPRsSettings Manually raise pull requests to fix new and existing vulnerabilities. If not specified, settings will be inherited from the Project's integration.
swagger:model ManualRemediationPRsSettings
func (*ManualRemediationPRsSettings) ContextValidate ¶
func (m *ManualRemediationPRsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this manual remediation p rs settings based on context it is used
func (*ManualRemediationPRsSettings) MarshalBinary ¶
func (m *ManualRemediationPRsSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManualRemediationPRsSettings) UnmarshalBinary ¶
func (m *ManualRemediationPRsSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberRoleRelationship ¶
type MemberRoleRelationship struct { // data // Required: true Data *MemberRoleRelationshipData `json:"data"` }
MemberRoleRelationship member role relationship
swagger:model MemberRoleRelationship
func (*MemberRoleRelationship) ContextValidate ¶
func (m *MemberRoleRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this member role relationship based on the context it is used
func (*MemberRoleRelationship) MarshalBinary ¶
func (m *MemberRoleRelationship) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberRoleRelationship) UnmarshalBinary ¶
func (m *MemberRoleRelationship) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberRoleRelationshipData ¶
type MemberRoleRelationshipData struct { // attributes Attributes *OrgRoleAttributes `json:"attributes,omitempty"` // The Snyk ID of the organization role. // Example: f60ff965-6889-4db2-8c86-0285d62f35ab // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *Types `json:"type"` }
MemberRoleRelationshipData member role relationship data
swagger:model MemberRoleRelationshipData
func (*MemberRoleRelationshipData) ContextValidate ¶
func (m *MemberRoleRelationshipData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this member role relationship data based on the context it is used
func (*MemberRoleRelationshipData) MarshalBinary ¶
func (m *MemberRoleRelationshipData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberRoleRelationshipData) UnmarshalBinary ¶
func (m *MemberRoleRelationshipData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Meta ¶
type Meta interface{}
Meta Free-form object that may contain non-standard information. Example: {"key1":"value1","key2":{"sub_key":"sub_value"},"key3":["array_value1","array_value2"]}
swagger:model Meta
type Name ¶
type Name string
Name User-defined name of the collection
swagger:model name
func (Name) ContextValidate ¶
ContextValidate validates this name based on context it is used
type NugetBuildArgs ¶
type NugetBuildArgs struct { // target framework // Required: true TargetFramework *string `json:"target_framework"` }
NugetBuildArgs nuget build args
swagger:model NugetBuildArgs
func (*NugetBuildArgs) ContextValidate ¶
ContextValidate validates this nuget build args based on context it is used
func (*NugetBuildArgs) MarshalBinary ¶
func (m *NugetBuildArgs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NugetBuildArgs) UnmarshalBinary ¶
func (m *NugetBuildArgs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OSConditionRiskFactor ¶
type OSConditionRiskFactor struct { // included in score IncludedInScore *bool `json:"included_in_score,omitempty"` // links Links *RiskFactorLinks `json:"links,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updated_at"` // value // Required: true Value *bool `json:"value"` }
OSConditionRiskFactor o s condition risk factor
swagger:model OSConditionRiskFactor
func (*OSConditionRiskFactor) ContextValidate ¶
ContextValidate validate this o s condition risk factor based on the context it is used
func (*OSConditionRiskFactor) MarshalBinary ¶
func (m *OSConditionRiskFactor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OSConditionRiskFactor) UnmarshalBinary ¶
func (m *OSConditionRiskFactor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OciRegistryTag ¶
type OciRegistryTag string
OciRegistryTag The tag for an OCI artifact inside an OCI registry. Example: latest
swagger:model OciRegistryTag
func (OciRegistryTag) ContextValidate ¶
ContextValidate validates this oci registry tag based on context it is used
type OciRegistryURL ¶
type OciRegistryURL string
OciRegistryURL The URL to an OCI registry. Example: https://registry-1.docker.io/account/bundle
swagger:model OciRegistryUrl
func (OciRegistryURL) ContextValidate ¶
ContextValidate validates this oci registry Url based on context it is used
type Org ¶
type Org struct { // attributes // Required: true Attributes *OrgAttributes `json:"attributes"` // The Snyk ID of the organization. // Example: 59d6d97e-3106-4ebb-b608-352fad9c5b34 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *Types `json:"type"` }
Org org
swagger:model Org
func (*Org) ContextValidate ¶
ContextValidate validate this org based on the context it is used
func (*Org) MarshalBinary ¶
MarshalBinary interface implementation
func (*Org) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrgAttributes ¶
type OrgAttributes struct { // The time the organization was created. // Example: 2022-03-16T00:00:00Z // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // The Snyk ID of the group to which the organization belongs. // Example: 59d6d97e-3106-4ebb-b608-352fad9c5b34 // Format: uuid GroupID strfmt.UUID `json:"group_id,omitempty"` // Whether the organization is independent (that is, not part of a group). // Example: true // Required: true IsPersonal *bool `json:"is_personal"` // The display name of the organization. // Example: My Org // Required: true Name *string `json:"name"` // The canonical (unique and URL-friendly) name of the organization. // Example: my-org // Required: true Slug *string `json:"slug"` // The time the organization was last modified. // Example: 2022-03-16T00:00:00Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
OrgAttributes org attributes
swagger:model OrgAttributes
func (*OrgAttributes) ContextValidate ¶
ContextValidate validates this org attributes based on context it is used
func (*OrgAttributes) MarshalBinary ¶
func (m *OrgAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgAttributes) UnmarshalBinary ¶
func (m *OrgAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsRequest ¶
type OrgIacSettingsRequest struct { // attributes // Required: true Attributes *OrgIacSettingsRequestAttributes `json:"attributes"` // Content type // Example: iac_settings // Required: true Type *string `json:"type"` }
OrgIacSettingsRequest The Infrastructure as Code settings for an org.
swagger:model OrgIacSettingsRequest
func (*OrgIacSettingsRequest) ContextValidate ¶
ContextValidate validate this org iac settings request based on the context it is used
func (*OrgIacSettingsRequest) MarshalBinary ¶
func (m *OrgIacSettingsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsRequest) UnmarshalBinary ¶
func (m *OrgIacSettingsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsRequestAttributes ¶
type OrgIacSettingsRequestAttributes struct { // custom rules CustomRules *OrgIacSettingsRequestAttributesCustomRules `json:"custom_rules,omitempty"` }
OrgIacSettingsRequestAttributes org iac settings request attributes
swagger:model OrgIacSettingsRequestAttributes
func (*OrgIacSettingsRequestAttributes) ContextValidate ¶
func (m *OrgIacSettingsRequestAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings request attributes based on the context it is used
func (*OrgIacSettingsRequestAttributes) MarshalBinary ¶
func (m *OrgIacSettingsRequestAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsRequestAttributes) UnmarshalBinary ¶
func (m *OrgIacSettingsRequestAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsRequestAttributesCustomRules ¶
type OrgIacSettingsRequestAttributesCustomRules struct { // inherit from parent InheritFromParent InheritFromParent `json:"inherit_from_parent,omitempty"` // is enabled IsEnabled IsEnabled `json:"is_enabled,omitempty"` // oci registry tag OciRegistryTag OciRegistryTag `json:"oci_registry_tag,omitempty"` // oci registry url OciRegistryURL OciRegistryURL `json:"oci_registry_url,omitempty"` }
OrgIacSettingsRequestAttributesCustomRules The Infrastructure as Code custom rules settings for an org.
Min Properties: 1
swagger:model OrgIacSettingsRequestAttributesCustomRules
func (*OrgIacSettingsRequestAttributesCustomRules) ContextValidate ¶
func (m *OrgIacSettingsRequestAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings request attributes custom rules based on the context it is used
func (*OrgIacSettingsRequestAttributesCustomRules) MarshalBinary ¶
func (m *OrgIacSettingsRequestAttributesCustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsRequestAttributesCustomRules) UnmarshalBinary ¶
func (m *OrgIacSettingsRequestAttributesCustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponse ¶
type OrgIacSettingsResponse struct { // attributes Attributes *OrgIacSettingsResponseAttributes `json:"attributes,omitempty"` // ID // Example: ea536a06-0566-40ca-b96b-155568aa2027 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Content type // Example: iac_settings Type string `json:"type,omitempty"` }
OrgIacSettingsResponse The Infrastructure as Code settings for an org.
swagger:model OrgIacSettingsResponse
func (*OrgIacSettingsResponse) ContextValidate ¶
func (m *OrgIacSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response based on the context it is used
func (*OrgIacSettingsResponse) MarshalBinary ¶
func (m *OrgIacSettingsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponse) UnmarshalBinary ¶
func (m *OrgIacSettingsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponseAttributes ¶
type OrgIacSettingsResponseAttributes struct { // custom rules CustomRules *OrgIacSettingsResponseAttributesCustomRules `json:"custom_rules,omitempty"` }
OrgIacSettingsResponseAttributes org iac settings response attributes
swagger:model OrgIacSettingsResponseAttributes
func (*OrgIacSettingsResponseAttributes) ContextValidate ¶
func (m *OrgIacSettingsResponseAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response attributes based on the context it is used
func (*OrgIacSettingsResponseAttributes) MarshalBinary ¶
func (m *OrgIacSettingsResponseAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributes) UnmarshalBinary ¶
func (m *OrgIacSettingsResponseAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponseAttributesCustomRules ¶
type OrgIacSettingsResponseAttributesCustomRules struct { // inherit from parent InheritFromParent InheritFromParent `json:"inherit_from_parent,omitempty"` // is enabled IsEnabled IsEnabled `json:"is_enabled,omitempty"` // oci registry tag OciRegistryTag OciRegistryTag `json:"oci_registry_tag,omitempty"` // oci registry url OciRegistryURL OciRegistryURL `json:"oci_registry_url,omitempty"` // parents Parents *OrgIacSettingsResponseAttributesCustomRulesParents `json:"parents,omitempty"` // updated // Format: date-time Updated Updated `json:"updated,omitempty"` }
OrgIacSettingsResponseAttributesCustomRules The Infrastructure as Code custom rules settings for an org.
swagger:model OrgIacSettingsResponseAttributesCustomRules
func (*OrgIacSettingsResponseAttributesCustomRules) ContextValidate ¶
func (m *OrgIacSettingsResponseAttributesCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response attributes custom rules based on the context it is used
func (*OrgIacSettingsResponseAttributesCustomRules) MarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributesCustomRules) UnmarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponseAttributesCustomRulesParents ¶
type OrgIacSettingsResponseAttributesCustomRulesParents struct { // group Group *OrgIacSettingsResponseAttributesCustomRulesParentsGroup `json:"group,omitempty"` }
OrgIacSettingsResponseAttributesCustomRulesParents Contains all parents the org can inherit settings from.
swagger:model OrgIacSettingsResponseAttributesCustomRulesParents
func (*OrgIacSettingsResponseAttributesCustomRulesParents) ContextValidate ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response attributes custom rules parents based on the context it is used
func (*OrgIacSettingsResponseAttributesCustomRulesParents) MarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributesCustomRulesParents) UnmarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponseAttributesCustomRulesParentsGroup ¶
type OrgIacSettingsResponseAttributesCustomRulesParentsGroup struct { // custom rules CustomRules *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules `json:"custom_rules,omitempty"` // updated // Format: date-time Updated Updated `json:"updated,omitempty"` }
OrgIacSettingsResponseAttributesCustomRulesParentsGroup The Infrastructure as Code settings at the group level.
swagger:model OrgIacSettingsResponseAttributesCustomRulesParentsGroup
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroup) ContextValidate ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response attributes custom rules parents group based on the context it is used
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroup) MarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroup) UnmarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules ¶
type OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules struct { // is enabled IsEnabled IsEnabled `json:"is_enabled,omitempty"` // oci registry tag OciRegistryTag OciRegistryTag `json:"oci_registry_tag,omitempty"` // oci registry url OciRegistryURL OciRegistryURL `json:"oci_registry_url,omitempty"` }
OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules The Infrastructure as Code custom rules settings for a group.
swagger:model OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) ContextValidate ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org iac settings response attributes custom rules parents group custom rules based on the context it is used
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) MarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) UnmarshalBinary ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) Validate ¶
func (m *OrgIacSettingsResponseAttributesCustomRulesParentsGroupCustomRules) Validate(formats strfmt.Registry) error
Validate validates this org iac settings response attributes custom rules parents group custom rules
type OrgInvitation ¶
type OrgInvitation struct { // attributes // Required: true Attributes *OrgInvitationAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships Relationships *OrgInvitationRelationships `json:"relationships,omitempty"` // type // Required: true // Enum: [org_invitation] Type *string `json:"type"` }
OrgInvitation org invitation
swagger:model OrgInvitation
func (*OrgInvitation) ContextValidate ¶
ContextValidate validate this org invitation based on the context it is used
func (*OrgInvitation) MarshalBinary ¶
func (m *OrgInvitation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitation) UnmarshalBinary ¶
func (m *OrgInvitation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgInvitationAttributes ¶
type OrgInvitationAttributes struct { // The email address of the invitee. // Example: example@email.com // Required: true Email *string `json:"email"` // The active status of the invitation. is_active of true indicates that the invitation is still waiting to be accepted. Invitations are considered inactive when accepted or revoked. // // Example: true // Required: true IsActive *bool `json:"is_active"` // The role public ID that will be granted to to invitee on acceptance. // Example: f1968726-1dca-42d4-a4dc-80cab99e2b6c // Required: true // Format: uuid Role *strfmt.UUID `json:"role"` }
OrgInvitationAttributes org invitation attributes
swagger:model OrgInvitationAttributes
func (*OrgInvitationAttributes) ContextValidate ¶
func (m *OrgInvitationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this org invitation attributes based on context it is used
func (*OrgInvitationAttributes) MarshalBinary ¶
func (m *OrgInvitationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitationAttributes) UnmarshalBinary ¶
func (m *OrgInvitationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgInvitationPostAttributes ¶
type OrgInvitationPostAttributes struct { // The email address of the invitee. // Example: example@email.com // Required: true Email *string `json:"email"` // The role public ID that will be granted to to invitee on acceptance. // Example: f1968726-1dca-42d4-a4dc-80cab99e2b6c // Required: true // Format: uuid Role *strfmt.UUID `json:"role"` }
OrgInvitationPostAttributes org invitation post attributes
swagger:model OrgInvitationPostAttributes
func (*OrgInvitationPostAttributes) ContextValidate ¶
func (m *OrgInvitationPostAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this org invitation post attributes based on context it is used
func (*OrgInvitationPostAttributes) MarshalBinary ¶
func (m *OrgInvitationPostAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitationPostAttributes) UnmarshalBinary ¶
func (m *OrgInvitationPostAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgInvitationPostData ¶
type OrgInvitationPostData struct { // attributes // Required: true Attributes *OrgInvitationPostAttributes `json:"attributes"` // relationships Relationships *OrgInvitationPostDataRelationships `json:"relationships,omitempty"` // type // Required: true // Enum: [org_invitation] Type *string `json:"type"` }
OrgInvitationPostData org invitation post data
swagger:model OrgInvitationPostData
func (*OrgInvitationPostData) ContextValidate ¶
ContextValidate validate this org invitation post data based on the context it is used
func (*OrgInvitationPostData) MarshalBinary ¶
func (m *OrgInvitationPostData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitationPostData) UnmarshalBinary ¶
func (m *OrgInvitationPostData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgInvitationPostDataRelationships ¶
type OrgInvitationPostDataRelationships struct { // org Org *Relationship `json:"org,omitempty"` }
OrgInvitationPostDataRelationships org invitation post data relationships
swagger:model OrgInvitationPostDataRelationships
func (*OrgInvitationPostDataRelationships) ContextValidate ¶
func (m *OrgInvitationPostDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org invitation post data relationships based on the context it is used
func (*OrgInvitationPostDataRelationships) MarshalBinary ¶
func (m *OrgInvitationPostDataRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitationPostDataRelationships) UnmarshalBinary ¶
func (m *OrgInvitationPostDataRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgInvitationRelationships ¶
type OrgInvitationRelationships struct { // org Org *Relationship `json:"org,omitempty"` }
OrgInvitationRelationships org invitation relationships
swagger:model OrgInvitationRelationships
func (*OrgInvitationRelationships) ContextValidate ¶
func (m *OrgInvitationRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this org invitation relationships based on the context it is used
func (*OrgInvitationRelationships) MarshalBinary ¶
func (m *OrgInvitationRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgInvitationRelationships) UnmarshalBinary ¶
func (m *OrgInvitationRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgRelationships ¶
type OrgRelationships struct { // member role MemberRole *MemberRoleRelationship `json:"member_role,omitempty"` }
OrgRelationships org relationships
swagger:model OrgRelationships
func (*OrgRelationships) ContextValidate ¶
ContextValidate validate this org relationships based on the context it is used
func (*OrgRelationships) MarshalBinary ¶
func (m *OrgRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgRelationships) UnmarshalBinary ¶
func (m *OrgRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgRoleAttributes ¶
type OrgRoleAttributes struct { // The display name of the organization role. // Example: Collaborator Name string `json:"name,omitempty"` }
OrgRoleAttributes org role attributes
swagger:model OrgRoleAttributes
func (*OrgRoleAttributes) ContextValidate ¶
ContextValidate validates this org role attributes based on context it is used
func (*OrgRoleAttributes) MarshalBinary ¶
func (m *OrgRoleAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgRoleAttributes) UnmarshalBinary ¶
func (m *OrgRoleAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgUpdateAttributes ¶
type OrgUpdateAttributes struct { // The display name of the organization. // Example: My Org // Required: true // Max Length: 60 // Min Length: 1 Name *string `json:"name"` }
OrgUpdateAttributes org update attributes
swagger:model OrgUpdateAttributes
func (*OrgUpdateAttributes) ContextValidate ¶
ContextValidate validates this org update attributes based on context it is used
func (*OrgUpdateAttributes) MarshalBinary ¶
func (m *OrgUpdateAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgUpdateAttributes) UnmarshalBinary ¶
func (m *OrgUpdateAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgWithRelationships ¶
type OrgWithRelationships struct { // attributes // Required: true Attributes *OrgAttributes `json:"attributes"` // The Snyk ID of the organization. // Example: 59d6d97e-3106-4ebb-b608-352fad9c5b34 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships Relationships *OrgRelationships `json:"relationships,omitempty"` // type // Required: true Type *Types `json:"type"` }
OrgWithRelationships org with relationships
swagger:model OrgWithRelationships
func (*OrgWithRelationships) ContextValidate ¶
ContextValidate validate this org with relationships based on the context it is used
func (*OrgWithRelationships) MarshalBinary ¶
func (m *OrgWithRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgWithRelationships) UnmarshalBinary ¶
func (m *OrgWithRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrganizationType ¶
type OrganizationType string
OrganizationType organization type Example: organization
swagger:model OrganizationType
const ( // OrganizationTypeOrganization captures enum value "organization" OrganizationTypeOrganization OrganizationType = "organization" )
func NewOrganizationType ¶
func NewOrganizationType(value OrganizationType) *OrganizationType
func (OrganizationType) ContextValidate ¶
ContextValidate validates this organization type based on context it is used
func (OrganizationType) Pointer ¶
func (m OrganizationType) Pointer() *OrganizationType
Pointer returns a pointer to a freshly-allocated OrganizationType.
type Package ¶
type Package struct { // The package’s name // Example: spring-core // Required: true Name *string `json:"name"` // A name prefix, such as a maven group id or docker image owner // Example: org.springframework Namespace string `json:"namespace,omitempty"` // The package type or protocol // Example: maven // Required: true Type *string `json:"type"` // The purl of the package // Example: pkg:maven/com.fasterxml.woodstox/woodstox-core@5.0.0 // Required: true URL *string `json:"url"` // The version of the package // Example: 1.0.0 // Required: true Version *string `json:"version"` }
Package package
swagger:model Package
func (*Package) ContextValidate ¶
ContextValidate validates this package based on context it is used
func (*Package) MarshalBinary ¶
MarshalBinary interface implementation
func (*Package) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackageMeta ¶
type PackageMeta struct { // The package’s name // Example: woodstox-core Name string `json:"name,omitempty"` // A name prefix, such as a maven group id or docker image owner // Example: com.fasterxml.woodstox Namespace string `json:"namespace,omitempty"` // The package type or protocol // Example: maven Type string `json:"type,omitempty"` // The purl of the package // Example: pkg:maven/com.fasterxml.woodstox/woodstox-core@5.0.0 URL string `json:"url,omitempty"` // The version of the package // Example: 5.0.0 Version string `json:"version,omitempty"` }
PackageMeta package meta
swagger:model PackageMeta
func (*PackageMeta) ContextValidate ¶
ContextValidate validates this package meta based on context it is used
func (*PackageMeta) MarshalBinary ¶
func (m *PackageMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageMeta) UnmarshalBinary ¶
func (m *PackageMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackageRepresentation ¶
type PackageRepresentation struct { // package Package *PackageMeta `json:"package,omitempty"` }
PackageRepresentation package representation
swagger:model PackageRepresentation
func (*PackageRepresentation) ContextValidate ¶
ContextValidate validate this package representation based on the context it is used
func (*PackageRepresentation) MarshalBinary ¶
func (m *PackageRepresentation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageRepresentation) UnmarshalBinary ¶
func (m *PackageRepresentation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaginatedLinks ¶
type PaginatedLinks struct { // first First LinkProperty `json:"first,omitempty"` // last Last LinkProperty `json:"last,omitempty"` // next Next LinkProperty `json:"next,omitempty"` // prev Prev LinkProperty `json:"prev,omitempty"` // self Self LinkProperty `json:"self,omitempty"` }
PaginatedLinks paginated links Example: {"first":"https://example.com/api/resource?ending_before=v1.eyJpZCI6IjExIn0K","last":"https://example.com/api/resource?starting_after=v1.eyJpZCI6IjMwIn0K","next":"https://example.com/api/resource?starting_after=v1.eyJpZCI6IjEwIn0K"}
swagger:model PaginatedLinks
func (*PaginatedLinks) ContextValidate ¶
ContextValidate validates this paginated links based on context it is used
func (*PaginatedLinks) MarshalBinary ¶
func (m *PaginatedLinks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginatedLinks) UnmarshalBinary ¶
func (m *PaginatedLinks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequest ¶
type PatchProjectRequest struct { // data // Required: true Data *PatchProjectRequestData `json:"data"` }
PatchProjectRequest patch project request
swagger:model PatchProjectRequest
func (*PatchProjectRequest) ContextValidate ¶
ContextValidate validate this patch project request based on the context it is used
func (*PatchProjectRequest) MarshalBinary ¶
func (m *PatchProjectRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequest) UnmarshalBinary ¶
func (m *PatchProjectRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestData ¶
type PatchProjectRequestData struct { // attributes // Required: true Attributes *PatchProjectRequestDataAttributes `json:"attributes"` // The Resource ID. // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships // Required: true Relationships *PatchProjectRequestDataRelationships `json:"relationships"` // The Resource type. // Required: true // Enum: [project] Type *string `json:"type"` }
PatchProjectRequestData patch project request data
swagger:model PatchProjectRequestData
func (*PatchProjectRequestData) ContextValidate ¶
func (m *PatchProjectRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this patch project request data based on the context it is used
func (*PatchProjectRequestData) MarshalBinary ¶
func (m *PatchProjectRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestData) UnmarshalBinary ¶
func (m *PatchProjectRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestDataAttributes ¶
type PatchProjectRequestDataAttributes struct { // business criticality // Example: ["medium"] BusinessCriticality []string `json:"business_criticality"` // environment // Example: ["external","hosted"] Environment []string `json:"environment"` // lifecycle // Example: ["production"] Lifecycle []string `json:"lifecycle"` // tags // Example: [{"key":"tag-key","value":"tag-value"}] Tags []*PatchProjectRequestDataAttributesTagsItems0 `json:"tags"` // Test frequency of a project. Also controls when automated PRs may be created. // Example: daily // Enum: [daily weekly never] TestFrequency string `json:"test_frequency,omitempty"` }
PatchProjectRequestDataAttributes patch project request data attributes
swagger:model PatchProjectRequestDataAttributes
func (*PatchProjectRequestDataAttributes) ContextValidate ¶
func (m *PatchProjectRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this patch project request data attributes based on the context it is used
func (*PatchProjectRequestDataAttributes) MarshalBinary ¶
func (m *PatchProjectRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestDataAttributes) UnmarshalBinary ¶
func (m *PatchProjectRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestDataAttributesTagsItems0 ¶
type PatchProjectRequestDataAttributesTagsItems0 struct { // key // Example: tag-key Key string `json:"key,omitempty"` // value // Example: tag-value Value string `json:"value,omitempty"` }
PatchProjectRequestDataAttributesTagsItems0 patch project request data attributes tags items0
swagger:model PatchProjectRequestDataAttributesTagsItems0
func (*PatchProjectRequestDataAttributesTagsItems0) ContextValidate ¶
func (m *PatchProjectRequestDataAttributesTagsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch project request data attributes tags items0 based on context it is used
func (*PatchProjectRequestDataAttributesTagsItems0) MarshalBinary ¶
func (m *PatchProjectRequestDataAttributesTagsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestDataAttributesTagsItems0) UnmarshalBinary ¶
func (m *PatchProjectRequestDataAttributesTagsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestDataRelationships ¶
type PatchProjectRequestDataRelationships struct { // owner Owner *PatchProjectRequestDataRelationshipsOwner `json:"owner,omitempty"` }
PatchProjectRequestDataRelationships patch project request data relationships
swagger:model PatchProjectRequestDataRelationships
func (*PatchProjectRequestDataRelationships) ContextValidate ¶
func (m *PatchProjectRequestDataRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this patch project request data relationships based on the context it is used
func (*PatchProjectRequestDataRelationships) MarshalBinary ¶
func (m *PatchProjectRequestDataRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestDataRelationships) UnmarshalBinary ¶
func (m *PatchProjectRequestDataRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestDataRelationshipsOwner ¶
type PatchProjectRequestDataRelationshipsOwner struct { // data // Required: true Data *PatchProjectRequestDataRelationshipsOwnerData `json:"data"` }
PatchProjectRequestDataRelationshipsOwner patch project request data relationships owner
swagger:model PatchProjectRequestDataRelationshipsOwner
func (*PatchProjectRequestDataRelationshipsOwner) ContextValidate ¶
func (m *PatchProjectRequestDataRelationshipsOwner) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this patch project request data relationships owner based on the context it is used
func (*PatchProjectRequestDataRelationshipsOwner) MarshalBinary ¶
func (m *PatchProjectRequestDataRelationshipsOwner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestDataRelationshipsOwner) UnmarshalBinary ¶
func (m *PatchProjectRequestDataRelationshipsOwner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchProjectRequestDataRelationshipsOwnerData ¶
type PatchProjectRequestDataRelationshipsOwnerData struct { // The public ID of the user that owns the project // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true // Enum: [user] Type interface{} `json:"type"` }
PatchProjectRequestDataRelationshipsOwnerData patch project request data relationships owner data
swagger:model PatchProjectRequestDataRelationshipsOwnerData
func (*PatchProjectRequestDataRelationshipsOwnerData) ContextValidate ¶
func (m *PatchProjectRequestDataRelationshipsOwnerData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch project request data relationships owner data based on context it is used
func (*PatchProjectRequestDataRelationshipsOwnerData) MarshalBinary ¶
func (m *PatchProjectRequestDataRelationshipsOwnerData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchProjectRequestDataRelationshipsOwnerData) UnmarshalBinary ¶
func (m *PatchProjectRequestDataRelationshipsOwnerData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Platform ¶
type Platform string
Platform platform Example: linux/amd64
swagger:model Platform
const ( // PlatformAixPpc64 captures enum value "aix/ppc64" PlatformAixPpc64 Platform = "aix/ppc64" // PlatformAndroid386 captures enum value "android/386" PlatformAndroid386 Platform = "android/386" // PlatformAndroidAmd64 captures enum value "android/amd64" PlatformAndroidAmd64 Platform = "android/amd64" // PlatformAndroidArm captures enum value "android/arm" PlatformAndroidArm Platform = "android/arm" // PlatformAndroidArmV5 captures enum value "android/arm/v5" PlatformAndroidArmV5 Platform = "android/arm/v5" // PlatformAndroidArmV6 captures enum value "android/arm/v6" PlatformAndroidArmV6 Platform = "android/arm/v6" // PlatformAndroidArmV7 captures enum value "android/arm/v7" PlatformAndroidArmV7 Platform = "android/arm/v7" // PlatformAndroidArm64 captures enum value "android/arm64" PlatformAndroidArm64 Platform = "android/arm64" // PlatformAndroidArm64V8 captures enum value "android/arm64/v8" PlatformAndroidArm64V8 Platform = "android/arm64/v8" // PlatformDarwinAmd64 captures enum value "darwin/amd64" PlatformDarwinAmd64 Platform = "darwin/amd64" // PlatformDarwinArm captures enum value "darwin/arm" PlatformDarwinArm Platform = "darwin/arm" // PlatformDarwinArmV5 captures enum value "darwin/arm/v5" PlatformDarwinArmV5 Platform = "darwin/arm/v5" // PlatformDarwinArmV6 captures enum value "darwin/arm/v6" PlatformDarwinArmV6 Platform = "darwin/arm/v6" // PlatformDarwinArmV7 captures enum value "darwin/arm/v7" PlatformDarwinArmV7 Platform = "darwin/arm/v7" // PlatformDarwinArm64 captures enum value "darwin/arm64" PlatformDarwinArm64 Platform = "darwin/arm64" // PlatformDarwinArm64V8 captures enum value "darwin/arm64/v8" PlatformDarwinArm64V8 Platform = "darwin/arm64/v8" // PlatformDragonflyAmd64 captures enum value "dragonfly/amd64" PlatformDragonflyAmd64 Platform = "dragonfly/amd64" // PlatformFreebsd386 captures enum value "freebsd/386" PlatformFreebsd386 Platform = "freebsd/386" // PlatformFreebsdAmd64 captures enum value "freebsd/amd64" PlatformFreebsdAmd64 Platform = "freebsd/amd64" // PlatformFreebsdArm captures enum value "freebsd/arm" PlatformFreebsdArm Platform = "freebsd/arm" // PlatformFreebsdArmV5 captures enum value "freebsd/arm/v5" PlatformFreebsdArmV5 Platform = "freebsd/arm/v5" // PlatformFreebsdArmV6 captures enum value "freebsd/arm/v6" PlatformFreebsdArmV6 Platform = "freebsd/arm/v6" // PlatformFreebsdArmV7 captures enum value "freebsd/arm/v7" PlatformFreebsdArmV7 Platform = "freebsd/arm/v7" // PlatformIllumosAmd64 captures enum value "illumos/amd64" PlatformIllumosAmd64 Platform = "illumos/amd64" // PlatformIosArm64 captures enum value "ios/arm64" PlatformIosArm64 Platform = "ios/arm64" // PlatformIosArm64V8 captures enum value "ios/arm64/v8" PlatformIosArm64V8 Platform = "ios/arm64/v8" // PlatformJsWasm captures enum value "js/wasm" PlatformJsWasm Platform = "js/wasm" // PlatformLinux386 captures enum value "linux/386" PlatformLinux386 Platform = "linux/386" // PlatformLinuxAmd64 captures enum value "linux/amd64" PlatformLinuxAmd64 Platform = "linux/amd64" // PlatformLinuxArm captures enum value "linux/arm" PlatformLinuxArm Platform = "linux/arm" // PlatformLinuxArmV5 captures enum value "linux/arm/v5" PlatformLinuxArmV5 Platform = "linux/arm/v5" // PlatformLinuxArmV6 captures enum value "linux/arm/v6" PlatformLinuxArmV6 Platform = "linux/arm/v6" // PlatformLinuxArmV7 captures enum value "linux/arm/v7" PlatformLinuxArmV7 Platform = "linux/arm/v7" // PlatformLinuxArm64 captures enum value "linux/arm64" PlatformLinuxArm64 Platform = "linux/arm64" // PlatformLinuxArm64V8 captures enum value "linux/arm64/v8" PlatformLinuxArm64V8 Platform = "linux/arm64/v8" // PlatformLinuxLoong64 captures enum value "linux/loong64" PlatformLinuxLoong64 Platform = "linux/loong64" // PlatformLinuxMips captures enum value "linux/mips" PlatformLinuxMips Platform = "linux/mips" // PlatformLinuxMipsle captures enum value "linux/mipsle" PlatformLinuxMipsle Platform = "linux/mipsle" // PlatformLinuxMips64 captures enum value "linux/mips64" PlatformLinuxMips64 Platform = "linux/mips64" // PlatformLinuxMips64le captures enum value "linux/mips64le" PlatformLinuxMips64le Platform = "linux/mips64le" // PlatformLinuxPpc64 captures enum value "linux/ppc64" PlatformLinuxPpc64 Platform = "linux/ppc64" // PlatformLinuxPpc64le captures enum value "linux/ppc64le" PlatformLinuxPpc64le Platform = "linux/ppc64le" // PlatformLinuxRiscv64 captures enum value "linux/riscv64" PlatformLinuxRiscv64 Platform = "linux/riscv64" // PlatformLinuxS390x captures enum value "linux/s390x" PlatformLinuxS390x Platform = "linux/s390x" // PlatformLinuxX8664 captures enum value "linux/x86_64" PlatformLinuxX8664 Platform = "linux/x86_64" // PlatformNetbsd386 captures enum value "netbsd/386" PlatformNetbsd386 Platform = "netbsd/386" // PlatformNetbsdAmd64 captures enum value "netbsd/amd64" PlatformNetbsdAmd64 Platform = "netbsd/amd64" // PlatformNetbsdArm captures enum value "netbsd/arm" PlatformNetbsdArm Platform = "netbsd/arm" // PlatformNetbsdArmV5 captures enum value "netbsd/arm/v5" PlatformNetbsdArmV5 Platform = "netbsd/arm/v5" // PlatformNetbsdArmV6 captures enum value "netbsd/arm/v6" PlatformNetbsdArmV6 Platform = "netbsd/arm/v6" // PlatformNetbsdArmV7 captures enum value "netbsd/arm/v7" PlatformNetbsdArmV7 Platform = "netbsd/arm/v7" // PlatformOpenbsd386 captures enum value "openbsd/386" PlatformOpenbsd386 Platform = "openbsd/386" // PlatformOpenbsdAmd64 captures enum value "openbsd/amd64" PlatformOpenbsdAmd64 Platform = "openbsd/amd64" // PlatformOpenbsdArm captures enum value "openbsd/arm" PlatformOpenbsdArm Platform = "openbsd/arm" // PlatformOpenbsdArmV5 captures enum value "openbsd/arm/v5" PlatformOpenbsdArmV5 Platform = "openbsd/arm/v5" // PlatformOpenbsdArmV6 captures enum value "openbsd/arm/v6" PlatformOpenbsdArmV6 Platform = "openbsd/arm/v6" // PlatformOpenbsdArmV7 captures enum value "openbsd/arm/v7" PlatformOpenbsdArmV7 Platform = "openbsd/arm/v7" // PlatformOpenbsdArm64 captures enum value "openbsd/arm64" PlatformOpenbsdArm64 Platform = "openbsd/arm64" // PlatformOpenbsdArm64V8 captures enum value "openbsd/arm64/v8" PlatformOpenbsdArm64V8 Platform = "openbsd/arm64/v8" // PlatformPlan9386 captures enum value "plan9/386" PlatformPlan9386 Platform = "plan9/386" // PlatformPlan9Amd64 captures enum value "plan9/amd64" PlatformPlan9Amd64 Platform = "plan9/amd64" // PlatformPlan9Arm captures enum value "plan9/arm" PlatformPlan9Arm Platform = "plan9/arm" // PlatformPlan9ArmV5 captures enum value "plan9/arm/v5" PlatformPlan9ArmV5 Platform = "plan9/arm/v5" // PlatformPlan9ArmV6 captures enum value "plan9/arm/v6" PlatformPlan9ArmV6 Platform = "plan9/arm/v6" // PlatformPlan9ArmV7 captures enum value "plan9/arm/v7" PlatformPlan9ArmV7 Platform = "plan9/arm/v7" // PlatformSolarisAmd64 captures enum value "solaris/amd64" PlatformSolarisAmd64 Platform = "solaris/amd64" // PlatformWindows386 captures enum value "windows/386" PlatformWindows386 Platform = "windows/386" // PlatformWindowsAmd64 captures enum value "windows/amd64" PlatformWindowsAmd64 Platform = "windows/amd64" // PlatformWindowsArm captures enum value "windows/arm" PlatformWindowsArm Platform = "windows/arm" // PlatformWindowsArmV5 captures enum value "windows/arm/v5" PlatformWindowsArmV5 Platform = "windows/arm/v5" // PlatformWindowsArmV6 captures enum value "windows/arm/v6" PlatformWindowsArmV6 Platform = "windows/arm/v6" // PlatformWindowsArmV7 captures enum value "windows/arm/v7" PlatformWindowsArmV7 Platform = "windows/arm/v7" // PlatformWindowsArm64 captures enum value "windows/arm64" PlatformWindowsArm64 Platform = "windows/arm64" // PlatformWindowsArm64V8 captures enum value "windows/arm64/v8" PlatformWindowsArm64V8 Platform = "windows/arm64/v8" )
func NewPlatform ¶
func (Platform) ContextValidate ¶
ContextValidate validates this platform based on context it is used
type Problem ¶
type Problem struct { // When this problem was disclosed to the public. // Format: date-time DisclosedAt strfmt.DateTime `json:"disclosed_at,omitempty"` // When this problem was first discovered. // Format: date-time DiscoveredAt strfmt.DateTime `json:"discovered_at,omitempty"` // id // Required: true // Max Length: 1024 // Min Length: 1 ID *string `json:"id"` // source // Example: CVE // Required: true // Max Length: 64 // Min Length: 1 Source *string `json:"source"` // type // Required: true Type *ProblemTypeDef `json:"type"` // When this problem was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // An optional URL for this problem. // Max Length: 4096 // Min Length: 1 // Format: uri URL strfmt.URI `json:"url,omitempty"` }
Problem problem Example: {"id":"SNYK-DEBIAN8-CURL-358558","source":"snyk","type":"rule"}
swagger:model Problem
func (*Problem) ContextValidate ¶
ContextValidate validate this problem based on the context it is used
func (*Problem) MarshalBinary ¶
MarshalBinary interface implementation
func (*Problem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProblemTypeDef ¶
type ProblemTypeDef string
ProblemTypeDef problem type def
swagger:model ProblemTypeDef
const ( // ProblemTypeDefRule captures enum value "rule" ProblemTypeDefRule ProblemTypeDef = "rule" // ProblemTypeDefVulnerability captures enum value "vulnerability" ProblemTypeDefVulnerability ProblemTypeDef = "vulnerability" )
func NewProblemTypeDef ¶
func NewProblemTypeDef(value ProblemTypeDef) *ProblemTypeDef
func (ProblemTypeDef) ContextValidate ¶
ContextValidate validates this problem type def based on context it is used
func (ProblemTypeDef) Pointer ¶
func (m ProblemTypeDef) Pointer() *ProblemTypeDef
Pointer returns a pointer to a freshly-allocated ProblemTypeDef.
type ProjectAttributes ¶
type ProjectAttributes struct { // build args BuildArgs interface{} `json:"build_args,omitempty"` // business criticality // Example: ["medium"] BusinessCriticality []string `json:"business_criticality"` // The date that the project was created on // Example: 2021-05-29T09:50:54.014Z // Required: true // Format: date-time Created *strfmt.DateTime `json:"created"` // environment // Example: ["external","hosted"] Environment []string `json:"environment"` // lifecycle // Example: ["production"] Lifecycle []string `json:"lifecycle"` // Project name. // Example: snyk/goof // Required: true Name *string `json:"name"` // The origin the project was added from. // Example: github // Required: true Origin *string `json:"origin"` // Whether the project is read-only // Required: true ReadOnly *bool `json:"read_only"` // settings // Required: true Settings *ProjectSettings `json:"settings"` // Describes if a project is currently monitored or it is de-activated. // Example: active // Required: true // Enum: [active inactive] Status *string `json:"status"` // tags // Example: [{"key":"tag-key","value":"tag-value"}] Tags []*ProjectAttributesTagsItems0 `json:"tags"` // Path within the target to identify a specific file/directory/image etc. when scanning just part of the target, and not the entity. // Example: package.json // Required: true TargetFile *string `json:"target_file"` // The additional information required to resolve which revision of the resource should be scanned. // Example: main // Required: true TargetReference *string `json:"target_reference"` // Dotnet Target, for relevant projects TargetRuntime string `json:"target_runtime,omitempty"` // The package manager of the project. // Example: maven // Required: true Type *string `json:"type"` }
ProjectAttributes project attributes
swagger:model ProjectAttributes
func (*ProjectAttributes) ContextValidate ¶
ContextValidate validate this project attributes based on the context it is used
func (*ProjectAttributes) MarshalBinary ¶
func (m *ProjectAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributes) UnmarshalBinary ¶
func (m *ProjectAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectAttributesTagsItems0 ¶
type ProjectAttributesTagsItems0 struct { // key // Example: tag-key Key string `json:"key,omitempty"` // value // Example: tag-value Value string `json:"value,omitempty"` }
ProjectAttributesTagsItems0 project attributes tags items0
swagger:model ProjectAttributesTagsItems0
func (*ProjectAttributesTagsItems0) ContextValidate ¶
func (m *ProjectAttributesTagsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project attributes tags items0 based on context it is used
func (*ProjectAttributesTagsItems0) MarshalBinary ¶
func (m *ProjectAttributesTagsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributesTagsItems0) UnmarshalBinary ¶
func (m *ProjectAttributesTagsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectMeta ¶
type ProjectMeta struct { // The time the project was imported // Example: 2021-05-29T09:50:54.014Z // Required: true // Format: date-time Imported *strfmt.DateTime `json:"imported"` // The sum of critical severity issues of the project // Example: 10 // Required: true IssuesCriticalCount *float64 `json:"issues_critical_count"` // The sum of high severity issues of the project // Example: 10 // Required: true IssuesHighCount *float64 `json:"issues_high_count"` // The sum of low severity issues of the project // Example: 10 // Required: true IssuesLowCount *float64 `json:"issues_low_count"` // The sum of medium severity issues of the project // Example: 10 // Required: true IssuesMediumCount *float64 `json:"issues_medium_count"` // The time the project was last tested // Example: 2021-05-29T09:50:54.014Z // Required: true // Format: date-time LastTestedAt *strfmt.DateTime `json:"last_tested_at"` }
ProjectMeta project meta
swagger:model ProjectMeta
func (*ProjectMeta) ContextValidate ¶
ContextValidate validates this project meta based on context it is used
func (*ProjectMeta) MarshalBinary ¶
func (m *ProjectMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectMeta) UnmarshalBinary ¶
func (m *ProjectMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectOfCollection ¶
type ProjectOfCollection struct { // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // meta // Required: true Meta *ProjectMeta `json:"meta"` // relationships // Required: true Relationships *ProjectOfCollectionRelationships `json:"relationships"` // type // Required: true Type *Types `json:"type"` }
ProjectOfCollection project of collection
swagger:model ProjectOfCollection
func (*ProjectOfCollection) ContextValidate ¶
ContextValidate validate this project of collection based on the context it is used
func (*ProjectOfCollection) MarshalBinary ¶
func (m *ProjectOfCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectOfCollection) UnmarshalBinary ¶
func (m *ProjectOfCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectOfCollectionRelationships ¶
type ProjectOfCollectionRelationships struct { // target // Required: true Target *ProjectOfCollectionRelationshipsTarget `json:"target"` }
ProjectOfCollectionRelationships project of collection relationships
swagger:model ProjectOfCollectionRelationships
func (*ProjectOfCollectionRelationships) ContextValidate ¶
func (m *ProjectOfCollectionRelationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project of collection relationships based on the context it is used
func (*ProjectOfCollectionRelationships) MarshalBinary ¶
func (m *ProjectOfCollectionRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectOfCollectionRelationships) UnmarshalBinary ¶
func (m *ProjectOfCollectionRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectOfCollectionRelationshipsTarget ¶
type ProjectOfCollectionRelationshipsTarget struct { // data // Required: true Data *ProjectOfCollectionRelationshipsTargetData `json:"data"` }
ProjectOfCollectionRelationshipsTarget project of collection relationships target
swagger:model ProjectOfCollectionRelationshipsTarget
func (*ProjectOfCollectionRelationshipsTarget) ContextValidate ¶
func (m *ProjectOfCollectionRelationshipsTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project of collection relationships target based on the context it is used
func (*ProjectOfCollectionRelationshipsTarget) MarshalBinary ¶
func (m *ProjectOfCollectionRelationshipsTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectOfCollectionRelationshipsTarget) UnmarshalBinary ¶
func (m *ProjectOfCollectionRelationshipsTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectOfCollectionRelationshipsTargetData ¶
type ProjectOfCollectionRelationshipsTargetData struct { // ID of the target that owns the project // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true // Enum: [target] Type interface{} `json:"type"` }
ProjectOfCollectionRelationshipsTargetData project of collection relationships target data
swagger:model ProjectOfCollectionRelationshipsTargetData
func (*ProjectOfCollectionRelationshipsTargetData) ContextValidate ¶
func (m *ProjectOfCollectionRelationshipsTargetData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project of collection relationships target data based on context it is used
func (*ProjectOfCollectionRelationshipsTargetData) MarshalBinary ¶
func (m *ProjectOfCollectionRelationshipsTargetData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectOfCollectionRelationshipsTargetData) UnmarshalBinary ¶
func (m *ProjectOfCollectionRelationshipsTargetData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationships ¶
type ProjectRelationships struct { // importer Importer *Relationship `json:"importer,omitempty"` // organization // Required: true Organization *Relationship `json:"organization"` // owner Owner *Relationship `json:"owner,omitempty"` // target // Required: true Target interface{} `json:"target"` }
ProjectRelationships project relationships
swagger:model ProjectRelationships
func (*ProjectRelationships) ContextValidate ¶
ContextValidate validate this project relationships based on the context it is used
func (*ProjectRelationships) MarshalBinary ¶
func (m *ProjectRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationships) UnmarshalBinary ¶
func (m *ProjectRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationshipsTarget ¶
type ProjectRelationshipsTarget struct { // data // Required: true Data *ProjectRelationshipsTargetData `json:"data"` // links // Required: true Links *RelatedLink `json:"links"` }
ProjectRelationshipsTarget project relationships target
swagger:model ProjectRelationshipsTarget
func (*ProjectRelationshipsTarget) ContextValidate ¶
func (m *ProjectRelationshipsTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project relationships target based on the context it is used
func (*ProjectRelationshipsTarget) MarshalBinary ¶
func (m *ProjectRelationshipsTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationshipsTarget) UnmarshalBinary ¶
func (m *ProjectRelationshipsTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationshipsTargetData ¶
type ProjectRelationshipsTargetData struct { // attributes // Required: true Attributes *ProjectRelationshipsTargetDataAttributes `json:"attributes"` // The Resource ID. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // meta Meta *ProjectRelationshipsTargetDataMeta `json:"meta,omitempty"` // The Resource type. // Example: target // Required: true Type *string `json:"type"` }
ProjectRelationshipsTargetData project relationships target data
swagger:model ProjectRelationshipsTargetData
func (*ProjectRelationshipsTargetData) ContextValidate ¶
func (m *ProjectRelationshipsTargetData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project relationships target data based on the context it is used
func (*ProjectRelationshipsTargetData) MarshalBinary ¶
func (m *ProjectRelationshipsTargetData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationshipsTargetData) UnmarshalBinary ¶
func (m *ProjectRelationshipsTargetData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationshipsTargetDataAttributes ¶
type ProjectRelationshipsTargetDataAttributes struct { // The human readable name that represents this target. These are generated based on the provided properties, and the source. In the future we may support updating this value. // // Example: snyk-fixtures/goof DisplayName string `json:"display_name,omitempty"` // The URL for the resource. We do not use this as part of our representation of the identity of the target, as it can be changed externally to Snyk We are reliant on individual integrations providing us with this value. Currently it is only provided by the CLI // // Example: http://github.com/snyk/local-goof URL *string `json:"url,omitempty"` }
ProjectRelationshipsTargetDataAttributes project relationships target data attributes
swagger:model ProjectRelationshipsTargetDataAttributes
func (*ProjectRelationshipsTargetDataAttributes) ContextValidate ¶
func (m *ProjectRelationshipsTargetDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project relationships target data attributes based on context it is used
func (*ProjectRelationshipsTargetDataAttributes) MarshalBinary ¶
func (m *ProjectRelationshipsTargetDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationshipsTargetDataAttributes) UnmarshalBinary ¶
func (m *ProjectRelationshipsTargetDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationshipsTargetDataMeta ¶
type ProjectRelationshipsTargetDataMeta struct {
// A collection of properties regarding integration data
IntegrationData interface{} `json:"integration_data,omitempty"`
}
ProjectRelationshipsTargetDataMeta project relationships target data meta
swagger:model ProjectRelationshipsTargetDataMeta
func (*ProjectRelationshipsTargetDataMeta) ContextValidate ¶
func (m *ProjectRelationshipsTargetDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project relationships target data meta based on context it is used
func (*ProjectRelationshipsTargetDataMeta) MarshalBinary ¶
func (m *ProjectRelationshipsTargetDataMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationshipsTargetDataMeta) UnmarshalBinary ¶
func (m *ProjectRelationshipsTargetDataMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettings ¶
type ProjectSettings struct { // auto dependency upgrade AutoDependencyUpgrade *AutoDependencyUpgradeSettings `json:"auto_dependency_upgrade,omitempty"` // auto remediation prs AutoRemediationPrs *AutoRemediationPRsSettings `json:"auto_remediation_prs,omitempty"` // manual remediation prs ManualRemediationPrs *ManualRemediationPRsSettings `json:"manual_remediation_prs,omitempty"` // pull request assignment PullRequestAssignment *PullRequestAssignmentSettings `json:"pull_request_assignment,omitempty"` // pull requests // Required: true PullRequests *PullRequestsSettings `json:"pull_requests"` // recurring tests // Required: true RecurringTests *RecurringTestsSettings `json:"recurring_tests"` }
ProjectSettings project settings
swagger:model ProjectSettings
func (*ProjectSettings) ContextValidate ¶
ContextValidate validate this project settings based on the context it is used
func (*ProjectSettings) MarshalBinary ¶
func (m *ProjectSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettings) UnmarshalBinary ¶
func (m *ProjectSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettingsData ¶
type ProjectSettingsData struct { // attributes Attributes *ProjectSettingsDataAttributes `json:"attributes,omitempty"` // id // Format: uuid ID UUID `json:"id,omitempty"` // type // Example: slack Type string `json:"type,omitempty"` }
ProjectSettingsData project settings data
swagger:model ProjectSettingsData
func (*ProjectSettingsData) ContextValidate ¶
ContextValidate validate this project settings data based on the context it is used
func (*ProjectSettingsData) MarshalBinary ¶
func (m *ProjectSettingsData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettingsData) UnmarshalBinary ¶
func (m *ProjectSettingsData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettingsDataAttributes ¶
type ProjectSettingsDataAttributes struct { // is active // Required: true IsActive *IsActive `json:"is_active"` // severity threshold // Required: true SeverityThreshold *SeverityThreshold `json:"severity_threshold"` // target channel id // Required: true // Format: uri TargetChannelID *TargetChannelID `json:"target_channel_id"` // target channel name // Required: true TargetChannelName *TargetChannelName `json:"target_channel_name"` // The target file name for the project. // Example: snyk/goof:package.json // Required: true TargetProjectName *string `json:"target_project_name"` }
ProjectSettingsDataAttributes project settings data attributes
swagger:model ProjectSettingsDataAttributes
func (*ProjectSettingsDataAttributes) ContextValidate ¶
func (m *ProjectSettingsDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project settings data attributes based on the context it is used
func (*ProjectSettingsDataAttributes) MarshalBinary ¶
func (m *ProjectSettingsDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettingsDataAttributes) UnmarshalBinary ¶
func (m *ProjectSettingsDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettingsPatchRequest ¶
type ProjectSettingsPatchRequest struct { // data Data *ProjectSettingsPatchRequestData `json:"data,omitempty"` }
ProjectSettingsPatchRequest project settings patch request
swagger:model ProjectSettingsPatchRequest
func (*ProjectSettingsPatchRequest) ContextValidate ¶
func (m *ProjectSettingsPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project settings patch request based on the context it is used
func (*ProjectSettingsPatchRequest) MarshalBinary ¶
func (m *ProjectSettingsPatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettingsPatchRequest) UnmarshalBinary ¶
func (m *ProjectSettingsPatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettingsPatchRequestData ¶
type ProjectSettingsPatchRequestData struct { // attributes // Required: true Attributes *ProjectSettingsPatchRequestDataAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *UUID `json:"id"` // type // Required: true // Enum: [slack] Type *string `json:"type"` }
ProjectSettingsPatchRequestData project settings patch request data
swagger:model ProjectSettingsPatchRequestData
func (*ProjectSettingsPatchRequestData) ContextValidate ¶
func (m *ProjectSettingsPatchRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project settings patch request data based on the context it is used
func (*ProjectSettingsPatchRequestData) MarshalBinary ¶
func (m *ProjectSettingsPatchRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettingsPatchRequestData) UnmarshalBinary ¶
func (m *ProjectSettingsPatchRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectSettingsPatchRequestDataAttributes ¶
type ProjectSettingsPatchRequestDataAttributes struct { // is active IsActive IsActive `json:"is_active,omitempty"` // severity threshold SeverityThreshold SeverityThreshold `json:"severity_threshold,omitempty"` // target channel id // Format: uri TargetChannelID TargetChannelID `json:"target_channel_id,omitempty"` }
ProjectSettingsPatchRequestDataAttributes project settings patch request data attributes
Min Properties: 1
swagger:model ProjectSettingsPatchRequestDataAttributes
func (*ProjectSettingsPatchRequestDataAttributes) ContextValidate ¶
func (m *ProjectSettingsPatchRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project settings patch request data attributes based on the context it is used
func (*ProjectSettingsPatchRequestDataAttributes) MarshalBinary ¶
func (m *ProjectSettingsPatchRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectSettingsPatchRequestDataAttributes) UnmarshalBinary ¶
func (m *ProjectSettingsPatchRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicApp ¶
type PublicApp struct { // attributes Attributes *PublicAppAttributes `json:"attributes,omitempty"` // id // Required: true // Format: uuid ID *ID `json:"id"` // links Links *Links `json:"links,omitempty"` // type // Required: true Type *Type `json:"type"` }
PublicApp public app
swagger:model PublicApp
func (*PublicApp) ContextValidate ¶
ContextValidate validate this public app based on the context it is used
func (*PublicApp) MarshalBinary ¶
MarshalBinary interface implementation
func (*PublicApp) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicAppAttributes ¶
type PublicAppAttributes struct { // client id // Required: true // Format: uuid ClientID *ClientID `json:"client_id"` // context Context Context `json:"context,omitempty"` // name // Required: true Name *AppName `json:"name"` // scopes Scopes Scopes `json:"scopes,omitempty"` }
PublicAppAttributes public app attributes
swagger:model PublicAppAttributes
func (*PublicAppAttributes) ContextValidate ¶
ContextValidate validate this public app attributes based on the context it is used
func (*PublicAppAttributes) MarshalBinary ¶
func (m *PublicAppAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicAppAttributes) UnmarshalBinary ¶
func (m *PublicAppAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicAppData ¶
type PublicAppData struct { // attributes Attributes *PublicAppDataAttributes `json:"attributes,omitempty"` // id // Required: true // Format: uuid ID *UUID `json:"id"` // links Links *Links `json:"links,omitempty"` // type // Required: true Type *Type `json:"type"` }
PublicAppData public app data
swagger:model PublicAppData
func (*PublicAppData) ContextValidate ¶
ContextValidate validate this public app data based on the context it is used
func (*PublicAppData) MarshalBinary ¶
func (m *PublicAppData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicAppData) UnmarshalBinary ¶
func (m *PublicAppData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicAppDataAttributes ¶
type PublicAppDataAttributes struct { // client id // Required: true // Format: uuid ClientID *strfmt.UUID `json:"client_id"` // Allow installing the app to a org/group or to a user, default tenant. // Enum: [tenant user] Context string `json:"context,omitempty"` // New name of the app to display to users during authorization flow. // Example: My App // Required: true // Min Length: 1 Name *string `json:"name"` // The scopes this app is allowed to request during authorization. // Min Items: 1 Scopes []string `json:"scopes"` }
PublicAppDataAttributes public app data attributes
swagger:model PublicAppDataAttributes
func (*PublicAppDataAttributes) ContextValidate ¶
func (m *PublicAppDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this public app data attributes based on context it is used
func (*PublicAppDataAttributes) MarshalBinary ¶
func (m *PublicAppDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicAppDataAttributes) UnmarshalBinary ¶
func (m *PublicAppDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicFacingRiskFactor ¶
type PublicFacingRiskFactor struct { // included in score IncludedInScore *bool `json:"included_in_score,omitempty"` // links Links *RiskFactorLinks `json:"links,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updated_at"` // value // Required: true Value *bool `json:"value"` }
PublicFacingRiskFactor public facing risk factor
swagger:model PublicFacingRiskFactor
func (*PublicFacingRiskFactor) ContextValidate ¶
func (m *PublicFacingRiskFactor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this public facing risk factor based on the context it is used
func (*PublicFacingRiskFactor) MarshalBinary ¶
func (m *PublicFacingRiskFactor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicFacingRiskFactor) UnmarshalBinary ¶
func (m *PublicFacingRiskFactor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PullRequestAssignmentSettings ¶
type PullRequestAssignmentSettings struct { // Manually specify users to assign (and all will be assigned). // Example: ["my-github-username"] Assignees []string `json:"assignees"` // Automatically assign pull requests created by Snyk. // Example: true IsEnabled bool `json:"is_enabled,omitempty"` // Automatically assign the last user to change the manifest file ("auto"), or manually specify a list of users ("manual"). // Example: auto // Enum: [auto manual] Type string `json:"type,omitempty"` }
PullRequestAssignmentSettings Automatically assign pull requests created by Snyk (limited to private repos). If not specified, settings will be inherited from the Project's integration.
swagger:model PullRequestAssignmentSettings
func (*PullRequestAssignmentSettings) ContextValidate ¶
func (m *PullRequestAssignmentSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pull request assignment settings based on context it is used
func (*PullRequestAssignmentSettings) MarshalBinary ¶
func (m *PullRequestAssignmentSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PullRequestAssignmentSettings) UnmarshalBinary ¶
func (m *PullRequestAssignmentSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PullRequestsSettings ¶
type PullRequestsSettings struct { // Only fail when the issues found have a fix available. // Example: true FailOnlyForIssuesWithFix bool `json:"fail_only_for_issues_with_fix,omitempty"` // Fail if the project has any issues ("all"), or fail if a PR is introducing a new dependency with issues ("only_new"). If this value is unset, the setting is inherited from the org default. // Example: all // Enum: [all only_new] Policy string `json:"policy,omitempty"` // Only fail for issues greater than or equal to the specified severity. If this value is unset, the setting is inherited from the org default. // Example: high // Enum: [low medium high critical] SeverityThreshold string `json:"severity_threshold,omitempty"` }
PullRequestsSettings Settings which describe how pull requests for a project are tested.
swagger:model PullRequestsSettings
func (*PullRequestsSettings) ContextValidate ¶
ContextValidate validates this pull requests settings based on context it is used
func (*PullRequestsSettings) MarshalBinary ¶
func (m *PullRequestsSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PullRequestsSettings) UnmarshalBinary ¶
func (m *PullRequestsSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryVersion ¶
type QueryVersion string
QueryVersion Requested API version
swagger:model QueryVersion
func (QueryVersion) ContextValidate ¶
ContextValidate validates this query version based on context it is used
type RecurringTestsSettings ¶
type RecurringTestsSettings struct { // Test frequency of a project. Also controls when automated PRs may be created. // Example: daily // Enum: [daily weekly never] Frequency string `json:"frequency,omitempty"` }
RecurringTestsSettings Settings which describe how recurring tests are run for a project.
swagger:model RecurringTestsSettings
func (*RecurringTestsSettings) ContextValidate ¶
func (m *RecurringTestsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this recurring tests settings based on context it is used
func (*RecurringTestsSettings) MarshalBinary ¶
func (m *RecurringTestsSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecurringTestsSettings) UnmarshalBinary ¶
func (m *RecurringTestsSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedirectUris ¶
RedirectUris List of allowed redirect URIs to call back after authentication. Example: ["https://example.com/callback"]
swagger:model RedirectUris
func (RedirectUris) ContextValidate ¶
ContextValidate validates this redirect uris based on context it is used
type RedirectUrisNoMin ¶
RedirectUrisNoMin List of allowed redirect URIs to call back after authentication. Example: ["https://example.com/callback"]
swagger:model RedirectUrisNoMin
func (RedirectUrisNoMin) ContextValidate ¶
ContextValidate validates this redirect uris no min based on context it is used
type Region ¶
type Region struct { // end // Required: true End *FilePosition `json:"end"` // start // Required: true Start *FilePosition `json:"start"` }
Region region
swagger:model Region
func (*Region) ContextValidate ¶
ContextValidate validate this region based on the context it is used
func (*Region) MarshalBinary ¶
MarshalBinary interface implementation
func (*Region) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RelatedLink ¶
type RelatedLink struct { // related Related LinkProperty `json:"related,omitempty"` }
RelatedLink related link Example: {"related":"https://example.com/api/other_resource"}
swagger:model RelatedLink
func (*RelatedLink) ContextValidate ¶
ContextValidate validates this related link based on context it is used
func (*RelatedLink) MarshalBinary ¶
func (m *RelatedLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelatedLink) UnmarshalBinary ¶
func (m *RelatedLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Relationship ¶
type Relationship struct { // data // Required: true Data *RelationshipData `json:"data"` // links // Required: true Links *RelatedLink `json:"links"` // meta Meta Meta `json:"meta,omitempty"` }
Relationship relationship Example: {"data":{"id":"4a72d1db-b465-4764-99e1-ecedad03b06a","type":"resource"},"links":{"related":{"href":"https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"}}}
swagger:model Relationship
func (*Relationship) ContextValidate ¶
ContextValidate validate this relationship based on the context it is used
func (*Relationship) MarshalBinary ¶
func (m *Relationship) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Relationship) UnmarshalBinary ¶
func (m *Relationship) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RelationshipData ¶
type RelationshipData struct { // id // Example: 4a72d1db-b465-4764-99e1-ecedad03b06a // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // Type of the related resource // Example: resource // Required: true // Pattern: ^[a-z][a-z0-9]*(_[a-z][a-z0-9]*)*$ Type *string `json:"type"` }
RelationshipData relationship data
swagger:model RelationshipData
func (*RelationshipData) ContextValidate ¶
ContextValidate validates this relationship data based on context it is used
func (*RelationshipData) MarshalBinary ¶
func (m *RelationshipData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelationshipData) UnmarshalBinary ¶
func (m *RelationshipData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Remedy ¶
type Remedy struct { // An optional identifier for correlating remedies between coordinates or across issues. They are scoped // to a single Project and test run. Remedies with the same correlation_id must have the same contents. // // Max Length: 256 // Min Length: 1 CorrelationID string `json:"correlation_id,omitempty"` // A markdown-formatted optional description of this remedy. Links are not permitted. // Max Length: 4096 // Min Length: 1 Description string `json:"description,omitempty"` // meta Meta *RemedyMetadata `json:"meta,omitempty"` // type // Required: true // Enum: [indeterminate manual automated rule_result_message terraform cloudformation cli kubernetes arm] Type *string `json:"type"` }
Remedy remedy
swagger:model Remedy
func (*Remedy) ContextValidate ¶
ContextValidate validate this remedy based on the context it is used
func (*Remedy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Remedy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RemedyMetadata ¶
type RemedyMetadata struct { // Metadata information related to apply a remedy. Limited in size to 100Kb when JSON serialized. // Required: true Data interface{} `json:"data"` // A schema version identifier the metadata object validates against. Note: this information is // only relevant in the domain of the API consumer: the issues system always considers metadata // just as an arbitrary object. // // Required: true // Max Length: 256 // Min Length: 1 SchemaVersion *string `json:"schema_version"` }
RemedyMetadata remedy metadata
swagger:model RemedyMetadata
func (*RemedyMetadata) ContextValidate ¶
ContextValidate validates this remedy metadata based on context it is used
func (*RemedyMetadata) MarshalBinary ¶
func (m *RemedyMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemedyMetadata) UnmarshalBinary ¶
func (m *RemedyMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Resolution ¶
type Resolution struct { // Optional details about the resolution. Used by Snyk Cloud so far. Details string `json:"details,omitempty"` // The time when this issue was resolved. // Required: true // Format: date-time ResolvedAt *strfmt.DateTime `json:"resolved_at"` // type // Required: true Type *ResolutionTypeDef `json:"type"` }
Resolution An optional field recording when and via what means an issue was resolved, if it was resolved. Resolved issues are retained for XX days.
swagger:model Resolution
func (*Resolution) ContextValidate ¶
ContextValidate validate this resolution based on the context it is used
func (*Resolution) MarshalBinary ¶
func (m *Resolution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Resolution) UnmarshalBinary ¶
func (m *Resolution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResolutionTypeDef ¶
type ResolutionTypeDef string
ResolutionTypeDef resolution type def
swagger:model ResolutionTypeDef
const ( // ResolutionTypeDefDisappeared captures enum value "disappeared" ResolutionTypeDefDisappeared ResolutionTypeDef = "disappeared" // ResolutionTypeDefFixed captures enum value "fixed" ResolutionTypeDefFixed ResolutionTypeDef = "fixed" )
func NewResolutionTypeDef ¶
func NewResolutionTypeDef(value ResolutionTypeDef) *ResolutionTypeDef
func (ResolutionTypeDef) ContextValidate ¶
ContextValidate validates this resolution type def based on context it is used
func (ResolutionTypeDef) Pointer ¶
func (m ResolutionTypeDef) Pointer() *ResolutionTypeDef
Pointer returns a pointer to a freshly-allocated ResolutionTypeDef.
type Resource ¶
type Resource struct { // Amount of IaC resources this resource maps to. // Minimum: 0 IacMappingsCount *int64 `json:"iac_mappings_count,omitempty"` // Internal ID for a resource. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // input type // Required: true // Enum: [cloud_scan arm k8s tf tf_hcl tf_plan tf_state cfn] InputType *string `json:"input_type"` // location // Max Length: 256 // Min Length: 1 Location string `json:"location,omitempty"` // name // Required: true // Max Length: 256 // Min Length: 1 Name *string `json:"name"` // An optional native identifier for this resource. For example, a cloud resource id. // Max Length: 2048 // Min Length: 1 NativeID string `json:"native_id,omitempty"` // platform // Required: true // Max Length: 256 // Min Length: 1 Platform *string `json:"platform"` // resource type // Required: true // Max Length: 256 // Min Length: 1 ResourceType *string `json:"resource_type"` // tags Tags map[string]string `json:"tags,omitempty"` // type // Required: true // Enum: [cloud iac] Type *string `json:"type"` }
Resource resource
swagger:model Resource
func (*Resource) ContextValidate ¶
ContextValidate validates this resource based on context it is used
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ResourcePath ¶
type ResourcePath string
ResourcePath resource path Example: ,5.4.0),[6.0.0.pr1,6.4.0)
swagger:model ResourcePath
func (ResourcePath) ContextValidate ¶
ContextValidate validates this resource path based on context it is used
type ResourcePathRepresentation ¶
type ResourcePathRepresentation struct { // resource path // Required: true ResourcePath *ResourcePath `json:"resource_path"` }
ResourcePathRepresentation An object that contains an opaque identifying string.
swagger:model ResourcePathRepresentation
func (*ResourcePathRepresentation) ContextValidate ¶
func (m *ResourcePathRepresentation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this resource path representation based on the context it is used
func (*ResourcePathRepresentation) MarshalBinary ¶
func (m *ResourcePathRepresentation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcePathRepresentation) UnmarshalBinary ¶
func (m *ResourcePathRepresentation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Risk ¶
type Risk struct { // Risk factors identified for an issue // Required: true Factors []RiskFactor `json:"factors"` // score Score *RiskScore `json:"score,omitempty"` }
Risk Risk prioritization information for an issue Example: {"factors":[{"name":"deployed","updated_at":"2023-09-07T13:36:37Z","value":true}],"score":{"model":"v4","value":700}}
swagger:model Risk
func (*Risk) ContextValidate ¶
ContextValidate validate this risk based on the context it is used
func (*Risk) MarshalBinary ¶
MarshalBinary interface implementation
func (*Risk) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RiskFactorLinks ¶
type RiskFactorLinks struct { // evidence Evidence LinkProperty `json:"evidence,omitempty"` }
RiskFactorLinks risk factor links
swagger:model RiskFactorLinks
func (*RiskFactorLinks) ContextValidate ¶
ContextValidate validates this risk factor links based on context it is used
func (*RiskFactorLinks) MarshalBinary ¶
func (m *RiskFactorLinks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RiskFactorLinks) UnmarshalBinary ¶
func (m *RiskFactorLinks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RiskScore ¶
type RiskScore struct { // Risk scoring model used to calculate the score value // Required: true Model *string `json:"model"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // Risk score value, which may be used for overall prioritization // Required: true // Maximum: 1000 // Minimum: 0 Value *int64 `json:"value"` }
RiskScore Risk prioritization score based on an analysis model Example: {"model":"v1","value":700}
swagger:model RiskScore
func (*RiskScore) ContextValidate ¶
ContextValidate validates this risk score based on context it is used
func (*RiskScore) MarshalBinary ¶
MarshalBinary interface implementation
func (*RiskScore) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SastEnablement ¶
type SastEnablement struct { // attributes // Required: true Attributes *SastEnablementAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *string `json:"type"` }
SastEnablement sast enablement
swagger:model SastEnablement
func (*SastEnablement) ContextValidate ¶
ContextValidate validate this sast enablement based on the context it is used
func (*SastEnablement) MarshalBinary ¶
func (m *SastEnablement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SastEnablement) UnmarshalBinary ¶
func (m *SastEnablement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SastEnablementAttributes ¶
type SastEnablementAttributes struct { // autofix enabled AutofixEnabled bool `json:"autofix_enabled,omitempty"` // sast enabled // Required: true SastEnabled *bool `json:"sast_enabled"` }
SastEnablementAttributes sast enablement attributes
swagger:model SastEnablementAttributes
func (*SastEnablementAttributes) ContextValidate ¶
func (m *SastEnablementAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sast enablement attributes based on context it is used
func (*SastEnablementAttributes) MarshalBinary ¶
func (m *SastEnablementAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SastEnablementAttributes) UnmarshalBinary ¶
func (m *SastEnablementAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SbomResource ¶
type SbomResource struct { // id // Example: b68b0b85-d039-4c05-abc0-04eb50ca0fe9 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // type // Required: true Type *Types `json:"type"` }
SbomResource sbom resource
swagger:model SbomResource
func (*SbomResource) ContextValidate ¶
ContextValidate validate this sbom resource based on the context it is used
func (*SbomResource) MarshalBinary ¶
func (m *SbomResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SbomResource) UnmarshalBinary ¶
func (m *SbomResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SbomResponse ¶
type SbomResponse struct { // data // Required: true Data *SbomResource `json:"data"` // jsonapi // Required: true Jsonapi *JSONAPI `json:"jsonapi"` }
SbomResponse sbom response
swagger:model SbomResponse
func (*SbomResponse) ContextValidate ¶
ContextValidate validate this sbom response based on the context it is used
func (*SbomResponse) MarshalBinary ¶
func (m *SbomResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SbomResponse) UnmarshalBinary ¶
func (m *SbomResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScanItemType ¶
type ScanItemType string
ScanItemType scan item type Example: project
swagger:model ScanItemType
const ( // ScanItemTypeProject captures enum value "project" ScanItemTypeProject ScanItemType = "project" // ScanItemTypeEnvironment captures enum value "environment" ScanItemTypeEnvironment ScanItemType = "environment" )
func NewScanItemType ¶
func NewScanItemType(value ScanItemType) *ScanItemType
func (ScanItemType) ContextValidate ¶
ContextValidate validates this scan item type based on context it is used
func (ScanItemType) Pointer ¶
func (m ScanItemType) Pointer() *ScanItemType
Pointer returns a pointer to a freshly-allocated ScanItemType.
type Scopes ¶
type Scopes []string
Scopes The scopes this app is allowed to request during authorization.
swagger:model Scopes
func (Scopes) ContextValidate ¶
ContextValidate validates this scopes based on context it is used
type SelfLink ¶
type SelfLink struct { // self Self LinkProperty `json:"self,omitempty"` }
SelfLink self link Example: {"self":"https://example.com/api/this_resource"}
swagger:model SelfLink
func (*SelfLink) ContextValidate ¶
ContextValidate validates this self link based on context it is used
func (*SelfLink) MarshalBinary ¶
MarshalBinary interface implementation
func (*SelfLink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceAccount ¶
type ServiceAccount struct { // attributes // Required: true Attributes *ServiceAccountAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // links Links *ServiceAccountLinks `json:"links,omitempty"` // type // Required: true Type *string `json:"type"` }
ServiceAccount service account
swagger:model ServiceAccount
func (*ServiceAccount) ContextValidate ¶
ContextValidate validate this service account based on the context it is used
func (*ServiceAccount) MarshalBinary ¶
func (m *ServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccount) UnmarshalBinary ¶
func (m *ServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountAttributes ¶
type ServiceAccountAttributes struct { // The time, in seconds, that a generated access token will be valid for. Defaults to 1hr if unset. Only provided when auth_type is oauth_private_key_jwt. AccessTokenTTLSeconds float64 `json:"access_token_ttl_seconds,omitempty"` // The Snyk API Key for this service account. Only returned on creation, and only when auth_type is api_key. APIKey string `json:"api_key,omitempty"` // The authentication strategy for the service account: // * api_key - Regular Snyk API Key. // * oauth_client_secret - OAuth2 client_credentials grant, which returns a client secret that can be used to retrieve an access token. // * oauth_private_key_jwt - OAuth2 client_credentials grant, using private_key_jwt client_assertion as laid out OIDC Connect Core 1.0, section 9. // Required: true // Enum: [api_key oauth_client_secret oauth_private_key_jwt] AuthType *string `json:"auth_type"` // The service account's attached client-id. Used to request an access-token. Only provided when auth_type is oauth_private_key_jwt. ClientID string `json:"client_id,omitempty"` // The client secret used for obtaining access tokens. Only sent on creation of new service accounts and cannot be retrieved thereafter. Only provided when auth_type is oauth_client_secret. ClientSecret string `json:"client_secret,omitempty"` // A JWKs URL used to verify signed JWT requests against. Must be https. Only provided when auth_type is oauth_private_key_jwt. JwksURL string `json:"jwks_url,omitempty"` // The level of access for the service account: // * Group - the service account was created at the Group level. // * Org - the service account was created at the Org level. // Enum: [Group Org] Level string `json:"level,omitempty"` // A human-friendly name of the service account. // Required: true Name *string `json:"name"` // The ID of the role which the Service Account is associated with. // Required: true // Format: uuid RoleID *strfmt.UUID `json:"role_id"` }
ServiceAccountAttributes service account attributes
swagger:model ServiceAccountAttributes
func (*ServiceAccountAttributes) ContextValidate ¶
func (m *ServiceAccountAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this service account attributes based on context it is used
func (*ServiceAccountAttributes) MarshalBinary ¶
func (m *ServiceAccountAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountAttributes) UnmarshalBinary ¶
func (m *ServiceAccountAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountLinks ¶
type ServiceAccountLinks struct { // first // Example: https://example.com/api/resource First interface{} `json:"first,omitempty"` // last // Example: https://example.com/api/resource Last interface{} `json:"last,omitempty"` // next // Example: https://example.com/api/resource Next interface{} `json:"next,omitempty"` // prev // Example: https://example.com/api/resource Prev interface{} `json:"prev,omitempty"` // related // Example: https://example.com/api/resource Related interface{} `json:"related,omitempty"` // self // Example: https://example.com/api/resource Self interface{} `json:"self,omitempty"` }
ServiceAccountLinks service account links
swagger:model ServiceAccountLinks
func (*ServiceAccountLinks) ContextValidate ¶
ContextValidate validates this service account links based on context it is used
func (*ServiceAccountLinks) MarshalBinary ¶
func (m *ServiceAccountLinks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountLinks) UnmarshalBinary ¶
func (m *ServiceAccountLinks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SessionAttributes ¶
type SessionAttributes struct { // created at // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"created_at"` }
SessionAttributes session attributes
swagger:model SessionAttributes
func (*SessionAttributes) ContextValidate ¶
ContextValidate validates this session attributes based on context it is used
func (*SessionAttributes) MarshalBinary ¶
func (m *SessionAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionAttributes) UnmarshalBinary ¶
func (m *SessionAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SessionData ¶
type SessionData struct { // attributes // Required: true Attributes *SessionAttributes `json:"attributes"` // id // Required: true // Format: uuid ID *ID `json:"id"` // type // Required: true Type *Type `json:"type"` }
SessionData session data
swagger:model SessionData
func (*SessionData) ContextValidate ¶
ContextValidate validate this session data based on the context it is used
func (*SessionData) MarshalBinary ¶
func (m *SessionData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionData) UnmarshalBinary ¶
func (m *SessionData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SettingsAttributes ¶
type SettingsAttributes struct { // severity threshold // Required: true SeverityThreshold *SeverityThreshold `json:"severity_threshold"` // target channel id // Required: true // Format: uri TargetChannelID *TargetChannelID `json:"target_channel_id"` }
SettingsAttributes settings attributes
swagger:model SettingsAttributes
func (*SettingsAttributes) ContextValidate ¶
ContextValidate validate this settings attributes based on the context it is used
func (*SettingsAttributes) MarshalBinary ¶
func (m *SettingsAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingsAttributes) UnmarshalBinary ¶
func (m *SettingsAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SettingsRequest ¶
type SettingsRequest struct { // data // Required: true Data *SettingsRequestData `json:"data"` }
SettingsRequest settings request
swagger:model SettingsRequest
func (*SettingsRequest) ContextValidate ¶
ContextValidate validate this settings request based on the context it is used
func (*SettingsRequest) MarshalBinary ¶
func (m *SettingsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingsRequest) UnmarshalBinary ¶
func (m *SettingsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SettingsRequestData ¶
type SettingsRequestData struct { // attributes // Required: true Attributes *SettingsAttributes `json:"attributes"` // type // Required: true // Enum: [slack] Type *string `json:"type"` }
SettingsRequestData settings request data
swagger:model SettingsRequestData
func (*SettingsRequestData) ContextValidate ¶
ContextValidate validate this settings request data based on the context it is used
func (*SettingsRequestData) MarshalBinary ¶
func (m *SettingsRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingsRequestData) UnmarshalBinary ¶
func (m *SettingsRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Severity ¶
type Severity struct { // level // Example: medium Level string `json:"level,omitempty"` // The CVSSv3 value of the vulnerability. // Example: 5.3 Score *float64 `json:"score,omitempty"` // The source of this severity. The value must be the id of a referenced problem or class, in which case that problem or class is the source of this issue. If source is omitted, this severity is sourced internally in the Snyk application. // Example: Snyk Source string `json:"source,omitempty"` // The CVSSv3 value of the vulnerability. // Example: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Vector *string `json:"vector,omitempty"` }
Severity severity
swagger:model Severity
func (*Severity) ContextValidate ¶
ContextValidate validates this severity based on context it is used
func (*Severity) MarshalBinary ¶
MarshalBinary interface implementation
func (*Severity) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SeverityThreshold ¶
type SeverityThreshold string
SeverityThreshold Minimum Snyk issue severity to send a notification for, messages will not be sent for any issue below this value Example: high
swagger:model SeverityThreshold
const ( // SeverityThresholdLow captures enum value "low" SeverityThresholdLow SeverityThreshold = "low" // SeverityThresholdMedium captures enum value "medium" SeverityThresholdMedium SeverityThreshold = "medium" // SeverityThresholdHigh captures enum value "high" SeverityThresholdHigh SeverityThreshold = "high" // SeverityThresholdCritical captures enum value "critical" SeverityThresholdCritical SeverityThreshold = "critical" )
func NewSeverityThreshold ¶
func NewSeverityThreshold(value SeverityThreshold) *SeverityThreshold
func (SeverityThreshold) ContextValidate ¶
ContextValidate validates this severity threshold based on context it is used
func (SeverityThreshold) Pointer ¶
func (m SeverityThreshold) Pointer() *SeverityThreshold
Pointer returns a pointer to a freshly-allocated SeverityThreshold.
type SlackChannel ¶
type SlackChannel struct { // attributes Attributes *SlackChannelAttributes `json:"attributes,omitempty"` // id // Example: slack://channel?team=T123456\u0026id=C123456 // Format: uri ID strfmt.URI `json:"id,omitempty"` // type // Example: slack_channel Type string `json:"type,omitempty"` }
SlackChannel slack channel
swagger:model SlackChannel
func (*SlackChannel) ContextValidate ¶
ContextValidate validate this slack channel based on the context it is used
func (*SlackChannel) MarshalBinary ¶
func (m *SlackChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackChannel) UnmarshalBinary ¶
func (m *SlackChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackChannelAttributes ¶
type SlackChannelAttributes struct { // Name of the Slack Channel // Example: general Name string `json:"name,omitempty"` // Channel type // Enum: [public private direct_message multiparty_direct_message] Type string `json:"type,omitempty"` }
SlackChannelAttributes slack channel attributes
swagger:model SlackChannelAttributes
func (*SlackChannelAttributes) ContextValidate ¶
func (m *SlackChannelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this slack channel attributes based on context it is used
func (*SlackChannelAttributes) MarshalBinary ¶
func (m *SlackChannelAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackChannelAttributes) UnmarshalBinary ¶
func (m *SlackChannelAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackDefaultSettingsData ¶
type SlackDefaultSettingsData struct { // attributes Attributes *SlackDefaultSettingsDataAttributes `json:"attributes,omitempty"` // id // Format: uuid ID UUID `json:"id,omitempty"` // type // Example: slack Type string `json:"type,omitempty"` }
SlackDefaultSettingsData slack default settings data
swagger:model SlackDefaultSettingsData
func (*SlackDefaultSettingsData) ContextValidate ¶
func (m *SlackDefaultSettingsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this slack default settings data based on the context it is used
func (*SlackDefaultSettingsData) MarshalBinary ¶
func (m *SlackDefaultSettingsData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackDefaultSettingsData) UnmarshalBinary ¶
func (m *SlackDefaultSettingsData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackDefaultSettingsDataAttributes ¶
type SlackDefaultSettingsDataAttributes struct { // severity threshold // Required: true SeverityThreshold *SeverityThreshold `json:"severity_threshold"` // target channel id // Required: true // Format: uri TargetChannelID *TargetChannelID `json:"target_channel_id"` // target channel name // Required: true TargetChannelName *TargetChannelName `json:"target_channel_name"` }
SlackDefaultSettingsDataAttributes slack default settings data attributes
swagger:model SlackDefaultSettingsDataAttributes
func (*SlackDefaultSettingsDataAttributes) ContextValidate ¶
func (m *SlackDefaultSettingsDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this slack default settings data attributes based on the context it is used
func (*SlackDefaultSettingsDataAttributes) MarshalBinary ¶
func (m *SlackDefaultSettingsDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackDefaultSettingsDataAttributes) UnmarshalBinary ¶
func (m *SlackDefaultSettingsDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Slots ¶
type Slots struct { // The time at which this vulnerability was disclosed. // Example: 2022-06-16T13:51:13Z // Format: date-time DisclosureTime strfmt.DateTime `json:"disclosure_time,omitempty"` // The exploit maturity. Value of ‘No Data’, ‘Not Defined’, ‘Unproven’, ‘Proof of Concept’, ‘Functional’ or ‘High’. // Example: Not Defined Exploit string `json:"exploit,omitempty"` // The time at which this vulnerability was published. // Example: 2022-06-16T14:00:24.315507Z PublicationTime string `json:"publication_time,omitempty"` // references References []*SlotsReferencesItems0 `json:"references"` }
Slots slots
swagger:model Slots
func (*Slots) ContextValidate ¶
ContextValidate validate this slots based on the context it is used
func (*Slots) MarshalBinary ¶
MarshalBinary interface implementation
func (*Slots) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SlotsReferencesItems0 ¶
type SlotsReferencesItems0 struct { // Descriptor for an external reference to the issue Title string `json:"title,omitempty"` // URL for an external reference to the issue URL string `json:"url,omitempty"` }
SlotsReferencesItems0 slots references items0
swagger:model SlotsReferencesItems0
func (*SlotsReferencesItems0) ContextValidate ¶
ContextValidate validates this slots references items0 based on context it is used
func (*SlotsReferencesItems0) MarshalBinary ¶
func (m *SlotsReferencesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlotsReferencesItems0) UnmarshalBinary ¶
func (m *SlotsReferencesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SourceLocation ¶
type SourceLocation struct { // A path to the file containing this issue, relative to the root of the project target, // formatted using POSIX separators. // // Required: true File *string `json:"file"` // region Region *Region `json:"region,omitempty"` }
SourceLocation source location
swagger:model SourceLocation
func (*SourceLocation) ContextValidate ¶
ContextValidate validate this source location based on the context it is used
func (*SourceLocation) MarshalBinary ¶
func (m *SourceLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SourceLocation) UnmarshalBinary ¶
func (m *SourceLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SpdxDocument ¶
type SpdxDocument interface{}
SpdxDocument spdx document
swagger:model SpdxDocument
type TargetChannelID ¶
TargetChannelID target channel Id Example: slack://channel?team=team-id\u0026id=channel-id
swagger:model TargetChannelId
func (TargetChannelID) ContextValidate ¶
ContextValidate validates this target channel Id based on context it is used
type TargetChannelName ¶
type TargetChannelName string
TargetChannelName target channel name Example: channel-name
swagger:model TargetChannelName
func (TargetChannelName) ContextValidate ¶
ContextValidate validates this target channel name based on context it is used
type TestExecutionType ¶
type TestExecutionType string
TestExecutionType test execution type
swagger:model TestExecutionType
const ( // TestExecutionTypeTestDashWorkflowDashExecution captures enum value "test-workflow-execution" TestExecutionTypeTestDashWorkflowDashExecution TestExecutionType = "test-workflow-execution" // TestExecutionTypeCustomDashExecution captures enum value "custom-execution" TestExecutionTypeCustomDashExecution TestExecutionType = "custom-execution" )
func NewTestExecutionType ¶
func NewTestExecutionType(value TestExecutionType) *TestExecutionType
func (TestExecutionType) ContextValidate ¶
ContextValidate validates this test execution type based on context it is used
func (TestExecutionType) Pointer ¶
func (m TestExecutionType) Pointer() *TestExecutionType
Pointer returns a pointer to a freshly-allocated TestExecutionType.
type Type ¶
type Type string
Type type
swagger:model Type
func (Type) ContextValidate ¶
ContextValidate validates this type based on context it is used
type TypeDef ¶
type TypeDef string
TypeDef The type of an issue. Example: cloud
swagger:model TypeDef
const ( // TypeDefPackageVulnerability captures enum value "package_vulnerability" TypeDefPackageVulnerability TypeDef = "package_vulnerability" // TypeDefLicense captures enum value "license" TypeDefLicense TypeDef = "license" // TypeDefCloud captures enum value "cloud" TypeDefCloud TypeDef = "cloud" // TypeDefCode captures enum value "code" TypeDefCode TypeDef = "code" // TypeDefCustom captures enum value "custom" TypeDefCustom TypeDef = "custom" // TypeDefConfig captures enum value "config" TypeDefConfig TypeDef = "config" )
func NewTypeDef ¶
func (TypeDef) ContextValidate ¶
ContextValidate validates this type def based on context it is used
type Types ¶
type Types string
Types types Example: resource
swagger:model Types
func (Types) ContextValidate ¶
ContextValidate validates this types based on context it is used
type UUID ¶
UUID Uuid
swagger:model Uuid
func (UUID) ContextValidate ¶
ContextValidate validates this Uuid based on context it is used
type UpdateCollectionRequest ¶
type UpdateCollectionRequest struct { // data // Required: true Data *UpdateCollectionRequestData `json:"data"` }
UpdateCollectionRequest update collection request
swagger:model UpdateCollectionRequest
func (*UpdateCollectionRequest) ContextValidate ¶
func (m *UpdateCollectionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection request based on the context it is used
func (*UpdateCollectionRequest) MarshalBinary ¶
func (m *UpdateCollectionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionRequest) UnmarshalBinary ¶
func (m *UpdateCollectionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionRequestData ¶
type UpdateCollectionRequestData struct { // attributes // Required: true Attributes *UpdateCollectionRequestDataAttributes `json:"attributes"` // id // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // type // Required: true Type *Types `json:"type"` }
UpdateCollectionRequestData update collection request data
swagger:model UpdateCollectionRequestData
func (*UpdateCollectionRequestData) ContextValidate ¶
func (m *UpdateCollectionRequestData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection request data based on the context it is used
func (*UpdateCollectionRequestData) MarshalBinary ¶
func (m *UpdateCollectionRequestData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionRequestData) UnmarshalBinary ¶
func (m *UpdateCollectionRequestData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionRequestDataAttributes ¶
type UpdateCollectionRequestDataAttributes struct { // name // Required: true Name *Name `json:"name"` }
UpdateCollectionRequestDataAttributes update collection request data attributes
swagger:model UpdateCollectionRequestDataAttributes
func (*UpdateCollectionRequestDataAttributes) ContextValidate ¶
func (m *UpdateCollectionRequestDataAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection request data attributes based on the context it is used
func (*UpdateCollectionRequestDataAttributes) MarshalBinary ¶
func (m *UpdateCollectionRequestDataAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionRequestDataAttributes) UnmarshalBinary ¶
func (m *UpdateCollectionRequestDataAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsRequest ¶
type UpdateCollectionWithProjectsRequest struct { // IDs of items to add to a collection // Required: true // Max Items: 100 Data []*UpdateCollectionWithProjectsRequestDataItems0 `json:"data"` }
UpdateCollectionWithProjectsRequest update collection with projects request
swagger:model UpdateCollectionWithProjectsRequest
func (*UpdateCollectionWithProjectsRequest) ContextValidate ¶
func (m *UpdateCollectionWithProjectsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update collection with projects request based on the context it is used
func (*UpdateCollectionWithProjectsRequest) MarshalBinary ¶
func (m *UpdateCollectionWithProjectsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsRequest) UnmarshalBinary ¶
func (m *UpdateCollectionWithProjectsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCollectionWithProjectsRequestDataItems0 ¶
type UpdateCollectionWithProjectsRequestDataItems0 struct { // id // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // Type of the item id // Required: true // Enum: [project] Type *string `json:"type"` }
UpdateCollectionWithProjectsRequestDataItems0 update collection with projects request data items0
swagger:model UpdateCollectionWithProjectsRequestDataItems0
func (*UpdateCollectionWithProjectsRequestDataItems0) ContextValidate ¶
func (m *UpdateCollectionWithProjectsRequestDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update collection with projects request data items0 based on context it is used
func (*UpdateCollectionWithProjectsRequestDataItems0) MarshalBinary ¶
func (m *UpdateCollectionWithProjectsRequestDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCollectionWithProjectsRequestDataItems0) UnmarshalBinary ¶
func (m *UpdateCollectionWithProjectsRequestDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Updated ¶
Updated The last time the settings were updated. Example: 2021-11-12T10:31:06.026Z
swagger:model Updated
func (Updated) ContextValidate ¶
ContextValidate validates this updated based on context it is used
func (*Updated) MarshalBinary ¶
MarshalBinary interface implementation
func (Updated) MarshalJSON ¶
MarshalJSON retrieves a Updated value as JSON output
func (*Updated) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Updated) UnmarshalJSON ¶
UnmarshalJSON sets a Updated value from JSON input
type VersioningSchema ¶
type VersioningSchema struct {
VersioningSchemaAllOf0
}
VersioningSchema The versioning scheme used by images in the repository.
A versioning schema is a system for identifying and organizing different versions of a project. It is used to track changes and updates to the project over time, and to help users identify which version they are using. A versioning schema typically consists of a series of numbers or labels that are incremented to reflect the progression of versions. For example, a versioning schema might use a series of numbers, such as "1.0", "1.1", "2.0", and so on, to indicate major and minor releases of a product. A consistent and well-defined versioning schema helps users and tools understand and track the development of a project.
swagger:model VersioningSchema
func (*VersioningSchema) ContextValidate ¶
ContextValidate validates this versioning schema based on context it is used
func (*VersioningSchema) MarshalBinary ¶
func (m *VersioningSchema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (VersioningSchema) MarshalJSON ¶
func (m VersioningSchema) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*VersioningSchema) UnmarshalBinary ¶
func (m *VersioningSchema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*VersioningSchema) UnmarshalJSON ¶
func (m *VersioningSchema) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type VersioningSchemaAllOf0 ¶
type VersioningSchemaAllOf0 interface{}
VersioningSchemaAllOf0 versioning schema all of0
swagger:model VersioningSchemaAllOf0
type VersioningSchemaCustomType ¶
type VersioningSchemaCustomType struct { // The regular expression used to describe the format of tags. // Keep in mind that backslashes in the expression need to be escaped due to being encompassed in a JSON string. // // Example: (?\u003cC0\u003e.)\\-(?\u003cM2\u003e.*) // Required: true Expression *string `json:"expression"` // A customizable string that can be set for a custom versioning schema to describe its meaning. // This label has no function. // // Example: calendar with flavor schema Label string `json:"label,omitempty"` // type // Required: true // Enum: [custom] Type *string `json:"type"` }
VersioningSchemaCustomType The Custom Schema type is a way for Snyk to understand your company’s container image tag versioning scheme, enabling Snyk to give more accurate base image upgrade recommendations.
This schema type is essentially a regular expression that groups the different parts of an image’s tag into comparable sections.
If your container image's tags follow a versioning scheme other than Semantic Versioning (SemVer), it is highly recommended that you select the "Custom Versioning" schema for your image repositories.
swagger:model VersioningSchemaCustomType
func (*VersioningSchemaCustomType) ContextValidate ¶
func (m *VersioningSchemaCustomType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this versioning schema custom type based on context it is used
func (*VersioningSchemaCustomType) MarshalBinary ¶
func (m *VersioningSchemaCustomType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersioningSchemaCustomType) UnmarshalBinary ¶
func (m *VersioningSchemaCustomType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersioningSchemaSemverType ¶
type VersioningSchemaSemverType struct { // type // Example: semver // Required: true // Enum: [semver] Type *string `json:"type"` }
VersioningSchemaSemverType versioning schema semver type
swagger:model VersioningSchemaSemverType
func (*VersioningSchemaSemverType) ContextValidate ¶
func (m *VersioningSchemaSemverType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this versioning schema semver type based on context it is used
func (*VersioningSchemaSemverType) MarshalBinary ¶
func (m *VersioningSchemaSemverType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersioningSchemaSemverType) UnmarshalBinary ¶
func (m *VersioningSchemaSemverType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersioningSchemaSingleSelectionType ¶
type VersioningSchemaSingleSelectionType struct { // Whether this image should be the recommendation. Only one image can be selected at a given time. Setting this // as true will remove previous selection. // // Example: true // Required: true IsSelected *bool `json:"is_selected"` // type // Example: single-selection // Required: true // Enum: [single-selection] Type *string `json:"type"` }
VersioningSchemaSingleSelectionType The Single Selection Versioning Schema allows manual setting of which image should be given as a recommendation.
Only one image can be set as the current recommendation. If no images are set as the current selection, no recommendation will be given.
It is recommended to use this versioning schema if your repository's tags aren't supported by the other schemas.
swagger:model VersioningSchemaSingleSelectionType
func (*VersioningSchemaSingleSelectionType) ContextValidate ¶
func (m *VersioningSchemaSingleSelectionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this versioning schema single selection type based on context it is used
func (*VersioningSchemaSingleSelectionType) MarshalBinary ¶
func (m *VersioningSchemaSingleSelectionType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersioningSchemaSingleSelectionType) UnmarshalBinary ¶
func (m *VersioningSchemaSingleSelectionType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type YarnBuildArgs ¶
type YarnBuildArgs struct { // root workspace // Required: true RootWorkspace *string `json:"root_workspace"` }
YarnBuildArgs yarn build args
swagger:model YarnBuildArgs
func (*YarnBuildArgs) ContextValidate ¶
ContextValidate validates this yarn build args based on context it is used
func (*YarnBuildArgs) MarshalBinary ¶
func (m *YarnBuildArgs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*YarnBuildArgs) UnmarshalBinary ¶
func (m *YarnBuildArgs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- access_token_ttl_seconds.go
- actual_version.go
- app_bot.go
- app_data.go
- app_data_with_secret.go
- app_install_data.go
- app_install_data_with_secret.go
- app_install_with_client.go
- app_name.go
- app_patch_request.go
- app_post_request.go
- app_post_response.go
- app_resource_attributes.go
- app_resource_attributes_with_secret.go
- audit_log_search.go
- auto_dependency_upgrade_settings.go
- auto_remediation_p_rs_settings.go
- bulk_package_urls_request_body.go
- class.go
- class_type_def.go
- client_id.go
- client_secret.go
- cloud_resource.go
- collection_attributes.go
- collection_meta.go
- collection_relationships.go
- collection_response.go
- common_issue_model.go
- common_issue_model_v_two.go
- container_build_args.go
- context.go
- coordinate.go
- coordinate_v_two.go
- create_collection_request.go
- custom_base_image_attributes.go
- custom_base_image_collection_response.go
- custom_base_image_patch_request.go
- custom_base_image_post_request.go
- custom_base_image_resource.go
- custom_base_image_response.go
- custom_base_image_snapshot.go
- cyclone_dx_component.go
- cyclone_dx_dependency.go
- cyclone_dx_document.go
- cyclone_dx_metadata.go
- cyclone_dx_property.go
- cyclone_dx_tool.go
- cyclone_dx_xml_document.go
- delete_projects_from_collection_request.go
- dependency.go
- deployed_risk_factor.go
- environment.go
- environment_type_def.go
- error.go
- error_document.go
- error_link.go
- file_position.go
- get_project_settings_collection.go
- get_projects_of_collection_response.go
- grant_type.go
- group_iac_settings_request.go
- group_iac_settings_response.go
- hello_world.go
- id.go
- ignore_type.go
- image.go
- image_attributes.go
- image_digest.go
- image_name.go
- image_target_ref.go
- image_target_ref_attributes.go
- inherit_from_parent.go
- is_active.go
- is_confidential.go
- is_enabled.go
- is_public.go
- issue.go
- issue_attributes.go
- issue_relationships.go
- issue_type.go
- issues_meta.go
- issues_response.go
- issues_with_purls_response.go
- json_api.go
- latest_dependency_total.go
- latest_issue_counts.go
- link_property.go
- links.go
- manual_remediation_p_rs_settings.go
- member_role_relationship.go
- meta.go
- name.go
- nuget_build_args.go
- o_s_condition_risk_factor.go
- oci_registry_tag.go
- oci_registry_url.go
- org.go
- org_attributes.go
- org_iac_settings_request.go
- org_iac_settings_response.go
- org_invitation.go
- org_invitation_attributes.go
- org_invitation_post_attributes.go
- org_invitation_post_data.go
- org_relationships.go
- org_role_attributes.go
- org_update_attributes.go
- org_with_relationships.go
- organization_type.go
- package.go
- package_meta.go
- package_representation.go
- paginated_links.go
- patch_project_request.go
- platform.go
- problem.go
- problem_type_def.go
- project_attributes.go
- project_meta.go
- project_of_collection.go
- project_relationships.go
- project_relationships_target.go
- project_settings.go
- project_settings_data.go
- project_settings_patch_request.go
- public_app.go
- public_app_attributes.go
- public_app_data.go
- public_facing_risk_factor.go
- pull_request_assignment_settings.go
- pull_requests_settings.go
- query_version.go
- recurring_tests_settings.go
- redirect_uris.go
- redirect_uris_no_min.go
- region.go
- related_link.go
- relationship.go
- remedy.go
- remedy_metadata.go
- resolution.go
- resolution_type_def.go
- resource.go
- resource_path.go
- resource_path_representation.go
- risk.go
- risk_factor.go
- risk_factor_links.go
- risk_score.go
- sast_enablement.go
- sbom_resource.go
- sbom_response.go
- scan_item_type.go
- scopes.go
- self_link.go
- service_account.go
- session_attributes.go
- session_data.go
- settings_attributes.go
- settings_request.go
- severity.go
- severity_threshold.go
- slack_channel.go
- slack_default_settings_data.go
- slots.go
- source_location.go
- spdx_document.go
- target_channel_id.go
- target_channel_name.go
- test_execution_type.go
- type.go
- type_def.go
- types.go
- update_collection_request.go
- update_collection_with_projects_request.go
- updated.go
- uuid.go
- versioning_schema.go
- versioning_schema_custom_type.go
- versioning_schema_semver_type.go
- versioning_schema_single_selection_type.go
- yarn_build_args.go