enterprise

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for enterprise

This is the Nextlinux Enterprise API. It provides additional external API routes and functionality for enterprise users.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.7.0
  • Package version: 4.6.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./enterprise"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost/enterprise

Class Method HTTP request Description
ActionsApi AddActionPlan Post /actions Submits an Action Plan
ActionsApi GetActionPlans Get /actions Gets a list of submitted action (remediation) plans
AlertsApi GetAlertSummaries Get /alerts/summaries List all alert summaries scoped to the account
AlertsApi GetComplianceViolationAlert Get /alerts/compliance_violations/{uuid} Get compliance violation alert by id
AlertsApi GetComplianceViolationAlerts Get /alerts/compliance_violations List all compliance violation alerts scoped to the account
AlertsApi UpdateComplianceViolationAlertState Put /alerts/compliance_violations/{uuid}/{state} Open or close a compliance violation alert
ApplicationsApi AddApplication Post /applications Create an application
ApplicationsApi AddApplicationVersion Post /applications/{application_id}/versions Create an application version
ApplicationsApi AddArtifactToApplicationVersion Post /applications/{application_id}/versions/{application_version_id}/artifacts Add an artifact to an application version
ApplicationsApi DeleteApplication Delete /applications/{application_id} Delete an application by application_id
ApplicationsApi DeleteApplicationVersion Delete /applications/{application_id}/versions/{application_version_id} Delete an application version by application_id and application_version_id
ApplicationsApi GetApplication Get /applications/{application_id} Get an application by application_id
ApplicationsApi GetApplicationVersion Get /applications/{application_id}/versions/{application_version_id} Get an application version
ApplicationsApi GetApplicationVersionSbom Get /applications/{application_id}/versions/{application_version_id}/sboms/json Get the combined sbom for the given application version, optionally filtered by artifact type
ApplicationsApi GetApplicationVersionVulnerabilities Get /applications/{application_id}/versions/{application_version_id}/vulnerabilities Get the vulnerabilities for a given application version
ApplicationsApi GetApplicationVersions Get /applications/{application_id}/versions List all application verions
ApplicationsApi GetApplications Get /applications List all applications
ApplicationsApi ListArtifacts Get /applications/{application_id}/versions/{application_version_id}/artifacts List artifacts present on a given application version
ApplicationsApi RemoveArtifactFromApplicationVersion Delete /applications/{application_id}/versions/{application_version_id}/artifacts/{association_id} Delete an artifact from specified application version
ApplicationsApi UpdateApplication Put /applications/{application_id} Update application details
ApplicationsApi UpdateApplicationVersion Put /applications/{application_id}/versions/{application_version_id} Update application version details
ComplianceApi AddRuntimeComplianceCheck Post /runtime_compliance Post a runtime compliance check
ComplianceApi GetRuntimeComplianceChecks Get /runtime_compliance Get all runtime compliance checks or just those for a given image digest
ComplianceApi GetRuntimeComplianceResult Get /runtime_compliance/result/{compliance_file_id} Check the results of a a specific runtime compliance check
CorrectionsApi AddCorrection Post /corrections Create a correction record
CorrectionsApi DeleteCorrectionByUuid Delete /corrections/{uuid} Delete a correction by UUID
CorrectionsApi GetCorrectionByUuid Get /corrections/{uuid} Retrieve a correction by UUID
CorrectionsApi GetCorrections Get /corrections Retrieve a list of corrections
CorrectionsApi UpdateCorrectionByUuid Put /corrections/{uuid} Update a correction by UUID
DefaultApi GetKubernetesNamespaces Get /kubernetes-namespaces Return a list of Kubernetes namespaces that have been inventoried for this account
ImagesApi GetImageAncestors Get /images/{image_digest}/ancestors Return the list of ancestor images for the given image
ImagesApi GetImagePolicyCheckByDigest Get /images/{imageDigest}/check Check policy evaluation status for image
ImagesApi GetImageVulnerabilitiesByDigest Get /images/{imageDigest}/vuln/{vtype} Get vulnerabilities by type
ImportsApi CreateOperation Post /imports/sources Begin the import of a source code repository analyzed by Syft into the system
ImportsApi FinalizeOperation Post /imports/sources/{operation_id}/finalize Add source records to catalog db
ImportsApi GetImportSourcesSbom Get /imports/sources/{operation_id}/sbom list the packages of an imported source code repository
ImportsApi GetOperation Get /imports/sources/{operation_id} Get detail on a single import
ImportsApi InvalidateOperation Delete /imports/sources/{operation_id} Invalidate operation ID so it can be garbage collected
ImportsApi ListOperations Get /imports/sources Lists in-progress imports
ImportsApi UploadImportSourcesSbom Post /imports/sources/{operation_id}/sbom Begin the import of a source code repository analyzed by Syft into the system
InventoriesApi DeleteInventory Delete /inventories Delete runtime inventory by type and context
InventoriesApi GetImageInventory Get /inventories Return a list of the images in inventories for this account
InventoriesApi PostEcsInventory Post /ecs-inventory Add container metadata from Amazon ECS
InventoriesApi PostKubernetesInventory Post /kubernetes-inventory Add container metadata from a Kubernetes deployment
InventoriesApi SyncImageInventory Post /inventories synchronizes the list of the images in a given cluster for the inventory
RelationshipsApi AddArtifactRelationship Post /artifact_relationships
RelationshipsApi DeleteArtifactRelationships Delete /artifact_relationships
RelationshipsApi GetArtifactRelationship Get /artifact_relationships/{relationship_id}
RelationshipsApi GetRelationshipSbomDiff Get /artifact_relationships/{relationship_id}/diffs/sbom
RelationshipsApi ListArtifactRelationships Get /artifact_relationships
SourcesApi DeleteSource Delete /sources/{source_id} Delete source record from DB
SourcesApi GetSource Get /sources/{source_id} Get a detailed source repository analysis metadata record
SourcesApi GetSourceContentByType Get /sources/{source_id}/content/{content_type} Get the content of an analyzed source repository
SourcesApi GetSourceContentTypes Get /sources/{source_id}/content Get a detailed source repository analysis metadata record
SourcesApi GetSourcePolicyCheck Get /sources/{source_id}/check Fetch or calculate policy evaluation for a source
SourcesApi GetSourceSbomCyclonedxJson Get /sources/{source_id}/sbom/cyclonedx-json Return the source SBOM in the CycloneDX format
SourcesApi GetSourceSbomNative Get /sources/{source_id}/sbom/native Return the compressed source SBOM in the native Nextlinux format
SourcesApi GetSourceSbomNativeJson Get /sources/{source_id}/sbom/native-json Return the source SBOM in the native Nextlinux format
SourcesApi GetSourceSbomSpdxJson Get /sources/{source_id}/sbom/spdx-json Return the source SBOM in the SPDX format
SourcesApi GetSourceSbomTypes Get /sources/{source_id}/sbom Get a detailed source repository analysis metadata record
SourcesApi GetSourceVulnerabilities Get /sources/{source_id}/vuln/{vtype} Get vulnerabilities for the source by type
SourcesApi GetSourceVulnerabilityTypes Get /sources/{source_id}/vuln Get the available vulnerability types for source
SourcesApi ListSources Get /sources List the source repository analysis records
StatelessApi GetStatelessSbomVulnerabilities Post /stateless/sbom/vuln/{vtype} Get vulnerabilities for input sbom by type

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

dev@nextlinux.com

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated by robots at 2023-04-26 15:15:54.490899 -0700 PDT m=+0.009868251

Index

Constants

View Source
const ServerBaseURL = "/enterprise"

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func Document

func Document() string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ActionsApi ActionsApi

	AlertsApi AlertsApi

	ApplicationsApi ApplicationsApi

	ComplianceApi ComplianceApi

	CorrectionsApi CorrectionsApi

	DefaultApi DefaultApi

	ImagesApi ImagesApi

	ImportsApi ImportsApi

	InventoriesApi InventoriesApi

	RelationshipsApi RelationshipsApi

	SourcesApi SourcesApi

	StatelessApi StatelessApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Nextlinux Enterprise API Server API v0.7.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActionPlan

type ActionPlan struct {
	Type            *string                 `json:"type,omitempty"`
	ImageTag        *string                 `json:"image_tag,omitempty"`
	ImageDigest     *string                 `json:"image_digest,omitempty"`
	PolicyId        *string                 `json:"policy_id,omitempty"`
	Resolutions     *[]ActionPlanResolution `json:"resolutions,omitempty"`
	Endpoint        *string                 `json:"endpoint,omitempty"`
	ConfigurationId *string                 `json:"configuration_id,omitempty"`
	Subject         *string                 `json:"subject,omitempty"`
	Message         *string                 `json:"message,omitempty"`
	Uuid            *string                 `json:"uuid,omitempty"`
	CreatedAt       *time.Time              `json:"created_at,omitempty"`
	LastUpdated     *time.Time              `json:"last_updated,omitempty"`
}

ActionPlan describes a remediation action plan object

func NewActionPlan

func NewActionPlan() *ActionPlan

NewActionPlan instantiates a new ActionPlan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActionPlanWithDefaults

func NewActionPlanWithDefaults() *ActionPlan

NewActionPlanWithDefaults instantiates a new ActionPlan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionPlan) GetConfigurationId

func (o *ActionPlan) GetConfigurationId() string

GetConfigurationId returns the ConfigurationId field value if set, zero value otherwise.

func (*ActionPlan) GetConfigurationIdOk

func (o *ActionPlan) GetConfigurationIdOk() (*string, bool)

GetConfigurationIdOk returns a tuple with the ConfigurationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetCreatedAt

func (o *ActionPlan) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ActionPlan) GetCreatedAtOk

func (o *ActionPlan) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetEndpoint

func (o *ActionPlan) GetEndpoint() string

GetEndpoint returns the Endpoint field value if set, zero value otherwise.

func (*ActionPlan) GetEndpointOk

func (o *ActionPlan) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetImageDigest

func (o *ActionPlan) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ActionPlan) GetImageDigestOk

func (o *ActionPlan) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetImageTag

func (o *ActionPlan) GetImageTag() string

GetImageTag returns the ImageTag field value if set, zero value otherwise.

func (*ActionPlan) GetImageTagOk

func (o *ActionPlan) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetLastUpdated

func (o *ActionPlan) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*ActionPlan) GetLastUpdatedOk

func (o *ActionPlan) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetMessage

func (o *ActionPlan) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ActionPlan) GetMessageOk

func (o *ActionPlan) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetPolicyId

func (o *ActionPlan) GetPolicyId() string

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*ActionPlan) GetPolicyIdOk

func (o *ActionPlan) GetPolicyIdOk() (*string, bool)

GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetResolutions

func (o *ActionPlan) GetResolutions() []ActionPlanResolution

GetResolutions returns the Resolutions field value if set, zero value otherwise.

func (*ActionPlan) GetResolutionsOk

func (o *ActionPlan) GetResolutionsOk() (*[]ActionPlanResolution, bool)

GetResolutionsOk returns a tuple with the Resolutions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetSubject

func (o *ActionPlan) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*ActionPlan) GetSubjectOk

func (o *ActionPlan) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetType

func (o *ActionPlan) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ActionPlan) GetTypeOk

func (o *ActionPlan) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) GetUuid

func (o *ActionPlan) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*ActionPlan) GetUuidOk

func (o *ActionPlan) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlan) HasConfigurationId

func (o *ActionPlan) HasConfigurationId() bool

HasConfigurationId returns a boolean if a field has been set.

func (*ActionPlan) HasCreatedAt

func (o *ActionPlan) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ActionPlan) HasEndpoint

func (o *ActionPlan) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

func (*ActionPlan) HasImageDigest

func (o *ActionPlan) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*ActionPlan) HasImageTag

func (o *ActionPlan) HasImageTag() bool

HasImageTag returns a boolean if a field has been set.

func (*ActionPlan) HasLastUpdated

func (o *ActionPlan) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*ActionPlan) HasMessage

func (o *ActionPlan) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ActionPlan) HasPolicyId

func (o *ActionPlan) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (*ActionPlan) HasResolutions

func (o *ActionPlan) HasResolutions() bool

HasResolutions returns a boolean if a field has been set.

func (*ActionPlan) HasSubject

func (o *ActionPlan) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*ActionPlan) HasType

func (o *ActionPlan) HasType() bool

HasType returns a boolean if a field has been set.

func (*ActionPlan) HasUuid

func (o *ActionPlan) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (ActionPlan) MarshalJSON

func (o ActionPlan) MarshalJSON() ([]byte, error)

func (*ActionPlan) SetConfigurationId

func (o *ActionPlan) SetConfigurationId(v string)

SetConfigurationId gets a reference to the given string and assigns it to the ConfigurationId field.

func (*ActionPlan) SetCreatedAt

func (o *ActionPlan) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ActionPlan) SetEndpoint

func (o *ActionPlan) SetEndpoint(v string)

SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.

func (*ActionPlan) SetImageDigest

func (o *ActionPlan) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*ActionPlan) SetImageTag

func (o *ActionPlan) SetImageTag(v string)

SetImageTag gets a reference to the given string and assigns it to the ImageTag field.

func (*ActionPlan) SetLastUpdated

func (o *ActionPlan) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*ActionPlan) SetMessage

func (o *ActionPlan) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ActionPlan) SetPolicyId

func (o *ActionPlan) SetPolicyId(v string)

SetPolicyId gets a reference to the given string and assigns it to the PolicyId field.

func (*ActionPlan) SetResolutions

func (o *ActionPlan) SetResolutions(v []ActionPlanResolution)

SetResolutions gets a reference to the given []ActionPlanResolution and assigns it to the Resolutions field.

func (*ActionPlan) SetSubject

func (o *ActionPlan) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*ActionPlan) SetType

func (o *ActionPlan) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ActionPlan) SetUuid

func (o *ActionPlan) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type ActionPlanResolution

type ActionPlanResolution struct {
	TriggerIds *[]string `json:"trigger_ids,omitempty"`
	Content    *string   `json:"content,omitempty"`
}

ActionPlanResolution defines the trigger IDs and content of a resolution for an action plan

func NewActionPlanResolution

func NewActionPlanResolution() *ActionPlanResolution

NewActionPlanResolution instantiates a new ActionPlanResolution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActionPlanResolutionWithDefaults

func NewActionPlanResolutionWithDefaults() *ActionPlanResolution

NewActionPlanResolutionWithDefaults instantiates a new ActionPlanResolution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionPlanResolution) GetContent

func (o *ActionPlanResolution) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*ActionPlanResolution) GetContentOk

func (o *ActionPlanResolution) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlanResolution) GetTriggerIds

func (o *ActionPlanResolution) GetTriggerIds() []string

GetTriggerIds returns the TriggerIds field value if set, zero value otherwise.

func (*ActionPlanResolution) GetTriggerIdsOk

func (o *ActionPlanResolution) GetTriggerIdsOk() (*[]string, bool)

GetTriggerIdsOk returns a tuple with the TriggerIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionPlanResolution) HasContent

func (o *ActionPlanResolution) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*ActionPlanResolution) HasTriggerIds

func (o *ActionPlanResolution) HasTriggerIds() bool

HasTriggerIds returns a boolean if a field has been set.

func (ActionPlanResolution) MarshalJSON

func (o ActionPlanResolution) MarshalJSON() ([]byte, error)

func (*ActionPlanResolution) SetContent

func (o *ActionPlanResolution) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*ActionPlanResolution) SetTriggerIds

func (o *ActionPlanResolution) SetTriggerIds(v []string)

SetTriggerIds gets a reference to the given []string and assigns it to the TriggerIds field.

type ActionsApi

type ActionsApi interface {

	/*
		AddActionPlan Submits an Action Plan

		Submits an Action Plan and saves upon completion

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiAddActionPlanRequest
	*/
	AddActionPlan(ctx _context.Context) ApiAddActionPlanRequest

	// AddActionPlanExecute executes the request
	//  @return ActionPlan
	AddActionPlanExecute(r ApiAddActionPlanRequest) (ActionPlan, *_nethttp.Response, error)

	/*
		GetActionPlans Gets a list of submitted action (remediation) plans

		Retrieves a list of action plans that have been completed

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetActionPlansRequest
	*/
	GetActionPlans(ctx _context.Context) ApiGetActionPlansRequest

	// GetActionPlansExecute executes the request
	//  @return []ActionPlan
	GetActionPlansExecute(r ApiGetActionPlansRequest) ([]ActionPlan, *_nethttp.Response, error)
}

type ActionsApiService

type ActionsApiService service

ActionsApiService ActionsApi service

func (*ActionsApiService) AddActionPlan

AddActionPlan Submits an Action Plan

Submits an Action Plan and saves upon completion

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddActionPlanRequest

func (*ActionsApiService) AddActionPlanExecute

Execute executes the request

@return ActionPlan

func (*ActionsApiService) GetActionPlans

GetActionPlans Gets a list of submitted action (remediation) plans

Retrieves a list of action plans that have been completed

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetActionPlansRequest

func (*ActionsApiService) GetActionPlansExecute

func (a *ActionsApiService) GetActionPlansExecute(r ApiGetActionPlansRequest) ([]ActionPlan, *_nethttp.Response, error)

Execute executes the request

@return []ActionPlan

type AlertSummary

type AlertSummary struct {
	// Identifier for the alert
	Uuid *string `json:"uuid,omitempty"`
	// Type of the alert
	Type *string `json:"type,omitempty"`
	// Current state of the alert
	State          *string          `json:"state,omitempty"`
	ResourceLabels *[]ResourceLabel `json:"resource_labels,omitempty"`
	// Account that closed the alert
	ClosedBy *string `json:"closed_by,omitempty"`
	// Reason for closing the alert
	ClosedReason *string `json:"closed_reason,omitempty"`
	// RFC 3339 formatted UTC timestamp when the alert was generated
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the alert was last modified
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

AlertSummary A summary of the stateful indicator of a specific event in the system

func NewAlertSummary

func NewAlertSummary() *AlertSummary

NewAlertSummary instantiates a new AlertSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAlertSummaryWithDefaults

func NewAlertSummaryWithDefaults() *AlertSummary

NewAlertSummaryWithDefaults instantiates a new AlertSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AlertSummary) GetClosedBy

func (o *AlertSummary) GetClosedBy() string

GetClosedBy returns the ClosedBy field value if set, zero value otherwise.

func (*AlertSummary) GetClosedByOk

func (o *AlertSummary) GetClosedByOk() (*string, bool)

GetClosedByOk returns a tuple with the ClosedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetClosedReason

func (o *AlertSummary) GetClosedReason() string

GetClosedReason returns the ClosedReason field value if set, zero value otherwise.

func (*AlertSummary) GetClosedReasonOk

func (o *AlertSummary) GetClosedReasonOk() (*string, bool)

GetClosedReasonOk returns a tuple with the ClosedReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetCreatedAt

func (o *AlertSummary) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AlertSummary) GetCreatedAtOk

func (o *AlertSummary) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetLastUpdated

func (o *AlertSummary) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*AlertSummary) GetLastUpdatedOk

func (o *AlertSummary) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetResourceLabels

func (o *AlertSummary) GetResourceLabels() []ResourceLabel

GetResourceLabels returns the ResourceLabels field value if set, zero value otherwise.

func (*AlertSummary) GetResourceLabelsOk

func (o *AlertSummary) GetResourceLabelsOk() (*[]ResourceLabel, bool)

GetResourceLabelsOk returns a tuple with the ResourceLabels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetState

func (o *AlertSummary) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*AlertSummary) GetStateOk

func (o *AlertSummary) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetType

func (o *AlertSummary) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*AlertSummary) GetTypeOk

func (o *AlertSummary) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) GetUuid

func (o *AlertSummary) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*AlertSummary) GetUuidOk

func (o *AlertSummary) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertSummary) HasClosedBy

func (o *AlertSummary) HasClosedBy() bool

HasClosedBy returns a boolean if a field has been set.

func (*AlertSummary) HasClosedReason

func (o *AlertSummary) HasClosedReason() bool

HasClosedReason returns a boolean if a field has been set.

func (*AlertSummary) HasCreatedAt

func (o *AlertSummary) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AlertSummary) HasLastUpdated

func (o *AlertSummary) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*AlertSummary) HasResourceLabels

func (o *AlertSummary) HasResourceLabels() bool

HasResourceLabels returns a boolean if a field has been set.

func (*AlertSummary) HasState

func (o *AlertSummary) HasState() bool

HasState returns a boolean if a field has been set.

func (*AlertSummary) HasType

func (o *AlertSummary) HasType() bool

HasType returns a boolean if a field has been set.

func (*AlertSummary) HasUuid

func (o *AlertSummary) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (AlertSummary) MarshalJSON

func (o AlertSummary) MarshalJSON() ([]byte, error)

func (*AlertSummary) SetClosedBy

func (o *AlertSummary) SetClosedBy(v string)

SetClosedBy gets a reference to the given string and assigns it to the ClosedBy field.

func (*AlertSummary) SetClosedReason

func (o *AlertSummary) SetClosedReason(v string)

SetClosedReason gets a reference to the given string and assigns it to the ClosedReason field.

func (*AlertSummary) SetCreatedAt

func (o *AlertSummary) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AlertSummary) SetLastUpdated

func (o *AlertSummary) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*AlertSummary) SetResourceLabels

func (o *AlertSummary) SetResourceLabels(v []ResourceLabel)

SetResourceLabels gets a reference to the given []ResourceLabel and assigns it to the ResourceLabels field.

func (*AlertSummary) SetState

func (o *AlertSummary) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*AlertSummary) SetType

func (o *AlertSummary) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*AlertSummary) SetUuid

func (o *AlertSummary) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type AlertsApi

type AlertsApi interface {

	/*
		GetAlertSummaries List all alert summaries scoped to the account

		Returns a paginated list of alert summaries in chronological order from the most to least recently generated alerts. Return alerts in the open state by default. Use query parameters for filtering

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetAlertSummariesRequest
	*/
	GetAlertSummaries(ctx _context.Context) ApiGetAlertSummariesRequest

	// GetAlertSummariesExecute executes the request
	//  @return []AlertSummary
	GetAlertSummariesExecute(r ApiGetAlertSummariesRequest) ([]AlertSummary, *_nethttp.Response, error)

	/*
		GetComplianceViolationAlert Get compliance violation alert by id

		Returns a single compliance violation alert object

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param uuid Identifier for the alert
		 @return ApiGetComplianceViolationAlertRequest
	*/
	GetComplianceViolationAlert(ctx _context.Context, uuid string) ApiGetComplianceViolationAlertRequest

	// GetComplianceViolationAlertExecute executes the request
	//  @return ComplianceViolationAlert
	GetComplianceViolationAlertExecute(r ApiGetComplianceViolationAlertRequest) (ComplianceViolationAlert, *_nethttp.Response, error)

	/*
		GetComplianceViolationAlerts List all compliance violation alerts scoped to the account

		Returns a paginated list of compliance violation alerts in chronological order from the most to least recently generated alerts. Return alerts in the open state by default. Use query parameters for filtering

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetComplianceViolationAlertsRequest
	*/
	GetComplianceViolationAlerts(ctx _context.Context) ApiGetComplianceViolationAlertsRequest

	// GetComplianceViolationAlertsExecute executes the request
	//  @return []ComplianceViolationAlert
	GetComplianceViolationAlertsExecute(r ApiGetComplianceViolationAlertsRequest) ([]ComplianceViolationAlert, *_nethttp.Response, error)

	/*
		UpdateComplianceViolationAlertState Open or close a compliance violation alert

		Idempotent op for changing the alert state to open or closed

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param uuid Identifier for the alert
		 @param state
		 @return ApiUpdateComplianceViolationAlertStateRequest
	*/
	UpdateComplianceViolationAlertState(ctx _context.Context, uuid string, state string) ApiUpdateComplianceViolationAlertStateRequest

	// UpdateComplianceViolationAlertStateExecute executes the request
	//  @return ComplianceViolationAlert
	UpdateComplianceViolationAlertStateExecute(r ApiUpdateComplianceViolationAlertStateRequest) (ComplianceViolationAlert, *_nethttp.Response, error)
}

type AlertsApiService

type AlertsApiService service

AlertsApiService AlertsApi service

func (*AlertsApiService) GetAlertSummaries

GetAlertSummaries List all alert summaries scoped to the account

Returns a paginated list of alert summaries in chronological order from the most to least recently generated alerts. Return alerts in the open state by default. Use query parameters for filtering

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAlertSummariesRequest

func (*AlertsApiService) GetAlertSummariesExecute

func (a *AlertsApiService) GetAlertSummariesExecute(r ApiGetAlertSummariesRequest) ([]AlertSummary, *_nethttp.Response, error)

Execute executes the request

@return []AlertSummary

func (*AlertsApiService) GetComplianceViolationAlert

func (a *AlertsApiService) GetComplianceViolationAlert(ctx _context.Context, uuid string) ApiGetComplianceViolationAlertRequest

GetComplianceViolationAlert Get compliance violation alert by id

Returns a single compliance violation alert object

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid Identifier for the alert
@return ApiGetComplianceViolationAlertRequest

func (*AlertsApiService) GetComplianceViolationAlertExecute

Execute executes the request

@return ComplianceViolationAlert

func (*AlertsApiService) GetComplianceViolationAlerts

func (a *AlertsApiService) GetComplianceViolationAlerts(ctx _context.Context) ApiGetComplianceViolationAlertsRequest

GetComplianceViolationAlerts List all compliance violation alerts scoped to the account

Returns a paginated list of compliance violation alerts in chronological order from the most to least recently generated alerts. Return alerts in the open state by default. Use query parameters for filtering

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetComplianceViolationAlertsRequest

func (*AlertsApiService) GetComplianceViolationAlertsExecute

Execute executes the request

@return []ComplianceViolationAlert

func (*AlertsApiService) UpdateComplianceViolationAlertState

func (a *AlertsApiService) UpdateComplianceViolationAlertState(ctx _context.Context, uuid string, state string) ApiUpdateComplianceViolationAlertStateRequest

UpdateComplianceViolationAlertState Open or close a compliance violation alert

Idempotent op for changing the alert state to open or closed

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid Identifier for the alert
@param state
@return ApiUpdateComplianceViolationAlertStateRequest

func (*AlertsApiService) UpdateComplianceViolationAlertStateExecute

Execute executes the request

@return ComplianceViolationAlert

type ApiAddActionPlanRequest

type ApiAddActionPlanRequest struct {
	ApiService ActionsApi
	// contains filtered or unexported fields
}

func (ApiAddActionPlanRequest) ActionPlan

func (ApiAddActionPlanRequest) Execute

type ApiAddApplicationRequest

type ApiAddApplicationRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiAddApplicationRequest) Application

func (ApiAddApplicationRequest) Execute

func (ApiAddApplicationRequest) XNextlinuxAccount

func (r ApiAddApplicationRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiAddApplicationRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiAddApplicationVersionRequest

type ApiAddApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiAddApplicationVersionRequest) ApplicationVersion

func (ApiAddApplicationVersionRequest) Execute

func (ApiAddApplicationVersionRequest) XNextlinuxAccount

func (r ApiAddApplicationVersionRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiAddApplicationVersionRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiAddArtifactRelationshipRequest

type ApiAddArtifactRelationshipRequest struct {
	ApiService RelationshipsApi
	// contains filtered or unexported fields
}

func (ApiAddArtifactRelationshipRequest) Execute

func (r ApiAddArtifactRelationshipRequest) Execute() (interface{}, *_nethttp.Response, error)

func (ApiAddArtifactRelationshipRequest) Relationship

type ApiAddArtifactToApplicationVersionRequest

type ApiAddArtifactToApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiAddArtifactToApplicationVersionRequest) ArtifactRequest

func (ApiAddArtifactToApplicationVersionRequest) Execute

func (ApiAddArtifactToApplicationVersionRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiAddCorrectionRequest

type ApiAddCorrectionRequest struct {
	ApiService CorrectionsApi
	// contains filtered or unexported fields
}

func (ApiAddCorrectionRequest) Correction

func (ApiAddCorrectionRequest) Execute

func (ApiAddCorrectionRequest) XNextlinuxAccount

func (r ApiAddCorrectionRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiAddCorrectionRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiAddRuntimeComplianceCheckRequest

type ApiAddRuntimeComplianceCheckRequest struct {
	ApiService ComplianceApi
	// contains filtered or unexported fields
}

func (ApiAddRuntimeComplianceCheckRequest) CheckType

The type of runtime compliance check

func (ApiAddRuntimeComplianceCheckRequest) EndTime

The type of runtime compliance check

func (ApiAddRuntimeComplianceCheckRequest) Execute

func (ApiAddRuntimeComplianceCheckRequest) ImageDigest

The digest of the pod the check was run against

func (ApiAddRuntimeComplianceCheckRequest) ImageTag

The tag of the image in the pod the check was run against

func (ApiAddRuntimeComplianceCheckRequest) Namespace

The namespace of the pod the check was run against

func (ApiAddRuntimeComplianceCheckRequest) Pod

The pod the check was run against

func (ApiAddRuntimeComplianceCheckRequest) ReportFile

The file with the check port

func (ApiAddRuntimeComplianceCheckRequest) Result

The result of the runtime compliance check

func (ApiAddRuntimeComplianceCheckRequest) ResultFile

The file with the check results

func (ApiAddRuntimeComplianceCheckRequest) StartTime

The type of runtime compliance check

func (ApiAddRuntimeComplianceCheckRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiCreateOperationRequest

type ApiCreateOperationRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiCreateOperationRequest) Execute

type ApiDeleteApplicationRequest

type ApiDeleteApplicationRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiDeleteApplicationRequest) Execute

func (ApiDeleteApplicationRequest) XNextlinuxAccount

func (r ApiDeleteApplicationRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiDeleteApplicationRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiDeleteApplicationVersionRequest

type ApiDeleteApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiDeleteApplicationVersionRequest) Execute

func (ApiDeleteApplicationVersionRequest) XNextlinuxAccount

func (r ApiDeleteApplicationVersionRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiDeleteApplicationVersionRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiDeleteArtifactRelationshipsRequest

type ApiDeleteArtifactRelationshipsRequest struct {
	ApiService RelationshipsApi
	// contains filtered or unexported fields
}

func (ApiDeleteArtifactRelationshipsRequest) Execute

func (r ApiDeleteArtifactRelationshipsRequest) Execute() (interface{}, *_nethttp.Response, error)

func (ApiDeleteArtifactRelationshipsRequest) RelationshipIds

List of relationship Ids to delete

type ApiDeleteCorrectionByUuidRequest

type ApiDeleteCorrectionByUuidRequest struct {
	ApiService CorrectionsApi
	// contains filtered or unexported fields
}

func (ApiDeleteCorrectionByUuidRequest) Execute

func (ApiDeleteCorrectionByUuidRequest) XNextlinuxAccount

func (r ApiDeleteCorrectionByUuidRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiDeleteCorrectionByUuidRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiDeleteInventoryRequest

type ApiDeleteInventoryRequest struct {
	ApiService InventoriesApi
	// contains filtered or unexported fields
}

func (ApiDeleteInventoryRequest) Context

func (ApiDeleteInventoryRequest) Execute

func (ApiDeleteInventoryRequest) ImageDigest

func (r ApiDeleteInventoryRequest) ImageDigest(imageDigest string) ApiDeleteInventoryRequest

func (ApiDeleteInventoryRequest) InventoryType

func (r ApiDeleteInventoryRequest) InventoryType(inventoryType string) ApiDeleteInventoryRequest

func (ApiDeleteInventoryRequest) XNextlinuxAccount

func (r ApiDeleteInventoryRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiDeleteInventoryRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiDeleteSourceRequest

type ApiDeleteSourceRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiDeleteSourceRequest) Execute

func (ApiDeleteSourceRequest) Force

force delete

type ApiErrorResponse

type ApiErrorResponse struct {
	Code      *int32  `json:"code,omitempty"`
	ErrorType *string `json:"error_type,omitempty"`
	Message   *string `json:"message,omitempty"`
	// Details structure for additional information about the error if available. Content and structure will be error specific.
	Detail *interface{} `json:"detail,omitempty"`
}

ApiErrorResponse Generic HTTP API error response

func NewApiErrorResponse

func NewApiErrorResponse() *ApiErrorResponse

NewApiErrorResponse instantiates a new ApiErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApiErrorResponseWithDefaults

func NewApiErrorResponseWithDefaults() *ApiErrorResponse

NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApiErrorResponse) GetCode

func (o *ApiErrorResponse) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*ApiErrorResponse) GetCodeOk

func (o *ApiErrorResponse) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiErrorResponse) GetDetail

func (o *ApiErrorResponse) GetDetail() interface{}

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ApiErrorResponse) GetDetailOk

func (o *ApiErrorResponse) GetDetailOk() (*interface{}, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiErrorResponse) GetErrorType

func (o *ApiErrorResponse) GetErrorType() string

GetErrorType returns the ErrorType field value if set, zero value otherwise.

func (*ApiErrorResponse) GetErrorTypeOk

func (o *ApiErrorResponse) GetErrorTypeOk() (*string, bool)

GetErrorTypeOk returns a tuple with the ErrorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiErrorResponse) GetMessage

func (o *ApiErrorResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ApiErrorResponse) GetMessageOk

func (o *ApiErrorResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApiErrorResponse) HasCode

func (o *ApiErrorResponse) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ApiErrorResponse) HasDetail

func (o *ApiErrorResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ApiErrorResponse) HasErrorType

func (o *ApiErrorResponse) HasErrorType() bool

HasErrorType returns a boolean if a field has been set.

func (*ApiErrorResponse) HasMessage

func (o *ApiErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ApiErrorResponse) MarshalJSON

func (o ApiErrorResponse) MarshalJSON() ([]byte, error)

func (*ApiErrorResponse) SetCode

func (o *ApiErrorResponse) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*ApiErrorResponse) SetDetail

func (o *ApiErrorResponse) SetDetail(v interface{})

SetDetail gets a reference to the given interface{} and assigns it to the Detail field.

func (*ApiErrorResponse) SetErrorType

func (o *ApiErrorResponse) SetErrorType(v string)

SetErrorType gets a reference to the given string and assigns it to the ErrorType field.

func (*ApiErrorResponse) SetMessage

func (o *ApiErrorResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type ApiFinalizeOperationRequest

type ApiFinalizeOperationRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiFinalizeOperationRequest) Execute

func (ApiFinalizeOperationRequest) Metadata

type ApiGetActionPlansRequest

type ApiGetActionPlansRequest struct {
	ApiService ActionsApi
	// contains filtered or unexported fields
}

func (ApiGetActionPlansRequest) CreatedAfter

func (r ApiGetActionPlansRequest) CreatedAfter(createdAfter time.Time) ApiGetActionPlansRequest

RFC 3339 formatted UTC timestamp to filter out action plans that were only created after this date

func (ApiGetActionPlansRequest) Execute

func (ApiGetActionPlansRequest) ImageDigest

func (r ApiGetActionPlansRequest) ImageDigest(imageDigest string) ApiGetActionPlansRequest

func (ApiGetActionPlansRequest) ImageTag

func (ApiGetActionPlansRequest) XNextlinuxAccount

func (r ApiGetActionPlansRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetActionPlansRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetAlertSummariesRequest

type ApiGetAlertSummariesRequest struct {
	ApiService AlertsApi
	// contains filtered or unexported fields
}

func (ApiGetAlertSummariesRequest) CreatedAfter

Filter for alerts generated after the timestamp

func (ApiGetAlertSummariesRequest) CreatedBefore

func (r ApiGetAlertSummariesRequest) CreatedBefore(createdBefore time.Time) ApiGetAlertSummariesRequest

Filter for alerts generated before the timestamp

func (ApiGetAlertSummariesRequest) Execute

func (ApiGetAlertSummariesRequest) Limit

func (ApiGetAlertSummariesRequest) Page

func (ApiGetAlertSummariesRequest) ResourceLabel

func (r ApiGetAlertSummariesRequest) ResourceLabel(resourceLabel []string) ApiGetAlertSummariesRequest

Filter for alerts associated with a resource where the label in key=value format such as tag=docker.io/library/alpine:latest or repository=library/alpine

func (ApiGetAlertSummariesRequest) State

Filter for alerts by current state, defaults to open alerts unless specified

func (ApiGetAlertSummariesRequest) Type_

Filter for alerts based on the type such as compliance violation

func (ApiGetAlertSummariesRequest) XNextlinuxAccount

func (r ApiGetAlertSummariesRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetAlertSummariesRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationRequest

type ApiGetApplicationRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationRequest) Execute

func (ApiGetApplicationRequest) IncludeVersions

func (r ApiGetApplicationRequest) IncludeVersions(includeVersions bool) ApiGetApplicationRequest

func (ApiGetApplicationRequest) XNextlinuxAccount

func (r ApiGetApplicationRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetApplicationRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationVersionRequest

type ApiGetApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationVersionRequest) Execute

func (ApiGetApplicationVersionRequest) XNextlinuxAccount

func (r ApiGetApplicationVersionRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetApplicationVersionRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationVersionSbomRequest

type ApiGetApplicationVersionSbomRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationVersionSbomRequest) ArtifactTypes

func (ApiGetApplicationVersionSbomRequest) Execute

func (ApiGetApplicationVersionSbomRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationVersionVulnerabilitiesRequest

type ApiGetApplicationVersionVulnerabilitiesRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationVersionVulnerabilitiesRequest) Execute

func (ApiGetApplicationVersionVulnerabilitiesRequest) WillNotFix

If true, include vulnerabilities that the vendor of an image distribution either disagrees with or does not intend to prioritize for remediation

func (ApiGetApplicationVersionVulnerabilitiesRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationVersionsRequest

type ApiGetApplicationVersionsRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationVersionsRequest) Execute

func (ApiGetApplicationVersionsRequest) XNextlinuxAccount

func (r ApiGetApplicationVersionsRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetApplicationVersionsRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetApplicationsRequest

type ApiGetApplicationsRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiGetApplicationsRequest) Execute

func (ApiGetApplicationsRequest) IncludeVersions

func (r ApiGetApplicationsRequest) IncludeVersions(includeVersions bool) ApiGetApplicationsRequest

func (ApiGetApplicationsRequest) XNextlinuxAccount

func (r ApiGetApplicationsRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetApplicationsRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetArtifactRelationshipRequest

type ApiGetArtifactRelationshipRequest struct {
	ApiService RelationshipsApi
	// contains filtered or unexported fields
}

func (ApiGetArtifactRelationshipRequest) Execute

type ApiGetComplianceViolationAlertRequest

type ApiGetComplianceViolationAlertRequest struct {
	ApiService AlertsApi
	// contains filtered or unexported fields
}

func (ApiGetComplianceViolationAlertRequest) Execute

func (ApiGetComplianceViolationAlertRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetComplianceViolationAlertsRequest

type ApiGetComplianceViolationAlertsRequest struct {
	ApiService AlertsApi
	// contains filtered or unexported fields
}

func (ApiGetComplianceViolationAlertsRequest) CreatedAfter

Filter for alerts generated after the timestamp

func (ApiGetComplianceViolationAlertsRequest) CreatedBefore

Filter for alerts generated before the timestamp

func (ApiGetComplianceViolationAlertsRequest) Execute

func (ApiGetComplianceViolationAlertsRequest) Limit

func (ApiGetComplianceViolationAlertsRequest) Page

func (ApiGetComplianceViolationAlertsRequest) ResourceImageDigest

Filter for alerts associated with image digest

func (ApiGetComplianceViolationAlertsRequest) ResourceImageTag

Filter for alerts generated for the tag

func (ApiGetComplianceViolationAlertsRequest) ResourceRegistry

Filter for alerts associated with registry

func (ApiGetComplianceViolationAlertsRequest) ResourceRepository

Filter for alerts associated with repository

func (ApiGetComplianceViolationAlertsRequest) State

Filter for alerts by current state, defaults to open alerts unless specified

func (ApiGetComplianceViolationAlertsRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetCorrectionByUuidRequest

type ApiGetCorrectionByUuidRequest struct {
	ApiService CorrectionsApi
	// contains filtered or unexported fields
}

func (ApiGetCorrectionByUuidRequest) Execute

func (ApiGetCorrectionByUuidRequest) XNextlinuxAccount

func (r ApiGetCorrectionByUuidRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetCorrectionByUuidRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetCorrectionsRequest

type ApiGetCorrectionsRequest struct {
	ApiService CorrectionsApi
	// contains filtered or unexported fields
}

func (ApiGetCorrectionsRequest) CorrectionType

func (r ApiGetCorrectionsRequest) CorrectionType(correctionType string) ApiGetCorrectionsRequest

func (ApiGetCorrectionsRequest) Execute

func (ApiGetCorrectionsRequest) XNextlinuxAccount

func (r ApiGetCorrectionsRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetCorrectionsRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetImageAncestorsRequest

type ApiGetImageAncestorsRequest struct {
	ApiService ImagesApi
	// contains filtered or unexported fields
}

func (ApiGetImageAncestorsRequest) Execute

func (ApiGetImageAncestorsRequest) XNextlinuxAccount

func (r ApiGetImageAncestorsRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetImageAncestorsRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetImageInventoryRequest

type ApiGetImageInventoryRequest struct {
	ApiService InventoriesApi
	// contains filtered or unexported fields
}

func (ApiGetImageInventoryRequest) Context

func (ApiGetImageInventoryRequest) Execute

func (ApiGetImageInventoryRequest) ImageDigest

func (ApiGetImageInventoryRequest) InventoryType

func (r ApiGetImageInventoryRequest) InventoryType(inventoryType string) ApiGetImageInventoryRequest

func (ApiGetImageInventoryRequest) XNextlinuxAccount

func (r ApiGetImageInventoryRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetImageInventoryRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetImagePolicyCheckByDigestRequest

type ApiGetImagePolicyCheckByDigestRequest struct {
	ApiService ImagesApi
	// contains filtered or unexported fields
}

func (ApiGetImagePolicyCheckByDigestRequest) BaseDigest

Digest of a base image. If specified the evaluation will indicate results inherited from the base image

func (ApiGetImagePolicyCheckByDigestRequest) Detail

func (ApiGetImagePolicyCheckByDigestRequest) Execute

func (r ApiGetImagePolicyCheckByDigestRequest) Execute() ([]interface{}, *_nethttp.Response, error)

func (ApiGetImagePolicyCheckByDigestRequest) History

func (ApiGetImagePolicyCheckByDigestRequest) Interactive

func (ApiGetImagePolicyCheckByDigestRequest) PolicyId

func (ApiGetImagePolicyCheckByDigestRequest) Tag

func (ApiGetImagePolicyCheckByDigestRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetImageVulnerabilitiesByDigestRequest

type ApiGetImageVulnerabilitiesByDigestRequest struct {
	ApiService ImagesApi
	// contains filtered or unexported fields
}

func (ApiGetImageVulnerabilitiesByDigestRequest) BaseDigest

Digest of a base image. If specified the vulnerabilities will indicate inheritance from the base image

func (ApiGetImageVulnerabilitiesByDigestRequest) Execute

func (ApiGetImageVulnerabilitiesByDigestRequest) ForceRefresh

func (ApiGetImageVulnerabilitiesByDigestRequest) VendorOnly

Filter results to include only vulnerabilities that are not marked as invalid by upstream OS vendor data. When set to true, it will filter out all vulnerabilities where `will_not_fix` is False. If false all vulnerabilities are returned regardless of `will_not_fix`

func (ApiGetImageVulnerabilitiesByDigestRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetImportSourcesSbomRequest

type ApiGetImportSourcesSbomRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiGetImportSourcesSbomRequest) Execute

type ApiGetKubernetesNamespacesRequest

type ApiGetKubernetesNamespacesRequest struct {
	ApiService DefaultApi
	// contains filtered or unexported fields
}

func (ApiGetKubernetesNamespacesRequest) Execute

type ApiGetOperationRequest

type ApiGetOperationRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiGetOperationRequest) Execute

type ApiGetRelationshipSbomDiffRequest

type ApiGetRelationshipSbomDiffRequest struct {
	ApiService RelationshipsApi
	// contains filtered or unexported fields
}

func (ApiGetRelationshipSbomDiffRequest) Execute

type ApiGetRuntimeComplianceChecksRequest

type ApiGetRuntimeComplianceChecksRequest struct {
	ApiService ComplianceApi
	// contains filtered or unexported fields
}

func (ApiGetRuntimeComplianceChecksRequest) Execute

func (ApiGetRuntimeComplianceChecksRequest) ImageDigest

func (ApiGetRuntimeComplianceChecksRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetRuntimeComplianceResultRequest

type ApiGetRuntimeComplianceResultRequest struct {
	ApiService ComplianceApi
	// contains filtered or unexported fields
}

func (ApiGetRuntimeComplianceResultRequest) Execute

func (ApiGetRuntimeComplianceResultRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetSourceContentByTypeRequest

type ApiGetSourceContentByTypeRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceContentByTypeRequest) Execute

type ApiGetSourceContentTypesRequest

type ApiGetSourceContentTypesRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceContentTypesRequest) Execute

type ApiGetSourcePolicyCheckRequest

type ApiGetSourcePolicyCheckRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourcePolicyCheckRequest) Execute

func (ApiGetSourcePolicyCheckRequest) PolicyId

type ApiGetSourceRequest

type ApiGetSourceRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceRequest) Execute

type ApiGetSourceSbomCyclonedxJsonRequest

type ApiGetSourceSbomCyclonedxJsonRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceSbomCyclonedxJsonRequest) Execute

type ApiGetSourceSbomNativeJsonRequest

type ApiGetSourceSbomNativeJsonRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceSbomNativeJsonRequest) Execute

type ApiGetSourceSbomNativeRequest

type ApiGetSourceSbomNativeRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceSbomNativeRequest) Execute

type ApiGetSourceSbomSpdxJsonRequest

type ApiGetSourceSbomSpdxJsonRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceSbomSpdxJsonRequest) Execute

type ApiGetSourceSbomTypesRequest

type ApiGetSourceSbomTypesRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceSbomTypesRequest) Execute

type ApiGetSourceVulnerabilitiesRequest

type ApiGetSourceVulnerabilitiesRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceVulnerabilitiesRequest) Execute

func (ApiGetSourceVulnerabilitiesRequest) ForceRefresh

func (ApiGetSourceVulnerabilitiesRequest) WillNotFix

Vulnerability data publishers explicitly won't fix some vulnerabilities. This is captured by will_not_fix attribute of each result. If the query parameter is set, results matching it's value will be filtered. Results are not filtered if the query parameter is unset

func (ApiGetSourceVulnerabilitiesRequest) XNextlinuxAccount

func (r ApiGetSourceVulnerabilitiesRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiGetSourceVulnerabilitiesRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetSourceVulnerabilityTypesRequest

type ApiGetSourceVulnerabilityTypesRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiGetSourceVulnerabilityTypesRequest) Execute

func (ApiGetSourceVulnerabilityTypesRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiGetStatelessSbomVulnerabilitiesRequest

type ApiGetStatelessSbomVulnerabilitiesRequest struct {
	ApiService StatelessApi
	// contains filtered or unexported fields
}

func (ApiGetStatelessSbomVulnerabilitiesRequest) Execute

func (ApiGetStatelessSbomVulnerabilitiesRequest) Sbom

func (ApiGetStatelessSbomVulnerabilitiesRequest) WillNotFix

Vulnerability data publishers explicitly won't fix some vulnerabilities. This is captured by will_not_fix attribute of each result. If the query parameter is set, results matching it's value will be filtered. Results are not filtered if the query parameter is unset

func (ApiGetStatelessSbomVulnerabilitiesRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiInvalidateOperationRequest

type ApiInvalidateOperationRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiInvalidateOperationRequest) Execute

type ApiListArtifactRelationshipsRequest

type ApiListArtifactRelationshipsRequest struct {
	ApiService RelationshipsApi
	// contains filtered or unexported fields
}

func (ApiListArtifactRelationshipsRequest) ArtifactId

Filter for artifact id as either source or target

func (ApiListArtifactRelationshipsRequest) ArtifactType

Filter for artifact type as either source or target

func (ApiListArtifactRelationshipsRequest) Execute

type ApiListArtifactsRequest

type ApiListArtifactsRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiListArtifactsRequest) ArtifactTypes

func (r ApiListArtifactsRequest) ArtifactTypes(artifactTypes []string) ApiListArtifactsRequest

func (ApiListArtifactsRequest) Execute

func (ApiListArtifactsRequest) XNextlinuxAccount

func (r ApiListArtifactsRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiListArtifactsRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiListOperationsRequest

type ApiListOperationsRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiListOperationsRequest) Execute

type ApiListSourcesRequest

type ApiListSourcesRequest struct {
	ApiService SourcesApi
	// contains filtered or unexported fields
}

func (ApiListSourcesRequest) Execute

func (r ApiListSourcesRequest) Execute() ([]Source, *_nethttp.Response, error)

type ApiPostEcsInventoryRequest

type ApiPostEcsInventoryRequest struct {
	ApiService InventoriesApi
	// contains filtered or unexported fields
}

func (ApiPostEcsInventoryRequest) Execute

func (ApiPostEcsInventoryRequest) Inventory

type ApiPostKubernetesInventoryRequest

type ApiPostKubernetesInventoryRequest struct {
	ApiService InventoriesApi
	// contains filtered or unexported fields
}

func (ApiPostKubernetesInventoryRequest) Execute

func (ApiPostKubernetesInventoryRequest) Inventory

type ApiRemoveArtifactFromApplicationVersionRequest

type ApiRemoveArtifactFromApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiRemoveArtifactFromApplicationVersionRequest) Execute

func (ApiRemoveArtifactFromApplicationVersionRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiSyncImageInventoryRequest

type ApiSyncImageInventoryRequest struct {
	ApiService InventoriesApi
	// contains filtered or unexported fields
}

func (ApiSyncImageInventoryRequest) Execute

func (ApiSyncImageInventoryRequest) Inventory

func (ApiSyncImageInventoryRequest) XNextlinuxAccount

func (r ApiSyncImageInventoryRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiSyncImageInventoryRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiUpdateApplicationRequest

type ApiUpdateApplicationRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiUpdateApplicationRequest) Application

func (ApiUpdateApplicationRequest) Execute

func (ApiUpdateApplicationRequest) XNextlinuxAccount

func (r ApiUpdateApplicationRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiUpdateApplicationRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiUpdateApplicationVersionRequest

type ApiUpdateApplicationVersionRequest struct {
	ApiService ApplicationsApi
	// contains filtered or unexported fields
}

func (ApiUpdateApplicationVersionRequest) ApplicationVersion

func (ApiUpdateApplicationVersionRequest) Execute

func (ApiUpdateApplicationVersionRequest) XNextlinuxAccount

func (r ApiUpdateApplicationVersionRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiUpdateApplicationVersionRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiUpdateComplianceViolationAlertStateRequest

type ApiUpdateComplianceViolationAlertStateRequest struct {
	ApiService AlertsApi
	// contains filtered or unexported fields
}

func (ApiUpdateComplianceViolationAlertStateRequest) Execute

func (ApiUpdateComplianceViolationAlertStateRequest) XNextlinuxAccount

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiUpdateCorrectionByUuidRequest

type ApiUpdateCorrectionByUuidRequest struct {
	ApiService CorrectionsApi
	// contains filtered or unexported fields
}

func (ApiUpdateCorrectionByUuidRequest) Correction

func (ApiUpdateCorrectionByUuidRequest) Execute

func (ApiUpdateCorrectionByUuidRequest) XNextlinuxAccount

func (r ApiUpdateCorrectionByUuidRequest) XNextlinuxAccount(xNextlinuxAccount string) ApiUpdateCorrectionByUuidRequest

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

type ApiUploadImportSourcesSbomRequest

type ApiUploadImportSourcesSbomRequest struct {
	ApiService ImportsApi
	// contains filtered or unexported fields
}

func (ApiUploadImportSourcesSbomRequest) Execute

func (ApiUploadImportSourcesSbomRequest) Sbom

type Application

type Application struct {
	// The id of the application
	ApplicationId *string `json:"application_id,omitempty"`
	// The name of the application. This is a unique field per account
	Name *string `json:"name,omitempty"`
	// The description of the application
	Description *string `json:"description,omitempty"`
	// List of application versions
	ApplicationVersions *[]ApplicationVersion `json:"application_versions,omitempty"`
	// RFC 3339 formatted UTC timestamp when the application was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the application was last updated
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

Application A representation of an SLDC application

func NewApplication

func NewApplication() *Application

NewApplication instantiates a new Application object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationWithDefaults

func NewApplicationWithDefaults() *Application

NewApplicationWithDefaults instantiates a new Application object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Application) GetApplicationId

func (o *Application) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*Application) GetApplicationIdOk

func (o *Application) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) GetApplicationVersions

func (o *Application) GetApplicationVersions() []ApplicationVersion

GetApplicationVersions returns the ApplicationVersions field value if set, zero value otherwise.

func (*Application) GetApplicationVersionsOk

func (o *Application) GetApplicationVersionsOk() (*[]ApplicationVersion, bool)

GetApplicationVersionsOk returns a tuple with the ApplicationVersions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) GetCreatedAt

func (o *Application) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Application) GetCreatedAtOk

func (o *Application) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) GetDescription

func (o *Application) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Application) GetDescriptionOk

func (o *Application) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) GetLastUpdated

func (o *Application) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*Application) GetLastUpdatedOk

func (o *Application) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) GetName

func (o *Application) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Application) GetNameOk

func (o *Application) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Application) HasApplicationId

func (o *Application) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*Application) HasApplicationVersions

func (o *Application) HasApplicationVersions() bool

HasApplicationVersions returns a boolean if a field has been set.

func (*Application) HasCreatedAt

func (o *Application) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Application) HasDescription

func (o *Application) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Application) HasLastUpdated

func (o *Application) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*Application) HasName

func (o *Application) HasName() bool

HasName returns a boolean if a field has been set.

func (Application) MarshalJSON

func (o Application) MarshalJSON() ([]byte, error)

func (*Application) SetApplicationId

func (o *Application) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*Application) SetApplicationVersions

func (o *Application) SetApplicationVersions(v []ApplicationVersion)

SetApplicationVersions gets a reference to the given []ApplicationVersion and assigns it to the ApplicationVersions field.

func (*Application) SetCreatedAt

func (o *Application) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Application) SetDescription

func (o *Application) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Application) SetLastUpdated

func (o *Application) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*Application) SetName

func (o *Application) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type ApplicationVersion

type ApplicationVersion struct {
	// The id of the application version
	ApplicationVersionId *string `json:"application_version_id,omitempty"`
	// The id of the application
	ApplicationId *string `json:"application_id,omitempty"`
	// The name of the application version. The name must be unique per application
	VersionName string `json:"version_name"`
	// RFC 3339 formatted UTC timestamp when the application was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the application was last updated
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

ApplicationVersion A representation of an SLDC application

func NewApplicationVersion

func NewApplicationVersion(versionName string) *ApplicationVersion

NewApplicationVersion instantiates a new ApplicationVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionWithDefaults

func NewApplicationVersionWithDefaults() *ApplicationVersion

NewApplicationVersionWithDefaults instantiates a new ApplicationVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersion) GetApplicationId

func (o *ApplicationVersion) GetApplicationId() string

GetApplicationId returns the ApplicationId field value if set, zero value otherwise.

func (*ApplicationVersion) GetApplicationIdOk

func (o *ApplicationVersion) GetApplicationIdOk() (*string, bool)

GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersion) GetApplicationVersionId

func (o *ApplicationVersion) GetApplicationVersionId() string

GetApplicationVersionId returns the ApplicationVersionId field value if set, zero value otherwise.

func (*ApplicationVersion) GetApplicationVersionIdOk

func (o *ApplicationVersion) GetApplicationVersionIdOk() (*string, bool)

GetApplicationVersionIdOk returns a tuple with the ApplicationVersionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersion) GetCreatedAt

func (o *ApplicationVersion) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ApplicationVersion) GetCreatedAtOk

func (o *ApplicationVersion) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersion) GetLastUpdated

func (o *ApplicationVersion) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*ApplicationVersion) GetLastUpdatedOk

func (o *ApplicationVersion) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersion) GetVersionName

func (o *ApplicationVersion) GetVersionName() string

GetVersionName returns the VersionName field value

func (*ApplicationVersion) GetVersionNameOk

func (o *ApplicationVersion) GetVersionNameOk() (*string, bool)

GetVersionNameOk returns a tuple with the VersionName field value and a boolean to check if the value has been set.

func (*ApplicationVersion) HasApplicationId

func (o *ApplicationVersion) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

func (*ApplicationVersion) HasApplicationVersionId

func (o *ApplicationVersion) HasApplicationVersionId() bool

HasApplicationVersionId returns a boolean if a field has been set.

func (*ApplicationVersion) HasCreatedAt

func (o *ApplicationVersion) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ApplicationVersion) HasLastUpdated

func (o *ApplicationVersion) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (ApplicationVersion) MarshalJSON

func (o ApplicationVersion) MarshalJSON() ([]byte, error)

func (*ApplicationVersion) SetApplicationId

func (o *ApplicationVersion) SetApplicationId(v string)

SetApplicationId gets a reference to the given string and assigns it to the ApplicationId field.

func (*ApplicationVersion) SetApplicationVersionId

func (o *ApplicationVersion) SetApplicationVersionId(v string)

SetApplicationVersionId gets a reference to the given string and assigns it to the ApplicationVersionId field.

func (*ApplicationVersion) SetCreatedAt

func (o *ApplicationVersion) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ApplicationVersion) SetLastUpdated

func (o *ApplicationVersion) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*ApplicationVersion) SetVersionName

func (o *ApplicationVersion) SetVersionName(v string)

SetVersionName sets field value

type ApplicationVersionSbom

type ApplicationVersionSbom struct {
	Application        *Application        `json:"application,omitempty"`
	ApplicationVersion *ApplicationVersion `json:"application_version,omitempty"`
	// RFC 3339 formatted UTC timestamp when the application version sbom was created
	CreatedAt   *time.Time     `json:"created_at,omitempty"`
	SourceSboms *[]interface{} `json:"source_sboms,omitempty"`
	ImageSboms  *[]interface{} `json:"image_sboms,omitempty"`
}

ApplicationVersionSbom A combined sbom for the artifacts associated with an application version

func NewApplicationVersionSbom

func NewApplicationVersionSbom() *ApplicationVersionSbom

NewApplicationVersionSbom instantiates a new ApplicationVersionSbom object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionSbomWithDefaults

func NewApplicationVersionSbomWithDefaults() *ApplicationVersionSbom

NewApplicationVersionSbomWithDefaults instantiates a new ApplicationVersionSbom object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionSbom) GetApplication

func (o *ApplicationVersionSbom) GetApplication() Application

GetApplication returns the Application field value if set, zero value otherwise.

func (*ApplicationVersionSbom) GetApplicationOk

func (o *ApplicationVersionSbom) GetApplicationOk() (*Application, bool)

GetApplicationOk returns a tuple with the Application field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionSbom) GetApplicationVersion

func (o *ApplicationVersionSbom) GetApplicationVersion() ApplicationVersion

GetApplicationVersion returns the ApplicationVersion field value if set, zero value otherwise.

func (*ApplicationVersionSbom) GetApplicationVersionOk

func (o *ApplicationVersionSbom) GetApplicationVersionOk() (*ApplicationVersion, bool)

GetApplicationVersionOk returns a tuple with the ApplicationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionSbom) GetCreatedAt

func (o *ApplicationVersionSbom) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ApplicationVersionSbom) GetCreatedAtOk

func (o *ApplicationVersionSbom) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionSbom) GetImageSboms

func (o *ApplicationVersionSbom) GetImageSboms() []interface{}

GetImageSboms returns the ImageSboms field value if set, zero value otherwise.

func (*ApplicationVersionSbom) GetImageSbomsOk

func (o *ApplicationVersionSbom) GetImageSbomsOk() (*[]interface{}, bool)

GetImageSbomsOk returns a tuple with the ImageSboms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionSbom) GetSourceSboms

func (o *ApplicationVersionSbom) GetSourceSboms() []interface{}

GetSourceSboms returns the SourceSboms field value if set, zero value otherwise.

func (*ApplicationVersionSbom) GetSourceSbomsOk

func (o *ApplicationVersionSbom) GetSourceSbomsOk() (*[]interface{}, bool)

GetSourceSbomsOk returns a tuple with the SourceSboms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionSbom) HasApplication

func (o *ApplicationVersionSbom) HasApplication() bool

HasApplication returns a boolean if a field has been set.

func (*ApplicationVersionSbom) HasApplicationVersion

func (o *ApplicationVersionSbom) HasApplicationVersion() bool

HasApplicationVersion returns a boolean if a field has been set.

func (*ApplicationVersionSbom) HasCreatedAt

func (o *ApplicationVersionSbom) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ApplicationVersionSbom) HasImageSboms

func (o *ApplicationVersionSbom) HasImageSboms() bool

HasImageSboms returns a boolean if a field has been set.

func (*ApplicationVersionSbom) HasSourceSboms

func (o *ApplicationVersionSbom) HasSourceSboms() bool

HasSourceSboms returns a boolean if a field has been set.

func (ApplicationVersionSbom) MarshalJSON

func (o ApplicationVersionSbom) MarshalJSON() ([]byte, error)

func (*ApplicationVersionSbom) SetApplication

func (o *ApplicationVersionSbom) SetApplication(v Application)

SetApplication gets a reference to the given Application and assigns it to the Application field.

func (*ApplicationVersionSbom) SetApplicationVersion

func (o *ApplicationVersionSbom) SetApplicationVersion(v ApplicationVersion)

SetApplicationVersion gets a reference to the given ApplicationVersion and assigns it to the ApplicationVersion field.

func (*ApplicationVersionSbom) SetCreatedAt

func (o *ApplicationVersionSbom) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ApplicationVersionSbom) SetImageSboms

func (o *ApplicationVersionSbom) SetImageSboms(v []interface{})

SetImageSboms gets a reference to the given []interface{} and assigns it to the ImageSboms field.

func (*ApplicationVersionSbom) SetSourceSboms

func (o *ApplicationVersionSbom) SetSourceSboms(v []interface{})

SetSourceSboms gets a reference to the given []interface{} and assigns it to the SourceSboms field.

type ApplicationVersionVulnerabilityReport

type ApplicationVersionVulnerabilityReport struct {
	Application *ApplicationVersionVulnerabilityReportApplication `json:"application,omitempty"`
	// Collection of vulnerabilities and affected packages on a given application version
	Vulnerabilities *[]VersionVulnerability `json:"vulnerabilities,omitempty"`
}

ApplicationVersionVulnerabilityReport A combined vulnerability report for all artifacts associated with an application version

func NewApplicationVersionVulnerabilityReport

func NewApplicationVersionVulnerabilityReport() *ApplicationVersionVulnerabilityReport

NewApplicationVersionVulnerabilityReport instantiates a new ApplicationVersionVulnerabilityReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionVulnerabilityReportWithDefaults

func NewApplicationVersionVulnerabilityReportWithDefaults() *ApplicationVersionVulnerabilityReport

NewApplicationVersionVulnerabilityReportWithDefaults instantiates a new ApplicationVersionVulnerabilityReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionVulnerabilityReport) GetApplication

GetApplication returns the Application field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReport) GetApplicationOk

GetApplicationOk returns a tuple with the Application field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReport) GetVulnerabilities

GetVulnerabilities returns the Vulnerabilities field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReport) GetVulnerabilitiesOk

func (o *ApplicationVersionVulnerabilityReport) GetVulnerabilitiesOk() (*[]VersionVulnerability, bool)

GetVulnerabilitiesOk returns a tuple with the Vulnerabilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReport) HasApplication

func (o *ApplicationVersionVulnerabilityReport) HasApplication() bool

HasApplication returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReport) HasVulnerabilities

func (o *ApplicationVersionVulnerabilityReport) HasVulnerabilities() bool

HasVulnerabilities returns a boolean if a field has been set.

func (ApplicationVersionVulnerabilityReport) MarshalJSON

func (o ApplicationVersionVulnerabilityReport) MarshalJSON() ([]byte, error)

func (*ApplicationVersionVulnerabilityReport) SetApplication

SetApplication gets a reference to the given ApplicationVersionVulnerabilityReportApplication and assigns it to the Application field.

func (*ApplicationVersionVulnerabilityReport) SetVulnerabilities

SetVulnerabilities gets a reference to the given []VersionVulnerability and assigns it to the Vulnerabilities field.

type ApplicationVersionVulnerabilityReportApplication

type ApplicationVersionVulnerabilityReportApplication struct {
	Id          *string                                                    `json:"id,omitempty"`
	Name        *string                                                    `json:"name,omitempty"`
	VersionName *string                                                    `json:"version_name,omitempty"`
	VersionId   *string                                                    `json:"version_id,omitempty"`
	Artifacts   *ApplicationVersionVulnerabilityReportApplicationArtifacts `json:"artifacts,omitempty"`
}

ApplicationVersionVulnerabilityReportApplication struct for ApplicationVersionVulnerabilityReportApplication

func NewApplicationVersionVulnerabilityReportApplication

func NewApplicationVersionVulnerabilityReportApplication() *ApplicationVersionVulnerabilityReportApplication

NewApplicationVersionVulnerabilityReportApplication instantiates a new ApplicationVersionVulnerabilityReportApplication object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionVulnerabilityReportApplicationWithDefaults

func NewApplicationVersionVulnerabilityReportApplicationWithDefaults() *ApplicationVersionVulnerabilityReportApplication

NewApplicationVersionVulnerabilityReportApplicationWithDefaults instantiates a new ApplicationVersionVulnerabilityReportApplication object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionVulnerabilityReportApplication) GetArtifacts

GetArtifacts returns the Artifacts field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplication) GetArtifactsOk

GetArtifactsOk returns a tuple with the Artifacts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplication) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplication) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplication) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplication) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplication) GetVersionId

GetVersionId returns the VersionId field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplication) GetVersionIdOk

GetVersionIdOk returns a tuple with the VersionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplication) GetVersionName

GetVersionName returns the VersionName field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplication) GetVersionNameOk

GetVersionNameOk returns a tuple with the VersionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplication) HasArtifacts

HasArtifacts returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReportApplication) HasId

HasId returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReportApplication) HasName

HasName returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReportApplication) HasVersionId

HasVersionId returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReportApplication) HasVersionName

HasVersionName returns a boolean if a field has been set.

func (ApplicationVersionVulnerabilityReportApplication) MarshalJSON

func (*ApplicationVersionVulnerabilityReportApplication) SetArtifacts

SetArtifacts gets a reference to the given ApplicationVersionVulnerabilityReportApplicationArtifacts and assigns it to the Artifacts field.

func (*ApplicationVersionVulnerabilityReportApplication) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*ApplicationVersionVulnerabilityReportApplication) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*ApplicationVersionVulnerabilityReportApplication) SetVersionId

SetVersionId gets a reference to the given string and assigns it to the VersionId field.

func (*ApplicationVersionVulnerabilityReportApplication) SetVersionName

SetVersionName gets a reference to the given string and assigns it to the VersionName field.

type ApplicationVersionVulnerabilityReportApplicationArtifacts

type ApplicationVersionVulnerabilityReportApplicationArtifacts struct {
	Sources *[]VersionVulnerabilityReportSource `json:"sources,omitempty"`
	Images  *[]VersionVulnerabilityReportImage  `json:"images,omitempty"`
}

ApplicationVersionVulnerabilityReportApplicationArtifacts struct for ApplicationVersionVulnerabilityReportApplicationArtifacts

func NewApplicationVersionVulnerabilityReportApplicationArtifacts

func NewApplicationVersionVulnerabilityReportApplicationArtifacts() *ApplicationVersionVulnerabilityReportApplicationArtifacts

NewApplicationVersionVulnerabilityReportApplicationArtifacts instantiates a new ApplicationVersionVulnerabilityReportApplicationArtifacts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationVersionVulnerabilityReportApplicationArtifactsWithDefaults

func NewApplicationVersionVulnerabilityReportApplicationArtifactsWithDefaults() *ApplicationVersionVulnerabilityReportApplicationArtifacts

NewApplicationVersionVulnerabilityReportApplicationArtifactsWithDefaults instantiates a new ApplicationVersionVulnerabilityReportApplicationArtifacts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) GetImages

GetImages returns the Images field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) GetImagesOk

GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) GetSources

GetSources returns the Sources field value if set, zero value otherwise.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) GetSourcesOk

GetSourcesOk returns a tuple with the Sources field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) HasImages

HasImages returns a boolean if a field has been set.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) HasSources

HasSources returns a boolean if a field has been set.

func (ApplicationVersionVulnerabilityReportApplicationArtifacts) MarshalJSON

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) SetImages

SetImages gets a reference to the given []VersionVulnerabilityReportImage and assigns it to the Images field.

func (*ApplicationVersionVulnerabilityReportApplicationArtifacts) SetSources

SetSources gets a reference to the given []VersionVulnerabilityReportSource and assigns it to the Sources field.

type ApplicationsApi

type ApplicationsApi interface {

	/*
		AddApplication Create an application

		Create an application

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiAddApplicationRequest
	*/
	AddApplication(ctx _context.Context) ApiAddApplicationRequest

	// AddApplicationExecute executes the request
	//  @return Application
	AddApplicationExecute(r ApiAddApplicationRequest) (Application, *_nethttp.Response, error)

	/*
		AddApplicationVersion Create an application version

		Create an application version

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @return ApiAddApplicationVersionRequest
	*/
	AddApplicationVersion(ctx _context.Context, applicationId string) ApiAddApplicationVersionRequest

	// AddApplicationVersionExecute executes the request
	//  @return ApplicationVersion
	AddApplicationVersionExecute(r ApiAddApplicationVersionRequest) (ApplicationVersion, *_nethttp.Response, error)

	/*
		AddArtifactToApplicationVersion Add an artifact to an application version

		Add artifact to given application_id and application_version_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiAddArtifactToApplicationVersionRequest
	*/
	AddArtifactToApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiAddArtifactToApplicationVersionRequest

	// AddArtifactToApplicationVersionExecute executes the request
	//  @return ArtifactAssociationResponse
	AddArtifactToApplicationVersionExecute(r ApiAddArtifactToApplicationVersionRequest) (ArtifactAssociationResponse, *_nethttp.Response, error)

	/*
		DeleteApplication Delete an application by application_id

		Delete an application by application_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @return ApiDeleteApplicationRequest
	*/
	DeleteApplication(ctx _context.Context, applicationId string) ApiDeleteApplicationRequest

	// DeleteApplicationExecute executes the request
	DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*_nethttp.Response, error)

	/*
		DeleteApplicationVersion Delete an application version by application_id and application_version_id

		Delete an application version by application_id and application_version_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiDeleteApplicationVersionRequest
	*/
	DeleteApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiDeleteApplicationVersionRequest

	// DeleteApplicationVersionExecute executes the request
	DeleteApplicationVersionExecute(r ApiDeleteApplicationVersionRequest) (*_nethttp.Response, error)

	/*
		GetApplication Get an application by application_id

		Get an application by application_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @return ApiGetApplicationRequest
	*/
	GetApplication(ctx _context.Context, applicationId string) ApiGetApplicationRequest

	// GetApplicationExecute executes the request
	//  @return Application
	GetApplicationExecute(r ApiGetApplicationRequest) (Application, *_nethttp.Response, error)

	/*
		GetApplicationVersion Get an application version

		Get an application version by application_id and application_version_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiGetApplicationVersionRequest
	*/
	GetApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionRequest

	// GetApplicationVersionExecute executes the request
	//  @return ApplicationVersion
	GetApplicationVersionExecute(r ApiGetApplicationVersionRequest) (ApplicationVersion, *_nethttp.Response, error)

	/*
		GetApplicationVersionSbom Get the combined sbom for the given application version, optionally filtered by artifact type

		Get the combined sbom for the given application version, optionally filtered by artifact type

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiGetApplicationVersionSbomRequest
	*/
	GetApplicationVersionSbom(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionSbomRequest

	// GetApplicationVersionSbomExecute executes the request
	//  @return ApplicationVersionSbom
	GetApplicationVersionSbomExecute(r ApiGetApplicationVersionSbomRequest) (ApplicationVersionSbom, *_nethttp.Response, error)

	/*
		GetApplicationVersionVulnerabilities Get the vulnerabilities for a given application version

		Get the vulnerabilities for a given application version

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiGetApplicationVersionVulnerabilitiesRequest
	*/
	GetApplicationVersionVulnerabilities(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionVulnerabilitiesRequest

	// GetApplicationVersionVulnerabilitiesExecute executes the request
	//  @return ApplicationVersionVulnerabilityReport
	GetApplicationVersionVulnerabilitiesExecute(r ApiGetApplicationVersionVulnerabilitiesRequest) (ApplicationVersionVulnerabilityReport, *_nethttp.Response, error)

	/*
		GetApplicationVersions List all application verions

		List all application verions

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @return ApiGetApplicationVersionsRequest
	*/
	GetApplicationVersions(ctx _context.Context, applicationId string) ApiGetApplicationVersionsRequest

	// GetApplicationVersionsExecute executes the request
	//  @return []ApplicationVersion
	GetApplicationVersionsExecute(r ApiGetApplicationVersionsRequest) ([]ApplicationVersion, *_nethttp.Response, error)

	/*
		GetApplications List all applications

		List all applications

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetApplicationsRequest
	*/
	GetApplications(ctx _context.Context) ApiGetApplicationsRequest

	// GetApplicationsExecute executes the request
	//  @return []Application
	GetApplicationsExecute(r ApiGetApplicationsRequest) ([]Application, *_nethttp.Response, error)

	/*
		ListArtifacts List artifacts present on a given application version

		List artifacts present on a given application version

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiListArtifactsRequest
	*/
	ListArtifacts(ctx _context.Context, applicationId string, applicationVersionId string) ApiListArtifactsRequest

	// ListArtifactsExecute executes the request
	//  @return ArtifactListResponse
	ListArtifactsExecute(r ApiListArtifactsRequest) (ArtifactListResponse, *_nethttp.Response, error)

	/*
		RemoveArtifactFromApplicationVersion Delete an artifact from specified application version

		Delete an artifact from specified application version

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @param associationId
		 @return ApiRemoveArtifactFromApplicationVersionRequest
	*/
	RemoveArtifactFromApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string, associationId string) ApiRemoveArtifactFromApplicationVersionRequest

	// RemoveArtifactFromApplicationVersionExecute executes the request
	RemoveArtifactFromApplicationVersionExecute(r ApiRemoveArtifactFromApplicationVersionRequest) (*_nethttp.Response, error)

	/*
		UpdateApplication Update application details

		Updates application details for given application_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @return ApiUpdateApplicationRequest
	*/
	UpdateApplication(ctx _context.Context, applicationId string) ApiUpdateApplicationRequest

	// UpdateApplicationExecute executes the request
	//  @return Application
	UpdateApplicationExecute(r ApiUpdateApplicationRequest) (Application, *_nethttp.Response, error)

	/*
		UpdateApplicationVersion Update application version details

		Updates application version details for given application_id and application_version_id

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param applicationId
		 @param applicationVersionId
		 @return ApiUpdateApplicationVersionRequest
	*/
	UpdateApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiUpdateApplicationVersionRequest

	// UpdateApplicationVersionExecute executes the request
	//  @return ApplicationVersion
	UpdateApplicationVersionExecute(r ApiUpdateApplicationVersionRequest) (ApplicationVersion, *_nethttp.Response, error)
}

type ApplicationsApiService

type ApplicationsApiService service

ApplicationsApiService ApplicationsApi service

func (*ApplicationsApiService) AddApplication

AddApplication Create an application

Create an application

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddApplicationRequest

func (*ApplicationsApiService) AddApplicationExecute

Execute executes the request

@return Application

func (*ApplicationsApiService) AddApplicationVersion

func (a *ApplicationsApiService) AddApplicationVersion(ctx _context.Context, applicationId string) ApiAddApplicationVersionRequest

AddApplicationVersion Create an application version

Create an application version

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@return ApiAddApplicationVersionRequest

func (*ApplicationsApiService) AddApplicationVersionExecute

Execute executes the request

@return ApplicationVersion

func (*ApplicationsApiService) AddArtifactToApplicationVersion

func (a *ApplicationsApiService) AddArtifactToApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiAddArtifactToApplicationVersionRequest

AddArtifactToApplicationVersion Add an artifact to an application version

Add artifact to given application_id and application_version_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiAddArtifactToApplicationVersionRequest

func (*ApplicationsApiService) AddArtifactToApplicationVersionExecute

Execute executes the request

@return ArtifactAssociationResponse

func (*ApplicationsApiService) DeleteApplication

func (a *ApplicationsApiService) DeleteApplication(ctx _context.Context, applicationId string) ApiDeleteApplicationRequest

DeleteApplication Delete an application by application_id

Delete an application by application_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@return ApiDeleteApplicationRequest

func (*ApplicationsApiService) DeleteApplicationExecute

func (a *ApplicationsApiService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ApplicationsApiService) DeleteApplicationVersion

func (a *ApplicationsApiService) DeleteApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiDeleteApplicationVersionRequest

DeleteApplicationVersion Delete an application version by application_id and application_version_id

Delete an application version by application_id and application_version_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiDeleteApplicationVersionRequest

func (*ApplicationsApiService) DeleteApplicationVersionExecute

func (a *ApplicationsApiService) DeleteApplicationVersionExecute(r ApiDeleteApplicationVersionRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ApplicationsApiService) GetApplication

func (a *ApplicationsApiService) GetApplication(ctx _context.Context, applicationId string) ApiGetApplicationRequest

GetApplication Get an application by application_id

Get an application by application_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@return ApiGetApplicationRequest

func (*ApplicationsApiService) GetApplicationExecute

Execute executes the request

@return Application

func (*ApplicationsApiService) GetApplicationVersion

func (a *ApplicationsApiService) GetApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionRequest

GetApplicationVersion Get an application version

Get an application version by application_id and application_version_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiGetApplicationVersionRequest

func (*ApplicationsApiService) GetApplicationVersionExecute

Execute executes the request

@return ApplicationVersion

func (*ApplicationsApiService) GetApplicationVersionSbom

func (a *ApplicationsApiService) GetApplicationVersionSbom(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionSbomRequest

GetApplicationVersionSbom Get the combined sbom for the given application version, optionally filtered by artifact type

Get the combined sbom for the given application version, optionally filtered by artifact type

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiGetApplicationVersionSbomRequest

func (*ApplicationsApiService) GetApplicationVersionSbomExecute

Execute executes the request

@return ApplicationVersionSbom

func (*ApplicationsApiService) GetApplicationVersionVulnerabilities

func (a *ApplicationsApiService) GetApplicationVersionVulnerabilities(ctx _context.Context, applicationId string, applicationVersionId string) ApiGetApplicationVersionVulnerabilitiesRequest

GetApplicationVersionVulnerabilities Get the vulnerabilities for a given application version

Get the vulnerabilities for a given application version

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiGetApplicationVersionVulnerabilitiesRequest

func (*ApplicationsApiService) GetApplicationVersionVulnerabilitiesExecute

Execute executes the request

@return ApplicationVersionVulnerabilityReport

func (*ApplicationsApiService) GetApplicationVersions

func (a *ApplicationsApiService) GetApplicationVersions(ctx _context.Context, applicationId string) ApiGetApplicationVersionsRequest

GetApplicationVersions List all application verions

List all application verions

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@return ApiGetApplicationVersionsRequest

func (*ApplicationsApiService) GetApplicationVersionsExecute

Execute executes the request

@return []ApplicationVersion

func (*ApplicationsApiService) GetApplications

GetApplications List all applications

List all applications

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetApplicationsRequest

func (*ApplicationsApiService) GetApplicationsExecute

Execute executes the request

@return []Application

func (*ApplicationsApiService) ListArtifacts

func (a *ApplicationsApiService) ListArtifacts(ctx _context.Context, applicationId string, applicationVersionId string) ApiListArtifactsRequest

ListArtifacts List artifacts present on a given application version

List artifacts present on a given application version

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiListArtifactsRequest

func (*ApplicationsApiService) ListArtifactsExecute

Execute executes the request

@return ArtifactListResponse

func (*ApplicationsApiService) RemoveArtifactFromApplicationVersion

func (a *ApplicationsApiService) RemoveArtifactFromApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string, associationId string) ApiRemoveArtifactFromApplicationVersionRequest

RemoveArtifactFromApplicationVersion Delete an artifact from specified application version

Delete an artifact from specified application version

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@param associationId
@return ApiRemoveArtifactFromApplicationVersionRequest

func (*ApplicationsApiService) RemoveArtifactFromApplicationVersionExecute

func (a *ApplicationsApiService) RemoveArtifactFromApplicationVersionExecute(r ApiRemoveArtifactFromApplicationVersionRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ApplicationsApiService) UpdateApplication

func (a *ApplicationsApiService) UpdateApplication(ctx _context.Context, applicationId string) ApiUpdateApplicationRequest

UpdateApplication Update application details

Updates application details for given application_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@return ApiUpdateApplicationRequest

func (*ApplicationsApiService) UpdateApplicationExecute

Execute executes the request

@return Application

func (*ApplicationsApiService) UpdateApplicationVersion

func (a *ApplicationsApiService) UpdateApplicationVersion(ctx _context.Context, applicationId string, applicationVersionId string) ApiUpdateApplicationVersionRequest

UpdateApplicationVersion Update application version details

Updates application version details for given application_id and application_version_id

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param applicationId
@param applicationVersionId
@return ApiUpdateApplicationVersionRequest

func (*ApplicationsApiService) UpdateApplicationVersionExecute

Execute executes the request

@return ApplicationVersion

type ArtifactAssociationMetadata

type ArtifactAssociationMetadata struct {
	// The id of the association between the application version and the artifact
	AssociationId *string `json:"association_id,omitempty"`
	// RFC 3339 formatted UTC timestamp when the artifact was associated with the application version
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the artifact association was last updated
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

ArtifactAssociationMetadata Metadata for an artifact association to an application version

func NewArtifactAssociationMetadata

func NewArtifactAssociationMetadata() *ArtifactAssociationMetadata

NewArtifactAssociationMetadata instantiates a new ArtifactAssociationMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactAssociationMetadataWithDefaults

func NewArtifactAssociationMetadataWithDefaults() *ArtifactAssociationMetadata

NewArtifactAssociationMetadataWithDefaults instantiates a new ArtifactAssociationMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactAssociationMetadata) GetAssociationId

func (o *ArtifactAssociationMetadata) GetAssociationId() string

GetAssociationId returns the AssociationId field value if set, zero value otherwise.

func (*ArtifactAssociationMetadata) GetAssociationIdOk

func (o *ArtifactAssociationMetadata) GetAssociationIdOk() (*string, bool)

GetAssociationIdOk returns a tuple with the AssociationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationMetadata) GetCreatedAt

func (o *ArtifactAssociationMetadata) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArtifactAssociationMetadata) GetCreatedAtOk

func (o *ArtifactAssociationMetadata) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationMetadata) GetLastUpdated

func (o *ArtifactAssociationMetadata) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*ArtifactAssociationMetadata) GetLastUpdatedOk

func (o *ArtifactAssociationMetadata) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationMetadata) HasAssociationId

func (o *ArtifactAssociationMetadata) HasAssociationId() bool

HasAssociationId returns a boolean if a field has been set.

func (*ArtifactAssociationMetadata) HasCreatedAt

func (o *ArtifactAssociationMetadata) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArtifactAssociationMetadata) HasLastUpdated

func (o *ArtifactAssociationMetadata) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (ArtifactAssociationMetadata) MarshalJSON

func (o ArtifactAssociationMetadata) MarshalJSON() ([]byte, error)

func (*ArtifactAssociationMetadata) SetAssociationId

func (o *ArtifactAssociationMetadata) SetAssociationId(v string)

SetAssociationId gets a reference to the given string and assigns it to the AssociationId field.

func (*ArtifactAssociationMetadata) SetCreatedAt

func (o *ArtifactAssociationMetadata) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArtifactAssociationMetadata) SetLastUpdated

func (o *ArtifactAssociationMetadata) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

type ArtifactAssociationRequest

type ArtifactAssociationRequest struct {
	// The type of the artifact
	ArtifactType string `json:"artifact_type"`
	// A json with key-pair values to query on
	ArtifactKeys interface{} `json:"artifact_keys"`
}

ArtifactAssociationRequest Request body for an artifact to associate with an application version

func NewArtifactAssociationRequest

func NewArtifactAssociationRequest(artifactType string, artifactKeys interface{}) *ArtifactAssociationRequest

NewArtifactAssociationRequest instantiates a new ArtifactAssociationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactAssociationRequestWithDefaults

func NewArtifactAssociationRequestWithDefaults() *ArtifactAssociationRequest

NewArtifactAssociationRequestWithDefaults instantiates a new ArtifactAssociationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactAssociationRequest) GetArtifactKeys

func (o *ArtifactAssociationRequest) GetArtifactKeys() interface{}

GetArtifactKeys returns the ArtifactKeys field value

func (*ArtifactAssociationRequest) GetArtifactKeysOk

func (o *ArtifactAssociationRequest) GetArtifactKeysOk() (*interface{}, bool)

GetArtifactKeysOk returns a tuple with the ArtifactKeys field value and a boolean to check if the value has been set.

func (*ArtifactAssociationRequest) GetArtifactType

func (o *ArtifactAssociationRequest) GetArtifactType() string

GetArtifactType returns the ArtifactType field value

func (*ArtifactAssociationRequest) GetArtifactTypeOk

func (o *ArtifactAssociationRequest) GetArtifactTypeOk() (*string, bool)

GetArtifactTypeOk returns a tuple with the ArtifactType field value and a boolean to check if the value has been set.

func (ArtifactAssociationRequest) MarshalJSON

func (o ArtifactAssociationRequest) MarshalJSON() ([]byte, error)

func (*ArtifactAssociationRequest) SetArtifactKeys

func (o *ArtifactAssociationRequest) SetArtifactKeys(v interface{})

SetArtifactKeys sets field value

func (*ArtifactAssociationRequest) SetArtifactType

func (o *ArtifactAssociationRequest) SetArtifactType(v string)

SetArtifactType sets field value

type ArtifactAssociationResponse

type ArtifactAssociationResponse struct {
	Source                      *Source                      `json:"source,omitempty"`
	Image                       *ImageArtifact               `json:"image,omitempty"`
	ArtifactAssociationMetadata *ArtifactAssociationMetadata `json:"artifact_association_metadata,omitempty"`
}

ArtifactAssociationResponse Response body for an artifact to associate with an application version. Only one artifact type (matching the value of the type field) will be populated.

func NewArtifactAssociationResponse

func NewArtifactAssociationResponse() *ArtifactAssociationResponse

NewArtifactAssociationResponse instantiates a new ArtifactAssociationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactAssociationResponseWithDefaults

func NewArtifactAssociationResponseWithDefaults() *ArtifactAssociationResponse

NewArtifactAssociationResponseWithDefaults instantiates a new ArtifactAssociationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactAssociationResponse) GetArtifactAssociationMetadata

func (o *ArtifactAssociationResponse) GetArtifactAssociationMetadata() ArtifactAssociationMetadata

GetArtifactAssociationMetadata returns the ArtifactAssociationMetadata field value if set, zero value otherwise.

func (*ArtifactAssociationResponse) GetArtifactAssociationMetadataOk

func (o *ArtifactAssociationResponse) GetArtifactAssociationMetadataOk() (*ArtifactAssociationMetadata, bool)

GetArtifactAssociationMetadataOk returns a tuple with the ArtifactAssociationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationResponse) GetImage

GetImage returns the Image field value if set, zero value otherwise.

func (*ArtifactAssociationResponse) GetImageOk

func (o *ArtifactAssociationResponse) GetImageOk() (*ImageArtifact, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationResponse) GetSource

func (o *ArtifactAssociationResponse) GetSource() Source

GetSource returns the Source field value if set, zero value otherwise.

func (*ArtifactAssociationResponse) GetSourceOk

func (o *ArtifactAssociationResponse) GetSourceOk() (*Source, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactAssociationResponse) HasArtifactAssociationMetadata

func (o *ArtifactAssociationResponse) HasArtifactAssociationMetadata() bool

HasArtifactAssociationMetadata returns a boolean if a field has been set.

func (*ArtifactAssociationResponse) HasImage

func (o *ArtifactAssociationResponse) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*ArtifactAssociationResponse) HasSource

func (o *ArtifactAssociationResponse) HasSource() bool

HasSource returns a boolean if a field has been set.

func (ArtifactAssociationResponse) MarshalJSON

func (o ArtifactAssociationResponse) MarshalJSON() ([]byte, error)

func (*ArtifactAssociationResponse) SetArtifactAssociationMetadata

func (o *ArtifactAssociationResponse) SetArtifactAssociationMetadata(v ArtifactAssociationMetadata)

SetArtifactAssociationMetadata gets a reference to the given ArtifactAssociationMetadata and assigns it to the ArtifactAssociationMetadata field.

func (*ArtifactAssociationResponse) SetImage

SetImage gets a reference to the given ImageArtifact and assigns it to the Image field.

func (*ArtifactAssociationResponse) SetSource

func (o *ArtifactAssociationResponse) SetSource(v Source)

SetSource gets a reference to the given Source and assigns it to the Source field.

type ArtifactListResponse

type ArtifactListResponse struct {
	AssociatedSourceArtifacts *[]AssociatedSourceArtifact `json:"associated_source_artifacts,omitempty"`
	AssociatedImageArtifacts  *[]AssociatedImageArtifact  `json:"associated_image_artifacts,omitempty"`
}

ArtifactListResponse The response provided when querying for the artifacts on an application version

func NewArtifactListResponse

func NewArtifactListResponse() *ArtifactListResponse

NewArtifactListResponse instantiates a new ArtifactListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactListResponseWithDefaults

func NewArtifactListResponseWithDefaults() *ArtifactListResponse

NewArtifactListResponseWithDefaults instantiates a new ArtifactListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactListResponse) GetAssociatedImageArtifacts

func (o *ArtifactListResponse) GetAssociatedImageArtifacts() []AssociatedImageArtifact

GetAssociatedImageArtifacts returns the AssociatedImageArtifacts field value if set, zero value otherwise.

func (*ArtifactListResponse) GetAssociatedImageArtifactsOk

func (o *ArtifactListResponse) GetAssociatedImageArtifactsOk() (*[]AssociatedImageArtifact, bool)

GetAssociatedImageArtifactsOk returns a tuple with the AssociatedImageArtifacts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactListResponse) GetAssociatedSourceArtifacts

func (o *ArtifactListResponse) GetAssociatedSourceArtifacts() []AssociatedSourceArtifact

GetAssociatedSourceArtifacts returns the AssociatedSourceArtifacts field value if set, zero value otherwise.

func (*ArtifactListResponse) GetAssociatedSourceArtifactsOk

func (o *ArtifactListResponse) GetAssociatedSourceArtifactsOk() (*[]AssociatedSourceArtifact, bool)

GetAssociatedSourceArtifactsOk returns a tuple with the AssociatedSourceArtifacts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactListResponse) HasAssociatedImageArtifacts

func (o *ArtifactListResponse) HasAssociatedImageArtifacts() bool

HasAssociatedImageArtifacts returns a boolean if a field has been set.

func (*ArtifactListResponse) HasAssociatedSourceArtifacts

func (o *ArtifactListResponse) HasAssociatedSourceArtifacts() bool

HasAssociatedSourceArtifacts returns a boolean if a field has been set.

func (ArtifactListResponse) MarshalJSON

func (o ArtifactListResponse) MarshalJSON() ([]byte, error)

func (*ArtifactListResponse) SetAssociatedImageArtifacts

func (o *ArtifactListResponse) SetAssociatedImageArtifacts(v []AssociatedImageArtifact)

SetAssociatedImageArtifacts gets a reference to the given []AssociatedImageArtifact and assigns it to the AssociatedImageArtifacts field.

func (*ArtifactListResponse) SetAssociatedSourceArtifacts

func (o *ArtifactListResponse) SetAssociatedSourceArtifacts(v []AssociatedSourceArtifact)

SetAssociatedSourceArtifacts gets a reference to the given []AssociatedSourceArtifact and assigns it to the AssociatedSourceArtifacts field.

type ArtifactReference

type ArtifactReference struct {
	ArtifactId   *string       `json:"artifact_id,omitempty"`
	ArtifactType *ArtifactType `json:"artifact_type,omitempty"`
}

ArtifactReference struct for ArtifactReference

func NewArtifactReference

func NewArtifactReference() *ArtifactReference

NewArtifactReference instantiates a new ArtifactReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactReferenceWithDefaults

func NewArtifactReferenceWithDefaults() *ArtifactReference

NewArtifactReferenceWithDefaults instantiates a new ArtifactReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactReference) GetArtifactId

func (o *ArtifactReference) GetArtifactId() string

GetArtifactId returns the ArtifactId field value if set, zero value otherwise.

func (*ArtifactReference) GetArtifactIdOk

func (o *ArtifactReference) GetArtifactIdOk() (*string, bool)

GetArtifactIdOk returns a tuple with the ArtifactId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactReference) GetArtifactType

func (o *ArtifactReference) GetArtifactType() ArtifactType

GetArtifactType returns the ArtifactType field value if set, zero value otherwise.

func (*ArtifactReference) GetArtifactTypeOk

func (o *ArtifactReference) GetArtifactTypeOk() (*ArtifactType, bool)

GetArtifactTypeOk returns a tuple with the ArtifactType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactReference) HasArtifactId

func (o *ArtifactReference) HasArtifactId() bool

HasArtifactId returns a boolean if a field has been set.

func (*ArtifactReference) HasArtifactType

func (o *ArtifactReference) HasArtifactType() bool

HasArtifactType returns a boolean if a field has been set.

func (ArtifactReference) MarshalJSON

func (o ArtifactReference) MarshalJSON() ([]byte, error)

func (*ArtifactReference) SetArtifactId

func (o *ArtifactReference) SetArtifactId(v string)

SetArtifactId gets a reference to the given string and assigns it to the ArtifactId field.

func (*ArtifactReference) SetArtifactType

func (o *ArtifactReference) SetArtifactType(v ArtifactType)

SetArtifactType gets a reference to the given ArtifactType and assigns it to the ArtifactType field.

type ArtifactRelationship

type ArtifactRelationship struct {
	CreatedAt        *time.Time         `json:"created_at,omitempty"`
	Source           *ArtifactReference `json:"source,omitempty"`
	Target           *ArtifactReference `json:"target,omitempty"`
	RelationshipType *RelationshipType  `json:"relationship_type,omitempty"`
	Comment          *string            `json:"comment,omitempty"`
	// User-provided metadata about the relationship
	UserMetadata *interface{} `json:"user_metadata,omitempty"`
}

ArtifactRelationship A relationship of a specific type between two SDLC artifacts (e.g. container image and source revision). This is and edge in a directed graph where edges are directional from the \"source\" to the \"target\". For example, an edge of type \"contains\" means the source artifact contains the content of the target artifact.

func NewArtifactRelationship

func NewArtifactRelationship() *ArtifactRelationship

NewArtifactRelationship instantiates a new ArtifactRelationship object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArtifactRelationshipWithDefaults

func NewArtifactRelationshipWithDefaults() *ArtifactRelationship

NewArtifactRelationshipWithDefaults instantiates a new ArtifactRelationship object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArtifactRelationship) GetComment

func (o *ArtifactRelationship) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*ArtifactRelationship) GetCommentOk

func (o *ArtifactRelationship) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) GetCreatedAt

func (o *ArtifactRelationship) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ArtifactRelationship) GetCreatedAtOk

func (o *ArtifactRelationship) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) GetRelationshipType

func (o *ArtifactRelationship) GetRelationshipType() RelationshipType

GetRelationshipType returns the RelationshipType field value if set, zero value otherwise.

func (*ArtifactRelationship) GetRelationshipTypeOk

func (o *ArtifactRelationship) GetRelationshipTypeOk() (*RelationshipType, bool)

GetRelationshipTypeOk returns a tuple with the RelationshipType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) GetSource

func (o *ArtifactRelationship) GetSource() ArtifactReference

GetSource returns the Source field value if set, zero value otherwise.

func (*ArtifactRelationship) GetSourceOk

func (o *ArtifactRelationship) GetSourceOk() (*ArtifactReference, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) GetTarget

func (o *ArtifactRelationship) GetTarget() ArtifactReference

GetTarget returns the Target field value if set, zero value otherwise.

func (*ArtifactRelationship) GetTargetOk

func (o *ArtifactRelationship) GetTargetOk() (*ArtifactReference, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) GetUserMetadata

func (o *ArtifactRelationship) GetUserMetadata() interface{}

GetUserMetadata returns the UserMetadata field value if set, zero value otherwise.

func (*ArtifactRelationship) GetUserMetadataOk

func (o *ArtifactRelationship) GetUserMetadataOk() (*interface{}, bool)

GetUserMetadataOk returns a tuple with the UserMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArtifactRelationship) HasComment

func (o *ArtifactRelationship) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*ArtifactRelationship) HasCreatedAt

func (o *ArtifactRelationship) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ArtifactRelationship) HasRelationshipType

func (o *ArtifactRelationship) HasRelationshipType() bool

HasRelationshipType returns a boolean if a field has been set.

func (*ArtifactRelationship) HasSource

func (o *ArtifactRelationship) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*ArtifactRelationship) HasTarget

func (o *ArtifactRelationship) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*ArtifactRelationship) HasUserMetadata

func (o *ArtifactRelationship) HasUserMetadata() bool

HasUserMetadata returns a boolean if a field has been set.

func (ArtifactRelationship) MarshalJSON

func (o ArtifactRelationship) MarshalJSON() ([]byte, error)

func (*ArtifactRelationship) SetComment

func (o *ArtifactRelationship) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*ArtifactRelationship) SetCreatedAt

func (o *ArtifactRelationship) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ArtifactRelationship) SetRelationshipType

func (o *ArtifactRelationship) SetRelationshipType(v RelationshipType)

SetRelationshipType gets a reference to the given RelationshipType and assigns it to the RelationshipType field.

func (*ArtifactRelationship) SetSource

func (o *ArtifactRelationship) SetSource(v ArtifactReference)

SetSource gets a reference to the given ArtifactReference and assigns it to the Source field.

func (*ArtifactRelationship) SetTarget

func (o *ArtifactRelationship) SetTarget(v ArtifactReference)

SetTarget gets a reference to the given ArtifactReference and assigns it to the Target field.

func (*ArtifactRelationship) SetUserMetadata

func (o *ArtifactRelationship) SetUserMetadata(v interface{})

SetUserMetadata gets a reference to the given interface{} and assigns it to the UserMetadata field.

type ArtifactType

type ArtifactType string

ArtifactType the model 'ArtifactType'

const (
	SOURCE ArtifactType = "source"
	IMAGE  ArtifactType = "image"
)

List of ArtifactType

func NewArtifactTypeFromValue

func NewArtifactTypeFromValue(v string) (*ArtifactType, error)

NewArtifactTypeFromValue returns a pointer to a valid ArtifactType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ArtifactType) IsValid

func (v ArtifactType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ArtifactType) Ptr

func (v ArtifactType) Ptr() *ArtifactType

Ptr returns reference to ArtifactType value

func (*ArtifactType) UnmarshalJSON

func (v *ArtifactType) UnmarshalJSON(src []byte) error

type AssociatedImageArtifact

type AssociatedImageArtifact struct {
	ArtifactAssociationMetadata *ArtifactAssociationMetadata `json:"artifact_association_metadata,omitempty"`
	Image                       *ImageArtifact               `json:"image,omitempty"`
}

AssociatedImageArtifact Model for an associated image artifact. Composites the artifact with the association metadata

func NewAssociatedImageArtifact

func NewAssociatedImageArtifact() *AssociatedImageArtifact

NewAssociatedImageArtifact instantiates a new AssociatedImageArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssociatedImageArtifactWithDefaults

func NewAssociatedImageArtifactWithDefaults() *AssociatedImageArtifact

NewAssociatedImageArtifactWithDefaults instantiates a new AssociatedImageArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssociatedImageArtifact) GetArtifactAssociationMetadata

func (o *AssociatedImageArtifact) GetArtifactAssociationMetadata() ArtifactAssociationMetadata

GetArtifactAssociationMetadata returns the ArtifactAssociationMetadata field value if set, zero value otherwise.

func (*AssociatedImageArtifact) GetArtifactAssociationMetadataOk

func (o *AssociatedImageArtifact) GetArtifactAssociationMetadataOk() (*ArtifactAssociationMetadata, bool)

GetArtifactAssociationMetadataOk returns a tuple with the ArtifactAssociationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssociatedImageArtifact) GetImage

func (o *AssociatedImageArtifact) GetImage() ImageArtifact

GetImage returns the Image field value if set, zero value otherwise.

func (*AssociatedImageArtifact) GetImageOk

func (o *AssociatedImageArtifact) GetImageOk() (*ImageArtifact, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssociatedImageArtifact) HasArtifactAssociationMetadata

func (o *AssociatedImageArtifact) HasArtifactAssociationMetadata() bool

HasArtifactAssociationMetadata returns a boolean if a field has been set.

func (*AssociatedImageArtifact) HasImage

func (o *AssociatedImageArtifact) HasImage() bool

HasImage returns a boolean if a field has been set.

func (AssociatedImageArtifact) MarshalJSON

func (o AssociatedImageArtifact) MarshalJSON() ([]byte, error)

func (*AssociatedImageArtifact) SetArtifactAssociationMetadata

func (o *AssociatedImageArtifact) SetArtifactAssociationMetadata(v ArtifactAssociationMetadata)

SetArtifactAssociationMetadata gets a reference to the given ArtifactAssociationMetadata and assigns it to the ArtifactAssociationMetadata field.

func (*AssociatedImageArtifact) SetImage

func (o *AssociatedImageArtifact) SetImage(v ImageArtifact)

SetImage gets a reference to the given ImageArtifact and assigns it to the Image field.

type AssociatedSourceArtifact

type AssociatedSourceArtifact struct {
	ArtifactAssociationMetadata *ArtifactAssociationMetadata `json:"artifact_association_metadata,omitempty"`
	Source                      *Source                      `json:"source,omitempty"`
}

AssociatedSourceArtifact Model for an associated source artifact. Composite of the source artifact and its asssociation metadata

func NewAssociatedSourceArtifact

func NewAssociatedSourceArtifact() *AssociatedSourceArtifact

NewAssociatedSourceArtifact instantiates a new AssociatedSourceArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssociatedSourceArtifactWithDefaults

func NewAssociatedSourceArtifactWithDefaults() *AssociatedSourceArtifact

NewAssociatedSourceArtifactWithDefaults instantiates a new AssociatedSourceArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssociatedSourceArtifact) GetArtifactAssociationMetadata

func (o *AssociatedSourceArtifact) GetArtifactAssociationMetadata() ArtifactAssociationMetadata

GetArtifactAssociationMetadata returns the ArtifactAssociationMetadata field value if set, zero value otherwise.

func (*AssociatedSourceArtifact) GetArtifactAssociationMetadataOk

func (o *AssociatedSourceArtifact) GetArtifactAssociationMetadataOk() (*ArtifactAssociationMetadata, bool)

GetArtifactAssociationMetadataOk returns a tuple with the ArtifactAssociationMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssociatedSourceArtifact) GetSource

func (o *AssociatedSourceArtifact) GetSource() Source

GetSource returns the Source field value if set, zero value otherwise.

func (*AssociatedSourceArtifact) GetSourceOk

func (o *AssociatedSourceArtifact) GetSourceOk() (*Source, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssociatedSourceArtifact) HasArtifactAssociationMetadata

func (o *AssociatedSourceArtifact) HasArtifactAssociationMetadata() bool

HasArtifactAssociationMetadata returns a boolean if a field has been set.

func (*AssociatedSourceArtifact) HasSource

func (o *AssociatedSourceArtifact) HasSource() bool

HasSource returns a boolean if a field has been set.

func (AssociatedSourceArtifact) MarshalJSON

func (o AssociatedSourceArtifact) MarshalJSON() ([]byte, error)

func (*AssociatedSourceArtifact) SetArtifactAssociationMetadata

func (o *AssociatedSourceArtifact) SetArtifactAssociationMetadata(v ArtifactAssociationMetadata)

SetArtifactAssociationMetadata gets a reference to the given ArtifactAssociationMetadata and assigns it to the ArtifactAssociationMetadata field.

func (*AssociatedSourceArtifact) SetSource

func (o *AssociatedSourceArtifact) SetSource(v Source)

SetSource gets a reference to the given Source and assigns it to the Source field.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CVSSV2Scores

type CVSSV2Scores struct {
	BaseScore           NullableFloat32 `json:"base_score,omitempty"`
	ExploitabilityScore NullableFloat32 `json:"exploitability_score,omitempty"`
	ImpactScore         NullableFloat32 `json:"impact_score,omitempty"`
}

CVSSV2Scores struct for CVSSV2Scores

func NewCVSSV2Scores

func NewCVSSV2Scores() *CVSSV2Scores

NewCVSSV2Scores instantiates a new CVSSV2Scores object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCVSSV2ScoresWithDefaults

func NewCVSSV2ScoresWithDefaults() *CVSSV2Scores

NewCVSSV2ScoresWithDefaults instantiates a new CVSSV2Scores object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CVSSV2Scores) GetBaseScore

func (o *CVSSV2Scores) GetBaseScore() float32

GetBaseScore returns the BaseScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV2Scores) GetBaseScoreOk

func (o *CVSSV2Scores) GetBaseScoreOk() (*float32, bool)

GetBaseScoreOk returns a tuple with the BaseScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV2Scores) GetExploitabilityScore

func (o *CVSSV2Scores) GetExploitabilityScore() float32

GetExploitabilityScore returns the ExploitabilityScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV2Scores) GetExploitabilityScoreOk

func (o *CVSSV2Scores) GetExploitabilityScoreOk() (*float32, bool)

GetExploitabilityScoreOk returns a tuple with the ExploitabilityScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV2Scores) GetImpactScore

func (o *CVSSV2Scores) GetImpactScore() float32

GetImpactScore returns the ImpactScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV2Scores) GetImpactScoreOk

func (o *CVSSV2Scores) GetImpactScoreOk() (*float32, bool)

GetImpactScoreOk returns a tuple with the ImpactScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV2Scores) HasBaseScore

func (o *CVSSV2Scores) HasBaseScore() bool

HasBaseScore returns a boolean if a field has been set.

func (*CVSSV2Scores) HasExploitabilityScore

func (o *CVSSV2Scores) HasExploitabilityScore() bool

HasExploitabilityScore returns a boolean if a field has been set.

func (*CVSSV2Scores) HasImpactScore

func (o *CVSSV2Scores) HasImpactScore() bool

HasImpactScore returns a boolean if a field has been set.

func (CVSSV2Scores) MarshalJSON

func (o CVSSV2Scores) MarshalJSON() ([]byte, error)

func (*CVSSV2Scores) SetBaseScore

func (o *CVSSV2Scores) SetBaseScore(v float32)

SetBaseScore gets a reference to the given NullableFloat32 and assigns it to the BaseScore field.

func (*CVSSV2Scores) SetBaseScoreNil

func (o *CVSSV2Scores) SetBaseScoreNil()

SetBaseScoreNil sets the value for BaseScore to be an explicit nil

func (*CVSSV2Scores) SetExploitabilityScore

func (o *CVSSV2Scores) SetExploitabilityScore(v float32)

SetExploitabilityScore gets a reference to the given NullableFloat32 and assigns it to the ExploitabilityScore field.

func (*CVSSV2Scores) SetExploitabilityScoreNil

func (o *CVSSV2Scores) SetExploitabilityScoreNil()

SetExploitabilityScoreNil sets the value for ExploitabilityScore to be an explicit nil

func (*CVSSV2Scores) SetImpactScore

func (o *CVSSV2Scores) SetImpactScore(v float32)

SetImpactScore gets a reference to the given NullableFloat32 and assigns it to the ImpactScore field.

func (*CVSSV2Scores) SetImpactScoreNil

func (o *CVSSV2Scores) SetImpactScoreNil()

SetImpactScoreNil sets the value for ImpactScore to be an explicit nil

func (*CVSSV2Scores) UnsetBaseScore

func (o *CVSSV2Scores) UnsetBaseScore()

UnsetBaseScore ensures that no value is present for BaseScore, not even an explicit nil

func (*CVSSV2Scores) UnsetExploitabilityScore

func (o *CVSSV2Scores) UnsetExploitabilityScore()

UnsetExploitabilityScore ensures that no value is present for ExploitabilityScore, not even an explicit nil

func (*CVSSV2Scores) UnsetImpactScore

func (o *CVSSV2Scores) UnsetImpactScore()

UnsetImpactScore ensures that no value is present for ImpactScore, not even an explicit nil

type CVSSV3Scores

type CVSSV3Scores struct {
	BaseScore           NullableFloat32 `json:"base_score,omitempty"`
	ExploitabilityScore NullableFloat32 `json:"exploitability_score,omitempty"`
	ImpactScore         NullableFloat32 `json:"impact_score,omitempty"`
}

CVSSV3Scores struct for CVSSV3Scores

func NewCVSSV3Scores

func NewCVSSV3Scores() *CVSSV3Scores

NewCVSSV3Scores instantiates a new CVSSV3Scores object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCVSSV3ScoresWithDefaults

func NewCVSSV3ScoresWithDefaults() *CVSSV3Scores

NewCVSSV3ScoresWithDefaults instantiates a new CVSSV3Scores object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CVSSV3Scores) GetBaseScore

func (o *CVSSV3Scores) GetBaseScore() float32

GetBaseScore returns the BaseScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV3Scores) GetBaseScoreOk

func (o *CVSSV3Scores) GetBaseScoreOk() (*float32, bool)

GetBaseScoreOk returns a tuple with the BaseScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV3Scores) GetExploitabilityScore

func (o *CVSSV3Scores) GetExploitabilityScore() float32

GetExploitabilityScore returns the ExploitabilityScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV3Scores) GetExploitabilityScoreOk

func (o *CVSSV3Scores) GetExploitabilityScoreOk() (*float32, bool)

GetExploitabilityScoreOk returns a tuple with the ExploitabilityScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV3Scores) GetImpactScore

func (o *CVSSV3Scores) GetImpactScore() float32

GetImpactScore returns the ImpactScore field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CVSSV3Scores) GetImpactScoreOk

func (o *CVSSV3Scores) GetImpactScoreOk() (*float32, bool)

GetImpactScoreOk returns a tuple with the ImpactScore field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CVSSV3Scores) HasBaseScore

func (o *CVSSV3Scores) HasBaseScore() bool

HasBaseScore returns a boolean if a field has been set.

func (*CVSSV3Scores) HasExploitabilityScore

func (o *CVSSV3Scores) HasExploitabilityScore() bool

HasExploitabilityScore returns a boolean if a field has been set.

func (*CVSSV3Scores) HasImpactScore

func (o *CVSSV3Scores) HasImpactScore() bool

HasImpactScore returns a boolean if a field has been set.

func (CVSSV3Scores) MarshalJSON

func (o CVSSV3Scores) MarshalJSON() ([]byte, error)

func (*CVSSV3Scores) SetBaseScore

func (o *CVSSV3Scores) SetBaseScore(v float32)

SetBaseScore gets a reference to the given NullableFloat32 and assigns it to the BaseScore field.

func (*CVSSV3Scores) SetBaseScoreNil

func (o *CVSSV3Scores) SetBaseScoreNil()

SetBaseScoreNil sets the value for BaseScore to be an explicit nil

func (*CVSSV3Scores) SetExploitabilityScore

func (o *CVSSV3Scores) SetExploitabilityScore(v float32)

SetExploitabilityScore gets a reference to the given NullableFloat32 and assigns it to the ExploitabilityScore field.

func (*CVSSV3Scores) SetExploitabilityScoreNil

func (o *CVSSV3Scores) SetExploitabilityScoreNil()

SetExploitabilityScoreNil sets the value for ExploitabilityScore to be an explicit nil

func (*CVSSV3Scores) SetImpactScore

func (o *CVSSV3Scores) SetImpactScore(v float32)

SetImpactScore gets a reference to the given NullableFloat32 and assigns it to the ImpactScore field.

func (*CVSSV3Scores) SetImpactScoreNil

func (o *CVSSV3Scores) SetImpactScoreNil()

SetImpactScoreNil sets the value for ImpactScore to be an explicit nil

func (*CVSSV3Scores) UnsetBaseScore

func (o *CVSSV3Scores) UnsetBaseScore()

UnsetBaseScore ensures that no value is present for BaseScore, not even an explicit nil

func (*CVSSV3Scores) UnsetExploitabilityScore

func (o *CVSSV3Scores) UnsetExploitabilityScore()

UnsetExploitabilityScore ensures that no value is present for ExploitabilityScore, not even an explicit nil

func (*CVSSV3Scores) UnsetImpactScore

func (o *CVSSV3Scores) UnsetImpactScore()

UnsetImpactScore ensures that no value is present for ImpactScore, not even an explicit nil

type ComplianceApi

type ComplianceApi interface {

	/*
		AddRuntimeComplianceCheck Post a runtime compliance check

		Post a runtime compliance check

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiAddRuntimeComplianceCheckRequest
	*/
	AddRuntimeComplianceCheck(ctx _context.Context) ApiAddRuntimeComplianceCheckRequest

	// AddRuntimeComplianceCheckExecute executes the request
	//  @return RuntimeComplianceCheck
	AddRuntimeComplianceCheckExecute(r ApiAddRuntimeComplianceCheckRequest) (RuntimeComplianceCheck, *_nethttp.Response, error)

	/*
		GetRuntimeComplianceChecks Get all runtime compliance checks or just those for a given image digest

		Get all runtime compliance checks or just those for a given image digest

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetRuntimeComplianceChecksRequest
	*/
	GetRuntimeComplianceChecks(ctx _context.Context) ApiGetRuntimeComplianceChecksRequest

	// GetRuntimeComplianceChecksExecute executes the request
	//  @return []RuntimeComplianceCheck
	GetRuntimeComplianceChecksExecute(r ApiGetRuntimeComplianceChecksRequest) ([]RuntimeComplianceCheck, *_nethttp.Response, error)

	/*
		GetRuntimeComplianceResult Check the results of a a specific runtime compliance check

		Get the results of a specific runtime compliance check

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param complianceFileId
		 @return ApiGetRuntimeComplianceResultRequest
	*/
	GetRuntimeComplianceResult(ctx _context.Context, complianceFileId string) ApiGetRuntimeComplianceResultRequest

	// GetRuntimeComplianceResultExecute executes the request
	//  @return *os.File
	GetRuntimeComplianceResultExecute(r ApiGetRuntimeComplianceResultRequest) (*os.File, *_nethttp.Response, error)
}

type ComplianceApiService

type ComplianceApiService service

ComplianceApiService ComplianceApi service

func (*ComplianceApiService) AddRuntimeComplianceCheck

AddRuntimeComplianceCheck Post a runtime compliance check

Post a runtime compliance check

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddRuntimeComplianceCheckRequest

func (*ComplianceApiService) AddRuntimeComplianceCheckExecute

Execute executes the request

@return RuntimeComplianceCheck

func (*ComplianceApiService) GetRuntimeComplianceChecks

GetRuntimeComplianceChecks Get all runtime compliance checks or just those for a given image digest

Get all runtime compliance checks or just those for a given image digest

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRuntimeComplianceChecksRequest

func (*ComplianceApiService) GetRuntimeComplianceChecksExecute

Execute executes the request

@return []RuntimeComplianceCheck

func (*ComplianceApiService) GetRuntimeComplianceResult

func (a *ComplianceApiService) GetRuntimeComplianceResult(ctx _context.Context, complianceFileId string) ApiGetRuntimeComplianceResultRequest

GetRuntimeComplianceResult Check the results of a a specific runtime compliance check

Get the results of a specific runtime compliance check

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param complianceFileId
@return ApiGetRuntimeComplianceResultRequest

func (*ComplianceApiService) GetRuntimeComplianceResultExecute

func (a *ComplianceApiService) GetRuntimeComplianceResultExecute(r ApiGetRuntimeComplianceResultRequest) (*os.File, *_nethttp.Response, error)

Execute executes the request

@return *os.File

type ComplianceResource

type ComplianceResource struct {
	ImageDigest  *string    `json:"image_digest,omitempty"`
	PolicyId     *string    `json:"policy_id,omitempty"`
	ImageTag     *string    `json:"image_tag,omitempty"`
	Registry     *string    `json:"registry,omitempty"`
	Repository   *string    `json:"repository,omitempty"`
	EvaluationId *string    `json:"evaluation_id,omitempty"`
	EvaluatedAt  *time.Time `json:"evaluated_at,omitempty"`
}

ComplianceResource A resource that ties compliance related artifacts - image digest, tag and policy bundle

func NewComplianceResource

func NewComplianceResource() *ComplianceResource

NewComplianceResource instantiates a new ComplianceResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewComplianceResourceWithDefaults

func NewComplianceResourceWithDefaults() *ComplianceResource

NewComplianceResourceWithDefaults instantiates a new ComplianceResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ComplianceResource) GetEvaluatedAt

func (o *ComplianceResource) GetEvaluatedAt() time.Time

GetEvaluatedAt returns the EvaluatedAt field value if set, zero value otherwise.

func (*ComplianceResource) GetEvaluatedAtOk

func (o *ComplianceResource) GetEvaluatedAtOk() (*time.Time, bool)

GetEvaluatedAtOk returns a tuple with the EvaluatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetEvaluationId

func (o *ComplianceResource) GetEvaluationId() string

GetEvaluationId returns the EvaluationId field value if set, zero value otherwise.

func (*ComplianceResource) GetEvaluationIdOk

func (o *ComplianceResource) GetEvaluationIdOk() (*string, bool)

GetEvaluationIdOk returns a tuple with the EvaluationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetImageDigest

func (o *ComplianceResource) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ComplianceResource) GetImageDigestOk

func (o *ComplianceResource) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetImageTag

func (o *ComplianceResource) GetImageTag() string

GetImageTag returns the ImageTag field value if set, zero value otherwise.

func (*ComplianceResource) GetImageTagOk

func (o *ComplianceResource) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetPolicyId

func (o *ComplianceResource) GetPolicyId() string

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*ComplianceResource) GetPolicyIdOk

func (o *ComplianceResource) GetPolicyIdOk() (*string, bool)

GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetRegistry

func (o *ComplianceResource) GetRegistry() string

GetRegistry returns the Registry field value if set, zero value otherwise.

func (*ComplianceResource) GetRegistryOk

func (o *ComplianceResource) GetRegistryOk() (*string, bool)

GetRegistryOk returns a tuple with the Registry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) GetRepository

func (o *ComplianceResource) GetRepository() string

GetRepository returns the Repository field value if set, zero value otherwise.

func (*ComplianceResource) GetRepositoryOk

func (o *ComplianceResource) GetRepositoryOk() (*string, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceResource) HasEvaluatedAt

func (o *ComplianceResource) HasEvaluatedAt() bool

HasEvaluatedAt returns a boolean if a field has been set.

func (*ComplianceResource) HasEvaluationId

func (o *ComplianceResource) HasEvaluationId() bool

HasEvaluationId returns a boolean if a field has been set.

func (*ComplianceResource) HasImageDigest

func (o *ComplianceResource) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*ComplianceResource) HasImageTag

func (o *ComplianceResource) HasImageTag() bool

HasImageTag returns a boolean if a field has been set.

func (*ComplianceResource) HasPolicyId

func (o *ComplianceResource) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (*ComplianceResource) HasRegistry

func (o *ComplianceResource) HasRegistry() bool

HasRegistry returns a boolean if a field has been set.

func (*ComplianceResource) HasRepository

func (o *ComplianceResource) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (ComplianceResource) MarshalJSON

func (o ComplianceResource) MarshalJSON() ([]byte, error)

func (*ComplianceResource) SetEvaluatedAt

func (o *ComplianceResource) SetEvaluatedAt(v time.Time)

SetEvaluatedAt gets a reference to the given time.Time and assigns it to the EvaluatedAt field.

func (*ComplianceResource) SetEvaluationId

func (o *ComplianceResource) SetEvaluationId(v string)

SetEvaluationId gets a reference to the given string and assigns it to the EvaluationId field.

func (*ComplianceResource) SetImageDigest

func (o *ComplianceResource) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*ComplianceResource) SetImageTag

func (o *ComplianceResource) SetImageTag(v string)

SetImageTag gets a reference to the given string and assigns it to the ImageTag field.

func (*ComplianceResource) SetPolicyId

func (o *ComplianceResource) SetPolicyId(v string)

SetPolicyId gets a reference to the given string and assigns it to the PolicyId field.

func (*ComplianceResource) SetRegistry

func (o *ComplianceResource) SetRegistry(v string)

SetRegistry gets a reference to the given string and assigns it to the Registry field.

func (*ComplianceResource) SetRepository

func (o *ComplianceResource) SetRepository(v string)

SetRepository gets a reference to the given string and assigns it to the Repository field.

type ComplianceViolationAlert

type ComplianceViolationAlert struct {
	// Identifier for the alert
	Uuid *string `json:"uuid,omitempty"`
	// Type of alert generated
	Type *string `json:"type,omitempty"`
	// Current state of the alert
	State    *string             `json:"state,omitempty"`
	Resource *ComplianceResource `json:"resource,omitempty"`
	// Account that closed the alert
	ClosedBy *string `json:"closed_by,omitempty"`
	// Reason for closing the alert
	ClosedReason *string `json:"closed_reason,omitempty"`
	// RFC 3339 formatted UTC timestamp when the alert was generated
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the alert was last modified
	LastUpdated *time.Time `json:"last_updated,omitempty"`
	// Reason for compliance check status. Compliance check could fail due to policy evaluation or blacklisting or errors evaluating compliance
	ComplianceStatusReason *string `json:"compliance_status_reason,omitempty"`
	// Number of STOP action results in the compliance check report
	ViolationsCount *int32 `json:"violations_count,omitempty"`
}

ComplianceViolationAlert Alert raised by the system on a compliance check failure

func NewComplianceViolationAlert

func NewComplianceViolationAlert() *ComplianceViolationAlert

NewComplianceViolationAlert instantiates a new ComplianceViolationAlert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewComplianceViolationAlertWithDefaults

func NewComplianceViolationAlertWithDefaults() *ComplianceViolationAlert

NewComplianceViolationAlertWithDefaults instantiates a new ComplianceViolationAlert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ComplianceViolationAlert) GetClosedBy

func (o *ComplianceViolationAlert) GetClosedBy() string

GetClosedBy returns the ClosedBy field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetClosedByOk

func (o *ComplianceViolationAlert) GetClosedByOk() (*string, bool)

GetClosedByOk returns a tuple with the ClosedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetClosedReason

func (o *ComplianceViolationAlert) GetClosedReason() string

GetClosedReason returns the ClosedReason field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetClosedReasonOk

func (o *ComplianceViolationAlert) GetClosedReasonOk() (*string, bool)

GetClosedReasonOk returns a tuple with the ClosedReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetComplianceStatusReason

func (o *ComplianceViolationAlert) GetComplianceStatusReason() string

GetComplianceStatusReason returns the ComplianceStatusReason field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetComplianceStatusReasonOk

func (o *ComplianceViolationAlert) GetComplianceStatusReasonOk() (*string, bool)

GetComplianceStatusReasonOk returns a tuple with the ComplianceStatusReason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetCreatedAt

func (o *ComplianceViolationAlert) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetCreatedAtOk

func (o *ComplianceViolationAlert) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetLastUpdated

func (o *ComplianceViolationAlert) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetLastUpdatedOk

func (o *ComplianceViolationAlert) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetResource

GetResource returns the Resource field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetResourceOk

func (o *ComplianceViolationAlert) GetResourceOk() (*ComplianceResource, bool)

GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetState

func (o *ComplianceViolationAlert) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetStateOk

func (o *ComplianceViolationAlert) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetType

func (o *ComplianceViolationAlert) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetTypeOk

func (o *ComplianceViolationAlert) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetUuid

func (o *ComplianceViolationAlert) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetUuidOk

func (o *ComplianceViolationAlert) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) GetViolationsCount

func (o *ComplianceViolationAlert) GetViolationsCount() int32

GetViolationsCount returns the ViolationsCount field value if set, zero value otherwise.

func (*ComplianceViolationAlert) GetViolationsCountOk

func (o *ComplianceViolationAlert) GetViolationsCountOk() (*int32, bool)

GetViolationsCountOk returns a tuple with the ViolationsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ComplianceViolationAlert) HasClosedBy

func (o *ComplianceViolationAlert) HasClosedBy() bool

HasClosedBy returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasClosedReason

func (o *ComplianceViolationAlert) HasClosedReason() bool

HasClosedReason returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasComplianceStatusReason

func (o *ComplianceViolationAlert) HasComplianceStatusReason() bool

HasComplianceStatusReason returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasCreatedAt

func (o *ComplianceViolationAlert) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasLastUpdated

func (o *ComplianceViolationAlert) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasResource

func (o *ComplianceViolationAlert) HasResource() bool

HasResource returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasState

func (o *ComplianceViolationAlert) HasState() bool

HasState returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasType

func (o *ComplianceViolationAlert) HasType() bool

HasType returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasUuid

func (o *ComplianceViolationAlert) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*ComplianceViolationAlert) HasViolationsCount

func (o *ComplianceViolationAlert) HasViolationsCount() bool

HasViolationsCount returns a boolean if a field has been set.

func (ComplianceViolationAlert) MarshalJSON

func (o ComplianceViolationAlert) MarshalJSON() ([]byte, error)

func (*ComplianceViolationAlert) SetClosedBy

func (o *ComplianceViolationAlert) SetClosedBy(v string)

SetClosedBy gets a reference to the given string and assigns it to the ClosedBy field.

func (*ComplianceViolationAlert) SetClosedReason

func (o *ComplianceViolationAlert) SetClosedReason(v string)

SetClosedReason gets a reference to the given string and assigns it to the ClosedReason field.

func (*ComplianceViolationAlert) SetComplianceStatusReason

func (o *ComplianceViolationAlert) SetComplianceStatusReason(v string)

SetComplianceStatusReason gets a reference to the given string and assigns it to the ComplianceStatusReason field.

func (*ComplianceViolationAlert) SetCreatedAt

func (o *ComplianceViolationAlert) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ComplianceViolationAlert) SetLastUpdated

func (o *ComplianceViolationAlert) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*ComplianceViolationAlert) SetResource

func (o *ComplianceViolationAlert) SetResource(v ComplianceResource)

SetResource gets a reference to the given ComplianceResource and assigns it to the Resource field.

func (*ComplianceViolationAlert) SetState

func (o *ComplianceViolationAlert) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*ComplianceViolationAlert) SetType

func (o *ComplianceViolationAlert) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ComplianceViolationAlert) SetUuid

func (o *ComplianceViolationAlert) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*ComplianceViolationAlert) SetViolationsCount

func (o *ComplianceViolationAlert) SetViolationsCount(v int32)

SetViolationsCount gets a reference to the given int32 and assigns it to the ViolationsCount field.

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	Logger           logger.Logger
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ContentFilesResponse

type ContentFilesResponse struct {
	ImageDigest *string                        `json:"imageDigest,omitempty"`
	ContentType *string                        `json:"content_type,omitempty"`
	Content     *[]ContentFilesResponseContent `json:"content,omitempty"`
}

ContentFilesResponse File content listings from images

func NewContentFilesResponse

func NewContentFilesResponse() *ContentFilesResponse

NewContentFilesResponse instantiates a new ContentFilesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentFilesResponseWithDefaults

func NewContentFilesResponseWithDefaults() *ContentFilesResponse

NewContentFilesResponseWithDefaults instantiates a new ContentFilesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentFilesResponse) GetContent

GetContent returns the Content field value if set, zero value otherwise.

func (*ContentFilesResponse) GetContentOk

func (o *ContentFilesResponse) GetContentOk() (*[]ContentFilesResponseContent, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponse) GetContentType

func (o *ContentFilesResponse) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*ContentFilesResponse) GetContentTypeOk

func (o *ContentFilesResponse) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponse) GetImageDigest

func (o *ContentFilesResponse) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ContentFilesResponse) GetImageDigestOk

func (o *ContentFilesResponse) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponse) HasContent

func (o *ContentFilesResponse) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*ContentFilesResponse) HasContentType

func (o *ContentFilesResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*ContentFilesResponse) HasImageDigest

func (o *ContentFilesResponse) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (ContentFilesResponse) MarshalJSON

func (o ContentFilesResponse) MarshalJSON() ([]byte, error)

func (*ContentFilesResponse) SetContent

SetContent gets a reference to the given []ContentFilesResponseContent and assigns it to the Content field.

func (*ContentFilesResponse) SetContentType

func (o *ContentFilesResponse) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*ContentFilesResponse) SetImageDigest

func (o *ContentFilesResponse) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

type ContentFilesResponseContent

type ContentFilesResponseContent struct {
	Filename *string        `json:"filename,omitempty"`
	Gid      *int32         `json:"gid,omitempty"`
	Linkdest NullableString `json:"linkdest,omitempty"`
	Mode     *string        `json:"mode,omitempty"`
	Sha256   NullableString `json:"sha256,omitempty"`
	Size     *int32         `json:"size,omitempty"`
	Type     *string        `json:"type,omitempty"`
	Uid      *int32         `json:"uid,omitempty"`
}

ContentFilesResponseContent struct for ContentFilesResponseContent

func NewContentFilesResponseContent

func NewContentFilesResponseContent() *ContentFilesResponseContent

NewContentFilesResponseContent instantiates a new ContentFilesResponseContent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentFilesResponseContentWithDefaults

func NewContentFilesResponseContentWithDefaults() *ContentFilesResponseContent

NewContentFilesResponseContentWithDefaults instantiates a new ContentFilesResponseContent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentFilesResponseContent) GetFilename

func (o *ContentFilesResponseContent) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetFilenameOk

func (o *ContentFilesResponseContent) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) GetGid

func (o *ContentFilesResponseContent) GetGid() int32

GetGid returns the Gid field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetGidOk

func (o *ContentFilesResponseContent) GetGidOk() (*int32, bool)

GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) GetLinkdest

func (o *ContentFilesResponseContent) GetLinkdest() string

GetLinkdest returns the Linkdest field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContentFilesResponseContent) GetLinkdestOk

func (o *ContentFilesResponseContent) GetLinkdestOk() (*string, bool)

GetLinkdestOk returns a tuple with the Linkdest field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContentFilesResponseContent) GetMode

func (o *ContentFilesResponseContent) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetModeOk

func (o *ContentFilesResponseContent) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) GetSha256

func (o *ContentFilesResponseContent) GetSha256() string

GetSha256 returns the Sha256 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContentFilesResponseContent) GetSha256Ok

func (o *ContentFilesResponseContent) GetSha256Ok() (*string, bool)

GetSha256Ok returns a tuple with the Sha256 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContentFilesResponseContent) GetSize

func (o *ContentFilesResponseContent) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetSizeOk

func (o *ContentFilesResponseContent) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) GetType

func (o *ContentFilesResponseContent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetTypeOk

func (o *ContentFilesResponseContent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) GetUid

func (o *ContentFilesResponseContent) GetUid() int32

GetUid returns the Uid field value if set, zero value otherwise.

func (*ContentFilesResponseContent) GetUidOk

func (o *ContentFilesResponseContent) GetUidOk() (*int32, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentFilesResponseContent) HasFilename

func (o *ContentFilesResponseContent) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasGid

func (o *ContentFilesResponseContent) HasGid() bool

HasGid returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasLinkdest

func (o *ContentFilesResponseContent) HasLinkdest() bool

HasLinkdest returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasMode

func (o *ContentFilesResponseContent) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasSha256

func (o *ContentFilesResponseContent) HasSha256() bool

HasSha256 returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasSize

func (o *ContentFilesResponseContent) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasType

func (o *ContentFilesResponseContent) HasType() bool

HasType returns a boolean if a field has been set.

func (*ContentFilesResponseContent) HasUid

func (o *ContentFilesResponseContent) HasUid() bool

HasUid returns a boolean if a field has been set.

func (ContentFilesResponseContent) MarshalJSON

func (o ContentFilesResponseContent) MarshalJSON() ([]byte, error)

func (*ContentFilesResponseContent) SetFilename

func (o *ContentFilesResponseContent) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*ContentFilesResponseContent) SetGid

func (o *ContentFilesResponseContent) SetGid(v int32)

SetGid gets a reference to the given int32 and assigns it to the Gid field.

func (*ContentFilesResponseContent) SetLinkdest

func (o *ContentFilesResponseContent) SetLinkdest(v string)

SetLinkdest gets a reference to the given NullableString and assigns it to the Linkdest field.

func (*ContentFilesResponseContent) SetLinkdestNil

func (o *ContentFilesResponseContent) SetLinkdestNil()

SetLinkdestNil sets the value for Linkdest to be an explicit nil

func (*ContentFilesResponseContent) SetMode

func (o *ContentFilesResponseContent) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*ContentFilesResponseContent) SetSha256

func (o *ContentFilesResponseContent) SetSha256(v string)

SetSha256 gets a reference to the given NullableString and assigns it to the Sha256 field.

func (*ContentFilesResponseContent) SetSha256Nil

func (o *ContentFilesResponseContent) SetSha256Nil()

SetSha256Nil sets the value for Sha256 to be an explicit nil

func (*ContentFilesResponseContent) SetSize

func (o *ContentFilesResponseContent) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*ContentFilesResponseContent) SetType

func (o *ContentFilesResponseContent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ContentFilesResponseContent) SetUid

func (o *ContentFilesResponseContent) SetUid(v int32)

SetUid gets a reference to the given int32 and assigns it to the Uid field.

func (*ContentFilesResponseContent) UnsetLinkdest

func (o *ContentFilesResponseContent) UnsetLinkdest()

UnsetLinkdest ensures that no value is present for Linkdest, not even an explicit nil

func (*ContentFilesResponseContent) UnsetSha256

func (o *ContentFilesResponseContent) UnsetSha256()

UnsetSha256 ensures that no value is present for Sha256, not even an explicit nil

type ContentJAVAPackageResponse

type ContentJAVAPackageResponse struct {
	ImageDigest *string                              `json:"imageDigest,omitempty"`
	ContentType *string                              `json:"content_type,omitempty"`
	Content     *[]ContentJAVAPackageResponseContent `json:"content,omitempty"`
}

ContentJAVAPackageResponse Java package content listings from images

func NewContentJAVAPackageResponse

func NewContentJAVAPackageResponse() *ContentJAVAPackageResponse

NewContentJAVAPackageResponse instantiates a new ContentJAVAPackageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentJAVAPackageResponseWithDefaults

func NewContentJAVAPackageResponseWithDefaults() *ContentJAVAPackageResponse

NewContentJAVAPackageResponseWithDefaults instantiates a new ContentJAVAPackageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentJAVAPackageResponse) GetContent

GetContent returns the Content field value if set, zero value otherwise.

func (*ContentJAVAPackageResponse) GetContentOk

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponse) GetContentType

func (o *ContentJAVAPackageResponse) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*ContentJAVAPackageResponse) GetContentTypeOk

func (o *ContentJAVAPackageResponse) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponse) GetImageDigest

func (o *ContentJAVAPackageResponse) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ContentJAVAPackageResponse) GetImageDigestOk

func (o *ContentJAVAPackageResponse) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponse) HasContent

func (o *ContentJAVAPackageResponse) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*ContentJAVAPackageResponse) HasContentType

func (o *ContentJAVAPackageResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*ContentJAVAPackageResponse) HasImageDigest

func (o *ContentJAVAPackageResponse) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (ContentJAVAPackageResponse) MarshalJSON

func (o ContentJAVAPackageResponse) MarshalJSON() ([]byte, error)

func (*ContentJAVAPackageResponse) SetContent

SetContent gets a reference to the given []ContentJAVAPackageResponseContent and assigns it to the Content field.

func (*ContentJAVAPackageResponse) SetContentType

func (o *ContentJAVAPackageResponse) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*ContentJAVAPackageResponse) SetImageDigest

func (o *ContentJAVAPackageResponse) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

type ContentJAVAPackageResponseContent

type ContentJAVAPackageResponseContent struct {
	Package               *string `json:"package,omitempty"`
	ImplementationVersion *string `json:"implementation-version,omitempty"`
	SpecificationVersion  *string `json:"specification-version,omitempty"`
	MavenVersion          *string `json:"maven-version,omitempty"`
	Location              *string `json:"location,omitempty"`
	Type                  *string `json:"type,omitempty"`
	Origin                *string `json:"origin,omitempty"`
	// A list of Common Platform Enumerations that may uniquely identify the package
	Cpes *[]string `json:"cpes,omitempty"`
}

ContentJAVAPackageResponseContent struct for ContentJAVAPackageResponseContent

func NewContentJAVAPackageResponseContent

func NewContentJAVAPackageResponseContent() *ContentJAVAPackageResponseContent

NewContentJAVAPackageResponseContent instantiates a new ContentJAVAPackageResponseContent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentJAVAPackageResponseContentWithDefaults

func NewContentJAVAPackageResponseContentWithDefaults() *ContentJAVAPackageResponseContent

NewContentJAVAPackageResponseContentWithDefaults instantiates a new ContentJAVAPackageResponseContent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentJAVAPackageResponseContent) GetCpes

GetCpes returns the Cpes field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetCpesOk

func (o *ContentJAVAPackageResponseContent) GetCpesOk() (*[]string, bool)

GetCpesOk returns a tuple with the Cpes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetImplementationVersion

func (o *ContentJAVAPackageResponseContent) GetImplementationVersion() string

GetImplementationVersion returns the ImplementationVersion field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetImplementationVersionOk

func (o *ContentJAVAPackageResponseContent) GetImplementationVersionOk() (*string, bool)

GetImplementationVersionOk returns a tuple with the ImplementationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetLocation

func (o *ContentJAVAPackageResponseContent) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetLocationOk

func (o *ContentJAVAPackageResponseContent) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetMavenVersion

func (o *ContentJAVAPackageResponseContent) GetMavenVersion() string

GetMavenVersion returns the MavenVersion field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetMavenVersionOk

func (o *ContentJAVAPackageResponseContent) GetMavenVersionOk() (*string, bool)

GetMavenVersionOk returns a tuple with the MavenVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetOriginOk

func (o *ContentJAVAPackageResponseContent) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetPackage

func (o *ContentJAVAPackageResponseContent) GetPackage() string

GetPackage returns the Package field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetPackageOk

func (o *ContentJAVAPackageResponseContent) GetPackageOk() (*string, bool)

GetPackageOk returns a tuple with the Package field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetSpecificationVersion

func (o *ContentJAVAPackageResponseContent) GetSpecificationVersion() string

GetSpecificationVersion returns the SpecificationVersion field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetSpecificationVersionOk

func (o *ContentJAVAPackageResponseContent) GetSpecificationVersionOk() (*string, bool)

GetSpecificationVersionOk returns a tuple with the SpecificationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*ContentJAVAPackageResponseContent) GetTypeOk

func (o *ContentJAVAPackageResponseContent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentJAVAPackageResponseContent) HasCpes

HasCpes returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasImplementationVersion

func (o *ContentJAVAPackageResponseContent) HasImplementationVersion() bool

HasImplementationVersion returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasLocation

func (o *ContentJAVAPackageResponseContent) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasMavenVersion

func (o *ContentJAVAPackageResponseContent) HasMavenVersion() bool

HasMavenVersion returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasOrigin

func (o *ContentJAVAPackageResponseContent) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasPackage

func (o *ContentJAVAPackageResponseContent) HasPackage() bool

HasPackage returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasSpecificationVersion

func (o *ContentJAVAPackageResponseContent) HasSpecificationVersion() bool

HasSpecificationVersion returns a boolean if a field has been set.

func (*ContentJAVAPackageResponseContent) HasType

HasType returns a boolean if a field has been set.

func (ContentJAVAPackageResponseContent) MarshalJSON

func (o ContentJAVAPackageResponseContent) MarshalJSON() ([]byte, error)

func (*ContentJAVAPackageResponseContent) SetCpes

func (o *ContentJAVAPackageResponseContent) SetCpes(v []string)

SetCpes gets a reference to the given []string and assigns it to the Cpes field.

func (*ContentJAVAPackageResponseContent) SetImplementationVersion

func (o *ContentJAVAPackageResponseContent) SetImplementationVersion(v string)

SetImplementationVersion gets a reference to the given string and assigns it to the ImplementationVersion field.

func (*ContentJAVAPackageResponseContent) SetLocation

func (o *ContentJAVAPackageResponseContent) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*ContentJAVAPackageResponseContent) SetMavenVersion

func (o *ContentJAVAPackageResponseContent) SetMavenVersion(v string)

SetMavenVersion gets a reference to the given string and assigns it to the MavenVersion field.

func (*ContentJAVAPackageResponseContent) SetOrigin

func (o *ContentJAVAPackageResponseContent) SetOrigin(v string)

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*ContentJAVAPackageResponseContent) SetPackage

func (o *ContentJAVAPackageResponseContent) SetPackage(v string)

SetPackage gets a reference to the given string and assigns it to the Package field.

func (*ContentJAVAPackageResponseContent) SetSpecificationVersion

func (o *ContentJAVAPackageResponseContent) SetSpecificationVersion(v string)

SetSpecificationVersion gets a reference to the given string and assigns it to the SpecificationVersion field.

func (*ContentJAVAPackageResponseContent) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type Correction

type Correction struct {
	// Identifier for the correction
	Uuid *string `json:"uuid,omitempty"`
	// Type of correction
	Type        string                 `json:"type"`
	Description *string                `json:"description,omitempty"`
	Match       CorrectionMatch        `json:"match"`
	Replace     []CorrectionFieldMatch `json:"replace"`
	// RFC 3339 formatted UTC timestamp when the correction was generated
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the correction was last modified
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

Correction Defines a correction object for false positive management

func NewCorrection

func NewCorrection(type_ string, match CorrectionMatch, replace []CorrectionFieldMatch) *Correction

NewCorrection instantiates a new Correction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCorrectionWithDefaults

func NewCorrectionWithDefaults() *Correction

NewCorrectionWithDefaults instantiates a new Correction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Correction) GetCreatedAt

func (o *Correction) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Correction) GetCreatedAtOk

func (o *Correction) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Correction) GetDescription

func (o *Correction) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Correction) GetDescriptionOk

func (o *Correction) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Correction) GetLastUpdated

func (o *Correction) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*Correction) GetLastUpdatedOk

func (o *Correction) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Correction) GetMatch

func (o *Correction) GetMatch() CorrectionMatch

GetMatch returns the Match field value

func (*Correction) GetMatchOk

func (o *Correction) GetMatchOk() (*CorrectionMatch, bool)

GetMatchOk returns a tuple with the Match field value and a boolean to check if the value has been set.

func (*Correction) GetReplace

func (o *Correction) GetReplace() []CorrectionFieldMatch

GetReplace returns the Replace field value

func (*Correction) GetReplaceOk

func (o *Correction) GetReplaceOk() (*[]CorrectionFieldMatch, bool)

GetReplaceOk returns a tuple with the Replace field value and a boolean to check if the value has been set.

func (*Correction) GetType

func (o *Correction) GetType() string

GetType returns the Type field value

func (*Correction) GetTypeOk

func (o *Correction) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Correction) GetUuid

func (o *Correction) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Correction) GetUuidOk

func (o *Correction) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Correction) HasCreatedAt

func (o *Correction) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Correction) HasDescription

func (o *Correction) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Correction) HasLastUpdated

func (o *Correction) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*Correction) HasUuid

func (o *Correction) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Correction) MarshalJSON

func (o Correction) MarshalJSON() ([]byte, error)

func (*Correction) SetCreatedAt

func (o *Correction) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Correction) SetDescription

func (o *Correction) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Correction) SetLastUpdated

func (o *Correction) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*Correction) SetMatch

func (o *Correction) SetMatch(v CorrectionMatch)

SetMatch sets field value

func (*Correction) SetReplace

func (o *Correction) SetReplace(v []CorrectionFieldMatch)

SetReplace sets field value

func (*Correction) SetType

func (o *Correction) SetType(v string)

SetType sets field value

func (*Correction) SetUuid

func (o *Correction) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type CorrectionFieldMatch

type CorrectionFieldMatch struct {
	// The package field name to match
	FieldName string `json:"field_name"`
	// The package field value for the corresponding field_name above to match. If field_name corresponds to a list value, this will search the list
	FieldValue string `json:"field_value"`
}

CorrectionFieldMatch Defines a particular field name and value to match for a Correction

func NewCorrectionFieldMatch

func NewCorrectionFieldMatch(fieldName string, fieldValue string) *CorrectionFieldMatch

NewCorrectionFieldMatch instantiates a new CorrectionFieldMatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCorrectionFieldMatchWithDefaults

func NewCorrectionFieldMatchWithDefaults() *CorrectionFieldMatch

NewCorrectionFieldMatchWithDefaults instantiates a new CorrectionFieldMatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CorrectionFieldMatch) GetFieldName

func (o *CorrectionFieldMatch) GetFieldName() string

GetFieldName returns the FieldName field value

func (*CorrectionFieldMatch) GetFieldNameOk

func (o *CorrectionFieldMatch) GetFieldNameOk() (*string, bool)

GetFieldNameOk returns a tuple with the FieldName field value and a boolean to check if the value has been set.

func (*CorrectionFieldMatch) GetFieldValue

func (o *CorrectionFieldMatch) GetFieldValue() string

GetFieldValue returns the FieldValue field value

func (*CorrectionFieldMatch) GetFieldValueOk

func (o *CorrectionFieldMatch) GetFieldValueOk() (*string, bool)

GetFieldValueOk returns a tuple with the FieldValue field value and a boolean to check if the value has been set.

func (CorrectionFieldMatch) MarshalJSON

func (o CorrectionFieldMatch) MarshalJSON() ([]byte, error)

func (*CorrectionFieldMatch) SetFieldName

func (o *CorrectionFieldMatch) SetFieldName(v string)

SetFieldName sets field value

func (*CorrectionFieldMatch) SetFieldValue

func (o *CorrectionFieldMatch) SetFieldValue(v string)

SetFieldValue sets field value

type CorrectionMatch

type CorrectionMatch struct {
	// type of match [supports os, npm, gem, python, java, go]
	Type string `json:"type"`
	// list of field matches that are required in order for this correction to match
	FieldMatches *[]CorrectionFieldMatch `json:"field_matches,omitempty"`
}

CorrectionMatch Defines how a particular correction can match depending on type

func NewCorrectionMatch

func NewCorrectionMatch(type_ string) *CorrectionMatch

NewCorrectionMatch instantiates a new CorrectionMatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCorrectionMatchWithDefaults

func NewCorrectionMatchWithDefaults() *CorrectionMatch

NewCorrectionMatchWithDefaults instantiates a new CorrectionMatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CorrectionMatch) GetFieldMatches

func (o *CorrectionMatch) GetFieldMatches() []CorrectionFieldMatch

GetFieldMatches returns the FieldMatches field value if set, zero value otherwise.

func (*CorrectionMatch) GetFieldMatchesOk

func (o *CorrectionMatch) GetFieldMatchesOk() (*[]CorrectionFieldMatch, bool)

GetFieldMatchesOk returns a tuple with the FieldMatches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CorrectionMatch) GetType

func (o *CorrectionMatch) GetType() string

GetType returns the Type field value

func (*CorrectionMatch) GetTypeOk

func (o *CorrectionMatch) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CorrectionMatch) HasFieldMatches

func (o *CorrectionMatch) HasFieldMatches() bool

HasFieldMatches returns a boolean if a field has been set.

func (CorrectionMatch) MarshalJSON

func (o CorrectionMatch) MarshalJSON() ([]byte, error)

func (*CorrectionMatch) SetFieldMatches

func (o *CorrectionMatch) SetFieldMatches(v []CorrectionFieldMatch)

SetFieldMatches gets a reference to the given []CorrectionFieldMatch and assigns it to the FieldMatches field.

func (*CorrectionMatch) SetType

func (o *CorrectionMatch) SetType(v string)

SetType sets field value

type CorrectionsApi

type CorrectionsApi interface {

	/*
		AddCorrection Create a correction record

		Add a correction record that will be used to fix false positive matches

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiAddCorrectionRequest
	*/
	AddCorrection(ctx _context.Context) ApiAddCorrectionRequest

	// AddCorrectionExecute executes the request
	//  @return Correction
	AddCorrectionExecute(r ApiAddCorrectionRequest) (Correction, *_nethttp.Response, error)

	/*
		DeleteCorrectionByUuid Delete a correction by UUID

		Delete a single correction, looked up via it's uuid

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param uuid
		 @return ApiDeleteCorrectionByUuidRequest
	*/
	DeleteCorrectionByUuid(ctx _context.Context, uuid string) ApiDeleteCorrectionByUuidRequest

	// DeleteCorrectionByUuidExecute executes the request
	DeleteCorrectionByUuidExecute(r ApiDeleteCorrectionByUuidRequest) (*_nethttp.Response, error)

	/*
		GetCorrectionByUuid Retrieve a correction by UUID

		Returns a single correction, looked up via it's uuid

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param uuid
		 @return ApiGetCorrectionByUuidRequest
	*/
	GetCorrectionByUuid(ctx _context.Context, uuid string) ApiGetCorrectionByUuidRequest

	// GetCorrectionByUuidExecute executes the request
	//  @return Correction
	GetCorrectionByUuidExecute(r ApiGetCorrectionByUuidRequest) (Correction, *_nethttp.Response, error)

	/*
		GetCorrections Retrieve a list of corrections

		Returns a list of corrections

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetCorrectionsRequest
	*/
	GetCorrections(ctx _context.Context) ApiGetCorrectionsRequest

	// GetCorrectionsExecute executes the request
	//  @return []Correction
	GetCorrectionsExecute(r ApiGetCorrectionsRequest) ([]Correction, *_nethttp.Response, error)

	/*
		UpdateCorrectionByUuid Update a correction by UUID

		Updates a single correction, looked up via it's uuid

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param uuid
		 @return ApiUpdateCorrectionByUuidRequest
	*/
	UpdateCorrectionByUuid(ctx _context.Context, uuid string) ApiUpdateCorrectionByUuidRequest

	// UpdateCorrectionByUuidExecute executes the request
	//  @return Correction
	UpdateCorrectionByUuidExecute(r ApiUpdateCorrectionByUuidRequest) (Correction, *_nethttp.Response, error)
}

type CorrectionsApiService

type CorrectionsApiService service

CorrectionsApiService CorrectionsApi service

func (*CorrectionsApiService) AddCorrection

AddCorrection Create a correction record

Add a correction record that will be used to fix false positive matches

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddCorrectionRequest

func (*CorrectionsApiService) AddCorrectionExecute

Execute executes the request

@return Correction

func (*CorrectionsApiService) DeleteCorrectionByUuid

func (a *CorrectionsApiService) DeleteCorrectionByUuid(ctx _context.Context, uuid string) ApiDeleteCorrectionByUuidRequest

DeleteCorrectionByUuid Delete a correction by UUID

Delete a single correction, looked up via it's uuid

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid
@return ApiDeleteCorrectionByUuidRequest

func (*CorrectionsApiService) DeleteCorrectionByUuidExecute

func (a *CorrectionsApiService) DeleteCorrectionByUuidExecute(r ApiDeleteCorrectionByUuidRequest) (*_nethttp.Response, error)

Execute executes the request

func (*CorrectionsApiService) GetCorrectionByUuid

GetCorrectionByUuid Retrieve a correction by UUID

Returns a single correction, looked up via it's uuid

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid
@return ApiGetCorrectionByUuidRequest

func (*CorrectionsApiService) GetCorrectionByUuidExecute

Execute executes the request

@return Correction

func (*CorrectionsApiService) GetCorrections

GetCorrections Retrieve a list of corrections

Returns a list of corrections

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetCorrectionsRequest

func (*CorrectionsApiService) GetCorrectionsExecute

Execute executes the request

@return []Correction

func (*CorrectionsApiService) UpdateCorrectionByUuid

func (a *CorrectionsApiService) UpdateCorrectionByUuid(ctx _context.Context, uuid string) ApiUpdateCorrectionByUuidRequest

UpdateCorrectionByUuid Update a correction by UUID

Updates a single correction, looked up via it's uuid

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid
@return ApiUpdateCorrectionByUuidRequest

func (*CorrectionsApiService) UpdateCorrectionByUuidExecute

Execute executes the request

@return Correction

type CustomJsonPatch

type CustomJsonPatch struct {
	// Ordered list of the operations in the type-specific lists. This imparts the total ordering of patches to apply such that they can be moved into a single array. This is a workaround for 'oneOf' support in OpenAPI 2.0
	Operations *[]string           `json:"operations,omitempty"`
	Add        *[]JsonPatchAdd     `json:"add,omitempty"`
	Remove     *[]JsonPatchRemove  `json:"remove,omitempty"`
	Replace    *[]JsonPatchReplace `json:"replace,omitempty"`
	Move       *[]JsonPatchMove    `json:"move,omitempty"`
	Copy       *[]JsonPatchCopy    `json:"copy,omitempty"`
	Test       *[]JsonPatchTest    `json:"test,omitempty"`
}

CustomJsonPatch Nextlinux-specific adaptation of RFC6902 to be describeable in swagger/open-api 2.0. Each item is given an ID and the ids are ordered in the array.

func NewCustomJsonPatch

func NewCustomJsonPatch() *CustomJsonPatch

NewCustomJsonPatch instantiates a new CustomJsonPatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomJsonPatchWithDefaults

func NewCustomJsonPatchWithDefaults() *CustomJsonPatch

NewCustomJsonPatchWithDefaults instantiates a new CustomJsonPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomJsonPatch) GetAdd

func (o *CustomJsonPatch) GetAdd() []JsonPatchAdd

GetAdd returns the Add field value if set, zero value otherwise.

func (*CustomJsonPatch) GetAddOk

func (o *CustomJsonPatch) GetAddOk() (*[]JsonPatchAdd, bool)

GetAddOk returns a tuple with the Add field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetCopy

func (o *CustomJsonPatch) GetCopy() []JsonPatchCopy

GetCopy returns the Copy field value if set, zero value otherwise.

func (*CustomJsonPatch) GetCopyOk

func (o *CustomJsonPatch) GetCopyOk() (*[]JsonPatchCopy, bool)

GetCopyOk returns a tuple with the Copy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetMove

func (o *CustomJsonPatch) GetMove() []JsonPatchMove

GetMove returns the Move field value if set, zero value otherwise.

func (*CustomJsonPatch) GetMoveOk

func (o *CustomJsonPatch) GetMoveOk() (*[]JsonPatchMove, bool)

GetMoveOk returns a tuple with the Move field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetOperations

func (o *CustomJsonPatch) GetOperations() []string

GetOperations returns the Operations field value if set, zero value otherwise.

func (*CustomJsonPatch) GetOperationsOk

func (o *CustomJsonPatch) GetOperationsOk() (*[]string, bool)

GetOperationsOk returns a tuple with the Operations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetRemove

func (o *CustomJsonPatch) GetRemove() []JsonPatchRemove

GetRemove returns the Remove field value if set, zero value otherwise.

func (*CustomJsonPatch) GetRemoveOk

func (o *CustomJsonPatch) GetRemoveOk() (*[]JsonPatchRemove, bool)

GetRemoveOk returns a tuple with the Remove field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetReplace

func (o *CustomJsonPatch) GetReplace() []JsonPatchReplace

GetReplace returns the Replace field value if set, zero value otherwise.

func (*CustomJsonPatch) GetReplaceOk

func (o *CustomJsonPatch) GetReplaceOk() (*[]JsonPatchReplace, bool)

GetReplaceOk returns a tuple with the Replace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) GetTest

func (o *CustomJsonPatch) GetTest() []JsonPatchTest

GetTest returns the Test field value if set, zero value otherwise.

func (*CustomJsonPatch) GetTestOk

func (o *CustomJsonPatch) GetTestOk() (*[]JsonPatchTest, bool)

GetTestOk returns a tuple with the Test field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomJsonPatch) HasAdd

func (o *CustomJsonPatch) HasAdd() bool

HasAdd returns a boolean if a field has been set.

func (*CustomJsonPatch) HasCopy

func (o *CustomJsonPatch) HasCopy() bool

HasCopy returns a boolean if a field has been set.

func (*CustomJsonPatch) HasMove

func (o *CustomJsonPatch) HasMove() bool

HasMove returns a boolean if a field has been set.

func (*CustomJsonPatch) HasOperations

func (o *CustomJsonPatch) HasOperations() bool

HasOperations returns a boolean if a field has been set.

func (*CustomJsonPatch) HasRemove

func (o *CustomJsonPatch) HasRemove() bool

HasRemove returns a boolean if a field has been set.

func (*CustomJsonPatch) HasReplace

func (o *CustomJsonPatch) HasReplace() bool

HasReplace returns a boolean if a field has been set.

func (*CustomJsonPatch) HasTest

func (o *CustomJsonPatch) HasTest() bool

HasTest returns a boolean if a field has been set.

func (CustomJsonPatch) MarshalJSON

func (o CustomJsonPatch) MarshalJSON() ([]byte, error)

func (*CustomJsonPatch) SetAdd

func (o *CustomJsonPatch) SetAdd(v []JsonPatchAdd)

SetAdd gets a reference to the given []JsonPatchAdd and assigns it to the Add field.

func (*CustomJsonPatch) SetCopy

func (o *CustomJsonPatch) SetCopy(v []JsonPatchCopy)

SetCopy gets a reference to the given []JsonPatchCopy and assigns it to the Copy field.

func (*CustomJsonPatch) SetMove

func (o *CustomJsonPatch) SetMove(v []JsonPatchMove)

SetMove gets a reference to the given []JsonPatchMove and assigns it to the Move field.

func (*CustomJsonPatch) SetOperations

func (o *CustomJsonPatch) SetOperations(v []string)

SetOperations gets a reference to the given []string and assigns it to the Operations field.

func (*CustomJsonPatch) SetRemove

func (o *CustomJsonPatch) SetRemove(v []JsonPatchRemove)

SetRemove gets a reference to the given []JsonPatchRemove and assigns it to the Remove field.

func (*CustomJsonPatch) SetReplace

func (o *CustomJsonPatch) SetReplace(v []JsonPatchReplace)

SetReplace gets a reference to the given []JsonPatchReplace and assigns it to the Replace field.

func (*CustomJsonPatch) SetTest

func (o *CustomJsonPatch) SetTest(v []JsonPatchTest)

SetTest gets a reference to the given []JsonPatchTest and assigns it to the Test field.

type DefaultApi

type DefaultApi interface {

	/*
		GetKubernetesNamespaces Return a list of Kubernetes namespaces that have been inventoried for this account

		Return a list of Kubernetes namespaces that have been inventoried for this account

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetKubernetesNamespacesRequest
	*/
	GetKubernetesNamespaces(ctx _context.Context) ApiGetKubernetesNamespacesRequest

	// GetKubernetesNamespacesExecute executes the request
	//  @return KubernetesNamespaces
	GetKubernetesNamespacesExecute(r ApiGetKubernetesNamespacesRequest) (KubernetesNamespaces, *_nethttp.Response, error)
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) GetKubernetesNamespaces

func (a *DefaultApiService) GetKubernetesNamespaces(ctx _context.Context) ApiGetKubernetesNamespacesRequest

GetKubernetesNamespaces Return a list of Kubernetes namespaces that have been inventoried for this account

Return a list of Kubernetes namespaces that have been inventoried for this account

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetKubernetesNamespacesRequest

func (*DefaultApiService) GetKubernetesNamespacesExecute

Execute executes the request

@return KubernetesNamespaces

type ECSInventory

type ECSInventory struct {
	ClusterName string                    `json:"cluster_name"`
	Timestamp   time.Time                 `json:"timestamp"`
	Tasks       []ECSInventoryTasks       `json:"tasks,omitempty"`
	Containers  *[]ECSInventoryContainers `json:"containers,omitempty"`
}

ECSInventory struct for ECSInventory

func NewECSInventory

func NewECSInventory(clusterName string, timestamp time.Time) *ECSInventory

NewECSInventory instantiates a new ECSInventory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewECSInventoryWithDefaults

func NewECSInventoryWithDefaults() *ECSInventory

NewECSInventoryWithDefaults instantiates a new ECSInventory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ECSInventory) GetClusterName

func (o *ECSInventory) GetClusterName() string

GetClusterName returns the ClusterName field value

func (*ECSInventory) GetClusterNameOk

func (o *ECSInventory) GetClusterNameOk() (*string, bool)

GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.

func (*ECSInventory) GetContainers

func (o *ECSInventory) GetContainers() []ECSInventoryContainers

GetContainers returns the Containers field value if set, zero value otherwise.

func (*ECSInventory) GetContainersOk

func (o *ECSInventory) GetContainersOk() (*[]ECSInventoryContainers, bool)

GetContainersOk returns a tuple with the Containers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventory) GetTasks

func (o *ECSInventory) GetTasks() []ECSInventoryTasks

GetTasks returns the Tasks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ECSInventory) GetTasksOk

func (o *ECSInventory) GetTasksOk() (*[]ECSInventoryTasks, bool)

GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ECSInventory) GetTimestamp

func (o *ECSInventory) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*ECSInventory) GetTimestampOk

func (o *ECSInventory) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*ECSInventory) HasContainers

func (o *ECSInventory) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*ECSInventory) HasTasks

func (o *ECSInventory) HasTasks() bool

HasTasks returns a boolean if a field has been set.

func (ECSInventory) MarshalJSON

func (o ECSInventory) MarshalJSON() ([]byte, error)

func (*ECSInventory) SetClusterName

func (o *ECSInventory) SetClusterName(v string)

SetClusterName sets field value

func (*ECSInventory) SetContainers

func (o *ECSInventory) SetContainers(v []ECSInventoryContainers)

SetContainers gets a reference to the given []ECSInventoryContainers and assigns it to the Containers field.

func (*ECSInventory) SetTasks

func (o *ECSInventory) SetTasks(v []ECSInventoryTasks)

SetTasks gets a reference to the given []ECSInventoryTasks and assigns it to the Tasks field.

func (*ECSInventory) SetTimestamp

func (o *ECSInventory) SetTimestamp(v time.Time)

SetTimestamp sets field value

type ECSInventoryContainers

type ECSInventoryContainers struct {
	Arn         string  `json:"arn"`
	TaskArn     *string `json:"task_arn,omitempty"`
	ImageTag    string  `json:"image_tag"`
	ImageDigest *string `json:"image_digest,omitempty"`
}

ECSInventoryContainers struct for ECSInventoryContainers

func NewECSInventoryContainers

func NewECSInventoryContainers(arn string, imageTag string) *ECSInventoryContainers

NewECSInventoryContainers instantiates a new ECSInventoryContainers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewECSInventoryContainersWithDefaults

func NewECSInventoryContainersWithDefaults() *ECSInventoryContainers

NewECSInventoryContainersWithDefaults instantiates a new ECSInventoryContainers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ECSInventoryContainers) GetArn

func (o *ECSInventoryContainers) GetArn() string

GetArn returns the Arn field value

func (*ECSInventoryContainers) GetArnOk

func (o *ECSInventoryContainers) GetArnOk() (*string, bool)

GetArnOk returns a tuple with the Arn field value and a boolean to check if the value has been set.

func (*ECSInventoryContainers) GetImageDigest

func (o *ECSInventoryContainers) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ECSInventoryContainers) GetImageDigestOk

func (o *ECSInventoryContainers) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryContainers) GetImageTag

func (o *ECSInventoryContainers) GetImageTag() string

GetImageTag returns the ImageTag field value

func (*ECSInventoryContainers) GetImageTagOk

func (o *ECSInventoryContainers) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value and a boolean to check if the value has been set.

func (*ECSInventoryContainers) GetTaskArn

func (o *ECSInventoryContainers) GetTaskArn() string

GetTaskArn returns the TaskArn field value if set, zero value otherwise.

func (*ECSInventoryContainers) GetTaskArnOk

func (o *ECSInventoryContainers) GetTaskArnOk() (*string, bool)

GetTaskArnOk returns a tuple with the TaskArn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryContainers) HasImageDigest

func (o *ECSInventoryContainers) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*ECSInventoryContainers) HasTaskArn

func (o *ECSInventoryContainers) HasTaskArn() bool

HasTaskArn returns a boolean if a field has been set.

func (ECSInventoryContainers) MarshalJSON

func (o ECSInventoryContainers) MarshalJSON() ([]byte, error)

func (*ECSInventoryContainers) SetArn

func (o *ECSInventoryContainers) SetArn(v string)

SetArn sets field value

func (*ECSInventoryContainers) SetImageDigest

func (o *ECSInventoryContainers) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*ECSInventoryContainers) SetImageTag

func (o *ECSInventoryContainers) SetImageTag(v string)

SetImageTag sets field value

func (*ECSInventoryContainers) SetTaskArn

func (o *ECSInventoryContainers) SetTaskArn(v string)

SetTaskArn gets a reference to the given string and assigns it to the TaskArn field.

type ECSInventoryTasks

type ECSInventoryTasks struct {
	Arn               string             `json:"arn"`
	ServiceArn        *string            `json:"service_arn,omitempty"`
	ClusterArn        *string            `json:"cluster_arn,omitempty"`
	TaskDefinitionArn *string            `json:"task_definition_arn,omitempty"`
	Tags              *map[string]string `json:"tags,omitempty"`
}

ECSInventoryTasks struct for ECSInventoryTasks

func NewECSInventoryTasks

func NewECSInventoryTasks(arn string) *ECSInventoryTasks

NewECSInventoryTasks instantiates a new ECSInventoryTasks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewECSInventoryTasksWithDefaults

func NewECSInventoryTasksWithDefaults() *ECSInventoryTasks

NewECSInventoryTasksWithDefaults instantiates a new ECSInventoryTasks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ECSInventoryTasks) GetArn

func (o *ECSInventoryTasks) GetArn() string

GetArn returns the Arn field value

func (*ECSInventoryTasks) GetArnOk

func (o *ECSInventoryTasks) GetArnOk() (*string, bool)

GetArnOk returns a tuple with the Arn field value and a boolean to check if the value has been set.

func (*ECSInventoryTasks) GetClusterArn

func (o *ECSInventoryTasks) GetClusterArn() string

GetClusterArn returns the ClusterArn field value if set, zero value otherwise.

func (*ECSInventoryTasks) GetClusterArnOk

func (o *ECSInventoryTasks) GetClusterArnOk() (*string, bool)

GetClusterArnOk returns a tuple with the ClusterArn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryTasks) GetServiceArn

func (o *ECSInventoryTasks) GetServiceArn() string

GetServiceArn returns the ServiceArn field value if set, zero value otherwise.

func (*ECSInventoryTasks) GetServiceArnOk

func (o *ECSInventoryTasks) GetServiceArnOk() (*string, bool)

GetServiceArnOk returns a tuple with the ServiceArn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryTasks) GetTags

func (o *ECSInventoryTasks) GetTags() map[string]string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ECSInventoryTasks) GetTagsOk

func (o *ECSInventoryTasks) GetTagsOk() (*map[string]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryTasks) GetTaskDefinitionArn

func (o *ECSInventoryTasks) GetTaskDefinitionArn() string

GetTaskDefinitionArn returns the TaskDefinitionArn field value if set, zero value otherwise.

func (*ECSInventoryTasks) GetTaskDefinitionArnOk

func (o *ECSInventoryTasks) GetTaskDefinitionArnOk() (*string, bool)

GetTaskDefinitionArnOk returns a tuple with the TaskDefinitionArn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ECSInventoryTasks) HasClusterArn

func (o *ECSInventoryTasks) HasClusterArn() bool

HasClusterArn returns a boolean if a field has been set.

func (*ECSInventoryTasks) HasServiceArn

func (o *ECSInventoryTasks) HasServiceArn() bool

HasServiceArn returns a boolean if a field has been set.

func (*ECSInventoryTasks) HasTags

func (o *ECSInventoryTasks) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ECSInventoryTasks) HasTaskDefinitionArn

func (o *ECSInventoryTasks) HasTaskDefinitionArn() bool

HasTaskDefinitionArn returns a boolean if a field has been set.

func (ECSInventoryTasks) MarshalJSON

func (o ECSInventoryTasks) MarshalJSON() ([]byte, error)

func (*ECSInventoryTasks) SetArn

func (o *ECSInventoryTasks) SetArn(v string)

SetArn sets field value

func (*ECSInventoryTasks) SetClusterArn

func (o *ECSInventoryTasks) SetClusterArn(v string)

SetClusterArn gets a reference to the given string and assigns it to the ClusterArn field.

func (*ECSInventoryTasks) SetServiceArn

func (o *ECSInventoryTasks) SetServiceArn(v string)

SetServiceArn gets a reference to the given string and assigns it to the ServiceArn field.

func (*ECSInventoryTasks) SetTags

func (o *ECSInventoryTasks) SetTags(v map[string]string)

SetTags gets a reference to the given map[string]string and assigns it to the Tags field.

func (*ECSInventoryTasks) SetTaskDefinitionArn

func (o *ECSInventoryTasks) SetTaskDefinitionArn(v string)

SetTaskDefinitionArn gets a reference to the given string and assigns it to the TaskDefinitionArn field.

type EnterpriseVulnerability

type EnterpriseVulnerability struct {
	// The vulnerability identifier, such as CVE-2017-100, or RHSA-2017123
	Vuln *string `json:"vuln,omitempty"`
	// The package containing a fix, if available
	Fix *string `json:"fix,omitempty"`
	// The severity of the vulnerability
	Severity *string `json:"severity,omitempty"`
	// The package name and version that are vulnerable in the image
	Package *string `json:"package,omitempty"`
	// The url for more information about the vulnerability
	Url *string `json:"url,omitempty"`
	// The name of the feed where vulnerability match was made
	Feed *string `json:"feed,omitempty"`
	// The name of the feed group where vulnerability match was made
	FeedGroup *string `json:"feed_group,omitempty"`
	// The name of the vulnerable package artifact
	PackageName *string `json:"package_name,omitempty"`
	// The version of the vulnerable package artifact
	PackageVersion *string `json:"package_version,omitempty"`
	// The type of vulnerable package
	PackageType *string `json:"package_type,omitempty"`
	// The CPE string (if applicable) describing the package to vulnerability match
	PackageCpe *string `json:"package_cpe,omitempty"`
	// The location (if applicable) of the vulnerable package in the container filesystem
	PackagePath *string `json:"package_path,omitempty"`
	// Whether a vendor will fix or not fix the vulnerability
	WillNotFix *bool `json:"will_not_fix,omitempty"`
	// List of Nvd Data objects
	NvdData *[]NvdDataObject `json:"nvd_data,omitempty"`
	// List of Vendor Data objects
	VendorData *[]VendorDataObject `json:"vendor_data,omitempty"`
	// True if the vulnerable artifact is found in the base image. False otherwise
	InheritedFromBase *bool `json:"inherited_from_base,omitempty"`
}

EnterpriseVulnerability struct for EnterpriseVulnerability

func NewEnterpriseVulnerability

func NewEnterpriseVulnerability() *EnterpriseVulnerability

NewEnterpriseVulnerability instantiates a new EnterpriseVulnerability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnterpriseVulnerabilityWithDefaults

func NewEnterpriseVulnerabilityWithDefaults() *EnterpriseVulnerability

NewEnterpriseVulnerabilityWithDefaults instantiates a new EnterpriseVulnerability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnterpriseVulnerability) GetFeed

func (o *EnterpriseVulnerability) GetFeed() string

GetFeed returns the Feed field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetFeedGroup

func (o *EnterpriseVulnerability) GetFeedGroup() string

GetFeedGroup returns the FeedGroup field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetFeedGroupOk

func (o *EnterpriseVulnerability) GetFeedGroupOk() (*string, bool)

GetFeedGroupOk returns a tuple with the FeedGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetFeedOk

func (o *EnterpriseVulnerability) GetFeedOk() (*string, bool)

GetFeedOk returns a tuple with the Feed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetFix

func (o *EnterpriseVulnerability) GetFix() string

GetFix returns the Fix field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetFixOk

func (o *EnterpriseVulnerability) GetFixOk() (*string, bool)

GetFixOk returns a tuple with the Fix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetInheritedFromBase

func (o *EnterpriseVulnerability) GetInheritedFromBase() bool

GetInheritedFromBase returns the InheritedFromBase field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetInheritedFromBaseOk

func (o *EnterpriseVulnerability) GetInheritedFromBaseOk() (*bool, bool)

GetInheritedFromBaseOk returns a tuple with the InheritedFromBase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetNvdData

func (o *EnterpriseVulnerability) GetNvdData() []NvdDataObject

GetNvdData returns the NvdData field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetNvdDataOk

func (o *EnterpriseVulnerability) GetNvdDataOk() (*[]NvdDataObject, bool)

GetNvdDataOk returns a tuple with the NvdData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackage

func (o *EnterpriseVulnerability) GetPackage() string

GetPackage returns the Package field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackageCpe

func (o *EnterpriseVulnerability) GetPackageCpe() string

GetPackageCpe returns the PackageCpe field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackageCpeOk

func (o *EnterpriseVulnerability) GetPackageCpeOk() (*string, bool)

GetPackageCpeOk returns a tuple with the PackageCpe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackageName

func (o *EnterpriseVulnerability) GetPackageName() string

GetPackageName returns the PackageName field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackageNameOk

func (o *EnterpriseVulnerability) GetPackageNameOk() (*string, bool)

GetPackageNameOk returns a tuple with the PackageName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackageOk

func (o *EnterpriseVulnerability) GetPackageOk() (*string, bool)

GetPackageOk returns a tuple with the Package field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackagePath

func (o *EnterpriseVulnerability) GetPackagePath() string

GetPackagePath returns the PackagePath field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackagePathOk

func (o *EnterpriseVulnerability) GetPackagePathOk() (*string, bool)

GetPackagePathOk returns a tuple with the PackagePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackageType

func (o *EnterpriseVulnerability) GetPackageType() string

GetPackageType returns the PackageType field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackageTypeOk

func (o *EnterpriseVulnerability) GetPackageTypeOk() (*string, bool)

GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetPackageVersion

func (o *EnterpriseVulnerability) GetPackageVersion() string

GetPackageVersion returns the PackageVersion field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetPackageVersionOk

func (o *EnterpriseVulnerability) GetPackageVersionOk() (*string, bool)

GetPackageVersionOk returns a tuple with the PackageVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetSeverity

func (o *EnterpriseVulnerability) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetSeverityOk

func (o *EnterpriseVulnerability) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetUrl

func (o *EnterpriseVulnerability) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetUrlOk

func (o *EnterpriseVulnerability) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetVendorData

func (o *EnterpriseVulnerability) GetVendorData() []VendorDataObject

GetVendorData returns the VendorData field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetVendorDataOk

func (o *EnterpriseVulnerability) GetVendorDataOk() (*[]VendorDataObject, bool)

GetVendorDataOk returns a tuple with the VendorData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetVuln

func (o *EnterpriseVulnerability) GetVuln() string

GetVuln returns the Vuln field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetVulnOk

func (o *EnterpriseVulnerability) GetVulnOk() (*string, bool)

GetVulnOk returns a tuple with the Vuln field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) GetWillNotFix

func (o *EnterpriseVulnerability) GetWillNotFix() bool

GetWillNotFix returns the WillNotFix field value if set, zero value otherwise.

func (*EnterpriseVulnerability) GetWillNotFixOk

func (o *EnterpriseVulnerability) GetWillNotFixOk() (*bool, bool)

GetWillNotFixOk returns a tuple with the WillNotFix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerability) HasFeed

func (o *EnterpriseVulnerability) HasFeed() bool

HasFeed returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasFeedGroup

func (o *EnterpriseVulnerability) HasFeedGroup() bool

HasFeedGroup returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasFix

func (o *EnterpriseVulnerability) HasFix() bool

HasFix returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasInheritedFromBase

func (o *EnterpriseVulnerability) HasInheritedFromBase() bool

HasInheritedFromBase returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasNvdData

func (o *EnterpriseVulnerability) HasNvdData() bool

HasNvdData returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackage

func (o *EnterpriseVulnerability) HasPackage() bool

HasPackage returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackageCpe

func (o *EnterpriseVulnerability) HasPackageCpe() bool

HasPackageCpe returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackageName

func (o *EnterpriseVulnerability) HasPackageName() bool

HasPackageName returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackagePath

func (o *EnterpriseVulnerability) HasPackagePath() bool

HasPackagePath returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackageType

func (o *EnterpriseVulnerability) HasPackageType() bool

HasPackageType returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasPackageVersion

func (o *EnterpriseVulnerability) HasPackageVersion() bool

HasPackageVersion returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasSeverity

func (o *EnterpriseVulnerability) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasUrl

func (o *EnterpriseVulnerability) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasVendorData

func (o *EnterpriseVulnerability) HasVendorData() bool

HasVendorData returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasVuln

func (o *EnterpriseVulnerability) HasVuln() bool

HasVuln returns a boolean if a field has been set.

func (*EnterpriseVulnerability) HasWillNotFix

func (o *EnterpriseVulnerability) HasWillNotFix() bool

HasWillNotFix returns a boolean if a field has been set.

func (EnterpriseVulnerability) MarshalJSON

func (o EnterpriseVulnerability) MarshalJSON() ([]byte, error)

func (*EnterpriseVulnerability) SetFeed

func (o *EnterpriseVulnerability) SetFeed(v string)

SetFeed gets a reference to the given string and assigns it to the Feed field.

func (*EnterpriseVulnerability) SetFeedGroup

func (o *EnterpriseVulnerability) SetFeedGroup(v string)

SetFeedGroup gets a reference to the given string and assigns it to the FeedGroup field.

func (*EnterpriseVulnerability) SetFix

func (o *EnterpriseVulnerability) SetFix(v string)

SetFix gets a reference to the given string and assigns it to the Fix field.

func (*EnterpriseVulnerability) SetInheritedFromBase

func (o *EnterpriseVulnerability) SetInheritedFromBase(v bool)

SetInheritedFromBase gets a reference to the given bool and assigns it to the InheritedFromBase field.

func (*EnterpriseVulnerability) SetNvdData

func (o *EnterpriseVulnerability) SetNvdData(v []NvdDataObject)

SetNvdData gets a reference to the given []NvdDataObject and assigns it to the NvdData field.

func (*EnterpriseVulnerability) SetPackage

func (o *EnterpriseVulnerability) SetPackage(v string)

SetPackage gets a reference to the given string and assigns it to the Package field.

func (*EnterpriseVulnerability) SetPackageCpe

func (o *EnterpriseVulnerability) SetPackageCpe(v string)

SetPackageCpe gets a reference to the given string and assigns it to the PackageCpe field.

func (*EnterpriseVulnerability) SetPackageName

func (o *EnterpriseVulnerability) SetPackageName(v string)

SetPackageName gets a reference to the given string and assigns it to the PackageName field.

func (*EnterpriseVulnerability) SetPackagePath

func (o *EnterpriseVulnerability) SetPackagePath(v string)

SetPackagePath gets a reference to the given string and assigns it to the PackagePath field.

func (*EnterpriseVulnerability) SetPackageType

func (o *EnterpriseVulnerability) SetPackageType(v string)

SetPackageType gets a reference to the given string and assigns it to the PackageType field.

func (*EnterpriseVulnerability) SetPackageVersion

func (o *EnterpriseVulnerability) SetPackageVersion(v string)

SetPackageVersion gets a reference to the given string and assigns it to the PackageVersion field.

func (*EnterpriseVulnerability) SetSeverity

func (o *EnterpriseVulnerability) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*EnterpriseVulnerability) SetUrl

func (o *EnterpriseVulnerability) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*EnterpriseVulnerability) SetVendorData

func (o *EnterpriseVulnerability) SetVendorData(v []VendorDataObject)

SetVendorData gets a reference to the given []VendorDataObject and assigns it to the VendorData field.

func (*EnterpriseVulnerability) SetVuln

func (o *EnterpriseVulnerability) SetVuln(v string)

SetVuln gets a reference to the given string and assigns it to the Vuln field.

func (*EnterpriseVulnerability) SetWillNotFix

func (o *EnterpriseVulnerability) SetWillNotFix(v bool)

SetWillNotFix gets a reference to the given bool and assigns it to the WillNotFix field.

type EnterpriseVulnerabilityResponse

type EnterpriseVulnerabilityResponse struct {
	ImageDigest       *string `json:"image_digest,omitempty"`
	BaseDigest        *string `json:"base_digest,omitempty"`
	VulnerabilityType *string `json:"vulnerability_type,omitempty"`
	// List of Vulnerability objects
	Vulnerabilities *[]EnterpriseVulnerability `json:"vulnerabilities,omitempty"`
}

EnterpriseVulnerabilityResponse envelope containing list of vulnerabilities

func NewEnterpriseVulnerabilityResponse

func NewEnterpriseVulnerabilityResponse() *EnterpriseVulnerabilityResponse

NewEnterpriseVulnerabilityResponse instantiates a new EnterpriseVulnerabilityResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnterpriseVulnerabilityResponseWithDefaults

func NewEnterpriseVulnerabilityResponseWithDefaults() *EnterpriseVulnerabilityResponse

NewEnterpriseVulnerabilityResponseWithDefaults instantiates a new EnterpriseVulnerabilityResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnterpriseVulnerabilityResponse) GetBaseDigest

func (o *EnterpriseVulnerabilityResponse) GetBaseDigest() string

GetBaseDigest returns the BaseDigest field value if set, zero value otherwise.

func (*EnterpriseVulnerabilityResponse) GetBaseDigestOk

func (o *EnterpriseVulnerabilityResponse) GetBaseDigestOk() (*string, bool)

GetBaseDigestOk returns a tuple with the BaseDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerabilityResponse) GetImageDigest

func (o *EnterpriseVulnerabilityResponse) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*EnterpriseVulnerabilityResponse) GetImageDigestOk

func (o *EnterpriseVulnerabilityResponse) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerabilityResponse) GetVulnerabilities

func (o *EnterpriseVulnerabilityResponse) GetVulnerabilities() []EnterpriseVulnerability

GetVulnerabilities returns the Vulnerabilities field value if set, zero value otherwise.

func (*EnterpriseVulnerabilityResponse) GetVulnerabilitiesOk

func (o *EnterpriseVulnerabilityResponse) GetVulnerabilitiesOk() (*[]EnterpriseVulnerability, bool)

GetVulnerabilitiesOk returns a tuple with the Vulnerabilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerabilityResponse) GetVulnerabilityType

func (o *EnterpriseVulnerabilityResponse) GetVulnerabilityType() string

GetVulnerabilityType returns the VulnerabilityType field value if set, zero value otherwise.

func (*EnterpriseVulnerabilityResponse) GetVulnerabilityTypeOk

func (o *EnterpriseVulnerabilityResponse) GetVulnerabilityTypeOk() (*string, bool)

GetVulnerabilityTypeOk returns a tuple with the VulnerabilityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnterpriseVulnerabilityResponse) HasBaseDigest

func (o *EnterpriseVulnerabilityResponse) HasBaseDigest() bool

HasBaseDigest returns a boolean if a field has been set.

func (*EnterpriseVulnerabilityResponse) HasImageDigest

func (o *EnterpriseVulnerabilityResponse) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*EnterpriseVulnerabilityResponse) HasVulnerabilities

func (o *EnterpriseVulnerabilityResponse) HasVulnerabilities() bool

HasVulnerabilities returns a boolean if a field has been set.

func (*EnterpriseVulnerabilityResponse) HasVulnerabilityType

func (o *EnterpriseVulnerabilityResponse) HasVulnerabilityType() bool

HasVulnerabilityType returns a boolean if a field has been set.

func (EnterpriseVulnerabilityResponse) MarshalJSON

func (o EnterpriseVulnerabilityResponse) MarshalJSON() ([]byte, error)

func (*EnterpriseVulnerabilityResponse) SetBaseDigest

func (o *EnterpriseVulnerabilityResponse) SetBaseDigest(v string)

SetBaseDigest gets a reference to the given string and assigns it to the BaseDigest field.

func (*EnterpriseVulnerabilityResponse) SetImageDigest

func (o *EnterpriseVulnerabilityResponse) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*EnterpriseVulnerabilityResponse) SetVulnerabilities

func (o *EnterpriseVulnerabilityResponse) SetVulnerabilities(v []EnterpriseVulnerability)

SetVulnerabilities gets a reference to the given []EnterpriseVulnerability and assigns it to the Vulnerabilities field.

func (*EnterpriseVulnerabilityResponse) SetVulnerabilityType

func (o *EnterpriseVulnerabilityResponse) SetVulnerabilityType(v string)

SetVulnerabilityType gets a reference to the given string and assigns it to the VulnerabilityType field.

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type ImageAncestor

type ImageAncestor struct {
	// The digest of the image
	ImageDigest *string   `json:"imageDigest,omitempty"`
	Tags        *[]string `json:"tags,omitempty"`
	// The full set of layers for this image
	Layers *[]string `json:"layers,omitempty"`
}

ImageAncestor An summary of an image and it's layers.

func NewImageAncestor

func NewImageAncestor() *ImageAncestor

NewImageAncestor instantiates a new ImageAncestor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImageAncestorWithDefaults

func NewImageAncestorWithDefaults() *ImageAncestor

NewImageAncestorWithDefaults instantiates a new ImageAncestor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ImageAncestor) GetImageDigest

func (o *ImageAncestor) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ImageAncestor) GetImageDigestOk

func (o *ImageAncestor) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageAncestor) GetLayers

func (o *ImageAncestor) GetLayers() []string

GetLayers returns the Layers field value if set, zero value otherwise.

func (*ImageAncestor) GetLayersOk

func (o *ImageAncestor) GetLayersOk() (*[]string, bool)

GetLayersOk returns a tuple with the Layers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageAncestor) GetTags

func (o *ImageAncestor) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ImageAncestor) GetTagsOk

func (o *ImageAncestor) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageAncestor) HasImageDigest

func (o *ImageAncestor) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*ImageAncestor) HasLayers

func (o *ImageAncestor) HasLayers() bool

HasLayers returns a boolean if a field has been set.

func (*ImageAncestor) HasTags

func (o *ImageAncestor) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ImageAncestor) MarshalJSON

func (o ImageAncestor) MarshalJSON() ([]byte, error)

func (*ImageAncestor) SetImageDigest

func (o *ImageAncestor) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*ImageAncestor) SetLayers

func (o *ImageAncestor) SetLayers(v []string)

SetLayers gets a reference to the given []string and assigns it to the Layers field.

func (*ImageAncestor) SetTags

func (o *ImageAncestor) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type ImageArtifact

type ImageArtifact struct {
	// The account id
	AccountId *string `json:"account_id,omitempty"`
	// The digest of the image
	ImageDigest *string `json:"image_digest,omitempty"`
	// The distro of the image
	Distro *string `json:"distro,omitempty"`
	// The distro version of the image
	DistroVersion *string `json:"distro_version,omitempty"`
	// the analysis status of image
	AnalysisStatus *string `json:"analysis_status,omitempty"`
	// The status of the image
	ImageStatus *string `json:"image_status,omitempty"`
	// RFC 3339 formatted UTC timestamp when the image was analyzed
	AnalyzedAt *time.Time `json:"analyzed_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the image was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// RFC 3339 formatted UTC timestamp when the image was last updated
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

ImageArtifact Model for an image artifact

func NewImageArtifact

func NewImageArtifact() *ImageArtifact

NewImageArtifact instantiates a new ImageArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImageArtifactWithDefaults

func NewImageArtifactWithDefaults() *ImageArtifact

NewImageArtifactWithDefaults instantiates a new ImageArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ImageArtifact) GetAccountId

func (o *ImageArtifact) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*ImageArtifact) GetAccountIdOk

func (o *ImageArtifact) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetAnalysisStatus

func (o *ImageArtifact) GetAnalysisStatus() string

GetAnalysisStatus returns the AnalysisStatus field value if set, zero value otherwise.

func (*ImageArtifact) GetAnalysisStatusOk

func (o *ImageArtifact) GetAnalysisStatusOk() (*string, bool)

GetAnalysisStatusOk returns a tuple with the AnalysisStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetAnalyzedAt

func (o *ImageArtifact) GetAnalyzedAt() time.Time

GetAnalyzedAt returns the AnalyzedAt field value if set, zero value otherwise.

func (*ImageArtifact) GetAnalyzedAtOk

func (o *ImageArtifact) GetAnalyzedAtOk() (*time.Time, bool)

GetAnalyzedAtOk returns a tuple with the AnalyzedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetCreatedAt

func (o *ImageArtifact) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ImageArtifact) GetCreatedAtOk

func (o *ImageArtifact) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetDistro

func (o *ImageArtifact) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise.

func (*ImageArtifact) GetDistroOk

func (o *ImageArtifact) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetDistroVersion

func (o *ImageArtifact) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise.

func (*ImageArtifact) GetDistroVersionOk

func (o *ImageArtifact) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetImageDigest

func (o *ImageArtifact) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*ImageArtifact) GetImageDigestOk

func (o *ImageArtifact) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetImageStatus

func (o *ImageArtifact) GetImageStatus() string

GetImageStatus returns the ImageStatus field value if set, zero value otherwise.

func (*ImageArtifact) GetImageStatusOk

func (o *ImageArtifact) GetImageStatusOk() (*string, bool)

GetImageStatusOk returns a tuple with the ImageStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) GetLastUpdated

func (o *ImageArtifact) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*ImageArtifact) GetLastUpdatedOk

func (o *ImageArtifact) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ImageArtifact) HasAccountId

func (o *ImageArtifact) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*ImageArtifact) HasAnalysisStatus

func (o *ImageArtifact) HasAnalysisStatus() bool

HasAnalysisStatus returns a boolean if a field has been set.

func (*ImageArtifact) HasAnalyzedAt

func (o *ImageArtifact) HasAnalyzedAt() bool

HasAnalyzedAt returns a boolean if a field has been set.

func (*ImageArtifact) HasCreatedAt

func (o *ImageArtifact) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ImageArtifact) HasDistro

func (o *ImageArtifact) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*ImageArtifact) HasDistroVersion

func (o *ImageArtifact) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*ImageArtifact) HasImageDigest

func (o *ImageArtifact) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*ImageArtifact) HasImageStatus

func (o *ImageArtifact) HasImageStatus() bool

HasImageStatus returns a boolean if a field has been set.

func (*ImageArtifact) HasLastUpdated

func (o *ImageArtifact) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (ImageArtifact) MarshalJSON

func (o ImageArtifact) MarshalJSON() ([]byte, error)

func (*ImageArtifact) SetAccountId

func (o *ImageArtifact) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*ImageArtifact) SetAnalysisStatus

func (o *ImageArtifact) SetAnalysisStatus(v string)

SetAnalysisStatus gets a reference to the given string and assigns it to the AnalysisStatus field.

func (*ImageArtifact) SetAnalyzedAt

func (o *ImageArtifact) SetAnalyzedAt(v time.Time)

SetAnalyzedAt gets a reference to the given time.Time and assigns it to the AnalyzedAt field.

func (*ImageArtifact) SetCreatedAt

func (o *ImageArtifact) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ImageArtifact) SetDistro

func (o *ImageArtifact) SetDistro(v string)

SetDistro gets a reference to the given string and assigns it to the Distro field.

func (*ImageArtifact) SetDistroVersion

func (o *ImageArtifact) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given string and assigns it to the DistroVersion field.

func (*ImageArtifact) SetImageDigest

func (o *ImageArtifact) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*ImageArtifact) SetImageStatus

func (o *ImageArtifact) SetImageStatus(v string)

SetImageStatus gets a reference to the given string and assigns it to the ImageStatus field.

func (*ImageArtifact) SetLastUpdated

func (o *ImageArtifact) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

type ImagesApi

type ImagesApi interface {

	/*
		GetImageAncestors Return the list of ancestor images for the given image

		Returns list of ancestor images, which are the images that form the base layers of the image

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param imageDigest
		 @return ApiGetImageAncestorsRequest
	*/
	GetImageAncestors(ctx _context.Context, imageDigest string) ApiGetImageAncestorsRequest

	// GetImageAncestorsExecute executes the request
	//  @return []ImageAncestor
	GetImageAncestorsExecute(r ApiGetImageAncestorsRequest) ([]ImageAncestor, *_nethttp.Response, error)

	/*
		GetImagePolicyCheckByDigest Check policy evaluation status for image

		Get the policy evaluation for the given image

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param imageDigest
		 @return ApiGetImagePolicyCheckByDigestRequest
	*/
	GetImagePolicyCheckByDigest(ctx _context.Context, imageDigest string) ApiGetImagePolicyCheckByDigestRequest

	// GetImagePolicyCheckByDigestExecute executes the request
	//  @return []interface{}
	GetImagePolicyCheckByDigestExecute(r ApiGetImagePolicyCheckByDigestRequest) ([]interface{}, *_nethttp.Response, error)

	/*
		GetImageVulnerabilitiesByDigest Get vulnerabilities by type

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param imageDigest
		 @param vtype
		 @return ApiGetImageVulnerabilitiesByDigestRequest
	*/
	GetImageVulnerabilitiesByDigest(ctx _context.Context, imageDigest string, vtype string) ApiGetImageVulnerabilitiesByDigestRequest

	// GetImageVulnerabilitiesByDigestExecute executes the request
	//  @return EnterpriseVulnerabilityResponse
	GetImageVulnerabilitiesByDigestExecute(r ApiGetImageVulnerabilitiesByDigestRequest) (EnterpriseVulnerabilityResponse, *_nethttp.Response, error)
}

type ImagesApiService

type ImagesApiService service

ImagesApiService ImagesApi service

func (*ImagesApiService) GetImageAncestors

func (a *ImagesApiService) GetImageAncestors(ctx _context.Context, imageDigest string) ApiGetImageAncestorsRequest

GetImageAncestors Return the list of ancestor images for the given image

Returns list of ancestor images, which are the images that form the base layers of the image

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param imageDigest
@return ApiGetImageAncestorsRequest

func (*ImagesApiService) GetImageAncestorsExecute

func (a *ImagesApiService) GetImageAncestorsExecute(r ApiGetImageAncestorsRequest) ([]ImageAncestor, *_nethttp.Response, error)

Execute executes the request

@return []ImageAncestor

func (*ImagesApiService) GetImagePolicyCheckByDigest

func (a *ImagesApiService) GetImagePolicyCheckByDigest(ctx _context.Context, imageDigest string) ApiGetImagePolicyCheckByDigestRequest

GetImagePolicyCheckByDigest Check policy evaluation status for image

Get the policy evaluation for the given image

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param imageDigest
@return ApiGetImagePolicyCheckByDigestRequest

func (*ImagesApiService) GetImagePolicyCheckByDigestExecute

func (a *ImagesApiService) GetImagePolicyCheckByDigestExecute(r ApiGetImagePolicyCheckByDigestRequest) ([]interface{}, *_nethttp.Response, error)

Execute executes the request

@return []interface{}

func (*ImagesApiService) GetImageVulnerabilitiesByDigest

func (a *ImagesApiService) GetImageVulnerabilitiesByDigest(ctx _context.Context, imageDigest string, vtype string) ApiGetImageVulnerabilitiesByDigestRequest

GetImageVulnerabilitiesByDigest Get vulnerabilities by type

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param imageDigest
@param vtype
@return ApiGetImageVulnerabilitiesByDigestRequest

func (*ImagesApiService) GetImageVulnerabilitiesByDigestExecute

Execute executes the request

@return EnterpriseVulnerabilityResponse

type ImportsApi

type ImportsApi interface {

	/*
		CreateOperation Begin the import of a source code repository analyzed by Syft into the system

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiCreateOperationRequest
	*/
	CreateOperation(ctx _context.Context) ApiCreateOperationRequest

	// CreateOperationExecute executes the request
	//  @return SourceImportOperation
	CreateOperationExecute(r ApiCreateOperationRequest) (SourceImportOperation, *_nethttp.Response, error)

	/*
		FinalizeOperation Add source records to catalog db

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param operationId
		 @return ApiFinalizeOperationRequest
	*/
	FinalizeOperation(ctx _context.Context, operationId string) ApiFinalizeOperationRequest

	// FinalizeOperationExecute executes the request
	//  @return SourceManifest
	FinalizeOperationExecute(r ApiFinalizeOperationRequest) (SourceManifest, *_nethttp.Response, error)

	/*
		GetImportSourcesSbom list the packages of an imported source code repository

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param operationId
		 @return ApiGetImportSourcesSbomRequest
	*/
	GetImportSourcesSbom(ctx _context.Context, operationId string) ApiGetImportSourcesSbomRequest

	// GetImportSourcesSbomExecute executes the request
	//  @return SourceImportContentResponse
	GetImportSourcesSbomExecute(r ApiGetImportSourcesSbomRequest) (SourceImportContentResponse, *_nethttp.Response, error)

	/*
		GetOperation Get detail on a single import

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param operationId
		 @return ApiGetOperationRequest
	*/
	GetOperation(ctx _context.Context, operationId string) ApiGetOperationRequest

	// GetOperationExecute executes the request
	//  @return SourceImportOperation
	GetOperationExecute(r ApiGetOperationRequest) (SourceImportOperation, *_nethttp.Response, error)

	/*
		InvalidateOperation Invalidate operation ID so it can be garbage collected

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param operationId
		 @return ApiInvalidateOperationRequest
	*/
	InvalidateOperation(ctx _context.Context, operationId string) ApiInvalidateOperationRequest

	// InvalidateOperationExecute executes the request
	//  @return SourceImportOperation
	InvalidateOperationExecute(r ApiInvalidateOperationRequest) (SourceImportOperation, *_nethttp.Response, error)

	/*
		ListOperations Lists in-progress imports

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListOperationsRequest
	*/
	ListOperations(ctx _context.Context) ApiListOperationsRequest

	// ListOperationsExecute executes the request
	//  @return []SourceImportOperation
	ListOperationsExecute(r ApiListOperationsRequest) ([]SourceImportOperation, *_nethttp.Response, error)

	/*
		UploadImportSourcesSbom Begin the import of a source code repository analyzed by Syft into the system

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param operationId
		 @return ApiUploadImportSourcesSbomRequest
	*/
	UploadImportSourcesSbom(ctx _context.Context, operationId string) ApiUploadImportSourcesSbomRequest

	// UploadImportSourcesSbomExecute executes the request
	//  @return SourceImportContentResponse
	UploadImportSourcesSbomExecute(r ApiUploadImportSourcesSbomRequest) (SourceImportContentResponse, *_nethttp.Response, error)
}

type ImportsApiService

type ImportsApiService service

ImportsApiService ImportsApi service

func (*ImportsApiService) CreateOperation

CreateOperation Begin the import of a source code repository analyzed by Syft into the system

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOperationRequest

func (*ImportsApiService) CreateOperationExecute

Execute executes the request

@return SourceImportOperation

func (*ImportsApiService) FinalizeOperation

func (a *ImportsApiService) FinalizeOperation(ctx _context.Context, operationId string) ApiFinalizeOperationRequest

FinalizeOperation Add source records to catalog db

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param operationId
@return ApiFinalizeOperationRequest

func (*ImportsApiService) FinalizeOperationExecute

Execute executes the request

@return SourceManifest

func (*ImportsApiService) GetImportSourcesSbom

func (a *ImportsApiService) GetImportSourcesSbom(ctx _context.Context, operationId string) ApiGetImportSourcesSbomRequest

GetImportSourcesSbom list the packages of an imported source code repository

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param operationId
@return ApiGetImportSourcesSbomRequest

func (*ImportsApiService) GetImportSourcesSbomExecute

Execute executes the request

@return SourceImportContentResponse

func (*ImportsApiService) GetOperation

func (a *ImportsApiService) GetOperation(ctx _context.Context, operationId string) ApiGetOperationRequest

GetOperation Get detail on a single import

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param operationId
@return ApiGetOperationRequest

func (*ImportsApiService) GetOperationExecute

Execute executes the request

@return SourceImportOperation

func (*ImportsApiService) InvalidateOperation

func (a *ImportsApiService) InvalidateOperation(ctx _context.Context, operationId string) ApiInvalidateOperationRequest

InvalidateOperation Invalidate operation ID so it can be garbage collected

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param operationId
@return ApiInvalidateOperationRequest

func (*ImportsApiService) InvalidateOperationExecute

Execute executes the request

@return SourceImportOperation

func (*ImportsApiService) ListOperations

ListOperations Lists in-progress imports

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListOperationsRequest

func (*ImportsApiService) ListOperationsExecute

Execute executes the request

@return []SourceImportOperation

func (*ImportsApiService) UploadImportSourcesSbom

func (a *ImportsApiService) UploadImportSourcesSbom(ctx _context.Context, operationId string) ApiUploadImportSourcesSbomRequest

UploadImportSourcesSbom Begin the import of a source code repository analyzed by Syft into the system

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param operationId
@return ApiUploadImportSourcesSbomRequest

func (*ImportsApiService) UploadImportSourcesSbomExecute

Execute executes the request

@return SourceImportContentResponse

type InventoriesApi

type InventoriesApi interface {

	/*
		DeleteInventory Delete runtime inventory by type and context

		Delete runtime inventory by type and context

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiDeleteInventoryRequest
	*/
	DeleteInventory(ctx _context.Context) ApiDeleteInventoryRequest

	// DeleteInventoryExecute executes the request
	DeleteInventoryExecute(r ApiDeleteInventoryRequest) (*_nethttp.Response, error)

	/*
		GetImageInventory Return a list of the images in inventories for this account

		Returns a list of the images that are in use

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiGetImageInventoryRequest
	*/
	GetImageInventory(ctx _context.Context) ApiGetImageInventoryRequest

	// GetImageInventoryExecute executes the request
	//  @return []InventoryItem
	GetImageInventoryExecute(r ApiGetImageInventoryRequest) ([]InventoryItem, *_nethttp.Response, error)

	/*
		PostEcsInventory Add container metadata from Amazon ECS

		Add container metadata from Amazon ECS

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiPostEcsInventoryRequest
	*/
	PostEcsInventory(ctx _context.Context) ApiPostEcsInventoryRequest

	// PostEcsInventoryExecute executes the request
	PostEcsInventoryExecute(r ApiPostEcsInventoryRequest) (*_nethttp.Response, error)

	/*
		PostKubernetesInventory Add container metadata from a Kubernetes deployment

		Add container metadata from a Kubernetes deployment

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiPostKubernetesInventoryRequest
	*/
	PostKubernetesInventory(ctx _context.Context) ApiPostKubernetesInventoryRequest

	// PostKubernetesInventoryExecute executes the request
	PostKubernetesInventoryExecute(r ApiPostKubernetesInventoryRequest) (*_nethttp.Response, error)

	/*
		SyncImageInventory synchronizes the list of the images in a given cluster for the inventory

		synchronizes the list of the images that are in use

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiSyncImageInventoryRequest
	*/
	SyncImageInventory(ctx _context.Context) ApiSyncImageInventoryRequest

	// SyncImageInventoryExecute executes the request
	//  @return []InventoryItem
	SyncImageInventoryExecute(r ApiSyncImageInventoryRequest) ([]InventoryItem, *_nethttp.Response, error)
}

type InventoriesApiService

type InventoriesApiService service

InventoriesApiService InventoriesApi service

func (*InventoriesApiService) DeleteInventory

DeleteInventory Delete runtime inventory by type and context

Delete runtime inventory by type and context

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteInventoryRequest

func (*InventoriesApiService) DeleteInventoryExecute

func (a *InventoriesApiService) DeleteInventoryExecute(r ApiDeleteInventoryRequest) (*_nethttp.Response, error)

Execute executes the request

func (*InventoriesApiService) GetImageInventory

GetImageInventory Return a list of the images in inventories for this account

Returns a list of the images that are in use

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetImageInventoryRequest

func (*InventoriesApiService) GetImageInventoryExecute

Execute executes the request

@return []InventoryItem

func (*InventoriesApiService) PostEcsInventory

PostEcsInventory Add container metadata from Amazon ECS

Add container metadata from Amazon ECS

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostEcsInventoryRequest

func (*InventoriesApiService) PostEcsInventoryExecute

func (a *InventoriesApiService) PostEcsInventoryExecute(r ApiPostEcsInventoryRequest) (*_nethttp.Response, error)

Execute executes the request

func (*InventoriesApiService) PostKubernetesInventory

PostKubernetesInventory Add container metadata from a Kubernetes deployment

Add container metadata from a Kubernetes deployment

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostKubernetesInventoryRequest

func (*InventoriesApiService) PostKubernetesInventoryExecute

func (a *InventoriesApiService) PostKubernetesInventoryExecute(r ApiPostKubernetesInventoryRequest) (*_nethttp.Response, error)

Execute executes the request

func (*InventoriesApiService) SyncImageInventory

SyncImageInventory synchronizes the list of the images in a given cluster for the inventory

synchronizes the list of the images that are in use

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSyncImageInventoryRequest

func (*InventoriesApiService) SyncImageInventoryExecute

Execute executes the request

@return []InventoryItem

type InventoryItem

type InventoryItem struct {
	InventoryType *string    `json:"inventory_type,omitempty"`
	Context       *string    `json:"context,omitempty"`
	ImageTag      *string    `json:"image_tag,omitempty"`
	ImageDigest   *string    `json:"image_digest,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	LastUpdated   *time.Time `json:"last_updated,omitempty"`
	LastSeen      *time.Time `json:"last_seen,omitempty"`
}

InventoryItem Inventory result for a specific Namespace

func NewInventoryItem

func NewInventoryItem() *InventoryItem

NewInventoryItem instantiates a new InventoryItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInventoryItemWithDefaults

func NewInventoryItemWithDefaults() *InventoryItem

NewInventoryItemWithDefaults instantiates a new InventoryItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InventoryItem) GetContext

func (o *InventoryItem) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*InventoryItem) GetContextOk

func (o *InventoryItem) GetContextOk() (*string, bool)

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetCreatedAt

func (o *InventoryItem) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*InventoryItem) GetCreatedAtOk

func (o *InventoryItem) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetImageDigest

func (o *InventoryItem) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*InventoryItem) GetImageDigestOk

func (o *InventoryItem) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetImageTag

func (o *InventoryItem) GetImageTag() string

GetImageTag returns the ImageTag field value if set, zero value otherwise.

func (*InventoryItem) GetImageTagOk

func (o *InventoryItem) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetInventoryType

func (o *InventoryItem) GetInventoryType() string

GetInventoryType returns the InventoryType field value if set, zero value otherwise.

func (*InventoryItem) GetInventoryTypeOk

func (o *InventoryItem) GetInventoryTypeOk() (*string, bool)

GetInventoryTypeOk returns a tuple with the InventoryType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetLastSeen

func (o *InventoryItem) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value if set, zero value otherwise.

func (*InventoryItem) GetLastSeenOk

func (o *InventoryItem) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) GetLastUpdated

func (o *InventoryItem) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*InventoryItem) GetLastUpdatedOk

func (o *InventoryItem) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryItem) HasContext

func (o *InventoryItem) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*InventoryItem) HasCreatedAt

func (o *InventoryItem) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*InventoryItem) HasImageDigest

func (o *InventoryItem) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*InventoryItem) HasImageTag

func (o *InventoryItem) HasImageTag() bool

HasImageTag returns a boolean if a field has been set.

func (*InventoryItem) HasInventoryType

func (o *InventoryItem) HasInventoryType() bool

HasInventoryType returns a boolean if a field has been set.

func (*InventoryItem) HasLastSeen

func (o *InventoryItem) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

func (*InventoryItem) HasLastUpdated

func (o *InventoryItem) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (InventoryItem) MarshalJSON

func (o InventoryItem) MarshalJSON() ([]byte, error)

func (*InventoryItem) SetContext

func (o *InventoryItem) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*InventoryItem) SetCreatedAt

func (o *InventoryItem) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*InventoryItem) SetImageDigest

func (o *InventoryItem) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*InventoryItem) SetImageTag

func (o *InventoryItem) SetImageTag(v string)

SetImageTag gets a reference to the given string and assigns it to the ImageTag field.

func (*InventoryItem) SetInventoryType

func (o *InventoryItem) SetInventoryType(v string)

SetInventoryType gets a reference to the given string and assigns it to the InventoryType field.

func (*InventoryItem) SetLastSeen

func (o *InventoryItem) SetLastSeen(v time.Time)

SetLastSeen gets a reference to the given time.Time and assigns it to the LastSeen field.

func (*InventoryItem) SetLastUpdated

func (o *InventoryItem) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

type InventoryReport

type InventoryReport struct {
	ClusterName   *string                `json:"cluster_name,omitempty"`
	InventoryType *string                `json:"inventory_type,omitempty"`
	Timestamp     *time.Time             `json:"timestamp,omitempty"`
	Results       *[]InventoryReportItem `json:"results,omitempty"`
}

InventoryReport Defines the object that Nextlinux expects to be provided for a given Image Inventory

func NewInventoryReport

func NewInventoryReport() *InventoryReport

NewInventoryReport instantiates a new InventoryReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInventoryReportWithDefaults

func NewInventoryReportWithDefaults() *InventoryReport

NewInventoryReportWithDefaults instantiates a new InventoryReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InventoryReport) GetClusterName

func (o *InventoryReport) GetClusterName() string

GetClusterName returns the ClusterName field value if set, zero value otherwise.

func (*InventoryReport) GetClusterNameOk

func (o *InventoryReport) GetClusterNameOk() (*string, bool)

GetClusterNameOk returns a tuple with the ClusterName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReport) GetInventoryType

func (o *InventoryReport) GetInventoryType() string

GetInventoryType returns the InventoryType field value if set, zero value otherwise.

func (*InventoryReport) GetInventoryTypeOk

func (o *InventoryReport) GetInventoryTypeOk() (*string, bool)

GetInventoryTypeOk returns a tuple with the InventoryType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReport) GetResults

func (o *InventoryReport) GetResults() []InventoryReportItem

GetResults returns the Results field value if set, zero value otherwise.

func (*InventoryReport) GetResultsOk

func (o *InventoryReport) GetResultsOk() (*[]InventoryReportItem, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReport) GetTimestamp

func (o *InventoryReport) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*InventoryReport) GetTimestampOk

func (o *InventoryReport) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReport) HasClusterName

func (o *InventoryReport) HasClusterName() bool

HasClusterName returns a boolean if a field has been set.

func (*InventoryReport) HasInventoryType

func (o *InventoryReport) HasInventoryType() bool

HasInventoryType returns a boolean if a field has been set.

func (*InventoryReport) HasResults

func (o *InventoryReport) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*InventoryReport) HasTimestamp

func (o *InventoryReport) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (InventoryReport) MarshalJSON

func (o InventoryReport) MarshalJSON() ([]byte, error)

func (*InventoryReport) SetClusterName

func (o *InventoryReport) SetClusterName(v string)

SetClusterName gets a reference to the given string and assigns it to the ClusterName field.

func (*InventoryReport) SetInventoryType

func (o *InventoryReport) SetInventoryType(v string)

SetInventoryType gets a reference to the given string and assigns it to the InventoryType field.

func (*InventoryReport) SetResults

func (o *InventoryReport) SetResults(v []InventoryReportItem)

SetResults gets a reference to the given []InventoryReportItem and assigns it to the Results field.

func (*InventoryReport) SetTimestamp

func (o *InventoryReport) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

type InventoryReportImage

type InventoryReportImage struct {
	// The tag name of the image. Must have more than one character.
	Tag string `json:"tag"`
	// the image digest
	RepoDigest *string `json:"repoDigest,omitempty"`
}

InventoryReportImage defines an image that may be provided for image inventory

func NewInventoryReportImage

func NewInventoryReportImage(tag string) *InventoryReportImage

NewInventoryReportImage instantiates a new InventoryReportImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInventoryReportImageWithDefaults

func NewInventoryReportImageWithDefaults() *InventoryReportImage

NewInventoryReportImageWithDefaults instantiates a new InventoryReportImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InventoryReportImage) GetRepoDigest

func (o *InventoryReportImage) GetRepoDigest() string

GetRepoDigest returns the RepoDigest field value if set, zero value otherwise.

func (*InventoryReportImage) GetRepoDigestOk

func (o *InventoryReportImage) GetRepoDigestOk() (*string, bool)

GetRepoDigestOk returns a tuple with the RepoDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReportImage) GetTag

func (o *InventoryReportImage) GetTag() string

GetTag returns the Tag field value

func (*InventoryReportImage) GetTagOk

func (o *InventoryReportImage) GetTagOk() (*string, bool)

GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set.

func (*InventoryReportImage) HasRepoDigest

func (o *InventoryReportImage) HasRepoDigest() bool

HasRepoDigest returns a boolean if a field has been set.

func (InventoryReportImage) MarshalJSON

func (o InventoryReportImage) MarshalJSON() ([]byte, error)

func (*InventoryReportImage) SetRepoDigest

func (o *InventoryReportImage) SetRepoDigest(v string)

SetRepoDigest gets a reference to the given string and assigns it to the RepoDigest field.

func (*InventoryReportImage) SetTag

func (o *InventoryReportImage) SetTag(v string)

SetTag sets field value

type InventoryReportItem

type InventoryReportItem struct {
	Namespace *string                 `json:"namespace,omitempty"`
	Images    *[]InventoryReportImage `json:"images,omitempty"`
}

InventoryReportItem Defines a particular context for an inventory

func NewInventoryReportItem

func NewInventoryReportItem() *InventoryReportItem

NewInventoryReportItem instantiates a new InventoryReportItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInventoryReportItemWithDefaults

func NewInventoryReportItemWithDefaults() *InventoryReportItem

NewInventoryReportItemWithDefaults instantiates a new InventoryReportItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InventoryReportItem) GetImages

func (o *InventoryReportItem) GetImages() []InventoryReportImage

GetImages returns the Images field value if set, zero value otherwise.

func (*InventoryReportItem) GetImagesOk

func (o *InventoryReportItem) GetImagesOk() (*[]InventoryReportImage, bool)

GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReportItem) GetNamespace

func (o *InventoryReportItem) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*InventoryReportItem) GetNamespaceOk

func (o *InventoryReportItem) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InventoryReportItem) HasImages

func (o *InventoryReportItem) HasImages() bool

HasImages returns a boolean if a field has been set.

func (*InventoryReportItem) HasNamespace

func (o *InventoryReportItem) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (InventoryReportItem) MarshalJSON

func (o InventoryReportItem) MarshalJSON() ([]byte, error)

func (*InventoryReportItem) SetImages

func (o *InventoryReportItem) SetImages(v []InventoryReportImage)

SetImages gets a reference to the given []InventoryReportImage and assigns it to the Images field.

func (*InventoryReportItem) SetNamespace

func (o *InventoryReportItem) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

type JsonPatchAdd

type JsonPatchAdd struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
	// A valid json value, can be any valid json type
	Value interface{} `json:"value"`
}

JsonPatchAdd The 'add' operation per RFC6902

func NewJsonPatchAdd

func NewJsonPatchAdd(op string, path string, value interface{}) *JsonPatchAdd

NewJsonPatchAdd instantiates a new JsonPatchAdd object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchAddWithDefaults

func NewJsonPatchAddWithDefaults() *JsonPatchAdd

NewJsonPatchAddWithDefaults instantiates a new JsonPatchAdd object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchAdd) GetId

func (o *JsonPatchAdd) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchAdd) GetIdOk

func (o *JsonPatchAdd) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchAdd) GetOp

func (o *JsonPatchAdd) GetOp() string

GetOp returns the Op field value

func (*JsonPatchAdd) GetOpOk

func (o *JsonPatchAdd) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchAdd) GetPath

func (o *JsonPatchAdd) GetPath() string

GetPath returns the Path field value

func (*JsonPatchAdd) GetPathOk

func (o *JsonPatchAdd) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchAdd) GetValue

func (o *JsonPatchAdd) GetValue() interface{}

GetValue returns the Value field value

func (*JsonPatchAdd) GetValueOk

func (o *JsonPatchAdd) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*JsonPatchAdd) HasId

func (o *JsonPatchAdd) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchAdd) MarshalJSON

func (o JsonPatchAdd) MarshalJSON() ([]byte, error)

func (*JsonPatchAdd) SetId

func (o *JsonPatchAdd) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchAdd) SetOp

func (o *JsonPatchAdd) SetOp(v string)

SetOp sets field value

func (*JsonPatchAdd) SetPath

func (o *JsonPatchAdd) SetPath(v string)

SetPath sets field value

func (*JsonPatchAdd) SetValue

func (o *JsonPatchAdd) SetValue(v interface{})

SetValue sets field value

type JsonPatchCopy

type JsonPatchCopy struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
	// A JSONPointer per RFC6901
	From string `json:"from"`
}

JsonPatchCopy The 'copy' operation per RFC6902

func NewJsonPatchCopy

func NewJsonPatchCopy(op string, path string, from string) *JsonPatchCopy

NewJsonPatchCopy instantiates a new JsonPatchCopy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchCopyWithDefaults

func NewJsonPatchCopyWithDefaults() *JsonPatchCopy

NewJsonPatchCopyWithDefaults instantiates a new JsonPatchCopy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchCopy) GetFrom

func (o *JsonPatchCopy) GetFrom() string

GetFrom returns the From field value

func (*JsonPatchCopy) GetFromOk

func (o *JsonPatchCopy) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*JsonPatchCopy) GetId

func (o *JsonPatchCopy) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchCopy) GetIdOk

func (o *JsonPatchCopy) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchCopy) GetOp

func (o *JsonPatchCopy) GetOp() string

GetOp returns the Op field value

func (*JsonPatchCopy) GetOpOk

func (o *JsonPatchCopy) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchCopy) GetPath

func (o *JsonPatchCopy) GetPath() string

GetPath returns the Path field value

func (*JsonPatchCopy) GetPathOk

func (o *JsonPatchCopy) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchCopy) HasId

func (o *JsonPatchCopy) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchCopy) MarshalJSON

func (o JsonPatchCopy) MarshalJSON() ([]byte, error)

func (*JsonPatchCopy) SetFrom

func (o *JsonPatchCopy) SetFrom(v string)

SetFrom sets field value

func (*JsonPatchCopy) SetId

func (o *JsonPatchCopy) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchCopy) SetOp

func (o *JsonPatchCopy) SetOp(v string)

SetOp sets field value

func (*JsonPatchCopy) SetPath

func (o *JsonPatchCopy) SetPath(v string)

SetPath sets field value

type JsonPatchMove

type JsonPatchMove struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
	// A JSONPointer per RFC6901
	From string `json:"from"`
}

JsonPatchMove The 'move' operation per RFC6902

func NewJsonPatchMove

func NewJsonPatchMove(op string, path string, from string) *JsonPatchMove

NewJsonPatchMove instantiates a new JsonPatchMove object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchMoveWithDefaults

func NewJsonPatchMoveWithDefaults() *JsonPatchMove

NewJsonPatchMoveWithDefaults instantiates a new JsonPatchMove object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchMove) GetFrom

func (o *JsonPatchMove) GetFrom() string

GetFrom returns the From field value

func (*JsonPatchMove) GetFromOk

func (o *JsonPatchMove) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*JsonPatchMove) GetId

func (o *JsonPatchMove) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchMove) GetIdOk

func (o *JsonPatchMove) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchMove) GetOp

func (o *JsonPatchMove) GetOp() string

GetOp returns the Op field value

func (*JsonPatchMove) GetOpOk

func (o *JsonPatchMove) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchMove) GetPath

func (o *JsonPatchMove) GetPath() string

GetPath returns the Path field value

func (*JsonPatchMove) GetPathOk

func (o *JsonPatchMove) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchMove) HasId

func (o *JsonPatchMove) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchMove) MarshalJSON

func (o JsonPatchMove) MarshalJSON() ([]byte, error)

func (*JsonPatchMove) SetFrom

func (o *JsonPatchMove) SetFrom(v string)

SetFrom sets field value

func (*JsonPatchMove) SetId

func (o *JsonPatchMove) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchMove) SetOp

func (o *JsonPatchMove) SetOp(v string)

SetOp sets field value

func (*JsonPatchMove) SetPath

func (o *JsonPatchMove) SetPath(v string)

SetPath sets field value

type JsonPatchRemove

type JsonPatchRemove struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
}

JsonPatchRemove The 'remove' operation per RFC6902

func NewJsonPatchRemove

func NewJsonPatchRemove(op string, path string) *JsonPatchRemove

NewJsonPatchRemove instantiates a new JsonPatchRemove object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchRemoveWithDefaults

func NewJsonPatchRemoveWithDefaults() *JsonPatchRemove

NewJsonPatchRemoveWithDefaults instantiates a new JsonPatchRemove object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchRemove) GetId

func (o *JsonPatchRemove) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchRemove) GetIdOk

func (o *JsonPatchRemove) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchRemove) GetOp

func (o *JsonPatchRemove) GetOp() string

GetOp returns the Op field value

func (*JsonPatchRemove) GetOpOk

func (o *JsonPatchRemove) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchRemove) GetPath

func (o *JsonPatchRemove) GetPath() string

GetPath returns the Path field value

func (*JsonPatchRemove) GetPathOk

func (o *JsonPatchRemove) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchRemove) HasId

func (o *JsonPatchRemove) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchRemove) MarshalJSON

func (o JsonPatchRemove) MarshalJSON() ([]byte, error)

func (*JsonPatchRemove) SetId

func (o *JsonPatchRemove) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchRemove) SetOp

func (o *JsonPatchRemove) SetOp(v string)

SetOp sets field value

func (*JsonPatchRemove) SetPath

func (o *JsonPatchRemove) SetPath(v string)

SetPath sets field value

type JsonPatchReplace

type JsonPatchReplace struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
	// A valid json value, can be any valid json type
	Value interface{} `json:"value"`
}

JsonPatchReplace The 'replace' operation per RFC6902

func NewJsonPatchReplace

func NewJsonPatchReplace(op string, path string, value interface{}) *JsonPatchReplace

NewJsonPatchReplace instantiates a new JsonPatchReplace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchReplaceWithDefaults

func NewJsonPatchReplaceWithDefaults() *JsonPatchReplace

NewJsonPatchReplaceWithDefaults instantiates a new JsonPatchReplace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchReplace) GetId

func (o *JsonPatchReplace) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchReplace) GetIdOk

func (o *JsonPatchReplace) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchReplace) GetOp

func (o *JsonPatchReplace) GetOp() string

GetOp returns the Op field value

func (*JsonPatchReplace) GetOpOk

func (o *JsonPatchReplace) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchReplace) GetPath

func (o *JsonPatchReplace) GetPath() string

GetPath returns the Path field value

func (*JsonPatchReplace) GetPathOk

func (o *JsonPatchReplace) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchReplace) GetValue

func (o *JsonPatchReplace) GetValue() interface{}

GetValue returns the Value field value

func (*JsonPatchReplace) GetValueOk

func (o *JsonPatchReplace) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*JsonPatchReplace) HasId

func (o *JsonPatchReplace) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchReplace) MarshalJSON

func (o JsonPatchReplace) MarshalJSON() ([]byte, error)

func (*JsonPatchReplace) SetId

func (o *JsonPatchReplace) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchReplace) SetOp

func (o *JsonPatchReplace) SetOp(v string)

SetOp sets field value

func (*JsonPatchReplace) SetPath

func (o *JsonPatchReplace) SetPath(v string)

SetPath sets field value

func (*JsonPatchReplace) SetValue

func (o *JsonPatchReplace) SetValue(v interface{})

SetValue sets field value

type JsonPatchTest

type JsonPatchTest struct {
	// Operation ID, referenced for ordering in the
	Id *string `json:"id,omitempty"`
	Op string  `json:"op"`
	// A JSONPointer per RFC6901
	Path string `json:"path"`
	// Expected value for test
	Value interface{} `json:"value"`
}

JsonPatchTest The 'test' operation per RFC6902

func NewJsonPatchTest

func NewJsonPatchTest(op string, path string, value interface{}) *JsonPatchTest

NewJsonPatchTest instantiates a new JsonPatchTest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJsonPatchTestWithDefaults

func NewJsonPatchTestWithDefaults() *JsonPatchTest

NewJsonPatchTestWithDefaults instantiates a new JsonPatchTest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JsonPatchTest) GetId

func (o *JsonPatchTest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JsonPatchTest) GetIdOk

func (o *JsonPatchTest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JsonPatchTest) GetOp

func (o *JsonPatchTest) GetOp() string

GetOp returns the Op field value

func (*JsonPatchTest) GetOpOk

func (o *JsonPatchTest) GetOpOk() (*string, bool)

GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.

func (*JsonPatchTest) GetPath

func (o *JsonPatchTest) GetPath() string

GetPath returns the Path field value

func (*JsonPatchTest) GetPathOk

func (o *JsonPatchTest) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*JsonPatchTest) GetValue

func (o *JsonPatchTest) GetValue() interface{}

GetValue returns the Value field value

func (*JsonPatchTest) GetValueOk

func (o *JsonPatchTest) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*JsonPatchTest) HasId

func (o *JsonPatchTest) HasId() bool

HasId returns a boolean if a field has been set.

func (JsonPatchTest) MarshalJSON

func (o JsonPatchTest) MarshalJSON() ([]byte, error)

func (*JsonPatchTest) SetId

func (o *JsonPatchTest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JsonPatchTest) SetOp

func (o *JsonPatchTest) SetOp(v string)

SetOp sets field value

func (*JsonPatchTest) SetPath

func (o *JsonPatchTest) SetPath(v string)

SetPath sets field value

func (*JsonPatchTest) SetValue

func (o *JsonPatchTest) SetValue(v interface{})

SetValue sets field value

type KubernetesInventory

type KubernetesInventory struct {
	ClusterName string                           `json:"cluster_name"`
	Timestamp   time.Time                        `json:"timestamp"`
	Namespaces  *[]KubernetesInventoryNamespaces `json:"namespaces,omitempty"`
	Nodes       *[]KubernetesInventoryNodes      `json:"nodes,omitempty"`
	Pods        *[]KubernetesInventoryPods       `json:"pods,omitempty"`
	Containers  *[]KubernetesInventoryContainers `json:"containers,omitempty"`
}

KubernetesInventory struct for KubernetesInventory

func NewKubernetesInventory

func NewKubernetesInventory(clusterName string, timestamp time.Time) *KubernetesInventory

NewKubernetesInventory instantiates a new KubernetesInventory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesInventoryWithDefaults

func NewKubernetesInventoryWithDefaults() *KubernetesInventory

NewKubernetesInventoryWithDefaults instantiates a new KubernetesInventory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesInventory) GetClusterName

func (o *KubernetesInventory) GetClusterName() string

GetClusterName returns the ClusterName field value

func (*KubernetesInventory) GetClusterNameOk

func (o *KubernetesInventory) GetClusterNameOk() (*string, bool)

GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.

func (*KubernetesInventory) GetContainers

GetContainers returns the Containers field value if set, zero value otherwise.

func (*KubernetesInventory) GetContainersOk

func (o *KubernetesInventory) GetContainersOk() (*[]KubernetesInventoryContainers, bool)

GetContainersOk returns a tuple with the Containers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventory) GetNamespaces

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*KubernetesInventory) GetNamespacesOk

func (o *KubernetesInventory) GetNamespacesOk() (*[]KubernetesInventoryNamespaces, bool)

GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventory) GetNodes

GetNodes returns the Nodes field value if set, zero value otherwise.

func (*KubernetesInventory) GetNodesOk

func (o *KubernetesInventory) GetNodesOk() (*[]KubernetesInventoryNodes, bool)

GetNodesOk returns a tuple with the Nodes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventory) GetPods

GetPods returns the Pods field value if set, zero value otherwise.

func (*KubernetesInventory) GetPodsOk

func (o *KubernetesInventory) GetPodsOk() (*[]KubernetesInventoryPods, bool)

GetPodsOk returns a tuple with the Pods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventory) GetTimestamp

func (o *KubernetesInventory) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*KubernetesInventory) GetTimestampOk

func (o *KubernetesInventory) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*KubernetesInventory) HasContainers

func (o *KubernetesInventory) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*KubernetesInventory) HasNamespaces

func (o *KubernetesInventory) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (*KubernetesInventory) HasNodes

func (o *KubernetesInventory) HasNodes() bool

HasNodes returns a boolean if a field has been set.

func (*KubernetesInventory) HasPods

func (o *KubernetesInventory) HasPods() bool

HasPods returns a boolean if a field has been set.

func (KubernetesInventory) MarshalJSON

func (o KubernetesInventory) MarshalJSON() ([]byte, error)

func (*KubernetesInventory) SetClusterName

func (o *KubernetesInventory) SetClusterName(v string)

SetClusterName sets field value

func (*KubernetesInventory) SetContainers

func (o *KubernetesInventory) SetContainers(v []KubernetesInventoryContainers)

SetContainers gets a reference to the given []KubernetesInventoryContainers and assigns it to the Containers field.

func (*KubernetesInventory) SetNamespaces

func (o *KubernetesInventory) SetNamespaces(v []KubernetesInventoryNamespaces)

SetNamespaces gets a reference to the given []KubernetesInventoryNamespaces and assigns it to the Namespaces field.

func (*KubernetesInventory) SetNodes

SetNodes gets a reference to the given []KubernetesInventoryNodes and assigns it to the Nodes field.

func (*KubernetesInventory) SetPods

SetPods gets a reference to the given []KubernetesInventoryPods and assigns it to the Pods field.

func (*KubernetesInventory) SetTimestamp

func (o *KubernetesInventory) SetTimestamp(v time.Time)

SetTimestamp sets field value

type KubernetesInventoryContainers

type KubernetesInventoryContainers struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	ImageTag    string  `json:"image_tag"`
	ImageDigest *string `json:"image_digest,omitempty"`
	PodUid      string  `json:"pod_uid"`
}

KubernetesInventoryContainers struct for KubernetesInventoryContainers

func NewKubernetesInventoryContainers

func NewKubernetesInventoryContainers(id string, name string, imageTag string, podUid string) *KubernetesInventoryContainers

NewKubernetesInventoryContainers instantiates a new KubernetesInventoryContainers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesInventoryContainersWithDefaults

func NewKubernetesInventoryContainersWithDefaults() *KubernetesInventoryContainers

NewKubernetesInventoryContainersWithDefaults instantiates a new KubernetesInventoryContainers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesInventoryContainers) GetId

GetId returns the Id field value

func (*KubernetesInventoryContainers) GetIdOk

func (o *KubernetesInventoryContainers) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*KubernetesInventoryContainers) GetImageDigest

func (o *KubernetesInventoryContainers) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*KubernetesInventoryContainers) GetImageDigestOk

func (o *KubernetesInventoryContainers) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryContainers) GetImageTag

func (o *KubernetesInventoryContainers) GetImageTag() string

GetImageTag returns the ImageTag field value

func (*KubernetesInventoryContainers) GetImageTagOk

func (o *KubernetesInventoryContainers) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value and a boolean to check if the value has been set.

func (*KubernetesInventoryContainers) GetName

GetName returns the Name field value

func (*KubernetesInventoryContainers) GetNameOk

func (o *KubernetesInventoryContainers) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*KubernetesInventoryContainers) GetPodUid

func (o *KubernetesInventoryContainers) GetPodUid() string

GetPodUid returns the PodUid field value

func (*KubernetesInventoryContainers) GetPodUidOk

func (o *KubernetesInventoryContainers) GetPodUidOk() (*string, bool)

GetPodUidOk returns a tuple with the PodUid field value and a boolean to check if the value has been set.

func (*KubernetesInventoryContainers) HasImageDigest

func (o *KubernetesInventoryContainers) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (KubernetesInventoryContainers) MarshalJSON

func (o KubernetesInventoryContainers) MarshalJSON() ([]byte, error)

func (*KubernetesInventoryContainers) SetId

SetId sets field value

func (*KubernetesInventoryContainers) SetImageDigest

func (o *KubernetesInventoryContainers) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*KubernetesInventoryContainers) SetImageTag

func (o *KubernetesInventoryContainers) SetImageTag(v string)

SetImageTag sets field value

func (*KubernetesInventoryContainers) SetName

func (o *KubernetesInventoryContainers) SetName(v string)

SetName sets field value

func (*KubernetesInventoryContainers) SetPodUid

func (o *KubernetesInventoryContainers) SetPodUid(v string)

SetPodUid sets field value

type KubernetesInventoryNamespaces

type KubernetesInventoryNamespaces struct {
	Uid         string             `json:"uid"`
	Name        string             `json:"name"`
	Labels      *map[string]string `json:"labels,omitempty"`
	Annotations *map[string]string `json:"annotations,omitempty"`
}

KubernetesInventoryNamespaces struct for KubernetesInventoryNamespaces

func NewKubernetesInventoryNamespaces

func NewKubernetesInventoryNamespaces(uid string, name string) *KubernetesInventoryNamespaces

NewKubernetesInventoryNamespaces instantiates a new KubernetesInventoryNamespaces object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesInventoryNamespacesWithDefaults

func NewKubernetesInventoryNamespacesWithDefaults() *KubernetesInventoryNamespaces

NewKubernetesInventoryNamespacesWithDefaults instantiates a new KubernetesInventoryNamespaces object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesInventoryNamespaces) GetAnnotations

func (o *KubernetesInventoryNamespaces) GetAnnotations() map[string]string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*KubernetesInventoryNamespaces) GetAnnotationsOk

func (o *KubernetesInventoryNamespaces) GetAnnotationsOk() (*map[string]string, bool)

GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNamespaces) GetLabels

func (o *KubernetesInventoryNamespaces) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*KubernetesInventoryNamespaces) GetLabelsOk

func (o *KubernetesInventoryNamespaces) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNamespaces) GetName

GetName returns the Name field value

func (*KubernetesInventoryNamespaces) GetNameOk

func (o *KubernetesInventoryNamespaces) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*KubernetesInventoryNamespaces) GetUid

GetUid returns the Uid field value

func (*KubernetesInventoryNamespaces) GetUidOk

func (o *KubernetesInventoryNamespaces) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.

func (*KubernetesInventoryNamespaces) HasAnnotations

func (o *KubernetesInventoryNamespaces) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*KubernetesInventoryNamespaces) HasLabels

func (o *KubernetesInventoryNamespaces) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (KubernetesInventoryNamespaces) MarshalJSON

func (o KubernetesInventoryNamespaces) MarshalJSON() ([]byte, error)

func (*KubernetesInventoryNamespaces) SetAnnotations

func (o *KubernetesInventoryNamespaces) SetAnnotations(v map[string]string)

SetAnnotations gets a reference to the given map[string]string and assigns it to the Annotations field.

func (*KubernetesInventoryNamespaces) SetLabels

func (o *KubernetesInventoryNamespaces) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*KubernetesInventoryNamespaces) SetName

func (o *KubernetesInventoryNamespaces) SetName(v string)

SetName sets field value

func (*KubernetesInventoryNamespaces) SetUid

SetUid sets field value

type KubernetesInventoryNodes

type KubernetesInventoryNodes struct {
	Uid                     string             `json:"uid"`
	Name                    string             `json:"name"`
	Labels                  *map[string]string `json:"labels,omitempty"`
	Annotations             *map[string]string `json:"annotations,omitempty"`
	KernelVersion           *string            `json:"kernel_version,omitempty"`
	KubernetesVersion       *string            `json:"kubernetes_version,omitempty"`
	Arch                    *string            `json:"arch,omitempty"`
	ContainerRuntimeVersion *string            `json:"container_runtime_version,omitempty"`
	KubeProxyVersion        *string            `json:"kube_proxy_version,omitempty"`
	KubeletVersion          *string            `json:"kubelet_version,omitempty"`
	OperatingSystem         *string            `json:"operating_system,omitempty"`
}

KubernetesInventoryNodes struct for KubernetesInventoryNodes

func NewKubernetesInventoryNodes

func NewKubernetesInventoryNodes(uid string, name string) *KubernetesInventoryNodes

NewKubernetesInventoryNodes instantiates a new KubernetesInventoryNodes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesInventoryNodesWithDefaults

func NewKubernetesInventoryNodesWithDefaults() *KubernetesInventoryNodes

NewKubernetesInventoryNodesWithDefaults instantiates a new KubernetesInventoryNodes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesInventoryNodes) GetAnnotations

func (o *KubernetesInventoryNodes) GetAnnotations() map[string]string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetAnnotationsOk

func (o *KubernetesInventoryNodes) GetAnnotationsOk() (*map[string]string, bool)

GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetArch

func (o *KubernetesInventoryNodes) GetArch() string

GetArch returns the Arch field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetArchOk

func (o *KubernetesInventoryNodes) GetArchOk() (*string, bool)

GetArchOk returns a tuple with the Arch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetContainerRuntimeVersion

func (o *KubernetesInventoryNodes) GetContainerRuntimeVersion() string

GetContainerRuntimeVersion returns the ContainerRuntimeVersion field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetContainerRuntimeVersionOk

func (o *KubernetesInventoryNodes) GetContainerRuntimeVersionOk() (*string, bool)

GetContainerRuntimeVersionOk returns a tuple with the ContainerRuntimeVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetKernelVersion

func (o *KubernetesInventoryNodes) GetKernelVersion() string

GetKernelVersion returns the KernelVersion field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetKernelVersionOk

func (o *KubernetesInventoryNodes) GetKernelVersionOk() (*string, bool)

GetKernelVersionOk returns a tuple with the KernelVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetKubeProxyVersion

func (o *KubernetesInventoryNodes) GetKubeProxyVersion() string

GetKubeProxyVersion returns the KubeProxyVersion field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetKubeProxyVersionOk

func (o *KubernetesInventoryNodes) GetKubeProxyVersionOk() (*string, bool)

GetKubeProxyVersionOk returns a tuple with the KubeProxyVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetKubeletVersion

func (o *KubernetesInventoryNodes) GetKubeletVersion() string

GetKubeletVersion returns the KubeletVersion field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetKubeletVersionOk

func (o *KubernetesInventoryNodes) GetKubeletVersionOk() (*string, bool)

GetKubeletVersionOk returns a tuple with the KubeletVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetKubernetesVersion

func (o *KubernetesInventoryNodes) GetKubernetesVersion() string

GetKubernetesVersion returns the KubernetesVersion field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetKubernetesVersionOk

func (o *KubernetesInventoryNodes) GetKubernetesVersionOk() (*string, bool)

GetKubernetesVersionOk returns a tuple with the KubernetesVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetLabels

func (o *KubernetesInventoryNodes) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetLabelsOk

func (o *KubernetesInventoryNodes) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetName

func (o *KubernetesInventoryNodes) GetName() string

GetName returns the Name field value

func (*KubernetesInventoryNodes) GetNameOk

func (o *KubernetesInventoryNodes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetOperatingSystem

func (o *KubernetesInventoryNodes) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*KubernetesInventoryNodes) GetOperatingSystemOk

func (o *KubernetesInventoryNodes) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) GetUid

func (o *KubernetesInventoryNodes) GetUid() string

GetUid returns the Uid field value

func (*KubernetesInventoryNodes) GetUidOk

func (o *KubernetesInventoryNodes) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.

func (*KubernetesInventoryNodes) HasAnnotations

func (o *KubernetesInventoryNodes) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasArch

func (o *KubernetesInventoryNodes) HasArch() bool

HasArch returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasContainerRuntimeVersion

func (o *KubernetesInventoryNodes) HasContainerRuntimeVersion() bool

HasContainerRuntimeVersion returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasKernelVersion

func (o *KubernetesInventoryNodes) HasKernelVersion() bool

HasKernelVersion returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasKubeProxyVersion

func (o *KubernetesInventoryNodes) HasKubeProxyVersion() bool

HasKubeProxyVersion returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasKubeletVersion

func (o *KubernetesInventoryNodes) HasKubeletVersion() bool

HasKubeletVersion returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasKubernetesVersion

func (o *KubernetesInventoryNodes) HasKubernetesVersion() bool

HasKubernetesVersion returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasLabels

func (o *KubernetesInventoryNodes) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*KubernetesInventoryNodes) HasOperatingSystem

func (o *KubernetesInventoryNodes) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (KubernetesInventoryNodes) MarshalJSON

func (o KubernetesInventoryNodes) MarshalJSON() ([]byte, error)

func (*KubernetesInventoryNodes) SetAnnotations

func (o *KubernetesInventoryNodes) SetAnnotations(v map[string]string)

SetAnnotations gets a reference to the given map[string]string and assigns it to the Annotations field.

func (*KubernetesInventoryNodes) SetArch

func (o *KubernetesInventoryNodes) SetArch(v string)

SetArch gets a reference to the given string and assigns it to the Arch field.

func (*KubernetesInventoryNodes) SetContainerRuntimeVersion

func (o *KubernetesInventoryNodes) SetContainerRuntimeVersion(v string)

SetContainerRuntimeVersion gets a reference to the given string and assigns it to the ContainerRuntimeVersion field.

func (*KubernetesInventoryNodes) SetKernelVersion

func (o *KubernetesInventoryNodes) SetKernelVersion(v string)

SetKernelVersion gets a reference to the given string and assigns it to the KernelVersion field.

func (*KubernetesInventoryNodes) SetKubeProxyVersion

func (o *KubernetesInventoryNodes) SetKubeProxyVersion(v string)

SetKubeProxyVersion gets a reference to the given string and assigns it to the KubeProxyVersion field.

func (*KubernetesInventoryNodes) SetKubeletVersion

func (o *KubernetesInventoryNodes) SetKubeletVersion(v string)

SetKubeletVersion gets a reference to the given string and assigns it to the KubeletVersion field.

func (*KubernetesInventoryNodes) SetKubernetesVersion

func (o *KubernetesInventoryNodes) SetKubernetesVersion(v string)

SetKubernetesVersion gets a reference to the given string and assigns it to the KubernetesVersion field.

func (*KubernetesInventoryNodes) SetLabels

func (o *KubernetesInventoryNodes) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*KubernetesInventoryNodes) SetName

func (o *KubernetesInventoryNodes) SetName(v string)

SetName sets field value

func (*KubernetesInventoryNodes) SetOperatingSystem

func (o *KubernetesInventoryNodes) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*KubernetesInventoryNodes) SetUid

func (o *KubernetesInventoryNodes) SetUid(v string)

SetUid sets field value

type KubernetesInventoryPods

type KubernetesInventoryPods struct {
	Uid          string             `json:"uid"`
	Name         string             `json:"name"`
	NamespaceUid *string            `json:"namespace_uid,omitempty"`
	NodeUid      *string            `json:"node_uid,omitempty"`
	Labels       *map[string]string `json:"labels,omitempty"`
	Annotations  *map[string]string `json:"annotations,omitempty"`
}

KubernetesInventoryPods struct for KubernetesInventoryPods

func NewKubernetesInventoryPods

func NewKubernetesInventoryPods(uid string, name string) *KubernetesInventoryPods

NewKubernetesInventoryPods instantiates a new KubernetesInventoryPods object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesInventoryPodsWithDefaults

func NewKubernetesInventoryPodsWithDefaults() *KubernetesInventoryPods

NewKubernetesInventoryPodsWithDefaults instantiates a new KubernetesInventoryPods object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesInventoryPods) GetAnnotations

func (o *KubernetesInventoryPods) GetAnnotations() map[string]string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*KubernetesInventoryPods) GetAnnotationsOk

func (o *KubernetesInventoryPods) GetAnnotationsOk() (*map[string]string, bool)

GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) GetLabels

func (o *KubernetesInventoryPods) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*KubernetesInventoryPods) GetLabelsOk

func (o *KubernetesInventoryPods) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) GetName

func (o *KubernetesInventoryPods) GetName() string

GetName returns the Name field value

func (*KubernetesInventoryPods) GetNameOk

func (o *KubernetesInventoryPods) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) GetNamespaceUid

func (o *KubernetesInventoryPods) GetNamespaceUid() string

GetNamespaceUid returns the NamespaceUid field value if set, zero value otherwise.

func (*KubernetesInventoryPods) GetNamespaceUidOk

func (o *KubernetesInventoryPods) GetNamespaceUidOk() (*string, bool)

GetNamespaceUidOk returns a tuple with the NamespaceUid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) GetNodeUid

func (o *KubernetesInventoryPods) GetNodeUid() string

GetNodeUid returns the NodeUid field value if set, zero value otherwise.

func (*KubernetesInventoryPods) GetNodeUidOk

func (o *KubernetesInventoryPods) GetNodeUidOk() (*string, bool)

GetNodeUidOk returns a tuple with the NodeUid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) GetUid

func (o *KubernetesInventoryPods) GetUid() string

GetUid returns the Uid field value

func (*KubernetesInventoryPods) GetUidOk

func (o *KubernetesInventoryPods) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.

func (*KubernetesInventoryPods) HasAnnotations

func (o *KubernetesInventoryPods) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*KubernetesInventoryPods) HasLabels

func (o *KubernetesInventoryPods) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*KubernetesInventoryPods) HasNamespaceUid

func (o *KubernetesInventoryPods) HasNamespaceUid() bool

HasNamespaceUid returns a boolean if a field has been set.

func (*KubernetesInventoryPods) HasNodeUid

func (o *KubernetesInventoryPods) HasNodeUid() bool

HasNodeUid returns a boolean if a field has been set.

func (KubernetesInventoryPods) MarshalJSON

func (o KubernetesInventoryPods) MarshalJSON() ([]byte, error)

func (*KubernetesInventoryPods) SetAnnotations

func (o *KubernetesInventoryPods) SetAnnotations(v map[string]string)

SetAnnotations gets a reference to the given map[string]string and assigns it to the Annotations field.

func (*KubernetesInventoryPods) SetLabels

func (o *KubernetesInventoryPods) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*KubernetesInventoryPods) SetName

func (o *KubernetesInventoryPods) SetName(v string)

SetName sets field value

func (*KubernetesInventoryPods) SetNamespaceUid

func (o *KubernetesInventoryPods) SetNamespaceUid(v string)

SetNamespaceUid gets a reference to the given string and assigns it to the NamespaceUid field.

func (*KubernetesInventoryPods) SetNodeUid

func (o *KubernetesInventoryPods) SetNodeUid(v string)

SetNodeUid gets a reference to the given string and assigns it to the NodeUid field.

func (*KubernetesInventoryPods) SetUid

func (o *KubernetesInventoryPods) SetUid(v string)

SetUid sets field value

type KubernetesNamespaces

type KubernetesNamespaces struct {
	Namespaces *[]KubernetesNamespacesNamespaces `json:"namespaces,omitempty"`
}

KubernetesNamespaces Namespaces defined in Kubernetes

func NewKubernetesNamespaces

func NewKubernetesNamespaces() *KubernetesNamespaces

NewKubernetesNamespaces instantiates a new KubernetesNamespaces object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesNamespacesWithDefaults

func NewKubernetesNamespacesWithDefaults() *KubernetesNamespaces

NewKubernetesNamespacesWithDefaults instantiates a new KubernetesNamespaces object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesNamespaces) GetNamespaces

GetNamespaces returns the Namespaces field value if set, zero value otherwise.

func (*KubernetesNamespaces) GetNamespacesOk

func (o *KubernetesNamespaces) GetNamespacesOk() (*[]KubernetesNamespacesNamespaces, bool)

GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesNamespaces) HasNamespaces

func (o *KubernetesNamespaces) HasNamespaces() bool

HasNamespaces returns a boolean if a field has been set.

func (KubernetesNamespaces) MarshalJSON

func (o KubernetesNamespaces) MarshalJSON() ([]byte, error)

func (*KubernetesNamespaces) SetNamespaces

SetNamespaces gets a reference to the given []KubernetesNamespacesNamespaces and assigns it to the Namespaces field.

type KubernetesNamespacesNamespaces

type KubernetesNamespacesNamespaces struct {
	Uid         string            `json:"uid"`
	Name        string            `json:"name"`
	Labels      map[string]string `json:"labels"`
	Annotations map[string]string `json:"annotations"`
}

KubernetesNamespacesNamespaces struct for KubernetesNamespacesNamespaces

func NewKubernetesNamespacesNamespaces

func NewKubernetesNamespacesNamespaces(uid string, name string, labels map[string]string, annotations map[string]string) *KubernetesNamespacesNamespaces

NewKubernetesNamespacesNamespaces instantiates a new KubernetesNamespacesNamespaces object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesNamespacesNamespacesWithDefaults

func NewKubernetesNamespacesNamespacesWithDefaults() *KubernetesNamespacesNamespaces

NewKubernetesNamespacesNamespacesWithDefaults instantiates a new KubernetesNamespacesNamespaces object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesNamespacesNamespaces) GetAnnotations

func (o *KubernetesNamespacesNamespaces) GetAnnotations() map[string]string

GetAnnotations returns the Annotations field value

func (*KubernetesNamespacesNamespaces) GetAnnotationsOk

func (o *KubernetesNamespacesNamespaces) GetAnnotationsOk() (*map[string]string, bool)

GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set.

func (*KubernetesNamespacesNamespaces) GetLabels

func (o *KubernetesNamespacesNamespaces) GetLabels() map[string]string

GetLabels returns the Labels field value

func (*KubernetesNamespacesNamespaces) GetLabelsOk

func (o *KubernetesNamespacesNamespaces) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.

func (*KubernetesNamespacesNamespaces) GetName

GetName returns the Name field value

func (*KubernetesNamespacesNamespaces) GetNameOk

func (o *KubernetesNamespacesNamespaces) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*KubernetesNamespacesNamespaces) GetUid

GetUid returns the Uid field value

func (*KubernetesNamespacesNamespaces) GetUidOk

func (o *KubernetesNamespacesNamespaces) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value and a boolean to check if the value has been set.

func (KubernetesNamespacesNamespaces) MarshalJSON

func (o KubernetesNamespacesNamespaces) MarshalJSON() ([]byte, error)

func (*KubernetesNamespacesNamespaces) SetAnnotations

func (o *KubernetesNamespacesNamespaces) SetAnnotations(v map[string]string)

SetAnnotations sets field value

func (*KubernetesNamespacesNamespaces) SetLabels

func (o *KubernetesNamespacesNamespaces) SetLabels(v map[string]string)

SetLabels sets field value

func (*KubernetesNamespacesNamespaces) SetName

func (o *KubernetesNamespacesNamespaces) SetName(v string)

SetName sets field value

func (*KubernetesNamespacesNamespaces) SetUid

SetUid sets field value

type ModifiedPackage

type ModifiedPackage struct {
	Source *Package         `json:"source,omitempty"`
	Target *Package         `json:"target,omitempty"`
	Patch  *CustomJsonPatch `json:"patch,omitempty"`
}

ModifiedPackage A combined modification record showing the source and target packages and the json patch to apply to the relationship-target object to result in the relationship-source package. Source and target are the packages from the respective sides of the relationship.

func NewModifiedPackage

func NewModifiedPackage() *ModifiedPackage

NewModifiedPackage instantiates a new ModifiedPackage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModifiedPackageWithDefaults

func NewModifiedPackageWithDefaults() *ModifiedPackage

NewModifiedPackageWithDefaults instantiates a new ModifiedPackage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ModifiedPackage) GetPatch

func (o *ModifiedPackage) GetPatch() CustomJsonPatch

GetPatch returns the Patch field value if set, zero value otherwise.

func (*ModifiedPackage) GetPatchOk

func (o *ModifiedPackage) GetPatchOk() (*CustomJsonPatch, bool)

GetPatchOk returns a tuple with the Patch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModifiedPackage) GetSource

func (o *ModifiedPackage) GetSource() Package

GetSource returns the Source field value if set, zero value otherwise.

func (*ModifiedPackage) GetSourceOk

func (o *ModifiedPackage) GetSourceOk() (*Package, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModifiedPackage) GetTarget

func (o *ModifiedPackage) GetTarget() Package

GetTarget returns the Target field value if set, zero value otherwise.

func (*ModifiedPackage) GetTargetOk

func (o *ModifiedPackage) GetTargetOk() (*Package, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModifiedPackage) HasPatch

func (o *ModifiedPackage) HasPatch() bool

HasPatch returns a boolean if a field has been set.

func (*ModifiedPackage) HasSource

func (o *ModifiedPackage) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*ModifiedPackage) HasTarget

func (o *ModifiedPackage) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (ModifiedPackage) MarshalJSON

func (o ModifiedPackage) MarshalJSON() ([]byte, error)

func (*ModifiedPackage) SetPatch

func (o *ModifiedPackage) SetPatch(v CustomJsonPatch)

SetPatch gets a reference to the given CustomJsonPatch and assigns it to the Patch field.

func (*ModifiedPackage) SetSource

func (o *ModifiedPackage) SetSource(v Package)

SetSource gets a reference to the given Package and assigns it to the Source field.

func (*ModifiedPackage) SetTarget

func (o *ModifiedPackage) SetTarget(v Package)

SetTarget gets a reference to the given Package and assigns it to the Target field.

type NativeSBOM

type NativeSBOM struct {
	Artifacts             []NativeSBOMPackage              `json:"artifacts"`
	Source                NativeSBOMSource                 `json:"source"`
	Distro                NativeSBOMDistribution           `json:"distro"`
	Descriptor            *NativeSBOMDescriptor            `json:"descriptor,omitempty"`
	Schema                *NativeSBOMSchema                `json:"schema,omitempty"`
	ArtifactRelationships *[]NativeSBOMPackageRelationship `json:"artifactRelationships,omitempty"`
}

NativeSBOM struct for NativeSBOM

func NewNativeSBOM

func NewNativeSBOM(artifacts []NativeSBOMPackage, source NativeSBOMSource, distro NativeSBOMDistribution) *NativeSBOM

NewNativeSBOM instantiates a new NativeSBOM object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMWithDefaults

func NewNativeSBOMWithDefaults() *NativeSBOM

NewNativeSBOMWithDefaults instantiates a new NativeSBOM object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOM) GetArtifactRelationships

func (o *NativeSBOM) GetArtifactRelationships() []NativeSBOMPackageRelationship

GetArtifactRelationships returns the ArtifactRelationships field value if set, zero value otherwise.

func (*NativeSBOM) GetArtifactRelationshipsOk

func (o *NativeSBOM) GetArtifactRelationshipsOk() (*[]NativeSBOMPackageRelationship, bool)

GetArtifactRelationshipsOk returns a tuple with the ArtifactRelationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOM) GetArtifacts

func (o *NativeSBOM) GetArtifacts() []NativeSBOMPackage

GetArtifacts returns the Artifacts field value

func (*NativeSBOM) GetArtifactsOk

func (o *NativeSBOM) GetArtifactsOk() (*[]NativeSBOMPackage, bool)

GetArtifactsOk returns a tuple with the Artifacts field value and a boolean to check if the value has been set.

func (*NativeSBOM) GetDescriptor

func (o *NativeSBOM) GetDescriptor() NativeSBOMDescriptor

GetDescriptor returns the Descriptor field value if set, zero value otherwise.

func (*NativeSBOM) GetDescriptorOk

func (o *NativeSBOM) GetDescriptorOk() (*NativeSBOMDescriptor, bool)

GetDescriptorOk returns a tuple with the Descriptor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOM) GetDistro

func (o *NativeSBOM) GetDistro() NativeSBOMDistribution

GetDistro returns the Distro field value

func (*NativeSBOM) GetDistroOk

func (o *NativeSBOM) GetDistroOk() (*NativeSBOMDistribution, bool)

GetDistroOk returns a tuple with the Distro field value and a boolean to check if the value has been set.

func (*NativeSBOM) GetSchema

func (o *NativeSBOM) GetSchema() NativeSBOMSchema

GetSchema returns the Schema field value if set, zero value otherwise.

func (*NativeSBOM) GetSchemaOk

func (o *NativeSBOM) GetSchemaOk() (*NativeSBOMSchema, bool)

GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOM) GetSource

func (o *NativeSBOM) GetSource() NativeSBOMSource

GetSource returns the Source field value

func (*NativeSBOM) GetSourceOk

func (o *NativeSBOM) GetSourceOk() (*NativeSBOMSource, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*NativeSBOM) HasArtifactRelationships

func (o *NativeSBOM) HasArtifactRelationships() bool

HasArtifactRelationships returns a boolean if a field has been set.

func (*NativeSBOM) HasDescriptor

func (o *NativeSBOM) HasDescriptor() bool

HasDescriptor returns a boolean if a field has been set.

func (*NativeSBOM) HasSchema

func (o *NativeSBOM) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (NativeSBOM) MarshalJSON

func (o NativeSBOM) MarshalJSON() ([]byte, error)

func (*NativeSBOM) SetArtifactRelationships

func (o *NativeSBOM) SetArtifactRelationships(v []NativeSBOMPackageRelationship)

SetArtifactRelationships gets a reference to the given []NativeSBOMPackageRelationship and assigns it to the ArtifactRelationships field.

func (*NativeSBOM) SetArtifacts

func (o *NativeSBOM) SetArtifacts(v []NativeSBOMPackage)

SetArtifacts sets field value

func (*NativeSBOM) SetDescriptor

func (o *NativeSBOM) SetDescriptor(v NativeSBOMDescriptor)

SetDescriptor gets a reference to the given NativeSBOMDescriptor and assigns it to the Descriptor field.

func (*NativeSBOM) SetDistro

func (o *NativeSBOM) SetDistro(v NativeSBOMDistribution)

SetDistro sets field value

func (*NativeSBOM) SetSchema

func (o *NativeSBOM) SetSchema(v NativeSBOMSchema)

SetSchema gets a reference to the given NativeSBOMSchema and assigns it to the Schema field.

func (*NativeSBOM) SetSource

func (o *NativeSBOM) SetSource(v NativeSBOMSource)

SetSource sets field value

type NativeSBOMDescriptor

type NativeSBOMDescriptor struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

NativeSBOMDescriptor struct for NativeSBOMDescriptor

func NewNativeSBOMDescriptor

func NewNativeSBOMDescriptor(name string, version string) *NativeSBOMDescriptor

NewNativeSBOMDescriptor instantiates a new NativeSBOMDescriptor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMDescriptorWithDefaults

func NewNativeSBOMDescriptorWithDefaults() *NativeSBOMDescriptor

NewNativeSBOMDescriptorWithDefaults instantiates a new NativeSBOMDescriptor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMDescriptor) GetName

func (o *NativeSBOMDescriptor) GetName() string

GetName returns the Name field value

func (*NativeSBOMDescriptor) GetNameOk

func (o *NativeSBOMDescriptor) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NativeSBOMDescriptor) GetVersion

func (o *NativeSBOMDescriptor) GetVersion() string

GetVersion returns the Version field value

func (*NativeSBOMDescriptor) GetVersionOk

func (o *NativeSBOMDescriptor) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (NativeSBOMDescriptor) MarshalJSON

func (o NativeSBOMDescriptor) MarshalJSON() ([]byte, error)

func (*NativeSBOMDescriptor) SetName

func (o *NativeSBOMDescriptor) SetName(v string)

SetName sets field value

func (*NativeSBOMDescriptor) SetVersion

func (o *NativeSBOMDescriptor) SetVersion(v string)

SetVersion sets field value

type NativeSBOMDistribution

type NativeSBOMDistribution struct {
	Name      NullableString `json:"name,omitempty"`
	Id        NullableString `json:"id,omitempty"`
	Version   NullableString `json:"version,omitempty"`
	VersionID NullableString `json:"versionID,omitempty"`
	IdLike    *interface{}   `json:"idLike,omitempty"`
}

NativeSBOMDistribution struct for NativeSBOMDistribution

func NewNativeSBOMDistribution

func NewNativeSBOMDistribution() *NativeSBOMDistribution

NewNativeSBOMDistribution instantiates a new NativeSBOMDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMDistributionWithDefaults

func NewNativeSBOMDistributionWithDefaults() *NativeSBOMDistribution

NewNativeSBOMDistributionWithDefaults instantiates a new NativeSBOMDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMDistribution) GetId

func (o *NativeSBOMDistribution) GetId() string

GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMDistribution) GetIdLike

func (o *NativeSBOMDistribution) GetIdLike() interface{}

GetIdLike returns the IdLike field value if set, zero value otherwise.

func (*NativeSBOMDistribution) GetIdLikeOk

func (o *NativeSBOMDistribution) GetIdLikeOk() (*interface{}, bool)

GetIdLikeOk returns a tuple with the IdLike field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMDistribution) GetIdOk

func (o *NativeSBOMDistribution) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMDistribution) GetName

func (o *NativeSBOMDistribution) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMDistribution) GetNameOk

func (o *NativeSBOMDistribution) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMDistribution) GetVersion

func (o *NativeSBOMDistribution) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMDistribution) GetVersionID

func (o *NativeSBOMDistribution) GetVersionID() string

GetVersionID returns the VersionID field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMDistribution) GetVersionIDOk

func (o *NativeSBOMDistribution) GetVersionIDOk() (*string, bool)

GetVersionIDOk returns a tuple with the VersionID field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMDistribution) GetVersionOk

func (o *NativeSBOMDistribution) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMDistribution) HasId

func (o *NativeSBOMDistribution) HasId() bool

HasId returns a boolean if a field has been set.

func (*NativeSBOMDistribution) HasIdLike

func (o *NativeSBOMDistribution) HasIdLike() bool

HasIdLike returns a boolean if a field has been set.

func (*NativeSBOMDistribution) HasName

func (o *NativeSBOMDistribution) HasName() bool

HasName returns a boolean if a field has been set.

func (*NativeSBOMDistribution) HasVersion

func (o *NativeSBOMDistribution) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*NativeSBOMDistribution) HasVersionID

func (o *NativeSBOMDistribution) HasVersionID() bool

HasVersionID returns a boolean if a field has been set.

func (NativeSBOMDistribution) MarshalJSON

func (o NativeSBOMDistribution) MarshalJSON() ([]byte, error)

func (*NativeSBOMDistribution) SetId

func (o *NativeSBOMDistribution) SetId(v string)

SetId gets a reference to the given NullableString and assigns it to the Id field.

func (*NativeSBOMDistribution) SetIdLike

func (o *NativeSBOMDistribution) SetIdLike(v interface{})

SetIdLike gets a reference to the given interface{} and assigns it to the IdLike field.

func (*NativeSBOMDistribution) SetIdNil

func (o *NativeSBOMDistribution) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*NativeSBOMDistribution) SetName

func (o *NativeSBOMDistribution) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*NativeSBOMDistribution) SetNameNil

func (o *NativeSBOMDistribution) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*NativeSBOMDistribution) SetVersion

func (o *NativeSBOMDistribution) SetVersion(v string)

SetVersion gets a reference to the given NullableString and assigns it to the Version field.

func (*NativeSBOMDistribution) SetVersionID

func (o *NativeSBOMDistribution) SetVersionID(v string)

SetVersionID gets a reference to the given NullableString and assigns it to the VersionID field.

func (*NativeSBOMDistribution) SetVersionIDNil

func (o *NativeSBOMDistribution) SetVersionIDNil()

SetVersionIDNil sets the value for VersionID to be an explicit nil

func (*NativeSBOMDistribution) SetVersionNil

func (o *NativeSBOMDistribution) SetVersionNil()

SetVersionNil sets the value for Version to be an explicit nil

func (*NativeSBOMDistribution) UnsetId

func (o *NativeSBOMDistribution) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*NativeSBOMDistribution) UnsetName

func (o *NativeSBOMDistribution) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*NativeSBOMDistribution) UnsetVersion

func (o *NativeSBOMDistribution) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

func (*NativeSBOMDistribution) UnsetVersionID

func (o *NativeSBOMDistribution) UnsetVersionID()

UnsetVersionID ensures that no value is present for VersionID, not even an explicit nil

type NativeSBOMPackage

type NativeSBOMPackage struct {
	Id           *string                     `json:"id,omitempty"`
	Name         string                      `json:"name"`
	Version      string                      `json:"version"`
	Type         string                      `json:"type"`
	FoundBy      *string                     `json:"foundBy,omitempty"`
	Locations    []NativeSBOMPackageLocation `json:"locations"`
	Licenses     []string                    `json:"licenses"`
	Language     string                      `json:"language"`
	Cpes         []string                    `json:"cpes"`
	Purl         *string                     `json:"purl,omitempty"`
	MetadataType NullableString              `json:"metadataType,omitempty"`
	Metadata     interface{}                 `json:"metadata,omitempty"`
}

NativeSBOMPackage struct for NativeSBOMPackage

func NewNativeSBOMPackage

func NewNativeSBOMPackage(name string, version string, type_ string, locations []NativeSBOMPackageLocation, licenses []string, language string, cpes []string) *NativeSBOMPackage

NewNativeSBOMPackage instantiates a new NativeSBOMPackage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMPackageWithDefaults

func NewNativeSBOMPackageWithDefaults() *NativeSBOMPackage

NewNativeSBOMPackageWithDefaults instantiates a new NativeSBOMPackage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMPackage) GetCpes

func (o *NativeSBOMPackage) GetCpes() []string

GetCpes returns the Cpes field value

func (*NativeSBOMPackage) GetCpesOk

func (o *NativeSBOMPackage) GetCpesOk() (*[]string, bool)

GetCpesOk returns a tuple with the Cpes field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetFoundBy

func (o *NativeSBOMPackage) GetFoundBy() string

GetFoundBy returns the FoundBy field value if set, zero value otherwise.

func (*NativeSBOMPackage) GetFoundByOk

func (o *NativeSBOMPackage) GetFoundByOk() (*string, bool)

GetFoundByOk returns a tuple with the FoundBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetId

func (o *NativeSBOMPackage) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*NativeSBOMPackage) GetIdOk

func (o *NativeSBOMPackage) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetLanguage

func (o *NativeSBOMPackage) GetLanguage() string

GetLanguage returns the Language field value

func (*NativeSBOMPackage) GetLanguageOk

func (o *NativeSBOMPackage) GetLanguageOk() (*string, bool)

GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetLicenses

func (o *NativeSBOMPackage) GetLicenses() []string

GetLicenses returns the Licenses field value

func (*NativeSBOMPackage) GetLicensesOk

func (o *NativeSBOMPackage) GetLicensesOk() (*[]string, bool)

GetLicensesOk returns a tuple with the Licenses field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetLocations

func (o *NativeSBOMPackage) GetLocations() []NativeSBOMPackageLocation

GetLocations returns the Locations field value

func (*NativeSBOMPackage) GetLocationsOk

func (o *NativeSBOMPackage) GetLocationsOk() (*[]NativeSBOMPackageLocation, bool)

GetLocationsOk returns a tuple with the Locations field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetMetadata

func (o *NativeSBOMPackage) GetMetadata() interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMPackage) GetMetadataOk

func (o *NativeSBOMPackage) GetMetadataOk() (*interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMPackage) GetMetadataType

func (o *NativeSBOMPackage) GetMetadataType() string

GetMetadataType returns the MetadataType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NativeSBOMPackage) GetMetadataTypeOk

func (o *NativeSBOMPackage) GetMetadataTypeOk() (*string, bool)

GetMetadataTypeOk returns a tuple with the MetadataType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NativeSBOMPackage) GetName

func (o *NativeSBOMPackage) GetName() string

GetName returns the Name field value

func (*NativeSBOMPackage) GetNameOk

func (o *NativeSBOMPackage) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetPurl

func (o *NativeSBOMPackage) GetPurl() string

GetPurl returns the Purl field value if set, zero value otherwise.

func (*NativeSBOMPackage) GetPurlOk

func (o *NativeSBOMPackage) GetPurlOk() (*string, bool)

GetPurlOk returns a tuple with the Purl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetType

func (o *NativeSBOMPackage) GetType() string

GetType returns the Type field value

func (*NativeSBOMPackage) GetTypeOk

func (o *NativeSBOMPackage) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) GetVersion

func (o *NativeSBOMPackage) GetVersion() string

GetVersion returns the Version field value

func (*NativeSBOMPackage) GetVersionOk

func (o *NativeSBOMPackage) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (*NativeSBOMPackage) HasFoundBy

func (o *NativeSBOMPackage) HasFoundBy() bool

HasFoundBy returns a boolean if a field has been set.

func (*NativeSBOMPackage) HasId

func (o *NativeSBOMPackage) HasId() bool

HasId returns a boolean if a field has been set.

func (*NativeSBOMPackage) HasMetadata

func (o *NativeSBOMPackage) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NativeSBOMPackage) HasMetadataType

func (o *NativeSBOMPackage) HasMetadataType() bool

HasMetadataType returns a boolean if a field has been set.

func (*NativeSBOMPackage) HasPurl

func (o *NativeSBOMPackage) HasPurl() bool

HasPurl returns a boolean if a field has been set.

func (NativeSBOMPackage) MarshalJSON

func (o NativeSBOMPackage) MarshalJSON() ([]byte, error)

func (*NativeSBOMPackage) SetCpes

func (o *NativeSBOMPackage) SetCpes(v []string)

SetCpes sets field value

func (*NativeSBOMPackage) SetFoundBy

func (o *NativeSBOMPackage) SetFoundBy(v string)

SetFoundBy gets a reference to the given string and assigns it to the FoundBy field.

func (*NativeSBOMPackage) SetId

func (o *NativeSBOMPackage) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*NativeSBOMPackage) SetLanguage

func (o *NativeSBOMPackage) SetLanguage(v string)

SetLanguage sets field value

func (*NativeSBOMPackage) SetLicenses

func (o *NativeSBOMPackage) SetLicenses(v []string)

SetLicenses sets field value

func (*NativeSBOMPackage) SetLocations

func (o *NativeSBOMPackage) SetLocations(v []NativeSBOMPackageLocation)

SetLocations sets field value

func (*NativeSBOMPackage) SetMetadata

func (o *NativeSBOMPackage) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*NativeSBOMPackage) SetMetadataType

func (o *NativeSBOMPackage) SetMetadataType(v string)

SetMetadataType gets a reference to the given NullableString and assigns it to the MetadataType field.

func (*NativeSBOMPackage) SetMetadataTypeNil

func (o *NativeSBOMPackage) SetMetadataTypeNil()

SetMetadataTypeNil sets the value for MetadataType to be an explicit nil

func (*NativeSBOMPackage) SetName

func (o *NativeSBOMPackage) SetName(v string)

SetName sets field value

func (*NativeSBOMPackage) SetPurl

func (o *NativeSBOMPackage) SetPurl(v string)

SetPurl gets a reference to the given string and assigns it to the Purl field.

func (*NativeSBOMPackage) SetType

func (o *NativeSBOMPackage) SetType(v string)

SetType sets field value

func (*NativeSBOMPackage) SetVersion

func (o *NativeSBOMPackage) SetVersion(v string)

SetVersion sets field value

func (*NativeSBOMPackage) UnsetMetadataType

func (o *NativeSBOMPackage) UnsetMetadataType()

UnsetMetadataType ensures that no value is present for MetadataType, not even an explicit nil

type NativeSBOMPackageLocation

type NativeSBOMPackageLocation struct {
	Path    string  `json:"path"`
	LayerID *string `json:"layerID,omitempty"`
}

NativeSBOMPackageLocation struct for NativeSBOMPackageLocation

func NewNativeSBOMPackageLocation

func NewNativeSBOMPackageLocation(path string) *NativeSBOMPackageLocation

NewNativeSBOMPackageLocation instantiates a new NativeSBOMPackageLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMPackageLocationWithDefaults

func NewNativeSBOMPackageLocationWithDefaults() *NativeSBOMPackageLocation

NewNativeSBOMPackageLocationWithDefaults instantiates a new NativeSBOMPackageLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMPackageLocation) GetLayerID

func (o *NativeSBOMPackageLocation) GetLayerID() string

GetLayerID returns the LayerID field value if set, zero value otherwise.

func (*NativeSBOMPackageLocation) GetLayerIDOk

func (o *NativeSBOMPackageLocation) GetLayerIDOk() (*string, bool)

GetLayerIDOk returns a tuple with the LayerID field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMPackageLocation) GetPath

func (o *NativeSBOMPackageLocation) GetPath() string

GetPath returns the Path field value

func (*NativeSBOMPackageLocation) GetPathOk

func (o *NativeSBOMPackageLocation) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*NativeSBOMPackageLocation) HasLayerID

func (o *NativeSBOMPackageLocation) HasLayerID() bool

HasLayerID returns a boolean if a field has been set.

func (NativeSBOMPackageLocation) MarshalJSON

func (o NativeSBOMPackageLocation) MarshalJSON() ([]byte, error)

func (*NativeSBOMPackageLocation) SetLayerID

func (o *NativeSBOMPackageLocation) SetLayerID(v string)

SetLayerID gets a reference to the given string and assigns it to the LayerID field.

func (*NativeSBOMPackageLocation) SetPath

func (o *NativeSBOMPackageLocation) SetPath(v string)

SetPath sets field value

type NativeSBOMPackageRelationship

type NativeSBOMPackageRelationship struct {
	Parent   string       `json:"parent"`
	Child    string       `json:"child"`
	Type     string       `json:"type"`
	Metadata *interface{} `json:"metadata,omitempty"`
}

NativeSBOMPackageRelationship struct for NativeSBOMPackageRelationship

func NewNativeSBOMPackageRelationship

func NewNativeSBOMPackageRelationship(parent string, child string, type_ string) *NativeSBOMPackageRelationship

NewNativeSBOMPackageRelationship instantiates a new NativeSBOMPackageRelationship object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMPackageRelationshipWithDefaults

func NewNativeSBOMPackageRelationshipWithDefaults() *NativeSBOMPackageRelationship

NewNativeSBOMPackageRelationshipWithDefaults instantiates a new NativeSBOMPackageRelationship object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMPackageRelationship) GetChild

func (o *NativeSBOMPackageRelationship) GetChild() string

GetChild returns the Child field value

func (*NativeSBOMPackageRelationship) GetChildOk

func (o *NativeSBOMPackageRelationship) GetChildOk() (*string, bool)

GetChildOk returns a tuple with the Child field value and a boolean to check if the value has been set.

func (*NativeSBOMPackageRelationship) GetMetadata

func (o *NativeSBOMPackageRelationship) GetMetadata() interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*NativeSBOMPackageRelationship) GetMetadataOk

func (o *NativeSBOMPackageRelationship) GetMetadataOk() (*interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NativeSBOMPackageRelationship) GetParent

func (o *NativeSBOMPackageRelationship) GetParent() string

GetParent returns the Parent field value

func (*NativeSBOMPackageRelationship) GetParentOk

func (o *NativeSBOMPackageRelationship) GetParentOk() (*string, bool)

GetParentOk returns a tuple with the Parent field value and a boolean to check if the value has been set.

func (*NativeSBOMPackageRelationship) GetType

GetType returns the Type field value

func (*NativeSBOMPackageRelationship) GetTypeOk

func (o *NativeSBOMPackageRelationship) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*NativeSBOMPackageRelationship) HasMetadata

func (o *NativeSBOMPackageRelationship) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (NativeSBOMPackageRelationship) MarshalJSON

func (o NativeSBOMPackageRelationship) MarshalJSON() ([]byte, error)

func (*NativeSBOMPackageRelationship) SetChild

func (o *NativeSBOMPackageRelationship) SetChild(v string)

SetChild sets field value

func (*NativeSBOMPackageRelationship) SetMetadata

func (o *NativeSBOMPackageRelationship) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*NativeSBOMPackageRelationship) SetParent

func (o *NativeSBOMPackageRelationship) SetParent(v string)

SetParent sets field value

func (*NativeSBOMPackageRelationship) SetType

func (o *NativeSBOMPackageRelationship) SetType(v string)

SetType sets field value

type NativeSBOMSchema

type NativeSBOMSchema struct {
	Version string `json:"version"`
	Url     string `json:"url"`
}

NativeSBOMSchema struct for NativeSBOMSchema

func NewNativeSBOMSchema

func NewNativeSBOMSchema(version string, url string) *NativeSBOMSchema

NewNativeSBOMSchema instantiates a new NativeSBOMSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMSchemaWithDefaults

func NewNativeSBOMSchemaWithDefaults() *NativeSBOMSchema

NewNativeSBOMSchemaWithDefaults instantiates a new NativeSBOMSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMSchema) GetUrl

func (o *NativeSBOMSchema) GetUrl() string

GetUrl returns the Url field value

func (*NativeSBOMSchema) GetUrlOk

func (o *NativeSBOMSchema) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*NativeSBOMSchema) GetVersion

func (o *NativeSBOMSchema) GetVersion() string

GetVersion returns the Version field value

func (*NativeSBOMSchema) GetVersionOk

func (o *NativeSBOMSchema) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (NativeSBOMSchema) MarshalJSON

func (o NativeSBOMSchema) MarshalJSON() ([]byte, error)

func (*NativeSBOMSchema) SetUrl

func (o *NativeSBOMSchema) SetUrl(v string)

SetUrl sets field value

func (*NativeSBOMSchema) SetVersion

func (o *NativeSBOMSchema) SetVersion(v string)

SetVersion sets field value

type NativeSBOMSource

type NativeSBOMSource struct {
	Type   string      `json:"type"`
	Target interface{} `json:"target"`
}

NativeSBOMSource struct for NativeSBOMSource

func NewNativeSBOMSource

func NewNativeSBOMSource(type_ string, target interface{}) *NativeSBOMSource

NewNativeSBOMSource instantiates a new NativeSBOMSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNativeSBOMSourceWithDefaults

func NewNativeSBOMSourceWithDefaults() *NativeSBOMSource

NewNativeSBOMSourceWithDefaults instantiates a new NativeSBOMSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NativeSBOMSource) GetTarget

func (o *NativeSBOMSource) GetTarget() interface{}

GetTarget returns the Target field value

func (*NativeSBOMSource) GetTargetOk

func (o *NativeSBOMSource) GetTargetOk() (*interface{}, bool)

GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.

func (*NativeSBOMSource) GetType

func (o *NativeSBOMSource) GetType() string

GetType returns the Type field value

func (*NativeSBOMSource) GetTypeOk

func (o *NativeSBOMSource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NativeSBOMSource) MarshalJSON

func (o NativeSBOMSource) MarshalJSON() ([]byte, error)

func (*NativeSBOMSource) SetTarget

func (o *NativeSBOMSource) SetTarget(v interface{})

SetTarget sets field value

func (*NativeSBOMSource) SetType

func (o *NativeSBOMSource) SetType(v string)

SetType sets field value

type NullableActionPlan

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

func NewNullableActionPlan

func NewNullableActionPlan(val *ActionPlan) *NullableActionPlan

func (NullableActionPlan) Get

func (v NullableActionPlan) Get() *ActionPlan

func (NullableActionPlan) IsSet

func (v NullableActionPlan) IsSet() bool

func (NullableActionPlan) MarshalJSON

func (v NullableActionPlan) MarshalJSON() ([]byte, error)

func (*NullableActionPlan) Set

func (v *NullableActionPlan) Set(val *ActionPlan)

func (*NullableActionPlan) UnmarshalJSON

func (v *NullableActionPlan) UnmarshalJSON(src []byte) error

func (*NullableActionPlan) Unset

func (v *NullableActionPlan) Unset()

type NullableActionPlanResolution

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

func NewNullableActionPlanResolution

func NewNullableActionPlanResolution(val *ActionPlanResolution) *NullableActionPlanResolution

func (NullableActionPlanResolution) Get

func (NullableActionPlanResolution) IsSet

func (NullableActionPlanResolution) MarshalJSON

func (v NullableActionPlanResolution) MarshalJSON() ([]byte, error)

func (*NullableActionPlanResolution) Set

func (*NullableActionPlanResolution) UnmarshalJSON

func (v *NullableActionPlanResolution) UnmarshalJSON(src []byte) error

func (*NullableActionPlanResolution) Unset

func (v *NullableActionPlanResolution) Unset()

type NullableAlertSummary

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

func NewNullableAlertSummary

func NewNullableAlertSummary(val *AlertSummary) *NullableAlertSummary

func (NullableAlertSummary) Get

func (NullableAlertSummary) IsSet

func (v NullableAlertSummary) IsSet() bool

func (NullableAlertSummary) MarshalJSON

func (v NullableAlertSummary) MarshalJSON() ([]byte, error)

func (*NullableAlertSummary) Set

func (v *NullableAlertSummary) Set(val *AlertSummary)

func (*NullableAlertSummary) UnmarshalJSON

func (v *NullableAlertSummary) UnmarshalJSON(src []byte) error

func (*NullableAlertSummary) Unset

func (v *NullableAlertSummary) Unset()

type NullableApiErrorResponse

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

func NewNullableApiErrorResponse

func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse

func (NullableApiErrorResponse) Get

func (NullableApiErrorResponse) IsSet

func (v NullableApiErrorResponse) IsSet() bool

func (NullableApiErrorResponse) MarshalJSON

func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableApiErrorResponse) Set

func (*NullableApiErrorResponse) UnmarshalJSON

func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableApiErrorResponse) Unset

func (v *NullableApiErrorResponse) Unset()

type NullableApplication

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

func NewNullableApplication

func NewNullableApplication(val *Application) *NullableApplication

func (NullableApplication) Get

func (NullableApplication) IsSet

func (v NullableApplication) IsSet() bool

func (NullableApplication) MarshalJSON

func (v NullableApplication) MarshalJSON() ([]byte, error)

func (*NullableApplication) Set

func (v *NullableApplication) Set(val *Application)

func (*NullableApplication) UnmarshalJSON

func (v *NullableApplication) UnmarshalJSON(src []byte) error

func (*NullableApplication) Unset

func (v *NullableApplication) Unset()

type NullableApplicationVersion

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

func NewNullableApplicationVersion

func NewNullableApplicationVersion(val *ApplicationVersion) *NullableApplicationVersion

func (NullableApplicationVersion) Get

func (NullableApplicationVersion) IsSet

func (v NullableApplicationVersion) IsSet() bool

func (NullableApplicationVersion) MarshalJSON

func (v NullableApplicationVersion) MarshalJSON() ([]byte, error)

func (*NullableApplicationVersion) Set

func (*NullableApplicationVersion) UnmarshalJSON

func (v *NullableApplicationVersion) UnmarshalJSON(src []byte) error

func (*NullableApplicationVersion) Unset

func (v *NullableApplicationVersion) Unset()

type NullableApplicationVersionSbom

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

func (NullableApplicationVersionSbom) Get

func (NullableApplicationVersionSbom) IsSet

func (NullableApplicationVersionSbom) MarshalJSON

func (v NullableApplicationVersionSbom) MarshalJSON() ([]byte, error)

func (*NullableApplicationVersionSbom) Set

func (*NullableApplicationVersionSbom) UnmarshalJSON

func (v *NullableApplicationVersionSbom) UnmarshalJSON(src []byte) error

func (*NullableApplicationVersionSbom) Unset

func (v *NullableApplicationVersionSbom) Unset()

type NullableApplicationVersionVulnerabilityReport

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

func (NullableApplicationVersionVulnerabilityReport) Get

func (NullableApplicationVersionVulnerabilityReport) IsSet

func (NullableApplicationVersionVulnerabilityReport) MarshalJSON

func (*NullableApplicationVersionVulnerabilityReport) Set

func (*NullableApplicationVersionVulnerabilityReport) UnmarshalJSON

func (*NullableApplicationVersionVulnerabilityReport) Unset

type NullableApplicationVersionVulnerabilityReportApplication

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

func (NullableApplicationVersionVulnerabilityReportApplication) Get

func (NullableApplicationVersionVulnerabilityReportApplication) IsSet

func (NullableApplicationVersionVulnerabilityReportApplication) MarshalJSON

func (*NullableApplicationVersionVulnerabilityReportApplication) Set

func (*NullableApplicationVersionVulnerabilityReportApplication) UnmarshalJSON

func (*NullableApplicationVersionVulnerabilityReportApplication) Unset

type NullableApplicationVersionVulnerabilityReportApplicationArtifacts

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

func (NullableApplicationVersionVulnerabilityReportApplicationArtifacts) Get

func (NullableApplicationVersionVulnerabilityReportApplicationArtifacts) IsSet

func (NullableApplicationVersionVulnerabilityReportApplicationArtifacts) MarshalJSON

func (*NullableApplicationVersionVulnerabilityReportApplicationArtifacts) Set

func (*NullableApplicationVersionVulnerabilityReportApplicationArtifacts) UnmarshalJSON

func (*NullableApplicationVersionVulnerabilityReportApplicationArtifacts) Unset

type NullableArtifactAssociationMetadata

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

func (NullableArtifactAssociationMetadata) Get

func (NullableArtifactAssociationMetadata) IsSet

func (NullableArtifactAssociationMetadata) MarshalJSON

func (v NullableArtifactAssociationMetadata) MarshalJSON() ([]byte, error)

func (*NullableArtifactAssociationMetadata) Set

func (*NullableArtifactAssociationMetadata) UnmarshalJSON

func (v *NullableArtifactAssociationMetadata) UnmarshalJSON(src []byte) error

func (*NullableArtifactAssociationMetadata) Unset

type NullableArtifactAssociationRequest

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

func (NullableArtifactAssociationRequest) Get

func (NullableArtifactAssociationRequest) IsSet

func (NullableArtifactAssociationRequest) MarshalJSON

func (v NullableArtifactAssociationRequest) MarshalJSON() ([]byte, error)

func (*NullableArtifactAssociationRequest) Set

func (*NullableArtifactAssociationRequest) UnmarshalJSON

func (v *NullableArtifactAssociationRequest) UnmarshalJSON(src []byte) error

func (*NullableArtifactAssociationRequest) Unset

type NullableArtifactAssociationResponse

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

func (NullableArtifactAssociationResponse) Get

func (NullableArtifactAssociationResponse) IsSet

func (NullableArtifactAssociationResponse) MarshalJSON

func (v NullableArtifactAssociationResponse) MarshalJSON() ([]byte, error)

func (*NullableArtifactAssociationResponse) Set

func (*NullableArtifactAssociationResponse) UnmarshalJSON

func (v *NullableArtifactAssociationResponse) UnmarshalJSON(src []byte) error

func (*NullableArtifactAssociationResponse) Unset

type NullableArtifactListResponse

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

func NewNullableArtifactListResponse

func NewNullableArtifactListResponse(val *ArtifactListResponse) *NullableArtifactListResponse

func (NullableArtifactListResponse) Get

func (NullableArtifactListResponse) IsSet

func (NullableArtifactListResponse) MarshalJSON

func (v NullableArtifactListResponse) MarshalJSON() ([]byte, error)

func (*NullableArtifactListResponse) Set

func (*NullableArtifactListResponse) UnmarshalJSON

func (v *NullableArtifactListResponse) UnmarshalJSON(src []byte) error

func (*NullableArtifactListResponse) Unset

func (v *NullableArtifactListResponse) Unset()

type NullableArtifactReference

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

func NewNullableArtifactReference

func NewNullableArtifactReference(val *ArtifactReference) *NullableArtifactReference

func (NullableArtifactReference) Get

func (NullableArtifactReference) IsSet

func (v NullableArtifactReference) IsSet() bool

func (NullableArtifactReference) MarshalJSON

func (v NullableArtifactReference) MarshalJSON() ([]byte, error)

func (*NullableArtifactReference) Set

func (*NullableArtifactReference) UnmarshalJSON

func (v *NullableArtifactReference) UnmarshalJSON(src []byte) error

func (*NullableArtifactReference) Unset

func (v *NullableArtifactReference) Unset()

type NullableArtifactRelationship

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

func NewNullableArtifactRelationship

func NewNullableArtifactRelationship(val *ArtifactRelationship) *NullableArtifactRelationship

func (NullableArtifactRelationship) Get

func (NullableArtifactRelationship) IsSet

func (NullableArtifactRelationship) MarshalJSON

func (v NullableArtifactRelationship) MarshalJSON() ([]byte, error)

func (*NullableArtifactRelationship) Set

func (*NullableArtifactRelationship) UnmarshalJSON

func (v *NullableArtifactRelationship) UnmarshalJSON(src []byte) error

func (*NullableArtifactRelationship) Unset

func (v *NullableArtifactRelationship) Unset()

type NullableArtifactType

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

func NewNullableArtifactType

func NewNullableArtifactType(val *ArtifactType) *NullableArtifactType

func (NullableArtifactType) Get

func (NullableArtifactType) IsSet

func (v NullableArtifactType) IsSet() bool

func (NullableArtifactType) MarshalJSON

func (v NullableArtifactType) MarshalJSON() ([]byte, error)

func (*NullableArtifactType) Set

func (v *NullableArtifactType) Set(val *ArtifactType)

func (*NullableArtifactType) UnmarshalJSON

func (v *NullableArtifactType) UnmarshalJSON(src []byte) error

func (*NullableArtifactType) Unset

func (v *NullableArtifactType) Unset()

type NullableAssociatedImageArtifact

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

func (NullableAssociatedImageArtifact) Get

func (NullableAssociatedImageArtifact) IsSet

func (NullableAssociatedImageArtifact) MarshalJSON

func (v NullableAssociatedImageArtifact) MarshalJSON() ([]byte, error)

func (*NullableAssociatedImageArtifact) Set

func (*NullableAssociatedImageArtifact) UnmarshalJSON

func (v *NullableAssociatedImageArtifact) UnmarshalJSON(src []byte) error

func (*NullableAssociatedImageArtifact) Unset

type NullableAssociatedSourceArtifact

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

func (NullableAssociatedSourceArtifact) Get

func (NullableAssociatedSourceArtifact) IsSet

func (NullableAssociatedSourceArtifact) MarshalJSON

func (v NullableAssociatedSourceArtifact) MarshalJSON() ([]byte, error)

func (*NullableAssociatedSourceArtifact) Set

func (*NullableAssociatedSourceArtifact) UnmarshalJSON

func (v *NullableAssociatedSourceArtifact) UnmarshalJSON(src []byte) error

func (*NullableAssociatedSourceArtifact) Unset

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCVSSV2Scores

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

func NewNullableCVSSV2Scores

func NewNullableCVSSV2Scores(val *CVSSV2Scores) *NullableCVSSV2Scores

func (NullableCVSSV2Scores) Get

func (NullableCVSSV2Scores) IsSet

func (v NullableCVSSV2Scores) IsSet() bool

func (NullableCVSSV2Scores) MarshalJSON

func (v NullableCVSSV2Scores) MarshalJSON() ([]byte, error)

func (*NullableCVSSV2Scores) Set

func (v *NullableCVSSV2Scores) Set(val *CVSSV2Scores)

func (*NullableCVSSV2Scores) UnmarshalJSON

func (v *NullableCVSSV2Scores) UnmarshalJSON(src []byte) error

func (*NullableCVSSV2Scores) Unset

func (v *NullableCVSSV2Scores) Unset()

type NullableCVSSV3Scores

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

func NewNullableCVSSV3Scores

func NewNullableCVSSV3Scores(val *CVSSV3Scores) *NullableCVSSV3Scores

func (NullableCVSSV3Scores) Get

func (NullableCVSSV3Scores) IsSet

func (v NullableCVSSV3Scores) IsSet() bool

func (NullableCVSSV3Scores) MarshalJSON

func (v NullableCVSSV3Scores) MarshalJSON() ([]byte, error)

func (*NullableCVSSV3Scores) Set

func (v *NullableCVSSV3Scores) Set(val *CVSSV3Scores)

func (*NullableCVSSV3Scores) UnmarshalJSON

func (v *NullableCVSSV3Scores) UnmarshalJSON(src []byte) error

func (*NullableCVSSV3Scores) Unset

func (v *NullableCVSSV3Scores) Unset()

type NullableComplianceResource

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

func NewNullableComplianceResource

func NewNullableComplianceResource(val *ComplianceResource) *NullableComplianceResource

func (NullableComplianceResource) Get

func (NullableComplianceResource) IsSet

func (v NullableComplianceResource) IsSet() bool

func (NullableComplianceResource) MarshalJSON

func (v NullableComplianceResource) MarshalJSON() ([]byte, error)

func (*NullableComplianceResource) Set

func (*NullableComplianceResource) UnmarshalJSON

func (v *NullableComplianceResource) UnmarshalJSON(src []byte) error

func (*NullableComplianceResource) Unset

func (v *NullableComplianceResource) Unset()

type NullableComplianceViolationAlert

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

func (NullableComplianceViolationAlert) Get

func (NullableComplianceViolationAlert) IsSet

func (NullableComplianceViolationAlert) MarshalJSON

func (v NullableComplianceViolationAlert) MarshalJSON() ([]byte, error)

func (*NullableComplianceViolationAlert) Set

func (*NullableComplianceViolationAlert) UnmarshalJSON

func (v *NullableComplianceViolationAlert) UnmarshalJSON(src []byte) error

func (*NullableComplianceViolationAlert) Unset

type NullableContentFilesResponse

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

func NewNullableContentFilesResponse

func NewNullableContentFilesResponse(val *ContentFilesResponse) *NullableContentFilesResponse

func (NullableContentFilesResponse) Get

func (NullableContentFilesResponse) IsSet

func (NullableContentFilesResponse) MarshalJSON

func (v NullableContentFilesResponse) MarshalJSON() ([]byte, error)

func (*NullableContentFilesResponse) Set

func (*NullableContentFilesResponse) UnmarshalJSON

func (v *NullableContentFilesResponse) UnmarshalJSON(src []byte) error

func (*NullableContentFilesResponse) Unset

func (v *NullableContentFilesResponse) Unset()

type NullableContentFilesResponseContent

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

func (NullableContentFilesResponseContent) Get

func (NullableContentFilesResponseContent) IsSet

func (NullableContentFilesResponseContent) MarshalJSON

func (v NullableContentFilesResponseContent) MarshalJSON() ([]byte, error)

func (*NullableContentFilesResponseContent) Set

func (*NullableContentFilesResponseContent) UnmarshalJSON

func (v *NullableContentFilesResponseContent) UnmarshalJSON(src []byte) error

func (*NullableContentFilesResponseContent) Unset

type NullableContentJAVAPackageResponse

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

func (NullableContentJAVAPackageResponse) Get

func (NullableContentJAVAPackageResponse) IsSet

func (NullableContentJAVAPackageResponse) MarshalJSON

func (v NullableContentJAVAPackageResponse) MarshalJSON() ([]byte, error)

func (*NullableContentJAVAPackageResponse) Set

func (*NullableContentJAVAPackageResponse) UnmarshalJSON

func (v *NullableContentJAVAPackageResponse) UnmarshalJSON(src []byte) error

func (*NullableContentJAVAPackageResponse) Unset

type NullableContentJAVAPackageResponseContent

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

func (NullableContentJAVAPackageResponseContent) Get

func (NullableContentJAVAPackageResponseContent) IsSet

func (NullableContentJAVAPackageResponseContent) MarshalJSON

func (*NullableContentJAVAPackageResponseContent) Set

func (*NullableContentJAVAPackageResponseContent) UnmarshalJSON

func (v *NullableContentJAVAPackageResponseContent) UnmarshalJSON(src []byte) error

func (*NullableContentJAVAPackageResponseContent) Unset

type NullableCorrection

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

func NewNullableCorrection

func NewNullableCorrection(val *Correction) *NullableCorrection

func (NullableCorrection) Get

func (v NullableCorrection) Get() *Correction

func (NullableCorrection) IsSet

func (v NullableCorrection) IsSet() bool

func (NullableCorrection) MarshalJSON

func (v NullableCorrection) MarshalJSON() ([]byte, error)

func (*NullableCorrection) Set

func (v *NullableCorrection) Set(val *Correction)

func (*NullableCorrection) UnmarshalJSON

func (v *NullableCorrection) UnmarshalJSON(src []byte) error

func (*NullableCorrection) Unset

func (v *NullableCorrection) Unset()

type NullableCorrectionFieldMatch

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

func NewNullableCorrectionFieldMatch

func NewNullableCorrectionFieldMatch(val *CorrectionFieldMatch) *NullableCorrectionFieldMatch

func (NullableCorrectionFieldMatch) Get

func (NullableCorrectionFieldMatch) IsSet

func (NullableCorrectionFieldMatch) MarshalJSON

func (v NullableCorrectionFieldMatch) MarshalJSON() ([]byte, error)

func (*NullableCorrectionFieldMatch) Set

func (*NullableCorrectionFieldMatch) UnmarshalJSON

func (v *NullableCorrectionFieldMatch) UnmarshalJSON(src []byte) error

func (*NullableCorrectionFieldMatch) Unset

func (v *NullableCorrectionFieldMatch) Unset()

type NullableCorrectionMatch

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

func NewNullableCorrectionMatch

func NewNullableCorrectionMatch(val *CorrectionMatch) *NullableCorrectionMatch

func (NullableCorrectionMatch) Get

func (NullableCorrectionMatch) IsSet

func (v NullableCorrectionMatch) IsSet() bool

func (NullableCorrectionMatch) MarshalJSON

func (v NullableCorrectionMatch) MarshalJSON() ([]byte, error)

func (*NullableCorrectionMatch) Set

func (*NullableCorrectionMatch) UnmarshalJSON

func (v *NullableCorrectionMatch) UnmarshalJSON(src []byte) error

func (*NullableCorrectionMatch) Unset

func (v *NullableCorrectionMatch) Unset()

type NullableCustomJsonPatch

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

func NewNullableCustomJsonPatch

func NewNullableCustomJsonPatch(val *CustomJsonPatch) *NullableCustomJsonPatch

func (NullableCustomJsonPatch) Get

func (NullableCustomJsonPatch) IsSet

func (v NullableCustomJsonPatch) IsSet() bool

func (NullableCustomJsonPatch) MarshalJSON

func (v NullableCustomJsonPatch) MarshalJSON() ([]byte, error)

func (*NullableCustomJsonPatch) Set

func (*NullableCustomJsonPatch) UnmarshalJSON

func (v *NullableCustomJsonPatch) UnmarshalJSON(src []byte) error

func (*NullableCustomJsonPatch) Unset

func (v *NullableCustomJsonPatch) Unset()

type NullableECSInventory

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

func NewNullableECSInventory

func NewNullableECSInventory(val *ECSInventory) *NullableECSInventory

func (NullableECSInventory) Get

func (NullableECSInventory) IsSet

func (v NullableECSInventory) IsSet() bool

func (NullableECSInventory) MarshalJSON

func (v NullableECSInventory) MarshalJSON() ([]byte, error)

func (*NullableECSInventory) Set

func (v *NullableECSInventory) Set(val *ECSInventory)

func (*NullableECSInventory) UnmarshalJSON

func (v *NullableECSInventory) UnmarshalJSON(src []byte) error

func (*NullableECSInventory) Unset

func (v *NullableECSInventory) Unset()

type NullableECSInventoryContainers

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

func (NullableECSInventoryContainers) Get

func (NullableECSInventoryContainers) IsSet

func (NullableECSInventoryContainers) MarshalJSON

func (v NullableECSInventoryContainers) MarshalJSON() ([]byte, error)

func (*NullableECSInventoryContainers) Set

func (*NullableECSInventoryContainers) UnmarshalJSON

func (v *NullableECSInventoryContainers) UnmarshalJSON(src []byte) error

func (*NullableECSInventoryContainers) Unset

func (v *NullableECSInventoryContainers) Unset()

type NullableECSInventoryTasks

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

func NewNullableECSInventoryTasks

func NewNullableECSInventoryTasks(val *ECSInventoryTasks) *NullableECSInventoryTasks

func (NullableECSInventoryTasks) Get

func (NullableECSInventoryTasks) IsSet

func (v NullableECSInventoryTasks) IsSet() bool

func (NullableECSInventoryTasks) MarshalJSON

func (v NullableECSInventoryTasks) MarshalJSON() ([]byte, error)

func (*NullableECSInventoryTasks) Set

func (*NullableECSInventoryTasks) UnmarshalJSON

func (v *NullableECSInventoryTasks) UnmarshalJSON(src []byte) error

func (*NullableECSInventoryTasks) Unset

func (v *NullableECSInventoryTasks) Unset()

type NullableEnterpriseVulnerability

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

func (NullableEnterpriseVulnerability) Get

func (NullableEnterpriseVulnerability) IsSet

func (NullableEnterpriseVulnerability) MarshalJSON

func (v NullableEnterpriseVulnerability) MarshalJSON() ([]byte, error)

func (*NullableEnterpriseVulnerability) Set

func (*NullableEnterpriseVulnerability) UnmarshalJSON

func (v *NullableEnterpriseVulnerability) UnmarshalJSON(src []byte) error

func (*NullableEnterpriseVulnerability) Unset

type NullableEnterpriseVulnerabilityResponse

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

func (NullableEnterpriseVulnerabilityResponse) Get

func (NullableEnterpriseVulnerabilityResponse) IsSet

func (NullableEnterpriseVulnerabilityResponse) MarshalJSON

func (v NullableEnterpriseVulnerabilityResponse) MarshalJSON() ([]byte, error)

func (*NullableEnterpriseVulnerabilityResponse) Set

func (*NullableEnterpriseVulnerabilityResponse) UnmarshalJSON

func (v *NullableEnterpriseVulnerabilityResponse) UnmarshalJSON(src []byte) error

func (*NullableEnterpriseVulnerabilityResponse) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableImageAncestor

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

func NewNullableImageAncestor

func NewNullableImageAncestor(val *ImageAncestor) *NullableImageAncestor

func (NullableImageAncestor) Get

func (NullableImageAncestor) IsSet

func (v NullableImageAncestor) IsSet() bool

func (NullableImageAncestor) MarshalJSON

func (v NullableImageAncestor) MarshalJSON() ([]byte, error)

func (*NullableImageAncestor) Set

func (v *NullableImageAncestor) Set(val *ImageAncestor)

func (*NullableImageAncestor) UnmarshalJSON

func (v *NullableImageAncestor) UnmarshalJSON(src []byte) error

func (*NullableImageAncestor) Unset

func (v *NullableImageAncestor) Unset()

type NullableImageArtifact

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

func NewNullableImageArtifact

func NewNullableImageArtifact(val *ImageArtifact) *NullableImageArtifact

func (NullableImageArtifact) Get

func (NullableImageArtifact) IsSet

func (v NullableImageArtifact) IsSet() bool

func (NullableImageArtifact) MarshalJSON

func (v NullableImageArtifact) MarshalJSON() ([]byte, error)

func (*NullableImageArtifact) Set

func (v *NullableImageArtifact) Set(val *ImageArtifact)

func (*NullableImageArtifact) UnmarshalJSON

func (v *NullableImageArtifact) UnmarshalJSON(src []byte) error

func (*NullableImageArtifact) Unset

func (v *NullableImageArtifact) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableInventoryItem

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

func NewNullableInventoryItem

func NewNullableInventoryItem(val *InventoryItem) *NullableInventoryItem

func (NullableInventoryItem) Get

func (NullableInventoryItem) IsSet

func (v NullableInventoryItem) IsSet() bool

func (NullableInventoryItem) MarshalJSON

func (v NullableInventoryItem) MarshalJSON() ([]byte, error)

func (*NullableInventoryItem) Set

func (v *NullableInventoryItem) Set(val *InventoryItem)

func (*NullableInventoryItem) UnmarshalJSON

func (v *NullableInventoryItem) UnmarshalJSON(src []byte) error

func (*NullableInventoryItem) Unset

func (v *NullableInventoryItem) Unset()

type NullableInventoryReport

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

func NewNullableInventoryReport

func NewNullableInventoryReport(val *InventoryReport) *NullableInventoryReport

func (NullableInventoryReport) Get

func (NullableInventoryReport) IsSet

func (v NullableInventoryReport) IsSet() bool

func (NullableInventoryReport) MarshalJSON

func (v NullableInventoryReport) MarshalJSON() ([]byte, error)

func (*NullableInventoryReport) Set

func (*NullableInventoryReport) UnmarshalJSON

func (v *NullableInventoryReport) UnmarshalJSON(src []byte) error

func (*NullableInventoryReport) Unset

func (v *NullableInventoryReport) Unset()

type NullableInventoryReportImage

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

func NewNullableInventoryReportImage

func NewNullableInventoryReportImage(val *InventoryReportImage) *NullableInventoryReportImage

func (NullableInventoryReportImage) Get

func (NullableInventoryReportImage) IsSet

func (NullableInventoryReportImage) MarshalJSON

func (v NullableInventoryReportImage) MarshalJSON() ([]byte, error)

func (*NullableInventoryReportImage) Set

func (*NullableInventoryReportImage) UnmarshalJSON

func (v *NullableInventoryReportImage) UnmarshalJSON(src []byte) error

func (*NullableInventoryReportImage) Unset

func (v *NullableInventoryReportImage) Unset()

type NullableInventoryReportItem

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

func NewNullableInventoryReportItem

func NewNullableInventoryReportItem(val *InventoryReportItem) *NullableInventoryReportItem

func (NullableInventoryReportItem) Get

func (NullableInventoryReportItem) IsSet

func (NullableInventoryReportItem) MarshalJSON

func (v NullableInventoryReportItem) MarshalJSON() ([]byte, error)

func (*NullableInventoryReportItem) Set

func (*NullableInventoryReportItem) UnmarshalJSON

func (v *NullableInventoryReportItem) UnmarshalJSON(src []byte) error

func (*NullableInventoryReportItem) Unset

func (v *NullableInventoryReportItem) Unset()

type NullableJsonPatchAdd

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

func NewNullableJsonPatchAdd

func NewNullableJsonPatchAdd(val *JsonPatchAdd) *NullableJsonPatchAdd

func (NullableJsonPatchAdd) Get

func (NullableJsonPatchAdd) IsSet

func (v NullableJsonPatchAdd) IsSet() bool

func (NullableJsonPatchAdd) MarshalJSON

func (v NullableJsonPatchAdd) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchAdd) Set

func (v *NullableJsonPatchAdd) Set(val *JsonPatchAdd)

func (*NullableJsonPatchAdd) UnmarshalJSON

func (v *NullableJsonPatchAdd) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchAdd) Unset

func (v *NullableJsonPatchAdd) Unset()

type NullableJsonPatchCopy

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

func NewNullableJsonPatchCopy

func NewNullableJsonPatchCopy(val *JsonPatchCopy) *NullableJsonPatchCopy

func (NullableJsonPatchCopy) Get

func (NullableJsonPatchCopy) IsSet

func (v NullableJsonPatchCopy) IsSet() bool

func (NullableJsonPatchCopy) MarshalJSON

func (v NullableJsonPatchCopy) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchCopy) Set

func (v *NullableJsonPatchCopy) Set(val *JsonPatchCopy)

func (*NullableJsonPatchCopy) UnmarshalJSON

func (v *NullableJsonPatchCopy) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchCopy) Unset

func (v *NullableJsonPatchCopy) Unset()

type NullableJsonPatchMove

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

func NewNullableJsonPatchMove

func NewNullableJsonPatchMove(val *JsonPatchMove) *NullableJsonPatchMove

func (NullableJsonPatchMove) Get

func (NullableJsonPatchMove) IsSet

func (v NullableJsonPatchMove) IsSet() bool

func (NullableJsonPatchMove) MarshalJSON

func (v NullableJsonPatchMove) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchMove) Set

func (v *NullableJsonPatchMove) Set(val *JsonPatchMove)

func (*NullableJsonPatchMove) UnmarshalJSON

func (v *NullableJsonPatchMove) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchMove) Unset

func (v *NullableJsonPatchMove) Unset()

type NullableJsonPatchRemove

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

func NewNullableJsonPatchRemove

func NewNullableJsonPatchRemove(val *JsonPatchRemove) *NullableJsonPatchRemove

func (NullableJsonPatchRemove) Get

func (NullableJsonPatchRemove) IsSet

func (v NullableJsonPatchRemove) IsSet() bool

func (NullableJsonPatchRemove) MarshalJSON

func (v NullableJsonPatchRemove) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchRemove) Set

func (*NullableJsonPatchRemove) UnmarshalJSON

func (v *NullableJsonPatchRemove) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchRemove) Unset

func (v *NullableJsonPatchRemove) Unset()

type NullableJsonPatchReplace

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

func NewNullableJsonPatchReplace

func NewNullableJsonPatchReplace(val *JsonPatchReplace) *NullableJsonPatchReplace

func (NullableJsonPatchReplace) Get

func (NullableJsonPatchReplace) IsSet

func (v NullableJsonPatchReplace) IsSet() bool

func (NullableJsonPatchReplace) MarshalJSON

func (v NullableJsonPatchReplace) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchReplace) Set

func (*NullableJsonPatchReplace) UnmarshalJSON

func (v *NullableJsonPatchReplace) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchReplace) Unset

func (v *NullableJsonPatchReplace) Unset()

type NullableJsonPatchTest

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

func NewNullableJsonPatchTest

func NewNullableJsonPatchTest(val *JsonPatchTest) *NullableJsonPatchTest

func (NullableJsonPatchTest) Get

func (NullableJsonPatchTest) IsSet

func (v NullableJsonPatchTest) IsSet() bool

func (NullableJsonPatchTest) MarshalJSON

func (v NullableJsonPatchTest) MarshalJSON() ([]byte, error)

func (*NullableJsonPatchTest) Set

func (v *NullableJsonPatchTest) Set(val *JsonPatchTest)

func (*NullableJsonPatchTest) UnmarshalJSON

func (v *NullableJsonPatchTest) UnmarshalJSON(src []byte) error

func (*NullableJsonPatchTest) Unset

func (v *NullableJsonPatchTest) Unset()

type NullableKubernetesInventory

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

func NewNullableKubernetesInventory

func NewNullableKubernetesInventory(val *KubernetesInventory) *NullableKubernetesInventory

func (NullableKubernetesInventory) Get

func (NullableKubernetesInventory) IsSet

func (NullableKubernetesInventory) MarshalJSON

func (v NullableKubernetesInventory) MarshalJSON() ([]byte, error)

func (*NullableKubernetesInventory) Set

func (*NullableKubernetesInventory) UnmarshalJSON

func (v *NullableKubernetesInventory) UnmarshalJSON(src []byte) error

func (*NullableKubernetesInventory) Unset

func (v *NullableKubernetesInventory) Unset()

type NullableKubernetesInventoryContainers

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

func (NullableKubernetesInventoryContainers) Get

func (NullableKubernetesInventoryContainers) IsSet

func (NullableKubernetesInventoryContainers) MarshalJSON

func (v NullableKubernetesInventoryContainers) MarshalJSON() ([]byte, error)

func (*NullableKubernetesInventoryContainers) Set

func (*NullableKubernetesInventoryContainers) UnmarshalJSON

func (v *NullableKubernetesInventoryContainers) UnmarshalJSON(src []byte) error

func (*NullableKubernetesInventoryContainers) Unset

type NullableKubernetesInventoryNamespaces

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

func (NullableKubernetesInventoryNamespaces) Get

func (NullableKubernetesInventoryNamespaces) IsSet

func (NullableKubernetesInventoryNamespaces) MarshalJSON

func (v NullableKubernetesInventoryNamespaces) MarshalJSON() ([]byte, error)

func (*NullableKubernetesInventoryNamespaces) Set

func (*NullableKubernetesInventoryNamespaces) UnmarshalJSON

func (v *NullableKubernetesInventoryNamespaces) UnmarshalJSON(src []byte) error

func (*NullableKubernetesInventoryNamespaces) Unset

type NullableKubernetesInventoryNodes

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

func (NullableKubernetesInventoryNodes) Get

func (NullableKubernetesInventoryNodes) IsSet

func (NullableKubernetesInventoryNodes) MarshalJSON

func (v NullableKubernetesInventoryNodes) MarshalJSON() ([]byte, error)

func (*NullableKubernetesInventoryNodes) Set

func (*NullableKubernetesInventoryNodes) UnmarshalJSON

func (v *NullableKubernetesInventoryNodes) UnmarshalJSON(src []byte) error

func (*NullableKubernetesInventoryNodes) Unset

type NullableKubernetesInventoryPods

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

func (NullableKubernetesInventoryPods) Get

func (NullableKubernetesInventoryPods) IsSet

func (NullableKubernetesInventoryPods) MarshalJSON

func (v NullableKubernetesInventoryPods) MarshalJSON() ([]byte, error)

func (*NullableKubernetesInventoryPods) Set

func (*NullableKubernetesInventoryPods) UnmarshalJSON

func (v *NullableKubernetesInventoryPods) UnmarshalJSON(src []byte) error

func (*NullableKubernetesInventoryPods) Unset

type NullableKubernetesNamespaces

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

func NewNullableKubernetesNamespaces

func NewNullableKubernetesNamespaces(val *KubernetesNamespaces) *NullableKubernetesNamespaces

func (NullableKubernetesNamespaces) Get

func (NullableKubernetesNamespaces) IsSet

func (NullableKubernetesNamespaces) MarshalJSON

func (v NullableKubernetesNamespaces) MarshalJSON() ([]byte, error)

func (*NullableKubernetesNamespaces) Set

func (*NullableKubernetesNamespaces) UnmarshalJSON

func (v *NullableKubernetesNamespaces) UnmarshalJSON(src []byte) error

func (*NullableKubernetesNamespaces) Unset

func (v *NullableKubernetesNamespaces) Unset()

type NullableKubernetesNamespacesNamespaces

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

func (NullableKubernetesNamespacesNamespaces) Get

func (NullableKubernetesNamespacesNamespaces) IsSet

func (NullableKubernetesNamespacesNamespaces) MarshalJSON

func (v NullableKubernetesNamespacesNamespaces) MarshalJSON() ([]byte, error)

func (*NullableKubernetesNamespacesNamespaces) Set

func (*NullableKubernetesNamespacesNamespaces) UnmarshalJSON

func (v *NullableKubernetesNamespacesNamespaces) UnmarshalJSON(src []byte) error

func (*NullableKubernetesNamespacesNamespaces) Unset

type NullableModifiedPackage

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

func NewNullableModifiedPackage

func NewNullableModifiedPackage(val *ModifiedPackage) *NullableModifiedPackage

func (NullableModifiedPackage) Get

func (NullableModifiedPackage) IsSet

func (v NullableModifiedPackage) IsSet() bool

func (NullableModifiedPackage) MarshalJSON

func (v NullableModifiedPackage) MarshalJSON() ([]byte, error)

func (*NullableModifiedPackage) Set

func (*NullableModifiedPackage) UnmarshalJSON

func (v *NullableModifiedPackage) UnmarshalJSON(src []byte) error

func (*NullableModifiedPackage) Unset

func (v *NullableModifiedPackage) Unset()

type NullableNativeSBOM

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

func NewNullableNativeSBOM

func NewNullableNativeSBOM(val *NativeSBOM) *NullableNativeSBOM

func (NullableNativeSBOM) Get

func (v NullableNativeSBOM) Get() *NativeSBOM

func (NullableNativeSBOM) IsSet

func (v NullableNativeSBOM) IsSet() bool

func (NullableNativeSBOM) MarshalJSON

func (v NullableNativeSBOM) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOM) Set

func (v *NullableNativeSBOM) Set(val *NativeSBOM)

func (*NullableNativeSBOM) UnmarshalJSON

func (v *NullableNativeSBOM) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOM) Unset

func (v *NullableNativeSBOM) Unset()

type NullableNativeSBOMDescriptor

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

func NewNullableNativeSBOMDescriptor

func NewNullableNativeSBOMDescriptor(val *NativeSBOMDescriptor) *NullableNativeSBOMDescriptor

func (NullableNativeSBOMDescriptor) Get

func (NullableNativeSBOMDescriptor) IsSet

func (NullableNativeSBOMDescriptor) MarshalJSON

func (v NullableNativeSBOMDescriptor) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMDescriptor) Set

func (*NullableNativeSBOMDescriptor) UnmarshalJSON

func (v *NullableNativeSBOMDescriptor) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMDescriptor) Unset

func (v *NullableNativeSBOMDescriptor) Unset()

type NullableNativeSBOMDistribution

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

func (NullableNativeSBOMDistribution) Get

func (NullableNativeSBOMDistribution) IsSet

func (NullableNativeSBOMDistribution) MarshalJSON

func (v NullableNativeSBOMDistribution) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMDistribution) Set

func (*NullableNativeSBOMDistribution) UnmarshalJSON

func (v *NullableNativeSBOMDistribution) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMDistribution) Unset

func (v *NullableNativeSBOMDistribution) Unset()

type NullableNativeSBOMPackage

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

func NewNullableNativeSBOMPackage

func NewNullableNativeSBOMPackage(val *NativeSBOMPackage) *NullableNativeSBOMPackage

func (NullableNativeSBOMPackage) Get

func (NullableNativeSBOMPackage) IsSet

func (v NullableNativeSBOMPackage) IsSet() bool

func (NullableNativeSBOMPackage) MarshalJSON

func (v NullableNativeSBOMPackage) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMPackage) Set

func (*NullableNativeSBOMPackage) UnmarshalJSON

func (v *NullableNativeSBOMPackage) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMPackage) Unset

func (v *NullableNativeSBOMPackage) Unset()

type NullableNativeSBOMPackageLocation

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

func (NullableNativeSBOMPackageLocation) Get

func (NullableNativeSBOMPackageLocation) IsSet

func (NullableNativeSBOMPackageLocation) MarshalJSON

func (v NullableNativeSBOMPackageLocation) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMPackageLocation) Set

func (*NullableNativeSBOMPackageLocation) UnmarshalJSON

func (v *NullableNativeSBOMPackageLocation) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMPackageLocation) Unset

type NullableNativeSBOMPackageRelationship

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

func (NullableNativeSBOMPackageRelationship) Get

func (NullableNativeSBOMPackageRelationship) IsSet

func (NullableNativeSBOMPackageRelationship) MarshalJSON

func (v NullableNativeSBOMPackageRelationship) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMPackageRelationship) Set

func (*NullableNativeSBOMPackageRelationship) UnmarshalJSON

func (v *NullableNativeSBOMPackageRelationship) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMPackageRelationship) Unset

type NullableNativeSBOMSchema

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

func NewNullableNativeSBOMSchema

func NewNullableNativeSBOMSchema(val *NativeSBOMSchema) *NullableNativeSBOMSchema

func (NullableNativeSBOMSchema) Get

func (NullableNativeSBOMSchema) IsSet

func (v NullableNativeSBOMSchema) IsSet() bool

func (NullableNativeSBOMSchema) MarshalJSON

func (v NullableNativeSBOMSchema) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMSchema) Set

func (*NullableNativeSBOMSchema) UnmarshalJSON

func (v *NullableNativeSBOMSchema) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMSchema) Unset

func (v *NullableNativeSBOMSchema) Unset()

type NullableNativeSBOMSource

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

func NewNullableNativeSBOMSource

func NewNullableNativeSBOMSource(val *NativeSBOMSource) *NullableNativeSBOMSource

func (NullableNativeSBOMSource) Get

func (NullableNativeSBOMSource) IsSet

func (v NullableNativeSBOMSource) IsSet() bool

func (NullableNativeSBOMSource) MarshalJSON

func (v NullableNativeSBOMSource) MarshalJSON() ([]byte, error)

func (*NullableNativeSBOMSource) Set

func (*NullableNativeSBOMSource) UnmarshalJSON

func (v *NullableNativeSBOMSource) UnmarshalJSON(src []byte) error

func (*NullableNativeSBOMSource) Unset

func (v *NullableNativeSBOMSource) Unset()

type NullableNvdDataObject

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

func NewNullableNvdDataObject

func NewNullableNvdDataObject(val *NvdDataObject) *NullableNvdDataObject

func (NullableNvdDataObject) Get

func (NullableNvdDataObject) IsSet

func (v NullableNvdDataObject) IsSet() bool

func (NullableNvdDataObject) MarshalJSON

func (v NullableNvdDataObject) MarshalJSON() ([]byte, error)

func (*NullableNvdDataObject) Set

func (v *NullableNvdDataObject) Set(val *NvdDataObject)

func (*NullableNvdDataObject) UnmarshalJSON

func (v *NullableNvdDataObject) UnmarshalJSON(src []byte) error

func (*NullableNvdDataObject) Unset

func (v *NullableNvdDataObject) Unset()

type NullablePackage

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

func NewNullablePackage

func NewNullablePackage(val *Package) *NullablePackage

func (NullablePackage) Get

func (v NullablePackage) Get() *Package

func (NullablePackage) IsSet

func (v NullablePackage) IsSet() bool

func (NullablePackage) MarshalJSON

func (v NullablePackage) MarshalJSON() ([]byte, error)

func (*NullablePackage) Set

func (v *NullablePackage) Set(val *Package)

func (*NullablePackage) UnmarshalJSON

func (v *NullablePackage) UnmarshalJSON(src []byte) error

func (*NullablePackage) Unset

func (v *NullablePackage) Unset()

type NullablePolicyEvaluationResult

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

func (NullablePolicyEvaluationResult) Get

func (NullablePolicyEvaluationResult) IsSet

func (NullablePolicyEvaluationResult) MarshalJSON

func (v NullablePolicyEvaluationResult) MarshalJSON() ([]byte, error)

func (*NullablePolicyEvaluationResult) Set

func (*NullablePolicyEvaluationResult) UnmarshalJSON

func (v *NullablePolicyEvaluationResult) UnmarshalJSON(src []byte) error

func (*NullablePolicyEvaluationResult) Unset

func (v *NullablePolicyEvaluationResult) Unset()

type NullableRelationshipSbomDiff

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

func NewNullableRelationshipSbomDiff

func NewNullableRelationshipSbomDiff(val *RelationshipSbomDiff) *NullableRelationshipSbomDiff

func (NullableRelationshipSbomDiff) Get

func (NullableRelationshipSbomDiff) IsSet

func (NullableRelationshipSbomDiff) MarshalJSON

func (v NullableRelationshipSbomDiff) MarshalJSON() ([]byte, error)

func (*NullableRelationshipSbomDiff) Set

func (*NullableRelationshipSbomDiff) UnmarshalJSON

func (v *NullableRelationshipSbomDiff) UnmarshalJSON(src []byte) error

func (*NullableRelationshipSbomDiff) Unset

func (v *NullableRelationshipSbomDiff) Unset()

type NullableRelationshipType

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

func NewNullableRelationshipType

func NewNullableRelationshipType(val *RelationshipType) *NullableRelationshipType

func (NullableRelationshipType) Get

func (NullableRelationshipType) IsSet

func (v NullableRelationshipType) IsSet() bool

func (NullableRelationshipType) MarshalJSON

func (v NullableRelationshipType) MarshalJSON() ([]byte, error)

func (*NullableRelationshipType) Set

func (*NullableRelationshipType) UnmarshalJSON

func (v *NullableRelationshipType) UnmarshalJSON(src []byte) error

func (*NullableRelationshipType) Unset

func (v *NullableRelationshipType) Unset()

type NullableResourceLabel

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

func NewNullableResourceLabel

func NewNullableResourceLabel(val *ResourceLabel) *NullableResourceLabel

func (NullableResourceLabel) Get

func (NullableResourceLabel) IsSet

func (v NullableResourceLabel) IsSet() bool

func (NullableResourceLabel) MarshalJSON

func (v NullableResourceLabel) MarshalJSON() ([]byte, error)

func (*NullableResourceLabel) Set

func (v *NullableResourceLabel) Set(val *ResourceLabel)

func (*NullableResourceLabel) UnmarshalJSON

func (v *NullableResourceLabel) UnmarshalJSON(src []byte) error

func (*NullableResourceLabel) Unset

func (v *NullableResourceLabel) Unset()

type NullableRuntimeComplianceCheck

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

func (NullableRuntimeComplianceCheck) Get

func (NullableRuntimeComplianceCheck) IsSet

func (NullableRuntimeComplianceCheck) MarshalJSON

func (v NullableRuntimeComplianceCheck) MarshalJSON() ([]byte, error)

func (*NullableRuntimeComplianceCheck) Set

func (*NullableRuntimeComplianceCheck) UnmarshalJSON

func (v *NullableRuntimeComplianceCheck) UnmarshalJSON(src []byte) error

func (*NullableRuntimeComplianceCheck) Unset

func (v *NullableRuntimeComplianceCheck) Unset()

type NullableSBOMVulnerabilitiesResponse

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

func (NullableSBOMVulnerabilitiesResponse) Get

func (NullableSBOMVulnerabilitiesResponse) IsSet

func (NullableSBOMVulnerabilitiesResponse) MarshalJSON

func (v NullableSBOMVulnerabilitiesResponse) MarshalJSON() ([]byte, error)

func (*NullableSBOMVulnerabilitiesResponse) Set

func (*NullableSBOMVulnerabilitiesResponse) UnmarshalJSON

func (v *NullableSBOMVulnerabilitiesResponse) UnmarshalJSON(src []byte) error

func (*NullableSBOMVulnerabilitiesResponse) Unset

type NullableSource

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

func NewNullableSource

func NewNullableSource(val *Source) *NullableSource

func (NullableSource) Get

func (v NullableSource) Get() *Source

func (NullableSource) IsSet

func (v NullableSource) IsSet() bool

func (NullableSource) MarshalJSON

func (v NullableSource) MarshalJSON() ([]byte, error)

func (*NullableSource) Set

func (v *NullableSource) Set(val *Source)

func (*NullableSource) UnmarshalJSON

func (v *NullableSource) UnmarshalJSON(src []byte) error

func (*NullableSource) Unset

func (v *NullableSource) Unset()

type NullableSourceContentPackageResponse

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

func (NullableSourceContentPackageResponse) Get

func (NullableSourceContentPackageResponse) IsSet

func (NullableSourceContentPackageResponse) MarshalJSON

func (v NullableSourceContentPackageResponse) MarshalJSON() ([]byte, error)

func (*NullableSourceContentPackageResponse) Set

func (*NullableSourceContentPackageResponse) UnmarshalJSON

func (v *NullableSourceContentPackageResponse) UnmarshalJSON(src []byte) error

func (*NullableSourceContentPackageResponse) Unset

type NullableSourceContentPackageResponseContent

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

func (NullableSourceContentPackageResponseContent) Get

func (NullableSourceContentPackageResponseContent) IsSet

func (NullableSourceContentPackageResponseContent) MarshalJSON

func (*NullableSourceContentPackageResponseContent) Set

func (*NullableSourceContentPackageResponseContent) UnmarshalJSON

func (v *NullableSourceContentPackageResponseContent) UnmarshalJSON(src []byte) error

func (*NullableSourceContentPackageResponseContent) Unset

type NullableSourceImportContentResponse

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

func (NullableSourceImportContentResponse) Get

func (NullableSourceImportContentResponse) IsSet

func (NullableSourceImportContentResponse) MarshalJSON

func (v NullableSourceImportContentResponse) MarshalJSON() ([]byte, error)

func (*NullableSourceImportContentResponse) Set

func (*NullableSourceImportContentResponse) UnmarshalJSON

func (v *NullableSourceImportContentResponse) UnmarshalJSON(src []byte) error

func (*NullableSourceImportContentResponse) Unset

type NullableSourceImportMetadata

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

func NewNullableSourceImportMetadata

func NewNullableSourceImportMetadata(val *SourceImportMetadata) *NullableSourceImportMetadata

func (NullableSourceImportMetadata) Get

func (NullableSourceImportMetadata) IsSet

func (NullableSourceImportMetadata) MarshalJSON

func (v NullableSourceImportMetadata) MarshalJSON() ([]byte, error)

func (*NullableSourceImportMetadata) Set

func (*NullableSourceImportMetadata) UnmarshalJSON

func (v *NullableSourceImportMetadata) UnmarshalJSON(src []byte) error

func (*NullableSourceImportMetadata) Unset

func (v *NullableSourceImportMetadata) Unset()

type NullableSourceImportMetadataContents

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

func (NullableSourceImportMetadataContents) Get

func (NullableSourceImportMetadataContents) IsSet

func (NullableSourceImportMetadataContents) MarshalJSON

func (v NullableSourceImportMetadataContents) MarshalJSON() ([]byte, error)

func (*NullableSourceImportMetadataContents) Set

func (*NullableSourceImportMetadataContents) UnmarshalJSON

func (v *NullableSourceImportMetadataContents) UnmarshalJSON(src []byte) error

func (*NullableSourceImportMetadataContents) Unset

type NullableSourceImportOperation

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

func (NullableSourceImportOperation) Get

func (NullableSourceImportOperation) IsSet

func (NullableSourceImportOperation) MarshalJSON

func (v NullableSourceImportOperation) MarshalJSON() ([]byte, error)

func (*NullableSourceImportOperation) Set

func (*NullableSourceImportOperation) UnmarshalJSON

func (v *NullableSourceImportOperation) UnmarshalJSON(src []byte) error

func (*NullableSourceImportOperation) Unset

func (v *NullableSourceImportOperation) Unset()

type NullableSourceManifest

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

func NewNullableSourceManifest

func NewNullableSourceManifest(val *SourceManifest) *NullableSourceManifest

func (NullableSourceManifest) Get

func (NullableSourceManifest) IsSet

func (v NullableSourceManifest) IsSet() bool

func (NullableSourceManifest) MarshalJSON

func (v NullableSourceManifest) MarshalJSON() ([]byte, error)

func (*NullableSourceManifest) Set

func (*NullableSourceManifest) UnmarshalJSON

func (v *NullableSourceManifest) UnmarshalJSON(src []byte) error

func (*NullableSourceManifest) Unset

func (v *NullableSourceManifest) Unset()

type NullableSourceManifestMetadataRecords

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

func (NullableSourceManifestMetadataRecords) Get

func (NullableSourceManifestMetadataRecords) IsSet

func (NullableSourceManifestMetadataRecords) MarshalJSON

func (v NullableSourceManifestMetadataRecords) MarshalJSON() ([]byte, error)

func (*NullableSourceManifestMetadataRecords) Set

func (*NullableSourceManifestMetadataRecords) UnmarshalJSON

func (v *NullableSourceManifestMetadataRecords) UnmarshalJSON(src []byte) error

func (*NullableSourceManifestMetadataRecords) Unset

type NullableSourceVulnerabilitiesResponse

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

func (NullableSourceVulnerabilitiesResponse) Get

func (NullableSourceVulnerabilitiesResponse) IsSet

func (NullableSourceVulnerabilitiesResponse) MarshalJSON

func (v NullableSourceVulnerabilitiesResponse) MarshalJSON() ([]byte, error)

func (*NullableSourceVulnerabilitiesResponse) Set

func (*NullableSourceVulnerabilitiesResponse) UnmarshalJSON

func (v *NullableSourceVulnerabilitiesResponse) UnmarshalJSON(src []byte) error

func (*NullableSourceVulnerabilitiesResponse) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableVendorDataObject

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

func NewNullableVendorDataObject

func NewNullableVendorDataObject(val *VendorDataObject) *NullableVendorDataObject

func (NullableVendorDataObject) Get

func (NullableVendorDataObject) IsSet

func (v NullableVendorDataObject) IsSet() bool

func (NullableVendorDataObject) MarshalJSON

func (v NullableVendorDataObject) MarshalJSON() ([]byte, error)

func (*NullableVendorDataObject) Set

func (*NullableVendorDataObject) UnmarshalJSON

func (v *NullableVendorDataObject) UnmarshalJSON(src []byte) error

func (*NullableVendorDataObject) Unset

func (v *NullableVendorDataObject) Unset()

type NullableVersionVulnerability

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

func NewNullableVersionVulnerability

func NewNullableVersionVulnerability(val *VersionVulnerability) *NullableVersionVulnerability

func (NullableVersionVulnerability) Get

func (NullableVersionVulnerability) IsSet

func (NullableVersionVulnerability) MarshalJSON

func (v NullableVersionVulnerability) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerability) Set

func (*NullableVersionVulnerability) UnmarshalJSON

func (v *NullableVersionVulnerability) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerability) Unset

func (v *NullableVersionVulnerability) Unset()

type NullableVersionVulnerabilityMatch

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

func (NullableVersionVulnerabilityMatch) Get

func (NullableVersionVulnerabilityMatch) IsSet

func (NullableVersionVulnerabilityMatch) MarshalJSON

func (v NullableVersionVulnerabilityMatch) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityMatch) Set

func (*NullableVersionVulnerabilityMatch) UnmarshalJSON

func (v *NullableVersionVulnerabilityMatch) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityMatch) Unset

type NullableVersionVulnerabilityMatchLocation

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

func (NullableVersionVulnerabilityMatchLocation) Get

func (NullableVersionVulnerabilityMatchLocation) IsSet

func (NullableVersionVulnerabilityMatchLocation) MarshalJSON

func (*NullableVersionVulnerabilityMatchLocation) Set

func (*NullableVersionVulnerabilityMatchLocation) UnmarshalJSON

func (v *NullableVersionVulnerabilityMatchLocation) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityMatchLocation) Unset

type NullableVersionVulnerabilityMatchLocationArtifact

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

func (NullableVersionVulnerabilityMatchLocationArtifact) Get

func (NullableVersionVulnerabilityMatchLocationArtifact) IsSet

func (NullableVersionVulnerabilityMatchLocationArtifact) MarshalJSON

func (*NullableVersionVulnerabilityMatchLocationArtifact) Set

func (*NullableVersionVulnerabilityMatchLocationArtifact) UnmarshalJSON

func (*NullableVersionVulnerabilityMatchLocationArtifact) Unset

type NullableVersionVulnerabilityMatchLocationPackage

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

func (NullableVersionVulnerabilityMatchLocationPackage) Get

func (NullableVersionVulnerabilityMatchLocationPackage) IsSet

func (NullableVersionVulnerabilityMatchLocationPackage) MarshalJSON

func (*NullableVersionVulnerabilityMatchLocationPackage) Set

func (*NullableVersionVulnerabilityMatchLocationPackage) UnmarshalJSON

func (*NullableVersionVulnerabilityMatchLocationPackage) Unset

type NullableVersionVulnerabilityNVD

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

func (NullableVersionVulnerabilityNVD) Get

func (NullableVersionVulnerabilityNVD) IsSet

func (NullableVersionVulnerabilityNVD) MarshalJSON

func (v NullableVersionVulnerabilityNVD) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityNVD) Set

func (*NullableVersionVulnerabilityNVD) UnmarshalJSON

func (v *NullableVersionVulnerabilityNVD) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityNVD) Unset

type NullableVersionVulnerabilityNVDAllOf

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

func (NullableVersionVulnerabilityNVDAllOf) Get

func (NullableVersionVulnerabilityNVDAllOf) IsSet

func (NullableVersionVulnerabilityNVDAllOf) MarshalJSON

func (v NullableVersionVulnerabilityNVDAllOf) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityNVDAllOf) Set

func (*NullableVersionVulnerabilityNVDAllOf) UnmarshalJSON

func (v *NullableVersionVulnerabilityNVDAllOf) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityNVDAllOf) Unset

type NullableVersionVulnerabilityReportImage

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

func (NullableVersionVulnerabilityReportImage) Get

func (NullableVersionVulnerabilityReportImage) IsSet

func (NullableVersionVulnerabilityReportImage) MarshalJSON

func (v NullableVersionVulnerabilityReportImage) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityReportImage) Set

func (*NullableVersionVulnerabilityReportImage) UnmarshalJSON

func (v *NullableVersionVulnerabilityReportImage) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityReportImage) Unset

type NullableVersionVulnerabilityReportSource

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

func (NullableVersionVulnerabilityReportSource) Get

func (NullableVersionVulnerabilityReportSource) IsSet

func (NullableVersionVulnerabilityReportSource) MarshalJSON

func (*NullableVersionVulnerabilityReportSource) Set

func (*NullableVersionVulnerabilityReportSource) UnmarshalJSON

func (v *NullableVersionVulnerabilityReportSource) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityReportSource) Unset

type NullableVersionVulnerabilityVendor

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

func (NullableVersionVulnerabilityVendor) Get

func (NullableVersionVulnerabilityVendor) IsSet

func (NullableVersionVulnerabilityVendor) MarshalJSON

func (v NullableVersionVulnerabilityVendor) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityVendor) Set

func (*NullableVersionVulnerabilityVendor) UnmarshalJSON

func (v *NullableVersionVulnerabilityVendor) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityVendor) Unset

type NullableVersionVulnerabilityVendorAllOf

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

func (NullableVersionVulnerabilityVendorAllOf) Get

func (NullableVersionVulnerabilityVendorAllOf) IsSet

func (NullableVersionVulnerabilityVendorAllOf) MarshalJSON

func (v NullableVersionVulnerabilityVendorAllOf) MarshalJSON() ([]byte, error)

func (*NullableVersionVulnerabilityVendorAllOf) Set

func (*NullableVersionVulnerabilityVendorAllOf) UnmarshalJSON

func (v *NullableVersionVulnerabilityVendorAllOf) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityVendorAllOf) Unset

type NullableVersionVulnerabilityVendorNVDCommon

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

func (NullableVersionVulnerabilityVendorNVDCommon) Get

func (NullableVersionVulnerabilityVendorNVDCommon) IsSet

func (NullableVersionVulnerabilityVendorNVDCommon) MarshalJSON

func (*NullableVersionVulnerabilityVendorNVDCommon) Set

func (*NullableVersionVulnerabilityVendorNVDCommon) UnmarshalJSON

func (v *NullableVersionVulnerabilityVendorNVDCommon) UnmarshalJSON(src []byte) error

func (*NullableVersionVulnerabilityVendorNVDCommon) Unset

type NullableVersionVulnerabilityVendorNVDCommonCvss

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

func (NullableVersionVulnerabilityVendorNVDCommonCvss) Get

func (NullableVersionVulnerabilityVendorNVDCommonCvss) IsSet

func (NullableVersionVulnerabilityVendorNVDCommonCvss) MarshalJSON

func (*NullableVersionVulnerabilityVendorNVDCommonCvss) Set

func (*NullableVersionVulnerabilityVendorNVDCommonCvss) UnmarshalJSON

func (*NullableVersionVulnerabilityVendorNVDCommonCvss) Unset

type NullableVulnerability

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

func NewNullableVulnerability

func NewNullableVulnerability(val *Vulnerability) *NullableVulnerability

func (NullableVulnerability) Get

func (NullableVulnerability) IsSet

func (v NullableVulnerability) IsSet() bool

func (NullableVulnerability) MarshalJSON

func (v NullableVulnerability) MarshalJSON() ([]byte, error)

func (*NullableVulnerability) Set

func (v *NullableVulnerability) Set(val *Vulnerability)

func (*NullableVulnerability) UnmarshalJSON

func (v *NullableVulnerability) UnmarshalJSON(src []byte) error

func (*NullableVulnerability) Unset

func (v *NullableVulnerability) Unset()

type NvdDataObject

type NvdDataObject struct {
	// NVD Vulnerability ID
	Id     *string       `json:"id,omitempty"`
	CvssV2 *CVSSV2Scores `json:"cvss_v2,omitempty"`
	CvssV3 *CVSSV3Scores `json:"cvss_v3,omitempty"`
}

NvdDataObject struct for NvdDataObject

func NewNvdDataObject

func NewNvdDataObject() *NvdDataObject

NewNvdDataObject instantiates a new NvdDataObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNvdDataObjectWithDefaults

func NewNvdDataObjectWithDefaults() *NvdDataObject

NewNvdDataObjectWithDefaults instantiates a new NvdDataObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NvdDataObject) GetCvssV2

func (o *NvdDataObject) GetCvssV2() CVSSV2Scores

GetCvssV2 returns the CvssV2 field value if set, zero value otherwise.

func (*NvdDataObject) GetCvssV2Ok

func (o *NvdDataObject) GetCvssV2Ok() (*CVSSV2Scores, bool)

GetCvssV2Ok returns a tuple with the CvssV2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NvdDataObject) GetCvssV3

func (o *NvdDataObject) GetCvssV3() CVSSV3Scores

GetCvssV3 returns the CvssV3 field value if set, zero value otherwise.

func (*NvdDataObject) GetCvssV3Ok

func (o *NvdDataObject) GetCvssV3Ok() (*CVSSV3Scores, bool)

GetCvssV3Ok returns a tuple with the CvssV3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NvdDataObject) GetId

func (o *NvdDataObject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*NvdDataObject) GetIdOk

func (o *NvdDataObject) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NvdDataObject) HasCvssV2

func (o *NvdDataObject) HasCvssV2() bool

HasCvssV2 returns a boolean if a field has been set.

func (*NvdDataObject) HasCvssV3

func (o *NvdDataObject) HasCvssV3() bool

HasCvssV3 returns a boolean if a field has been set.

func (*NvdDataObject) HasId

func (o *NvdDataObject) HasId() bool

HasId returns a boolean if a field has been set.

func (NvdDataObject) MarshalJSON

func (o NvdDataObject) MarshalJSON() ([]byte, error)

func (*NvdDataObject) SetCvssV2

func (o *NvdDataObject) SetCvssV2(v CVSSV2Scores)

SetCvssV2 gets a reference to the given CVSSV2Scores and assigns it to the CvssV2 field.

func (*NvdDataObject) SetCvssV3

func (o *NvdDataObject) SetCvssV3(v CVSSV3Scores)

SetCvssV3 gets a reference to the given CVSSV3Scores and assigns it to the CvssV3 field.

func (*NvdDataObject) SetId

func (o *NvdDataObject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

type Package

type Package struct {
	Name      *string   `json:"name,omitempty"`
	Version   *string   `json:"version,omitempty"`
	Release   *string   `json:"release,omitempty"`
	Sourcepkg *string   `json:"sourcepkg,omitempty"`
	Location  *string   `json:"location,omitempty"`
	Origin    *string   `json:"origin,omitempty"`
	Size      *int32    `json:"size,omitempty"`
	Licenses  *[]string `json:"licenses,omitempty"`
	// The type of the metadata entry
	MetadataType *string `json:"metadata_type,omitempty"`
	// Package type specific metadata
	Metadata *interface{} `json:"metadata,omitempty"`
	// Spec version for java packages
	SpecificationVersion *string `json:"specification_version,omitempty"`
	// Implementation version for java packages
	ImplementationVersion *string `json:"implementation_version,omitempty"`
	// Maven version for java packages
	MavenVersion *string `json:"maven_version,omitempty"`
	// List of CPE strings for this package
	Cpes *[]string `json:"cpes,omitempty"`
}

Package A normalized and simplified package that can represent any package type

func NewPackage

func NewPackage() *Package

NewPackage instantiates a new Package object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPackageWithDefaults

func NewPackageWithDefaults() *Package

NewPackageWithDefaults instantiates a new Package object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Package) GetCpes

func (o *Package) GetCpes() []string

GetCpes returns the Cpes field value if set, zero value otherwise.

func (*Package) GetCpesOk

func (o *Package) GetCpesOk() (*[]string, bool)

GetCpesOk returns a tuple with the Cpes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetImplementationVersion

func (o *Package) GetImplementationVersion() string

GetImplementationVersion returns the ImplementationVersion field value if set, zero value otherwise.

func (*Package) GetImplementationVersionOk

func (o *Package) GetImplementationVersionOk() (*string, bool)

GetImplementationVersionOk returns a tuple with the ImplementationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetLicenses

func (o *Package) GetLicenses() []string

GetLicenses returns the Licenses field value if set, zero value otherwise.

func (*Package) GetLicensesOk

func (o *Package) GetLicensesOk() (*[]string, bool)

GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetLocation

func (o *Package) GetLocation() string

GetLocation returns the Location field value if set, zero value otherwise.

func (*Package) GetLocationOk

func (o *Package) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetMavenVersion

func (o *Package) GetMavenVersion() string

GetMavenVersion returns the MavenVersion field value if set, zero value otherwise.

func (*Package) GetMavenVersionOk

func (o *Package) GetMavenVersionOk() (*string, bool)

GetMavenVersionOk returns a tuple with the MavenVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetMetadata

func (o *Package) GetMetadata() interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*Package) GetMetadataOk

func (o *Package) GetMetadataOk() (*interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetMetadataType

func (o *Package) GetMetadataType() string

GetMetadataType returns the MetadataType field value if set, zero value otherwise.

func (*Package) GetMetadataTypeOk

func (o *Package) GetMetadataTypeOk() (*string, bool)

GetMetadataTypeOk returns a tuple with the MetadataType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetName

func (o *Package) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Package) GetNameOk

func (o *Package) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetOrigin

func (o *Package) GetOrigin() string

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*Package) GetOriginOk

func (o *Package) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetRelease

func (o *Package) GetRelease() string

GetRelease returns the Release field value if set, zero value otherwise.

func (*Package) GetReleaseOk

func (o *Package) GetReleaseOk() (*string, bool)

GetReleaseOk returns a tuple with the Release field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetSize

func (o *Package) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Package) GetSizeOk

func (o *Package) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetSourcepkg

func (o *Package) GetSourcepkg() string

GetSourcepkg returns the Sourcepkg field value if set, zero value otherwise.

func (*Package) GetSourcepkgOk

func (o *Package) GetSourcepkgOk() (*string, bool)

GetSourcepkgOk returns a tuple with the Sourcepkg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetSpecificationVersion

func (o *Package) GetSpecificationVersion() string

GetSpecificationVersion returns the SpecificationVersion field value if set, zero value otherwise.

func (*Package) GetSpecificationVersionOk

func (o *Package) GetSpecificationVersionOk() (*string, bool)

GetSpecificationVersionOk returns a tuple with the SpecificationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) GetVersion

func (o *Package) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Package) GetVersionOk

func (o *Package) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Package) HasCpes

func (o *Package) HasCpes() bool

HasCpes returns a boolean if a field has been set.

func (*Package) HasImplementationVersion

func (o *Package) HasImplementationVersion() bool

HasImplementationVersion returns a boolean if a field has been set.

func (*Package) HasLicenses

func (o *Package) HasLicenses() bool

HasLicenses returns a boolean if a field has been set.

func (*Package) HasLocation

func (o *Package) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*Package) HasMavenVersion

func (o *Package) HasMavenVersion() bool

HasMavenVersion returns a boolean if a field has been set.

func (*Package) HasMetadata

func (o *Package) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*Package) HasMetadataType

func (o *Package) HasMetadataType() bool

HasMetadataType returns a boolean if a field has been set.

func (*Package) HasName

func (o *Package) HasName() bool

HasName returns a boolean if a field has been set.

func (*Package) HasOrigin

func (o *Package) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (*Package) HasRelease

func (o *Package) HasRelease() bool

HasRelease returns a boolean if a field has been set.

func (*Package) HasSize

func (o *Package) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Package) HasSourcepkg

func (o *Package) HasSourcepkg() bool

HasSourcepkg returns a boolean if a field has been set.

func (*Package) HasSpecificationVersion

func (o *Package) HasSpecificationVersion() bool

HasSpecificationVersion returns a boolean if a field has been set.

func (*Package) HasVersion

func (o *Package) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Package) MarshalJSON

func (o Package) MarshalJSON() ([]byte, error)

func (*Package) SetCpes

func (o *Package) SetCpes(v []string)

SetCpes gets a reference to the given []string and assigns it to the Cpes field.

func (*Package) SetImplementationVersion

func (o *Package) SetImplementationVersion(v string)

SetImplementationVersion gets a reference to the given string and assigns it to the ImplementationVersion field.

func (*Package) SetLicenses

func (o *Package) SetLicenses(v []string)

SetLicenses gets a reference to the given []string and assigns it to the Licenses field.

func (*Package) SetLocation

func (o *Package) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*Package) SetMavenVersion

func (o *Package) SetMavenVersion(v string)

SetMavenVersion gets a reference to the given string and assigns it to the MavenVersion field.

func (*Package) SetMetadata

func (o *Package) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*Package) SetMetadataType

func (o *Package) SetMetadataType(v string)

SetMetadataType gets a reference to the given string and assigns it to the MetadataType field.

func (*Package) SetName

func (o *Package) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Package) SetOrigin

func (o *Package) SetOrigin(v string)

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*Package) SetRelease

func (o *Package) SetRelease(v string)

SetRelease gets a reference to the given string and assigns it to the Release field.

func (*Package) SetSize

func (o *Package) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Package) SetSourcepkg

func (o *Package) SetSourcepkg(v string)

SetSourcepkg gets a reference to the given string and assigns it to the Sourcepkg field.

func (*Package) SetSpecificationVersion

func (o *Package) SetSpecificationVersion(v string)

SetSpecificationVersion gets a reference to the given string and assigns it to the SpecificationVersion field.

func (*Package) SetVersion

func (o *Package) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

type PolicyEvaluationResult

type PolicyEvaluationResult struct {
	AccountId      *string      `json:"account_id,omitempty"`
	PolicyId       *string      `json:"policy_id,omitempty"`
	EvaluationId   *string      `json:"evaluation_id,omitempty"`
	SourceId       *string      `json:"source_id,omitempty"`
	VcsHost        *string      `json:"vcs_host,omitempty"`
	RepositoryName *string      `json:"repository_name,omitempty"`
	FinalAction    *string      `json:"final_action,omitempty"`
	EvaluationUrl  *string      `json:"evaluation_url,omitempty"`
	CreatedAt      *time.Time   `json:"created_at,omitempty"`
	LastUpdated    *time.Time   `json:"last_updated,omitempty"`
	Result         *interface{} `json:"result,omitempty"`
}

PolicyEvaluationResult struct for PolicyEvaluationResult

func NewPolicyEvaluationResult

func NewPolicyEvaluationResult() *PolicyEvaluationResult

NewPolicyEvaluationResult instantiates a new PolicyEvaluationResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPolicyEvaluationResultWithDefaults

func NewPolicyEvaluationResultWithDefaults() *PolicyEvaluationResult

NewPolicyEvaluationResultWithDefaults instantiates a new PolicyEvaluationResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PolicyEvaluationResult) GetAccountId

func (o *PolicyEvaluationResult) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetAccountIdOk

func (o *PolicyEvaluationResult) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetCreatedAt

func (o *PolicyEvaluationResult) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetCreatedAtOk

func (o *PolicyEvaluationResult) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetEvaluationId

func (o *PolicyEvaluationResult) GetEvaluationId() string

GetEvaluationId returns the EvaluationId field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetEvaluationIdOk

func (o *PolicyEvaluationResult) GetEvaluationIdOk() (*string, bool)

GetEvaluationIdOk returns a tuple with the EvaluationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetEvaluationUrl

func (o *PolicyEvaluationResult) GetEvaluationUrl() string

GetEvaluationUrl returns the EvaluationUrl field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetEvaluationUrlOk

func (o *PolicyEvaluationResult) GetEvaluationUrlOk() (*string, bool)

GetEvaluationUrlOk returns a tuple with the EvaluationUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetFinalAction

func (o *PolicyEvaluationResult) GetFinalAction() string

GetFinalAction returns the FinalAction field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetFinalActionOk

func (o *PolicyEvaluationResult) GetFinalActionOk() (*string, bool)

GetFinalActionOk returns a tuple with the FinalAction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetLastUpdated

func (o *PolicyEvaluationResult) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetLastUpdatedOk

func (o *PolicyEvaluationResult) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetPolicyId

func (o *PolicyEvaluationResult) GetPolicyId() string

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetPolicyIdOk

func (o *PolicyEvaluationResult) GetPolicyIdOk() (*string, bool)

GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetRepositoryName

func (o *PolicyEvaluationResult) GetRepositoryName() string

GetRepositoryName returns the RepositoryName field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetRepositoryNameOk

func (o *PolicyEvaluationResult) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetResult

func (o *PolicyEvaluationResult) GetResult() interface{}

GetResult returns the Result field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetResultOk

func (o *PolicyEvaluationResult) GetResultOk() (*interface{}, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetSourceId

func (o *PolicyEvaluationResult) GetSourceId() string

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetSourceIdOk

func (o *PolicyEvaluationResult) GetSourceIdOk() (*string, bool)

GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) GetVcsHost

func (o *PolicyEvaluationResult) GetVcsHost() string

GetVcsHost returns the VcsHost field value if set, zero value otherwise.

func (*PolicyEvaluationResult) GetVcsHostOk

func (o *PolicyEvaluationResult) GetVcsHostOk() (*string, bool)

GetVcsHostOk returns a tuple with the VcsHost field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PolicyEvaluationResult) HasAccountId

func (o *PolicyEvaluationResult) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasCreatedAt

func (o *PolicyEvaluationResult) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasEvaluationId

func (o *PolicyEvaluationResult) HasEvaluationId() bool

HasEvaluationId returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasEvaluationUrl

func (o *PolicyEvaluationResult) HasEvaluationUrl() bool

HasEvaluationUrl returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasFinalAction

func (o *PolicyEvaluationResult) HasFinalAction() bool

HasFinalAction returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasLastUpdated

func (o *PolicyEvaluationResult) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasPolicyId

func (o *PolicyEvaluationResult) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasRepositoryName

func (o *PolicyEvaluationResult) HasRepositoryName() bool

HasRepositoryName returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasResult

func (o *PolicyEvaluationResult) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasSourceId

func (o *PolicyEvaluationResult) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

func (*PolicyEvaluationResult) HasVcsHost

func (o *PolicyEvaluationResult) HasVcsHost() bool

HasVcsHost returns a boolean if a field has been set.

func (PolicyEvaluationResult) MarshalJSON

func (o PolicyEvaluationResult) MarshalJSON() ([]byte, error)

func (*PolicyEvaluationResult) SetAccountId

func (o *PolicyEvaluationResult) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*PolicyEvaluationResult) SetCreatedAt

func (o *PolicyEvaluationResult) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PolicyEvaluationResult) SetEvaluationId

func (o *PolicyEvaluationResult) SetEvaluationId(v string)

SetEvaluationId gets a reference to the given string and assigns it to the EvaluationId field.

func (*PolicyEvaluationResult) SetEvaluationUrl

func (o *PolicyEvaluationResult) SetEvaluationUrl(v string)

SetEvaluationUrl gets a reference to the given string and assigns it to the EvaluationUrl field.

func (*PolicyEvaluationResult) SetFinalAction

func (o *PolicyEvaluationResult) SetFinalAction(v string)

SetFinalAction gets a reference to the given string and assigns it to the FinalAction field.

func (*PolicyEvaluationResult) SetLastUpdated

func (o *PolicyEvaluationResult) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*PolicyEvaluationResult) SetPolicyId

func (o *PolicyEvaluationResult) SetPolicyId(v string)

SetPolicyId gets a reference to the given string and assigns it to the PolicyId field.

func (*PolicyEvaluationResult) SetRepositoryName

func (o *PolicyEvaluationResult) SetRepositoryName(v string)

SetRepositoryName gets a reference to the given string and assigns it to the RepositoryName field.

func (*PolicyEvaluationResult) SetResult

func (o *PolicyEvaluationResult) SetResult(v interface{})

SetResult gets a reference to the given interface{} and assigns it to the Result field.

func (*PolicyEvaluationResult) SetSourceId

func (o *PolicyEvaluationResult) SetSourceId(v string)

SetSourceId gets a reference to the given string and assigns it to the SourceId field.

func (*PolicyEvaluationResult) SetVcsHost

func (o *PolicyEvaluationResult) SetVcsHost(v string)

SetVcsHost gets a reference to the given string and assigns it to the VcsHost field.

type RelationshipSbomDiff

type RelationshipSbomDiff struct {
	// Packages added based on the type of relationship. A \"contains\" relationship means packages present in the source artifact (image) not present in the target (source repo) of the relationship.
	SourceOnly *[]Package `json:"source_only,omitempty"`
	// Packages removed based on the type of relationship. A \"contains\" relationship means packages not present in the source artifact (image) present in the target (source repo) of the relationship.
	TargetOnly     *[]Package         `json:"target_only,omitempty"`
	SourceModified *[]ModifiedPackage `json:"source_modified,omitempty"`
	BothUnmodified *[]Package         `json:"both_unmodified,omitempty"`
}

RelationshipSbomDiff The diff of two sboms with context applied in each difference. The \"added\" and \"removed\" directions depend on the relationship to which this diff applies. A relationship defines a source, a target, and a type. For example, a relationship of type \"contains\" with a source of an image and a target of a source revision will indicate that the diff is between the source repo sbom and the image sbom. Added packages are present in the image but not in the source, removed are present in the source revision but not in the image, etc.

func NewRelationshipSbomDiff

func NewRelationshipSbomDiff() *RelationshipSbomDiff

NewRelationshipSbomDiff instantiates a new RelationshipSbomDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelationshipSbomDiffWithDefaults

func NewRelationshipSbomDiffWithDefaults() *RelationshipSbomDiff

NewRelationshipSbomDiffWithDefaults instantiates a new RelationshipSbomDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelationshipSbomDiff) GetBothUnmodified

func (o *RelationshipSbomDiff) GetBothUnmodified() []Package

GetBothUnmodified returns the BothUnmodified field value if set, zero value otherwise.

func (*RelationshipSbomDiff) GetBothUnmodifiedOk

func (o *RelationshipSbomDiff) GetBothUnmodifiedOk() (*[]Package, bool)

GetBothUnmodifiedOk returns a tuple with the BothUnmodified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipSbomDiff) GetSourceModified

func (o *RelationshipSbomDiff) GetSourceModified() []ModifiedPackage

GetSourceModified returns the SourceModified field value if set, zero value otherwise.

func (*RelationshipSbomDiff) GetSourceModifiedOk

func (o *RelationshipSbomDiff) GetSourceModifiedOk() (*[]ModifiedPackage, bool)

GetSourceModifiedOk returns a tuple with the SourceModified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipSbomDiff) GetSourceOnly

func (o *RelationshipSbomDiff) GetSourceOnly() []Package

GetSourceOnly returns the SourceOnly field value if set, zero value otherwise.

func (*RelationshipSbomDiff) GetSourceOnlyOk

func (o *RelationshipSbomDiff) GetSourceOnlyOk() (*[]Package, bool)

GetSourceOnlyOk returns a tuple with the SourceOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipSbomDiff) GetTargetOnly

func (o *RelationshipSbomDiff) GetTargetOnly() []Package

GetTargetOnly returns the TargetOnly field value if set, zero value otherwise.

func (*RelationshipSbomDiff) GetTargetOnlyOk

func (o *RelationshipSbomDiff) GetTargetOnlyOk() (*[]Package, bool)

GetTargetOnlyOk returns a tuple with the TargetOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RelationshipSbomDiff) HasBothUnmodified

func (o *RelationshipSbomDiff) HasBothUnmodified() bool

HasBothUnmodified returns a boolean if a field has been set.

func (*RelationshipSbomDiff) HasSourceModified

func (o *RelationshipSbomDiff) HasSourceModified() bool

HasSourceModified returns a boolean if a field has been set.

func (*RelationshipSbomDiff) HasSourceOnly

func (o *RelationshipSbomDiff) HasSourceOnly() bool

HasSourceOnly returns a boolean if a field has been set.

func (*RelationshipSbomDiff) HasTargetOnly

func (o *RelationshipSbomDiff) HasTargetOnly() bool

HasTargetOnly returns a boolean if a field has been set.

func (RelationshipSbomDiff) MarshalJSON

func (o RelationshipSbomDiff) MarshalJSON() ([]byte, error)

func (*RelationshipSbomDiff) SetBothUnmodified

func (o *RelationshipSbomDiff) SetBothUnmodified(v []Package)

SetBothUnmodified gets a reference to the given []Package and assigns it to the BothUnmodified field.

func (*RelationshipSbomDiff) SetSourceModified

func (o *RelationshipSbomDiff) SetSourceModified(v []ModifiedPackage)

SetSourceModified gets a reference to the given []ModifiedPackage and assigns it to the SourceModified field.

func (*RelationshipSbomDiff) SetSourceOnly

func (o *RelationshipSbomDiff) SetSourceOnly(v []Package)

SetSourceOnly gets a reference to the given []Package and assigns it to the SourceOnly field.

func (*RelationshipSbomDiff) SetTargetOnly

func (o *RelationshipSbomDiff) SetTargetOnly(v []Package)

SetTargetOnly gets a reference to the given []Package and assigns it to the TargetOnly field.

type RelationshipType

type RelationshipType string

RelationshipType The type of relationship between to artifacts

const (
	CONTAINS     RelationshipType = "contains"
	CONTAINED_BY RelationshipType = "contained_by"
)

List of RelationshipType

func NewRelationshipTypeFromValue

func NewRelationshipTypeFromValue(v string) (*RelationshipType, error)

NewRelationshipTypeFromValue returns a pointer to a valid RelationshipType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RelationshipType) IsValid

func (v RelationshipType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RelationshipType) Ptr

Ptr returns reference to RelationshipType value

func (*RelationshipType) UnmarshalJSON

func (v *RelationshipType) UnmarshalJSON(src []byte) error

type RelationshipsApi

type RelationshipsApi interface {

	/*
		AddArtifactRelationship Method for AddArtifactRelationship

		Add a new relationship for this image to another artifact (source or image)

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiAddArtifactRelationshipRequest
	*/
	AddArtifactRelationship(ctx _context.Context) ApiAddArtifactRelationshipRequest

	// AddArtifactRelationshipExecute executes the request
	//  @return interface{}
	AddArtifactRelationshipExecute(r ApiAddArtifactRelationshipRequest) (interface{}, *_nethttp.Response, error)

	/*
		DeleteArtifactRelationships Method for DeleteArtifactRelationships

		Delete one or more relationships

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiDeleteArtifactRelationshipsRequest
	*/
	DeleteArtifactRelationships(ctx _context.Context) ApiDeleteArtifactRelationshipsRequest

	// DeleteArtifactRelationshipsExecute executes the request
	//  @return interface{}
	DeleteArtifactRelationshipsExecute(r ApiDeleteArtifactRelationshipsRequest) (interface{}, *_nethttp.Response, error)

	/*
		GetArtifactRelationship Method for GetArtifactRelationship

		Get the relationship between software supply chain artifacts (images, source revisions, etc)

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param relationshipId Id of record to retrieve
		 @return ApiGetArtifactRelationshipRequest
	*/
	GetArtifactRelationship(ctx _context.Context, relationshipId string) ApiGetArtifactRelationshipRequest

	// GetArtifactRelationshipExecute executes the request
	//  @return ArtifactRelationship
	GetArtifactRelationshipExecute(r ApiGetArtifactRelationshipRequest) (ArtifactRelationship, *_nethttp.Response, error)

	/*
		GetRelationshipSbomDiff Method for GetRelationshipSbomDiff

		Return the context-aware diff of the sboms for the relationship

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param relationshipId
		 @return ApiGetRelationshipSbomDiffRequest
	*/
	GetRelationshipSbomDiff(ctx _context.Context, relationshipId string) ApiGetRelationshipSbomDiffRequest

	// GetRelationshipSbomDiffExecute executes the request
	//  @return RelationshipSbomDiff
	GetRelationshipSbomDiffExecute(r ApiGetRelationshipSbomDiffRequest) (RelationshipSbomDiff, *_nethttp.Response, error)

	/*
		ListArtifactRelationships Method for ListArtifactRelationships

		List the relationships between software supply chain artifacts (images, source revisions, etc)

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListArtifactRelationshipsRequest
	*/
	ListArtifactRelationships(ctx _context.Context) ApiListArtifactRelationshipsRequest

	// ListArtifactRelationshipsExecute executes the request
	//  @return []ArtifactRelationship
	ListArtifactRelationshipsExecute(r ApiListArtifactRelationshipsRequest) ([]ArtifactRelationship, *_nethttp.Response, error)
}

type RelationshipsApiService

type RelationshipsApiService service

RelationshipsApiService RelationshipsApi service

func (*RelationshipsApiService) AddArtifactRelationship

AddArtifactRelationship Method for AddArtifactRelationship

Add a new relationship for this image to another artifact (source or image)

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddArtifactRelationshipRequest

func (*RelationshipsApiService) AddArtifactRelationshipExecute

func (a *RelationshipsApiService) AddArtifactRelationshipExecute(r ApiAddArtifactRelationshipRequest) (interface{}, *_nethttp.Response, error)

Execute executes the request

@return interface{}

func (*RelationshipsApiService) DeleteArtifactRelationships

DeleteArtifactRelationships Method for DeleteArtifactRelationships

Delete one or more relationships

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeleteArtifactRelationshipsRequest

func (*RelationshipsApiService) DeleteArtifactRelationshipsExecute

func (a *RelationshipsApiService) DeleteArtifactRelationshipsExecute(r ApiDeleteArtifactRelationshipsRequest) (interface{}, *_nethttp.Response, error)

Execute executes the request

@return interface{}

func (*RelationshipsApiService) GetArtifactRelationship

func (a *RelationshipsApiService) GetArtifactRelationship(ctx _context.Context, relationshipId string) ApiGetArtifactRelationshipRequest

GetArtifactRelationship Method for GetArtifactRelationship

Get the relationship between software supply chain artifacts (images, source revisions, etc)

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param relationshipId Id of record to retrieve
@return ApiGetArtifactRelationshipRequest

func (*RelationshipsApiService) GetArtifactRelationshipExecute

Execute executes the request

@return ArtifactRelationship

func (*RelationshipsApiService) GetRelationshipSbomDiff

func (a *RelationshipsApiService) GetRelationshipSbomDiff(ctx _context.Context, relationshipId string) ApiGetRelationshipSbomDiffRequest

GetRelationshipSbomDiff Method for GetRelationshipSbomDiff

Return the context-aware diff of the sboms for the relationship

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param relationshipId
@return ApiGetRelationshipSbomDiffRequest

func (*RelationshipsApiService) GetRelationshipSbomDiffExecute

Execute executes the request

@return RelationshipSbomDiff

func (*RelationshipsApiService) ListArtifactRelationships

ListArtifactRelationships Method for ListArtifactRelationships

List the relationships between software supply chain artifacts (images, source revisions, etc)

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListArtifactRelationshipsRequest

func (*RelationshipsApiService) ListArtifactRelationshipsExecute

Execute executes the request

@return []ArtifactRelationship

type ResourceLabel

type ResourceLabel struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

ResourceLabel Label on the resource in the key value format

func NewResourceLabel

func NewResourceLabel() *ResourceLabel

NewResourceLabel instantiates a new ResourceLabel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceLabelWithDefaults

func NewResourceLabelWithDefaults() *ResourceLabel

NewResourceLabelWithDefaults instantiates a new ResourceLabel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceLabel) GetKey

func (o *ResourceLabel) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ResourceLabel) GetKeyOk

func (o *ResourceLabel) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceLabel) GetValue

func (o *ResourceLabel) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*ResourceLabel) GetValueOk

func (o *ResourceLabel) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceLabel) HasKey

func (o *ResourceLabel) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ResourceLabel) HasValue

func (o *ResourceLabel) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ResourceLabel) MarshalJSON

func (o ResourceLabel) MarshalJSON() ([]byte, error)

func (*ResourceLabel) SetKey

func (o *ResourceLabel) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ResourceLabel) SetValue

func (o *ResourceLabel) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

type RuntimeComplianceCheck

type RuntimeComplianceCheck struct {
	// The type of runtime compliance check
	CheckType string `json:"check_type"`
	// The result of the runtime compliance check
	Result *string `json:"result,omitempty"`
	// The pod the check was run against
	Pod *string `json:"pod,omitempty"`
	// The namespace of the pod the check was run against
	Namespace *string `json:"namespace,omitempty"`
	// The tag of image in the pod the check was run against
	ImageTag *string `json:"image_tag,omitempty"`
	// The digest of the pod the check was run against
	ImageDigest *string `json:"image_digest,omitempty"`
	// RFC 3339 formatted UTC timestamp when the runtime check started
	StartTime *time.Time `json:"start_time,omitempty"`
	// RFC 3339 formatted UTC timestamp when the runtime check ended
	EndTime *time.Time `json:"end_time,omitempty"`
	// Ids of the files generated by the runtime compliance check
	ComplianceFileIds *map[string]string `json:"compliance_file_ids,omitempty"`
}

RuntimeComplianceCheck The result of a runtime compliance check

func NewRuntimeComplianceCheck

func NewRuntimeComplianceCheck(checkType string) *RuntimeComplianceCheck

NewRuntimeComplianceCheck instantiates a new RuntimeComplianceCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRuntimeComplianceCheckWithDefaults

func NewRuntimeComplianceCheckWithDefaults() *RuntimeComplianceCheck

NewRuntimeComplianceCheckWithDefaults instantiates a new RuntimeComplianceCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RuntimeComplianceCheck) GetCheckType

func (o *RuntimeComplianceCheck) GetCheckType() string

GetCheckType returns the CheckType field value

func (*RuntimeComplianceCheck) GetCheckTypeOk

func (o *RuntimeComplianceCheck) GetCheckTypeOk() (*string, bool)

GetCheckTypeOk returns a tuple with the CheckType field value and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetComplianceFileIds

func (o *RuntimeComplianceCheck) GetComplianceFileIds() map[string]string

GetComplianceFileIds returns the ComplianceFileIds field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetComplianceFileIdsOk

func (o *RuntimeComplianceCheck) GetComplianceFileIdsOk() (*map[string]string, bool)

GetComplianceFileIdsOk returns a tuple with the ComplianceFileIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetEndTime

func (o *RuntimeComplianceCheck) GetEndTime() time.Time

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetEndTimeOk

func (o *RuntimeComplianceCheck) GetEndTimeOk() (*time.Time, bool)

GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetImageDigest

func (o *RuntimeComplianceCheck) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetImageDigestOk

func (o *RuntimeComplianceCheck) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetImageTag

func (o *RuntimeComplianceCheck) GetImageTag() string

GetImageTag returns the ImageTag field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetImageTagOk

func (o *RuntimeComplianceCheck) GetImageTagOk() (*string, bool)

GetImageTagOk returns a tuple with the ImageTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetNamespace

func (o *RuntimeComplianceCheck) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetNamespaceOk

func (o *RuntimeComplianceCheck) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetPod

func (o *RuntimeComplianceCheck) GetPod() string

GetPod returns the Pod field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetPodOk

func (o *RuntimeComplianceCheck) GetPodOk() (*string, bool)

GetPodOk returns a tuple with the Pod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetResult

func (o *RuntimeComplianceCheck) GetResult() string

GetResult returns the Result field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetResultOk

func (o *RuntimeComplianceCheck) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) GetStartTime

func (o *RuntimeComplianceCheck) GetStartTime() time.Time

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*RuntimeComplianceCheck) GetStartTimeOk

func (o *RuntimeComplianceCheck) GetStartTimeOk() (*time.Time, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuntimeComplianceCheck) HasComplianceFileIds

func (o *RuntimeComplianceCheck) HasComplianceFileIds() bool

HasComplianceFileIds returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasEndTime

func (o *RuntimeComplianceCheck) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasImageDigest

func (o *RuntimeComplianceCheck) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasImageTag

func (o *RuntimeComplianceCheck) HasImageTag() bool

HasImageTag returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasNamespace

func (o *RuntimeComplianceCheck) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasPod

func (o *RuntimeComplianceCheck) HasPod() bool

HasPod returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasResult

func (o *RuntimeComplianceCheck) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*RuntimeComplianceCheck) HasStartTime

func (o *RuntimeComplianceCheck) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (RuntimeComplianceCheck) MarshalJSON

func (o RuntimeComplianceCheck) MarshalJSON() ([]byte, error)

func (*RuntimeComplianceCheck) SetCheckType

func (o *RuntimeComplianceCheck) SetCheckType(v string)

SetCheckType sets field value

func (*RuntimeComplianceCheck) SetComplianceFileIds

func (o *RuntimeComplianceCheck) SetComplianceFileIds(v map[string]string)

SetComplianceFileIds gets a reference to the given map[string]string and assigns it to the ComplianceFileIds field.

func (*RuntimeComplianceCheck) SetEndTime

func (o *RuntimeComplianceCheck) SetEndTime(v time.Time)

SetEndTime gets a reference to the given time.Time and assigns it to the EndTime field.

func (*RuntimeComplianceCheck) SetImageDigest

func (o *RuntimeComplianceCheck) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

func (*RuntimeComplianceCheck) SetImageTag

func (o *RuntimeComplianceCheck) SetImageTag(v string)

SetImageTag gets a reference to the given string and assigns it to the ImageTag field.

func (*RuntimeComplianceCheck) SetNamespace

func (o *RuntimeComplianceCheck) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*RuntimeComplianceCheck) SetPod

func (o *RuntimeComplianceCheck) SetPod(v string)

SetPod gets a reference to the given string and assigns it to the Pod field.

func (*RuntimeComplianceCheck) SetResult

func (o *RuntimeComplianceCheck) SetResult(v string)

SetResult gets a reference to the given string and assigns it to the Result field.

func (*RuntimeComplianceCheck) SetStartTime

func (o *RuntimeComplianceCheck) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

type SBOMVulnerabilitiesResponse

type SBOMVulnerabilitiesResponse struct {
	SbomId            *string `json:"sbom_id,omitempty"`
	VulnerabilityType *string `json:"vulnerability_type,omitempty"`
	// List of Vulnerability objects
	Vulnerabilities *[]Vulnerability `json:"vulnerabilities,omitempty"`
}

SBOMVulnerabilitiesResponse Envelope containing list of vulnerabilities for a source repo

func NewSBOMVulnerabilitiesResponse

func NewSBOMVulnerabilitiesResponse() *SBOMVulnerabilitiesResponse

NewSBOMVulnerabilitiesResponse instantiates a new SBOMVulnerabilitiesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSBOMVulnerabilitiesResponseWithDefaults

func NewSBOMVulnerabilitiesResponseWithDefaults() *SBOMVulnerabilitiesResponse

NewSBOMVulnerabilitiesResponseWithDefaults instantiates a new SBOMVulnerabilitiesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SBOMVulnerabilitiesResponse) GetSbomId

func (o *SBOMVulnerabilitiesResponse) GetSbomId() string

GetSbomId returns the SbomId field value if set, zero value otherwise.

func (*SBOMVulnerabilitiesResponse) GetSbomIdOk

func (o *SBOMVulnerabilitiesResponse) GetSbomIdOk() (*string, bool)

GetSbomIdOk returns a tuple with the SbomId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SBOMVulnerabilitiesResponse) GetVulnerabilities

func (o *SBOMVulnerabilitiesResponse) GetVulnerabilities() []Vulnerability

GetVulnerabilities returns the Vulnerabilities field value if set, zero value otherwise.

func (*SBOMVulnerabilitiesResponse) GetVulnerabilitiesOk

func (o *SBOMVulnerabilitiesResponse) GetVulnerabilitiesOk() (*[]Vulnerability, bool)

GetVulnerabilitiesOk returns a tuple with the Vulnerabilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SBOMVulnerabilitiesResponse) GetVulnerabilityType

func (o *SBOMVulnerabilitiesResponse) GetVulnerabilityType() string

GetVulnerabilityType returns the VulnerabilityType field value if set, zero value otherwise.

func (*SBOMVulnerabilitiesResponse) GetVulnerabilityTypeOk

func (o *SBOMVulnerabilitiesResponse) GetVulnerabilityTypeOk() (*string, bool)

GetVulnerabilityTypeOk returns a tuple with the VulnerabilityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SBOMVulnerabilitiesResponse) HasSbomId

func (o *SBOMVulnerabilitiesResponse) HasSbomId() bool

HasSbomId returns a boolean if a field has been set.

func (*SBOMVulnerabilitiesResponse) HasVulnerabilities

func (o *SBOMVulnerabilitiesResponse) HasVulnerabilities() bool

HasVulnerabilities returns a boolean if a field has been set.

func (*SBOMVulnerabilitiesResponse) HasVulnerabilityType

func (o *SBOMVulnerabilitiesResponse) HasVulnerabilityType() bool

HasVulnerabilityType returns a boolean if a field has been set.

func (SBOMVulnerabilitiesResponse) MarshalJSON

func (o SBOMVulnerabilitiesResponse) MarshalJSON() ([]byte, error)

func (*SBOMVulnerabilitiesResponse) SetSbomId

func (o *SBOMVulnerabilitiesResponse) SetSbomId(v string)

SetSbomId gets a reference to the given string and assigns it to the SbomId field.

func (*SBOMVulnerabilitiesResponse) SetVulnerabilities

func (o *SBOMVulnerabilitiesResponse) SetVulnerabilities(v []Vulnerability)

SetVulnerabilities gets a reference to the given []Vulnerability and assigns it to the Vulnerabilities field.

func (*SBOMVulnerabilitiesResponse) SetVulnerabilityType

func (o *SBOMVulnerabilitiesResponse) SetVulnerabilityType(v string)

SetVulnerabilityType gets a reference to the given string and assigns it to the VulnerabilityType field.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Source

type Source struct {
	// A system-assigned identifier unique for each source analysis
	Uuid *string `json:"uuid,omitempty"`
	// The nextlinux account id that owns this resource
	AccountId *string `json:"account_id,omitempty"`
	// Host name for the repository location (e.g. github.com)
	Host *string `json:"host,omitempty"`
	// The name of the repository on the host (e.g. 'nextlinux/nextlinux-engine')
	RepositoryName *string `json:"repository_name,omitempty"`
	// The commit ID for a git repository
	Revision *string `json:"revision,omitempty"`
	// The analysis state of the source
	AnalysisStatus *string `json:"analysis_status,omitempty"`
	// The state of the source
	SourceStatus *string    `json:"source_status,omitempty"`
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	LastUpdated  *time.Time `json:"last_updated,omitempty"`
}

Source struct for Source

func NewSource

func NewSource() *Source

NewSource instantiates a new Source object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceWithDefaults

func NewSourceWithDefaults() *Source

NewSourceWithDefaults instantiates a new Source object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Source) GetAccountId

func (o *Source) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*Source) GetAccountIdOk

func (o *Source) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetAnalysisStatus

func (o *Source) GetAnalysisStatus() string

GetAnalysisStatus returns the AnalysisStatus field value if set, zero value otherwise.

func (*Source) GetAnalysisStatusOk

func (o *Source) GetAnalysisStatusOk() (*string, bool)

GetAnalysisStatusOk returns a tuple with the AnalysisStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetCreatedAt

func (o *Source) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Source) GetCreatedAtOk

func (o *Source) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetHost

func (o *Source) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*Source) GetHostOk

func (o *Source) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetLastUpdated

func (o *Source) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*Source) GetLastUpdatedOk

func (o *Source) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetRepositoryName

func (o *Source) GetRepositoryName() string

GetRepositoryName returns the RepositoryName field value if set, zero value otherwise.

func (*Source) GetRepositoryNameOk

func (o *Source) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetRevision

func (o *Source) GetRevision() string

GetRevision returns the Revision field value if set, zero value otherwise.

func (*Source) GetRevisionOk

func (o *Source) GetRevisionOk() (*string, bool)

GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetSourceStatus

func (o *Source) GetSourceStatus() string

GetSourceStatus returns the SourceStatus field value if set, zero value otherwise.

func (*Source) GetSourceStatusOk

func (o *Source) GetSourceStatusOk() (*string, bool)

GetSourceStatusOk returns a tuple with the SourceStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetUuid

func (o *Source) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Source) GetUuidOk

func (o *Source) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) HasAccountId

func (o *Source) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*Source) HasAnalysisStatus

func (o *Source) HasAnalysisStatus() bool

HasAnalysisStatus returns a boolean if a field has been set.

func (*Source) HasCreatedAt

func (o *Source) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Source) HasHost

func (o *Source) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*Source) HasLastUpdated

func (o *Source) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*Source) HasRepositoryName

func (o *Source) HasRepositoryName() bool

HasRepositoryName returns a boolean if a field has been set.

func (*Source) HasRevision

func (o *Source) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*Source) HasSourceStatus

func (o *Source) HasSourceStatus() bool

HasSourceStatus returns a boolean if a field has been set.

func (*Source) HasUuid

func (o *Source) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Source) MarshalJSON

func (o Source) MarshalJSON() ([]byte, error)

func (*Source) SetAccountId

func (o *Source) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*Source) SetAnalysisStatus

func (o *Source) SetAnalysisStatus(v string)

SetAnalysisStatus gets a reference to the given string and assigns it to the AnalysisStatus field.

func (*Source) SetCreatedAt

func (o *Source) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Source) SetHost

func (o *Source) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*Source) SetLastUpdated

func (o *Source) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*Source) SetRepositoryName

func (o *Source) SetRepositoryName(v string)

SetRepositoryName gets a reference to the given string and assigns it to the RepositoryName field.

func (*Source) SetRevision

func (o *Source) SetRevision(v string)

SetRevision gets a reference to the given string and assigns it to the Revision field.

func (*Source) SetSourceStatus

func (o *Source) SetSourceStatus(v string)

SetSourceStatus gets a reference to the given string and assigns it to the SourceStatus field.

func (*Source) SetUuid

func (o *Source) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type SourceContentPackageResponse

type SourceContentPackageResponse struct {
	SourceId    *string                                `json:"source_id,omitempty"`
	ContentType *string                                `json:"content_type,omitempty"`
	Content     *[]SourceContentPackageResponseContent `json:"content,omitempty"`
}

SourceContentPackageResponse Package content listings from analysis sbom

func NewSourceContentPackageResponse

func NewSourceContentPackageResponse() *SourceContentPackageResponse

NewSourceContentPackageResponse instantiates a new SourceContentPackageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceContentPackageResponseWithDefaults

func NewSourceContentPackageResponseWithDefaults() *SourceContentPackageResponse

NewSourceContentPackageResponseWithDefaults instantiates a new SourceContentPackageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceContentPackageResponse) GetContent

GetContent returns the Content field value if set, zero value otherwise.

func (*SourceContentPackageResponse) GetContentOk

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponse) GetContentType

func (o *SourceContentPackageResponse) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*SourceContentPackageResponse) GetContentTypeOk

func (o *SourceContentPackageResponse) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponse) GetSourceId

func (o *SourceContentPackageResponse) GetSourceId() string

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*SourceContentPackageResponse) GetSourceIdOk

func (o *SourceContentPackageResponse) GetSourceIdOk() (*string, bool)

GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponse) HasContent

func (o *SourceContentPackageResponse) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*SourceContentPackageResponse) HasContentType

func (o *SourceContentPackageResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*SourceContentPackageResponse) HasSourceId

func (o *SourceContentPackageResponse) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

func (SourceContentPackageResponse) MarshalJSON

func (o SourceContentPackageResponse) MarshalJSON() ([]byte, error)

func (*SourceContentPackageResponse) SetContent

SetContent gets a reference to the given []SourceContentPackageResponseContent and assigns it to the Content field.

func (*SourceContentPackageResponse) SetContentType

func (o *SourceContentPackageResponse) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*SourceContentPackageResponse) SetSourceId

func (o *SourceContentPackageResponse) SetSourceId(v string)

SetSourceId gets a reference to the given string and assigns it to the SourceId field.

type SourceContentPackageResponseContent

type SourceContentPackageResponseContent struct {
	Package *string `json:"package,omitempty"`
	Version *string `json:"version,omitempty"`
	Size    *string `json:"size,omitempty"`
	Type    *string `json:"type,omitempty"`
	Origin  *string `json:"origin,omitempty"`
	// Deprecated in favor of the 'licenses' field\"
	License  *string   `json:"license,omitempty"`
	Licenses *[]string `json:"licenses,omitempty"`
	Location *string   `json:"location,omitempty"`
	// A list of Common Platform Enumerations that may uniquely identify the package
	Cpes *[]string `json:"cpes,omitempty"`
	// The type of the metadata entry
	MetadataType *string `json:"metadata_type,omitempty"`
	// Package type specific metadata
	Metadata *interface{} `json:"metadata,omitempty"`
}

SourceContentPackageResponseContent struct for SourceContentPackageResponseContent

func NewSourceContentPackageResponseContent

func NewSourceContentPackageResponseContent() *SourceContentPackageResponseContent

NewSourceContentPackageResponseContent instantiates a new SourceContentPackageResponseContent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceContentPackageResponseContentWithDefaults

func NewSourceContentPackageResponseContentWithDefaults() *SourceContentPackageResponseContent

NewSourceContentPackageResponseContentWithDefaults instantiates a new SourceContentPackageResponseContent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceContentPackageResponseContent) GetCpes

GetCpes returns the Cpes field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetCpesOk

func (o *SourceContentPackageResponseContent) GetCpesOk() (*[]string, bool)

GetCpesOk returns a tuple with the Cpes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetLicense

GetLicense returns the License field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetLicenseOk

func (o *SourceContentPackageResponseContent) GetLicenseOk() (*string, bool)

GetLicenseOk returns a tuple with the License field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetLicenses

func (o *SourceContentPackageResponseContent) GetLicenses() []string

GetLicenses returns the Licenses field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetLicensesOk

func (o *SourceContentPackageResponseContent) GetLicensesOk() (*[]string, bool)

GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetLocationOk

func (o *SourceContentPackageResponseContent) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetMetadata

func (o *SourceContentPackageResponseContent) GetMetadata() interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetMetadataOk

func (o *SourceContentPackageResponseContent) GetMetadataOk() (*interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetMetadataType

func (o *SourceContentPackageResponseContent) GetMetadataType() string

GetMetadataType returns the MetadataType field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetMetadataTypeOk

func (o *SourceContentPackageResponseContent) GetMetadataTypeOk() (*string, bool)

GetMetadataTypeOk returns a tuple with the MetadataType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetOriginOk

func (o *SourceContentPackageResponseContent) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetPackage

GetPackage returns the Package field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetPackageOk

func (o *SourceContentPackageResponseContent) GetPackageOk() (*string, bool)

GetPackageOk returns a tuple with the Package field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetSize

GetSize returns the Size field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetSizeOk

func (o *SourceContentPackageResponseContent) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetTypeOk

func (o *SourceContentPackageResponseContent) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) GetVersion

GetVersion returns the Version field value if set, zero value otherwise.

func (*SourceContentPackageResponseContent) GetVersionOk

func (o *SourceContentPackageResponseContent) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceContentPackageResponseContent) HasCpes

HasCpes returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasLicense

func (o *SourceContentPackageResponseContent) HasLicense() bool

HasLicense returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasLicenses

func (o *SourceContentPackageResponseContent) HasLicenses() bool

HasLicenses returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasLocation

func (o *SourceContentPackageResponseContent) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasMetadata

func (o *SourceContentPackageResponseContent) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasMetadataType

func (o *SourceContentPackageResponseContent) HasMetadataType() bool

HasMetadataType returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasOrigin

HasOrigin returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasPackage

func (o *SourceContentPackageResponseContent) HasPackage() bool

HasPackage returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasSize

HasSize returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasType

HasType returns a boolean if a field has been set.

func (*SourceContentPackageResponseContent) HasVersion

func (o *SourceContentPackageResponseContent) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SourceContentPackageResponseContent) MarshalJSON

func (o SourceContentPackageResponseContent) MarshalJSON() ([]byte, error)

func (*SourceContentPackageResponseContent) SetCpes

SetCpes gets a reference to the given []string and assigns it to the Cpes field.

func (*SourceContentPackageResponseContent) SetLicense

SetLicense gets a reference to the given string and assigns it to the License field.

func (*SourceContentPackageResponseContent) SetLicenses

func (o *SourceContentPackageResponseContent) SetLicenses(v []string)

SetLicenses gets a reference to the given []string and assigns it to the Licenses field.

func (*SourceContentPackageResponseContent) SetLocation

func (o *SourceContentPackageResponseContent) SetLocation(v string)

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*SourceContentPackageResponseContent) SetMetadata

func (o *SourceContentPackageResponseContent) SetMetadata(v interface{})

SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field.

func (*SourceContentPackageResponseContent) SetMetadataType

func (o *SourceContentPackageResponseContent) SetMetadataType(v string)

SetMetadataType gets a reference to the given string and assigns it to the MetadataType field.

func (*SourceContentPackageResponseContent) SetOrigin

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*SourceContentPackageResponseContent) SetPackage

SetPackage gets a reference to the given string and assigns it to the Package field.

func (*SourceContentPackageResponseContent) SetSize

SetSize gets a reference to the given string and assigns it to the Size field.

func (*SourceContentPackageResponseContent) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (*SourceContentPackageResponseContent) SetVersion

SetVersion gets a reference to the given string and assigns it to the Version field.

type SourceImportContentResponse

type SourceImportContentResponse struct {
	Digest    *string    `json:"digest,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

SourceImportContentResponse struct for SourceImportContentResponse

func NewSourceImportContentResponse

func NewSourceImportContentResponse() *SourceImportContentResponse

NewSourceImportContentResponse instantiates a new SourceImportContentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceImportContentResponseWithDefaults

func NewSourceImportContentResponseWithDefaults() *SourceImportContentResponse

NewSourceImportContentResponseWithDefaults instantiates a new SourceImportContentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceImportContentResponse) GetCreatedAt

func (o *SourceImportContentResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SourceImportContentResponse) GetCreatedAtOk

func (o *SourceImportContentResponse) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportContentResponse) GetDigest

func (o *SourceImportContentResponse) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*SourceImportContentResponse) GetDigestOk

func (o *SourceImportContentResponse) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportContentResponse) HasCreatedAt

func (o *SourceImportContentResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SourceImportContentResponse) HasDigest

func (o *SourceImportContentResponse) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (SourceImportContentResponse) MarshalJSON

func (o SourceImportContentResponse) MarshalJSON() ([]byte, error)

func (*SourceImportContentResponse) SetCreatedAt

func (o *SourceImportContentResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SourceImportContentResponse) SetDigest

func (o *SourceImportContentResponse) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

type SourceImportMetadata

type SourceImportMetadata struct {
	CiWorkflowName          NullableString               `json:"ci_workflow_name,omitempty"`
	CiWorkflowExecutionTime NullableTime                 `json:"ci_workflow_execution_time,omitempty"`
	Host                    string                       `json:"host"`
	RepositoryName          string                       `json:"repository_name"`
	BranchName              NullableString               `json:"branch_name,omitempty"`
	Revision                string                       `json:"revision"`
	ChangeAuthor            NullableString               `json:"change_author,omitempty"`
	Contents                SourceImportMetadataContents `json:"contents"`
}

SourceImportMetadata struct for SourceImportMetadata

func NewSourceImportMetadata

func NewSourceImportMetadata(host string, repositoryName string, revision string, contents SourceImportMetadataContents) *SourceImportMetadata

NewSourceImportMetadata instantiates a new SourceImportMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceImportMetadataWithDefaults

func NewSourceImportMetadataWithDefaults() *SourceImportMetadata

NewSourceImportMetadataWithDefaults instantiates a new SourceImportMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceImportMetadata) GetBranchName

func (o *SourceImportMetadata) GetBranchName() string

GetBranchName returns the BranchName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceImportMetadata) GetBranchNameOk

func (o *SourceImportMetadata) GetBranchNameOk() (*string, bool)

GetBranchNameOk returns a tuple with the BranchName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceImportMetadata) GetChangeAuthor

func (o *SourceImportMetadata) GetChangeAuthor() string

GetChangeAuthor returns the ChangeAuthor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceImportMetadata) GetChangeAuthorOk

func (o *SourceImportMetadata) GetChangeAuthorOk() (*string, bool)

GetChangeAuthorOk returns a tuple with the ChangeAuthor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceImportMetadata) GetCiWorkflowExecutionTime

func (o *SourceImportMetadata) GetCiWorkflowExecutionTime() time.Time

GetCiWorkflowExecutionTime returns the CiWorkflowExecutionTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceImportMetadata) GetCiWorkflowExecutionTimeOk

func (o *SourceImportMetadata) GetCiWorkflowExecutionTimeOk() (*time.Time, bool)

GetCiWorkflowExecutionTimeOk returns a tuple with the CiWorkflowExecutionTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceImportMetadata) GetCiWorkflowName

func (o *SourceImportMetadata) GetCiWorkflowName() string

GetCiWorkflowName returns the CiWorkflowName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceImportMetadata) GetCiWorkflowNameOk

func (o *SourceImportMetadata) GetCiWorkflowNameOk() (*string, bool)

GetCiWorkflowNameOk returns a tuple with the CiWorkflowName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceImportMetadata) GetContents

GetContents returns the Contents field value

func (*SourceImportMetadata) GetContentsOk

GetContentsOk returns a tuple with the Contents field value and a boolean to check if the value has been set.

func (*SourceImportMetadata) GetHost

func (o *SourceImportMetadata) GetHost() string

GetHost returns the Host field value

func (*SourceImportMetadata) GetHostOk

func (o *SourceImportMetadata) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.

func (*SourceImportMetadata) GetRepositoryName

func (o *SourceImportMetadata) GetRepositoryName() string

GetRepositoryName returns the RepositoryName field value

func (*SourceImportMetadata) GetRepositoryNameOk

func (o *SourceImportMetadata) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value and a boolean to check if the value has been set.

func (*SourceImportMetadata) GetRevision

func (o *SourceImportMetadata) GetRevision() string

GetRevision returns the Revision field value

func (*SourceImportMetadata) GetRevisionOk

func (o *SourceImportMetadata) GetRevisionOk() (*string, bool)

GetRevisionOk returns a tuple with the Revision field value and a boolean to check if the value has been set.

func (*SourceImportMetadata) HasBranchName

func (o *SourceImportMetadata) HasBranchName() bool

HasBranchName returns a boolean if a field has been set.

func (*SourceImportMetadata) HasChangeAuthor

func (o *SourceImportMetadata) HasChangeAuthor() bool

HasChangeAuthor returns a boolean if a field has been set.

func (*SourceImportMetadata) HasCiWorkflowExecutionTime

func (o *SourceImportMetadata) HasCiWorkflowExecutionTime() bool

HasCiWorkflowExecutionTime returns a boolean if a field has been set.

func (*SourceImportMetadata) HasCiWorkflowName

func (o *SourceImportMetadata) HasCiWorkflowName() bool

HasCiWorkflowName returns a boolean if a field has been set.

func (SourceImportMetadata) MarshalJSON

func (o SourceImportMetadata) MarshalJSON() ([]byte, error)

func (*SourceImportMetadata) SetBranchName

func (o *SourceImportMetadata) SetBranchName(v string)

SetBranchName gets a reference to the given NullableString and assigns it to the BranchName field.

func (*SourceImportMetadata) SetBranchNameNil

func (o *SourceImportMetadata) SetBranchNameNil()

SetBranchNameNil sets the value for BranchName to be an explicit nil

func (*SourceImportMetadata) SetChangeAuthor

func (o *SourceImportMetadata) SetChangeAuthor(v string)

SetChangeAuthor gets a reference to the given NullableString and assigns it to the ChangeAuthor field.

func (*SourceImportMetadata) SetChangeAuthorNil

func (o *SourceImportMetadata) SetChangeAuthorNil()

SetChangeAuthorNil sets the value for ChangeAuthor to be an explicit nil

func (*SourceImportMetadata) SetCiWorkflowExecutionTime

func (o *SourceImportMetadata) SetCiWorkflowExecutionTime(v time.Time)

SetCiWorkflowExecutionTime gets a reference to the given NullableTime and assigns it to the CiWorkflowExecutionTime field.

func (*SourceImportMetadata) SetCiWorkflowExecutionTimeNil

func (o *SourceImportMetadata) SetCiWorkflowExecutionTimeNil()

SetCiWorkflowExecutionTimeNil sets the value for CiWorkflowExecutionTime to be an explicit nil

func (*SourceImportMetadata) SetCiWorkflowName

func (o *SourceImportMetadata) SetCiWorkflowName(v string)

SetCiWorkflowName gets a reference to the given NullableString and assigns it to the CiWorkflowName field.

func (*SourceImportMetadata) SetCiWorkflowNameNil

func (o *SourceImportMetadata) SetCiWorkflowNameNil()

SetCiWorkflowNameNil sets the value for CiWorkflowName to be an explicit nil

func (*SourceImportMetadata) SetContents

SetContents sets field value

func (*SourceImportMetadata) SetHost

func (o *SourceImportMetadata) SetHost(v string)

SetHost sets field value

func (*SourceImportMetadata) SetRepositoryName

func (o *SourceImportMetadata) SetRepositoryName(v string)

SetRepositoryName sets field value

func (*SourceImportMetadata) SetRevision

func (o *SourceImportMetadata) SetRevision(v string)

SetRevision sets field value

func (*SourceImportMetadata) UnsetBranchName

func (o *SourceImportMetadata) UnsetBranchName()

UnsetBranchName ensures that no value is present for BranchName, not even an explicit nil

func (*SourceImportMetadata) UnsetChangeAuthor

func (o *SourceImportMetadata) UnsetChangeAuthor()

UnsetChangeAuthor ensures that no value is present for ChangeAuthor, not even an explicit nil

func (*SourceImportMetadata) UnsetCiWorkflowExecutionTime

func (o *SourceImportMetadata) UnsetCiWorkflowExecutionTime()

UnsetCiWorkflowExecutionTime ensures that no value is present for CiWorkflowExecutionTime, not even an explicit nil

func (*SourceImportMetadata) UnsetCiWorkflowName

func (o *SourceImportMetadata) UnsetCiWorkflowName()

UnsetCiWorkflowName ensures that no value is present for CiWorkflowName, not even an explicit nil

type SourceImportMetadataContents

type SourceImportMetadataContents struct {
	// Digest to use for the sbom
	Sbom string `json:"sbom"`
}

SourceImportMetadataContents Digest of content to use in the final import

func NewSourceImportMetadataContents

func NewSourceImportMetadataContents(sbom string) *SourceImportMetadataContents

NewSourceImportMetadataContents instantiates a new SourceImportMetadataContents object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceImportMetadataContentsWithDefaults

func NewSourceImportMetadataContentsWithDefaults() *SourceImportMetadataContents

NewSourceImportMetadataContentsWithDefaults instantiates a new SourceImportMetadataContents object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceImportMetadataContents) GetSbom

func (o *SourceImportMetadataContents) GetSbom() string

GetSbom returns the Sbom field value

func (*SourceImportMetadataContents) GetSbomOk

func (o *SourceImportMetadataContents) GetSbomOk() (*string, bool)

GetSbomOk returns a tuple with the Sbom field value and a boolean to check if the value has been set.

func (SourceImportMetadataContents) MarshalJSON

func (o SourceImportMetadataContents) MarshalJSON() ([]byte, error)

func (*SourceImportMetadataContents) SetSbom

func (o *SourceImportMetadataContents) SetSbom(v string)

SetSbom sets field value

type SourceImportOperation

type SourceImportOperation struct {
	Uuid        *string    `json:"uuid,omitempty"`
	Status      *string    `json:"status,omitempty"`
	ExpiresAt   *time.Time `json:"expires_at,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	LastUpdated *time.Time `json:"last_updated,omitempty"`
}

SourceImportOperation An import record, creating a unique identifier for referencing the operation as well as its state

func NewSourceImportOperation

func NewSourceImportOperation() *SourceImportOperation

NewSourceImportOperation instantiates a new SourceImportOperation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceImportOperationWithDefaults

func NewSourceImportOperationWithDefaults() *SourceImportOperation

NewSourceImportOperationWithDefaults instantiates a new SourceImportOperation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceImportOperation) GetCreatedAt

func (o *SourceImportOperation) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SourceImportOperation) GetCreatedAtOk

func (o *SourceImportOperation) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportOperation) GetExpiresAt

func (o *SourceImportOperation) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*SourceImportOperation) GetExpiresAtOk

func (o *SourceImportOperation) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportOperation) GetLastUpdated

func (o *SourceImportOperation) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*SourceImportOperation) GetLastUpdatedOk

func (o *SourceImportOperation) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportOperation) GetStatus

func (o *SourceImportOperation) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*SourceImportOperation) GetStatusOk

func (o *SourceImportOperation) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportOperation) GetUuid

func (o *SourceImportOperation) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*SourceImportOperation) GetUuidOk

func (o *SourceImportOperation) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceImportOperation) HasCreatedAt

func (o *SourceImportOperation) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SourceImportOperation) HasExpiresAt

func (o *SourceImportOperation) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*SourceImportOperation) HasLastUpdated

func (o *SourceImportOperation) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*SourceImportOperation) HasStatus

func (o *SourceImportOperation) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SourceImportOperation) HasUuid

func (o *SourceImportOperation) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (SourceImportOperation) MarshalJSON

func (o SourceImportOperation) MarshalJSON() ([]byte, error)

func (*SourceImportOperation) SetCreatedAt

func (o *SourceImportOperation) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SourceImportOperation) SetExpiresAt

func (o *SourceImportOperation) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*SourceImportOperation) SetLastUpdated

func (o *SourceImportOperation) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*SourceImportOperation) SetStatus

func (o *SourceImportOperation) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*SourceImportOperation) SetUuid

func (o *SourceImportOperation) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type SourceManifest

type SourceManifest struct {
	Uuid           *string    `json:"uuid,omitempty"`
	AccountId      *string    `json:"account_id,omitempty"`
	VcsType        *string    `json:"vcs_type,omitempty"`
	Host           *string    `json:"host,omitempty"`
	RepositoryName *string    `json:"repository_name,omitempty"`
	Revision       *string    `json:"revision,omitempty"`
	CreatedAt      *time.Time `json:"created_at,omitempty"`
	LastUpdated    *time.Time `json:"last_updated,omitempty"`
	AnalysisStatus *string    `json:"analysis_status,omitempty"`
	SourceStatus   *string    `json:"source_status,omitempty"`
	// Array of metadata available
	MetadataRecords *[]SourceManifestMetadataRecords `json:"metadata_records,omitempty"`
}

SourceManifest struct for SourceManifest

func NewSourceManifest

func NewSourceManifest() *SourceManifest

NewSourceManifest instantiates a new SourceManifest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceManifestWithDefaults

func NewSourceManifestWithDefaults() *SourceManifest

NewSourceManifestWithDefaults instantiates a new SourceManifest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceManifest) GetAccountId

func (o *SourceManifest) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*SourceManifest) GetAccountIdOk

func (o *SourceManifest) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetAnalysisStatus

func (o *SourceManifest) GetAnalysisStatus() string

GetAnalysisStatus returns the AnalysisStatus field value if set, zero value otherwise.

func (*SourceManifest) GetAnalysisStatusOk

func (o *SourceManifest) GetAnalysisStatusOk() (*string, bool)

GetAnalysisStatusOk returns a tuple with the AnalysisStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetCreatedAt

func (o *SourceManifest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SourceManifest) GetCreatedAtOk

func (o *SourceManifest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetHost

func (o *SourceManifest) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*SourceManifest) GetHostOk

func (o *SourceManifest) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetLastUpdated

func (o *SourceManifest) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field value if set, zero value otherwise.

func (*SourceManifest) GetLastUpdatedOk

func (o *SourceManifest) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetMetadataRecords

func (o *SourceManifest) GetMetadataRecords() []SourceManifestMetadataRecords

GetMetadataRecords returns the MetadataRecords field value if set, zero value otherwise.

func (*SourceManifest) GetMetadataRecordsOk

func (o *SourceManifest) GetMetadataRecordsOk() (*[]SourceManifestMetadataRecords, bool)

GetMetadataRecordsOk returns a tuple with the MetadataRecords field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetRepositoryName

func (o *SourceManifest) GetRepositoryName() string

GetRepositoryName returns the RepositoryName field value if set, zero value otherwise.

func (*SourceManifest) GetRepositoryNameOk

func (o *SourceManifest) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetRevision

func (o *SourceManifest) GetRevision() string

GetRevision returns the Revision field value if set, zero value otherwise.

func (*SourceManifest) GetRevisionOk

func (o *SourceManifest) GetRevisionOk() (*string, bool)

GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetSourceStatus

func (o *SourceManifest) GetSourceStatus() string

GetSourceStatus returns the SourceStatus field value if set, zero value otherwise.

func (*SourceManifest) GetSourceStatusOk

func (o *SourceManifest) GetSourceStatusOk() (*string, bool)

GetSourceStatusOk returns a tuple with the SourceStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetUuid

func (o *SourceManifest) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*SourceManifest) GetUuidOk

func (o *SourceManifest) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) GetVcsType

func (o *SourceManifest) GetVcsType() string

GetVcsType returns the VcsType field value if set, zero value otherwise.

func (*SourceManifest) GetVcsTypeOk

func (o *SourceManifest) GetVcsTypeOk() (*string, bool)

GetVcsTypeOk returns a tuple with the VcsType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifest) HasAccountId

func (o *SourceManifest) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*SourceManifest) HasAnalysisStatus

func (o *SourceManifest) HasAnalysisStatus() bool

HasAnalysisStatus returns a boolean if a field has been set.

func (*SourceManifest) HasCreatedAt

func (o *SourceManifest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SourceManifest) HasHost

func (o *SourceManifest) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*SourceManifest) HasLastUpdated

func (o *SourceManifest) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

func (*SourceManifest) HasMetadataRecords

func (o *SourceManifest) HasMetadataRecords() bool

HasMetadataRecords returns a boolean if a field has been set.

func (*SourceManifest) HasRepositoryName

func (o *SourceManifest) HasRepositoryName() bool

HasRepositoryName returns a boolean if a field has been set.

func (*SourceManifest) HasRevision

func (o *SourceManifest) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*SourceManifest) HasSourceStatus

func (o *SourceManifest) HasSourceStatus() bool

HasSourceStatus returns a boolean if a field has been set.

func (*SourceManifest) HasUuid

func (o *SourceManifest) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*SourceManifest) HasVcsType

func (o *SourceManifest) HasVcsType() bool

HasVcsType returns a boolean if a field has been set.

func (SourceManifest) MarshalJSON

func (o SourceManifest) MarshalJSON() ([]byte, error)

func (*SourceManifest) SetAccountId

func (o *SourceManifest) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*SourceManifest) SetAnalysisStatus

func (o *SourceManifest) SetAnalysisStatus(v string)

SetAnalysisStatus gets a reference to the given string and assigns it to the AnalysisStatus field.

func (*SourceManifest) SetCreatedAt

func (o *SourceManifest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SourceManifest) SetHost

func (o *SourceManifest) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*SourceManifest) SetLastUpdated

func (o *SourceManifest) SetLastUpdated(v time.Time)

SetLastUpdated gets a reference to the given time.Time and assigns it to the LastUpdated field.

func (*SourceManifest) SetMetadataRecords

func (o *SourceManifest) SetMetadataRecords(v []SourceManifestMetadataRecords)

SetMetadataRecords gets a reference to the given []SourceManifestMetadataRecords and assigns it to the MetadataRecords field.

func (*SourceManifest) SetRepositoryName

func (o *SourceManifest) SetRepositoryName(v string)

SetRepositoryName gets a reference to the given string and assigns it to the RepositoryName field.

func (*SourceManifest) SetRevision

func (o *SourceManifest) SetRevision(v string)

SetRevision gets a reference to the given string and assigns it to the Revision field.

func (*SourceManifest) SetSourceStatus

func (o *SourceManifest) SetSourceStatus(v string)

SetSourceStatus gets a reference to the given string and assigns it to the SourceStatus field.

func (*SourceManifest) SetUuid

func (o *SourceManifest) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*SourceManifest) SetVcsType

func (o *SourceManifest) SetVcsType(v string)

SetVcsType gets a reference to the given string and assigns it to the VcsType field.

type SourceManifestMetadataRecords

type SourceManifestMetadataRecords struct {
	Uuid                    *string        `json:"uuid,omitempty"`
	CiWorkflowName          NullableString `json:"ci_workflow_name,omitempty"`
	CiWorkflowExecutionTime NullableTime   `json:"ci_workflow_execution_time,omitempty"`
	BranchName              NullableString `json:"branch_name,omitempty"`
	ChangeAuthor            NullableString `json:"change_author,omitempty"`
}

SourceManifestMetadataRecords Metadata associated with a source upload

func NewSourceManifestMetadataRecords

func NewSourceManifestMetadataRecords() *SourceManifestMetadataRecords

NewSourceManifestMetadataRecords instantiates a new SourceManifestMetadataRecords object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceManifestMetadataRecordsWithDefaults

func NewSourceManifestMetadataRecordsWithDefaults() *SourceManifestMetadataRecords

NewSourceManifestMetadataRecordsWithDefaults instantiates a new SourceManifestMetadataRecords object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceManifestMetadataRecords) GetBranchName

func (o *SourceManifestMetadataRecords) GetBranchName() string

GetBranchName returns the BranchName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceManifestMetadataRecords) GetBranchNameOk

func (o *SourceManifestMetadataRecords) GetBranchNameOk() (*string, bool)

GetBranchNameOk returns a tuple with the BranchName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceManifestMetadataRecords) GetChangeAuthor

func (o *SourceManifestMetadataRecords) GetChangeAuthor() string

GetChangeAuthor returns the ChangeAuthor field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceManifestMetadataRecords) GetChangeAuthorOk

func (o *SourceManifestMetadataRecords) GetChangeAuthorOk() (*string, bool)

GetChangeAuthorOk returns a tuple with the ChangeAuthor field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceManifestMetadataRecords) GetCiWorkflowExecutionTime

func (o *SourceManifestMetadataRecords) GetCiWorkflowExecutionTime() time.Time

GetCiWorkflowExecutionTime returns the CiWorkflowExecutionTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceManifestMetadataRecords) GetCiWorkflowExecutionTimeOk

func (o *SourceManifestMetadataRecords) GetCiWorkflowExecutionTimeOk() (*time.Time, bool)

GetCiWorkflowExecutionTimeOk returns a tuple with the CiWorkflowExecutionTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceManifestMetadataRecords) GetCiWorkflowName

func (o *SourceManifestMetadataRecords) GetCiWorkflowName() string

GetCiWorkflowName returns the CiWorkflowName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SourceManifestMetadataRecords) GetCiWorkflowNameOk

func (o *SourceManifestMetadataRecords) GetCiWorkflowNameOk() (*string, bool)

GetCiWorkflowNameOk returns a tuple with the CiWorkflowName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SourceManifestMetadataRecords) GetUuid

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*SourceManifestMetadataRecords) GetUuidOk

func (o *SourceManifestMetadataRecords) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceManifestMetadataRecords) HasBranchName

func (o *SourceManifestMetadataRecords) HasBranchName() bool

HasBranchName returns a boolean if a field has been set.

func (*SourceManifestMetadataRecords) HasChangeAuthor

func (o *SourceManifestMetadataRecords) HasChangeAuthor() bool

HasChangeAuthor returns a boolean if a field has been set.

func (*SourceManifestMetadataRecords) HasCiWorkflowExecutionTime

func (o *SourceManifestMetadataRecords) HasCiWorkflowExecutionTime() bool

HasCiWorkflowExecutionTime returns a boolean if a field has been set.

func (*SourceManifestMetadataRecords) HasCiWorkflowName

func (o *SourceManifestMetadataRecords) HasCiWorkflowName() bool

HasCiWorkflowName returns a boolean if a field has been set.

func (*SourceManifestMetadataRecords) HasUuid

func (o *SourceManifestMetadataRecords) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (SourceManifestMetadataRecords) MarshalJSON

func (o SourceManifestMetadataRecords) MarshalJSON() ([]byte, error)

func (*SourceManifestMetadataRecords) SetBranchName

func (o *SourceManifestMetadataRecords) SetBranchName(v string)

SetBranchName gets a reference to the given NullableString and assigns it to the BranchName field.

func (*SourceManifestMetadataRecords) SetBranchNameNil

func (o *SourceManifestMetadataRecords) SetBranchNameNil()

SetBranchNameNil sets the value for BranchName to be an explicit nil

func (*SourceManifestMetadataRecords) SetChangeAuthor

func (o *SourceManifestMetadataRecords) SetChangeAuthor(v string)

SetChangeAuthor gets a reference to the given NullableString and assigns it to the ChangeAuthor field.

func (*SourceManifestMetadataRecords) SetChangeAuthorNil

func (o *SourceManifestMetadataRecords) SetChangeAuthorNil()

SetChangeAuthorNil sets the value for ChangeAuthor to be an explicit nil

func (*SourceManifestMetadataRecords) SetCiWorkflowExecutionTime

func (o *SourceManifestMetadataRecords) SetCiWorkflowExecutionTime(v time.Time)

SetCiWorkflowExecutionTime gets a reference to the given NullableTime and assigns it to the CiWorkflowExecutionTime field.

func (*SourceManifestMetadataRecords) SetCiWorkflowExecutionTimeNil

func (o *SourceManifestMetadataRecords) SetCiWorkflowExecutionTimeNil()

SetCiWorkflowExecutionTimeNil sets the value for CiWorkflowExecutionTime to be an explicit nil

func (*SourceManifestMetadataRecords) SetCiWorkflowName

func (o *SourceManifestMetadataRecords) SetCiWorkflowName(v string)

SetCiWorkflowName gets a reference to the given NullableString and assigns it to the CiWorkflowName field.

func (*SourceManifestMetadataRecords) SetCiWorkflowNameNil

func (o *SourceManifestMetadataRecords) SetCiWorkflowNameNil()

SetCiWorkflowNameNil sets the value for CiWorkflowName to be an explicit nil

func (*SourceManifestMetadataRecords) SetUuid

func (o *SourceManifestMetadataRecords) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*SourceManifestMetadataRecords) UnsetBranchName

func (o *SourceManifestMetadataRecords) UnsetBranchName()

UnsetBranchName ensures that no value is present for BranchName, not even an explicit nil

func (*SourceManifestMetadataRecords) UnsetChangeAuthor

func (o *SourceManifestMetadataRecords) UnsetChangeAuthor()

UnsetChangeAuthor ensures that no value is present for ChangeAuthor, not even an explicit nil

func (*SourceManifestMetadataRecords) UnsetCiWorkflowExecutionTime

func (o *SourceManifestMetadataRecords) UnsetCiWorkflowExecutionTime()

UnsetCiWorkflowExecutionTime ensures that no value is present for CiWorkflowExecutionTime, not even an explicit nil

func (*SourceManifestMetadataRecords) UnsetCiWorkflowName

func (o *SourceManifestMetadataRecords) UnsetCiWorkflowName()

UnsetCiWorkflowName ensures that no value is present for CiWorkflowName, not even an explicit nil

type SourceVulnerabilitiesResponse

type SourceVulnerabilitiesResponse struct {
	SourceId          *string `json:"source_id,omitempty"`
	VulnerabilityType *string `json:"vulnerability_type,omitempty"`
	// List of Vulnerability objects
	Vulnerabilities *[]Vulnerability `json:"vulnerabilities,omitempty"`
}

SourceVulnerabilitiesResponse Envelope containing list of vulnerabilities for a source repo

func NewSourceVulnerabilitiesResponse

func NewSourceVulnerabilitiesResponse() *SourceVulnerabilitiesResponse

NewSourceVulnerabilitiesResponse instantiates a new SourceVulnerabilitiesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceVulnerabilitiesResponseWithDefaults

func NewSourceVulnerabilitiesResponseWithDefaults() *SourceVulnerabilitiesResponse

NewSourceVulnerabilitiesResponseWithDefaults instantiates a new SourceVulnerabilitiesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceVulnerabilitiesResponse) GetSourceId

func (o *SourceVulnerabilitiesResponse) GetSourceId() string

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*SourceVulnerabilitiesResponse) GetSourceIdOk

func (o *SourceVulnerabilitiesResponse) GetSourceIdOk() (*string, bool)

GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceVulnerabilitiesResponse) GetVulnerabilities

func (o *SourceVulnerabilitiesResponse) GetVulnerabilities() []Vulnerability

GetVulnerabilities returns the Vulnerabilities field value if set, zero value otherwise.

func (*SourceVulnerabilitiesResponse) GetVulnerabilitiesOk

func (o *SourceVulnerabilitiesResponse) GetVulnerabilitiesOk() (*[]Vulnerability, bool)

GetVulnerabilitiesOk returns a tuple with the Vulnerabilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceVulnerabilitiesResponse) GetVulnerabilityType

func (o *SourceVulnerabilitiesResponse) GetVulnerabilityType() string

GetVulnerabilityType returns the VulnerabilityType field value if set, zero value otherwise.

func (*SourceVulnerabilitiesResponse) GetVulnerabilityTypeOk

func (o *SourceVulnerabilitiesResponse) GetVulnerabilityTypeOk() (*string, bool)

GetVulnerabilityTypeOk returns a tuple with the VulnerabilityType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SourceVulnerabilitiesResponse) HasSourceId

func (o *SourceVulnerabilitiesResponse) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

func (*SourceVulnerabilitiesResponse) HasVulnerabilities

func (o *SourceVulnerabilitiesResponse) HasVulnerabilities() bool

HasVulnerabilities returns a boolean if a field has been set.

func (*SourceVulnerabilitiesResponse) HasVulnerabilityType

func (o *SourceVulnerabilitiesResponse) HasVulnerabilityType() bool

HasVulnerabilityType returns a boolean if a field has been set.

func (SourceVulnerabilitiesResponse) MarshalJSON

func (o SourceVulnerabilitiesResponse) MarshalJSON() ([]byte, error)

func (*SourceVulnerabilitiesResponse) SetSourceId

func (o *SourceVulnerabilitiesResponse) SetSourceId(v string)

SetSourceId gets a reference to the given string and assigns it to the SourceId field.

func (*SourceVulnerabilitiesResponse) SetVulnerabilities

func (o *SourceVulnerabilitiesResponse) SetVulnerabilities(v []Vulnerability)

SetVulnerabilities gets a reference to the given []Vulnerability and assigns it to the Vulnerabilities field.

func (*SourceVulnerabilitiesResponse) SetVulnerabilityType

func (o *SourceVulnerabilitiesResponse) SetVulnerabilityType(v string)

SetVulnerabilityType gets a reference to the given string and assigns it to the VulnerabilityType field.

type SourcesApi

type SourcesApi interface {

	/*
		DeleteSource Delete source record from DB

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId UUID of source to delete
		 @return ApiDeleteSourceRequest
	*/
	DeleteSource(ctx _context.Context, sourceId string) ApiDeleteSourceRequest

	// DeleteSourceExecute executes the request
	//  @return SourceManifest
	DeleteSourceExecute(r ApiDeleteSourceRequest) (SourceManifest, *_nethttp.Response, error)

	/*
		GetSource Get a detailed source repository analysis metadata record

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceRequest
	*/
	GetSource(ctx _context.Context, sourceId string) ApiGetSourceRequest

	// GetSourceExecute executes the request
	//  @return SourceManifest
	GetSourceExecute(r ApiGetSourceRequest) (SourceManifest, *_nethttp.Response, error)

	/*
		GetSourceContentByType Get the content of an analyzed source repository

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @param contentType
		 @return ApiGetSourceContentByTypeRequest
	*/
	GetSourceContentByType(ctx _context.Context, sourceId string, contentType string) ApiGetSourceContentByTypeRequest

	// GetSourceContentByTypeExecute executes the request
	//  @return SourceContentPackageResponse
	GetSourceContentByTypeExecute(r ApiGetSourceContentByTypeRequest) (SourceContentPackageResponse, *_nethttp.Response, error)

	/*
		GetSourceContentTypes Get a detailed source repository analysis metadata record

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceContentTypesRequest
	*/
	GetSourceContentTypes(ctx _context.Context, sourceId string) ApiGetSourceContentTypesRequest

	// GetSourceContentTypesExecute executes the request
	//  @return []string
	GetSourceContentTypesExecute(r ApiGetSourceContentTypesRequest) ([]string, *_nethttp.Response, error)

	/*
		GetSourcePolicyCheck Fetch or calculate policy evaluation for a source

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId UUID of source to get
		 @return ApiGetSourcePolicyCheckRequest
	*/
	GetSourcePolicyCheck(ctx _context.Context, sourceId string) ApiGetSourcePolicyCheckRequest

	// GetSourcePolicyCheckExecute executes the request
	//  @return []PolicyEvaluationResult
	GetSourcePolicyCheckExecute(r ApiGetSourcePolicyCheckRequest) ([]PolicyEvaluationResult, *_nethttp.Response, error)

	/*
		GetSourceSbomCyclonedxJson Return the source SBOM in the CycloneDX format

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceSbomCyclonedxJsonRequest
	*/
	GetSourceSbomCyclonedxJson(ctx _context.Context, sourceId string) ApiGetSourceSbomCyclonedxJsonRequest

	// GetSourceSbomCyclonedxJsonExecute executes the request
	//  @return string
	GetSourceSbomCyclonedxJsonExecute(r ApiGetSourceSbomCyclonedxJsonRequest) (string, *_nethttp.Response, error)

	/*
		GetSourceSbomNative Return the compressed source SBOM in the native Nextlinux format

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceSbomNativeRequest
	*/
	GetSourceSbomNative(ctx _context.Context, sourceId string) ApiGetSourceSbomNativeRequest

	// GetSourceSbomNativeExecute executes the request
	//  @return *os.File
	GetSourceSbomNativeExecute(r ApiGetSourceSbomNativeRequest) (*os.File, *_nethttp.Response, error)

	/*
		GetSourceSbomNativeJson Return the source SBOM in the native Nextlinux format

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceSbomNativeJsonRequest
	*/
	GetSourceSbomNativeJson(ctx _context.Context, sourceId string) ApiGetSourceSbomNativeJsonRequest

	// GetSourceSbomNativeJsonExecute executes the request
	//  @return string
	GetSourceSbomNativeJsonExecute(r ApiGetSourceSbomNativeJsonRequest) (string, *_nethttp.Response, error)

	/*
		GetSourceSbomSpdxJson Return the source SBOM in the SPDX format

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceSbomSpdxJsonRequest
	*/
	GetSourceSbomSpdxJson(ctx _context.Context, sourceId string) ApiGetSourceSbomSpdxJsonRequest

	// GetSourceSbomSpdxJsonExecute executes the request
	//  @return string
	GetSourceSbomSpdxJsonExecute(r ApiGetSourceSbomSpdxJsonRequest) (string, *_nethttp.Response, error)

	/*
		GetSourceSbomTypes Get a detailed source repository analysis metadata record

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceSbomTypesRequest
	*/
	GetSourceSbomTypes(ctx _context.Context, sourceId string) ApiGetSourceSbomTypesRequest

	// GetSourceSbomTypesExecute executes the request
	//  @return []string
	GetSourceSbomTypesExecute(r ApiGetSourceSbomTypesRequest) ([]string, *_nethttp.Response, error)

	/*
		GetSourceVulnerabilities Get vulnerabilities for the source by type

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @param vtype
		 @return ApiGetSourceVulnerabilitiesRequest
	*/
	GetSourceVulnerabilities(ctx _context.Context, sourceId string, vtype string) ApiGetSourceVulnerabilitiesRequest

	// GetSourceVulnerabilitiesExecute executes the request
	//  @return SourceVulnerabilitiesResponse
	GetSourceVulnerabilitiesExecute(r ApiGetSourceVulnerabilitiesRequest) (SourceVulnerabilitiesResponse, *_nethttp.Response, error)

	/*
		GetSourceVulnerabilityTypes Get the available vulnerability types for source

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param sourceId
		 @return ApiGetSourceVulnerabilityTypesRequest
	*/
	GetSourceVulnerabilityTypes(ctx _context.Context, sourceId string) ApiGetSourceVulnerabilityTypesRequest

	// GetSourceVulnerabilityTypesExecute executes the request
	//  @return []string
	GetSourceVulnerabilityTypesExecute(r ApiGetSourceVulnerabilityTypesRequest) ([]string, *_nethttp.Response, error)

	/*
		ListSources List the source repository analysis records

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @return ApiListSourcesRequest
	*/
	ListSources(ctx _context.Context) ApiListSourcesRequest

	// ListSourcesExecute executes the request
	//  @return []Source
	ListSourcesExecute(r ApiListSourcesRequest) ([]Source, *_nethttp.Response, error)
}

type SourcesApiService

type SourcesApiService service

SourcesApiService SourcesApi service

func (*SourcesApiService) DeleteSource

func (a *SourcesApiService) DeleteSource(ctx _context.Context, sourceId string) ApiDeleteSourceRequest

DeleteSource Delete source record from DB

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId UUID of source to delete
@return ApiDeleteSourceRequest

func (*SourcesApiService) DeleteSourceExecute

Execute executes the request

@return SourceManifest

func (*SourcesApiService) GetSource

func (a *SourcesApiService) GetSource(ctx _context.Context, sourceId string) ApiGetSourceRequest

GetSource Get a detailed source repository analysis metadata record

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceRequest

func (*SourcesApiService) GetSourceContentByType

func (a *SourcesApiService) GetSourceContentByType(ctx _context.Context, sourceId string, contentType string) ApiGetSourceContentByTypeRequest

GetSourceContentByType Get the content of an analyzed source repository

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@param contentType
@return ApiGetSourceContentByTypeRequest

func (*SourcesApiService) GetSourceContentByTypeExecute

Execute executes the request

@return SourceContentPackageResponse

func (*SourcesApiService) GetSourceContentTypes

func (a *SourcesApiService) GetSourceContentTypes(ctx _context.Context, sourceId string) ApiGetSourceContentTypesRequest

GetSourceContentTypes Get a detailed source repository analysis metadata record

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceContentTypesRequest

func (*SourcesApiService) GetSourceContentTypesExecute

func (a *SourcesApiService) GetSourceContentTypesExecute(r ApiGetSourceContentTypesRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*SourcesApiService) GetSourceExecute

Execute executes the request

@return SourceManifest

func (*SourcesApiService) GetSourcePolicyCheck

func (a *SourcesApiService) GetSourcePolicyCheck(ctx _context.Context, sourceId string) ApiGetSourcePolicyCheckRequest

GetSourcePolicyCheck Fetch or calculate policy evaluation for a source

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId UUID of source to get
@return ApiGetSourcePolicyCheckRequest

func (*SourcesApiService) GetSourcePolicyCheckExecute

Execute executes the request

@return []PolicyEvaluationResult

func (*SourcesApiService) GetSourceSbomCyclonedxJson

func (a *SourcesApiService) GetSourceSbomCyclonedxJson(ctx _context.Context, sourceId string) ApiGetSourceSbomCyclonedxJsonRequest

GetSourceSbomCyclonedxJson Return the source SBOM in the CycloneDX format

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceSbomCyclonedxJsonRequest

func (*SourcesApiService) GetSourceSbomCyclonedxJsonExecute

func (a *SourcesApiService) GetSourceSbomCyclonedxJsonExecute(r ApiGetSourceSbomCyclonedxJsonRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*SourcesApiService) GetSourceSbomNative

func (a *SourcesApiService) GetSourceSbomNative(ctx _context.Context, sourceId string) ApiGetSourceSbomNativeRequest

GetSourceSbomNative Return the compressed source SBOM in the native Nextlinux format

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceSbomNativeRequest

func (*SourcesApiService) GetSourceSbomNativeExecute

func (a *SourcesApiService) GetSourceSbomNativeExecute(r ApiGetSourceSbomNativeRequest) (*os.File, *_nethttp.Response, error)

Execute executes the request

@return *os.File

func (*SourcesApiService) GetSourceSbomNativeJson

func (a *SourcesApiService) GetSourceSbomNativeJson(ctx _context.Context, sourceId string) ApiGetSourceSbomNativeJsonRequest

GetSourceSbomNativeJson Return the source SBOM in the native Nextlinux format

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceSbomNativeJsonRequest

func (*SourcesApiService) GetSourceSbomNativeJsonExecute

func (a *SourcesApiService) GetSourceSbomNativeJsonExecute(r ApiGetSourceSbomNativeJsonRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*SourcesApiService) GetSourceSbomSpdxJson

func (a *SourcesApiService) GetSourceSbomSpdxJson(ctx _context.Context, sourceId string) ApiGetSourceSbomSpdxJsonRequest

GetSourceSbomSpdxJson Return the source SBOM in the SPDX format

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceSbomSpdxJsonRequest

func (*SourcesApiService) GetSourceSbomSpdxJsonExecute

func (a *SourcesApiService) GetSourceSbomSpdxJsonExecute(r ApiGetSourceSbomSpdxJsonRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*SourcesApiService) GetSourceSbomTypes

func (a *SourcesApiService) GetSourceSbomTypes(ctx _context.Context, sourceId string) ApiGetSourceSbomTypesRequest

GetSourceSbomTypes Get a detailed source repository analysis metadata record

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceSbomTypesRequest

func (*SourcesApiService) GetSourceSbomTypesExecute

func (a *SourcesApiService) GetSourceSbomTypesExecute(r ApiGetSourceSbomTypesRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*SourcesApiService) GetSourceVulnerabilities

func (a *SourcesApiService) GetSourceVulnerabilities(ctx _context.Context, sourceId string, vtype string) ApiGetSourceVulnerabilitiesRequest

GetSourceVulnerabilities Get vulnerabilities for the source by type

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@param vtype
@return ApiGetSourceVulnerabilitiesRequest

func (*SourcesApiService) GetSourceVulnerabilitiesExecute

Execute executes the request

@return SourceVulnerabilitiesResponse

func (*SourcesApiService) GetSourceVulnerabilityTypes

func (a *SourcesApiService) GetSourceVulnerabilityTypes(ctx _context.Context, sourceId string) ApiGetSourceVulnerabilityTypesRequest

GetSourceVulnerabilityTypes Get the available vulnerability types for source

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sourceId
@return ApiGetSourceVulnerabilityTypesRequest

func (*SourcesApiService) GetSourceVulnerabilityTypesExecute

func (a *SourcesApiService) GetSourceVulnerabilityTypesExecute(r ApiGetSourceVulnerabilityTypesRequest) ([]string, *_nethttp.Response, error)

Execute executes the request

@return []string

func (*SourcesApiService) ListSources

ListSources List the source repository analysis records

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSourcesRequest

func (*SourcesApiService) ListSourcesExecute

func (a *SourcesApiService) ListSourcesExecute(r ApiListSourcesRequest) ([]Source, *_nethttp.Response, error)

Execute executes the request

@return []Source

type StatelessApi

type StatelessApi interface {

	/*
		GetStatelessSbomVulnerabilities Get vulnerabilities for input sbom by type

		 @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 @param vtype
		 @return ApiGetStatelessSbomVulnerabilitiesRequest
	*/
	GetStatelessSbomVulnerabilities(ctx _context.Context, vtype string) ApiGetStatelessSbomVulnerabilitiesRequest

	// GetStatelessSbomVulnerabilitiesExecute executes the request
	//  @return SBOMVulnerabilitiesResponse
	GetStatelessSbomVulnerabilitiesExecute(r ApiGetStatelessSbomVulnerabilitiesRequest) (SBOMVulnerabilitiesResponse, *_nethttp.Response, error)
}

type StatelessApiService

type StatelessApiService service

StatelessApiService StatelessApi service

func (*StatelessApiService) GetStatelessSbomVulnerabilities

func (a *StatelessApiService) GetStatelessSbomVulnerabilities(ctx _context.Context, vtype string) ApiGetStatelessSbomVulnerabilitiesRequest

GetStatelessSbomVulnerabilities Get vulnerabilities for input sbom by type

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vtype
@return ApiGetStatelessSbomVulnerabilitiesRequest

func (*StatelessApiService) GetStatelessSbomVulnerabilitiesExecute

Execute executes the request

@return SBOMVulnerabilitiesResponse

type VendorDataObject

type VendorDataObject struct {
	// Vendor Vulnerability ID
	Id     *string       `json:"id,omitempty"`
	CvssV2 *CVSSV2Scores `json:"cvss_v2,omitempty"`
	CvssV3 *CVSSV3Scores `json:"cvss_v3,omitempty"`
}

VendorDataObject struct for VendorDataObject

func NewVendorDataObject

func NewVendorDataObject() *VendorDataObject

NewVendorDataObject instantiates a new VendorDataObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVendorDataObjectWithDefaults

func NewVendorDataObjectWithDefaults() *VendorDataObject

NewVendorDataObjectWithDefaults instantiates a new VendorDataObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VendorDataObject) GetCvssV2

func (o *VendorDataObject) GetCvssV2() CVSSV2Scores

GetCvssV2 returns the CvssV2 field value if set, zero value otherwise.

func (*VendorDataObject) GetCvssV2Ok

func (o *VendorDataObject) GetCvssV2Ok() (*CVSSV2Scores, bool)

GetCvssV2Ok returns a tuple with the CvssV2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VendorDataObject) GetCvssV3

func (o *VendorDataObject) GetCvssV3() CVSSV3Scores

GetCvssV3 returns the CvssV3 field value if set, zero value otherwise.

func (*VendorDataObject) GetCvssV3Ok

func (o *VendorDataObject) GetCvssV3Ok() (*CVSSV3Scores, bool)

GetCvssV3Ok returns a tuple with the CvssV3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VendorDataObject) GetId

func (o *VendorDataObject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VendorDataObject) GetIdOk

func (o *VendorDataObject) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VendorDataObject) HasCvssV2

func (o *VendorDataObject) HasCvssV2() bool

HasCvssV2 returns a boolean if a field has been set.

func (*VendorDataObject) HasCvssV3

func (o *VendorDataObject) HasCvssV3() bool

HasCvssV3 returns a boolean if a field has been set.

func (*VendorDataObject) HasId

func (o *VendorDataObject) HasId() bool

HasId returns a boolean if a field has been set.

func (VendorDataObject) MarshalJSON

func (o VendorDataObject) MarshalJSON() ([]byte, error)

func (*VendorDataObject) SetCvssV2

func (o *VendorDataObject) SetCvssV2(v CVSSV2Scores)

SetCvssV2 gets a reference to the given CVSSV2Scores and assigns it to the CvssV2 field.

func (*VendorDataObject) SetCvssV3

func (o *VendorDataObject) SetCvssV3(v CVSSV3Scores)

SetCvssV3 gets a reference to the given CVSSV3Scores and assigns it to the CvssV3 field.

func (*VendorDataObject) SetId

func (o *VendorDataObject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

type VersionVulnerability

type VersionVulnerability struct {
	// The vulnerability id for the match
	Id         *string                      `json:"id,omitempty"`
	Nvd        *[]VersionVulnerabilityNVD   `json:"nvd,omitempty"`
	VendorData *VersionVulnerabilityVendor  `json:"vendor_data,omitempty"`
	Matches    *[]VersionVulnerabilityMatch `json:"matches,omitempty"`
}

VersionVulnerability A vulnerability in an application version vulnerability report with vulenrability data, affected artifacts, and packages

func NewVersionVulnerability

func NewVersionVulnerability() *VersionVulnerability

NewVersionVulnerability instantiates a new VersionVulnerability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityWithDefaults

func NewVersionVulnerabilityWithDefaults() *VersionVulnerability

NewVersionVulnerabilityWithDefaults instantiates a new VersionVulnerability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerability) GetId

func (o *VersionVulnerability) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VersionVulnerability) GetIdOk

func (o *VersionVulnerability) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerability) GetMatches

GetMatches returns the Matches field value if set, zero value otherwise.

func (*VersionVulnerability) GetMatchesOk

func (o *VersionVulnerability) GetMatchesOk() (*[]VersionVulnerabilityMatch, bool)

GetMatchesOk returns a tuple with the Matches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerability) GetNvd

GetNvd returns the Nvd field value if set, zero value otherwise.

func (*VersionVulnerability) GetNvdOk

GetNvdOk returns a tuple with the Nvd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerability) GetVendorData

GetVendorData returns the VendorData field value if set, zero value otherwise.

func (*VersionVulnerability) GetVendorDataOk

func (o *VersionVulnerability) GetVendorDataOk() (*VersionVulnerabilityVendor, bool)

GetVendorDataOk returns a tuple with the VendorData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerability) HasId

func (o *VersionVulnerability) HasId() bool

HasId returns a boolean if a field has been set.

func (*VersionVulnerability) HasMatches

func (o *VersionVulnerability) HasMatches() bool

HasMatches returns a boolean if a field has been set.

func (*VersionVulnerability) HasNvd

func (o *VersionVulnerability) HasNvd() bool

HasNvd returns a boolean if a field has been set.

func (*VersionVulnerability) HasVendorData

func (o *VersionVulnerability) HasVendorData() bool

HasVendorData returns a boolean if a field has been set.

func (VersionVulnerability) MarshalJSON

func (o VersionVulnerability) MarshalJSON() ([]byte, error)

func (*VersionVulnerability) SetId

func (o *VersionVulnerability) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VersionVulnerability) SetMatches

SetMatches gets a reference to the given []VersionVulnerabilityMatch and assigns it to the Matches field.

func (*VersionVulnerability) SetNvd

SetNvd gets a reference to the given []VersionVulnerabilityNVD and assigns it to the Nvd field.

func (*VersionVulnerability) SetVendorData

SetVendorData gets a reference to the given VersionVulnerabilityVendor and assigns it to the VendorData field.

type VersionVulnerabilityMatch

type VersionVulnerabilityMatch struct {
	Fix      *string                            `json:"fix,omitempty"`
	Location *VersionVulnerabilityMatchLocation `json:"location,omitempty"`
}

VersionVulnerabilityMatch The details of a match for a single matche for a vulnerability in an application version vulnerability report

func NewVersionVulnerabilityMatch

func NewVersionVulnerabilityMatch() *VersionVulnerabilityMatch

NewVersionVulnerabilityMatch instantiates a new VersionVulnerabilityMatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityMatchWithDefaults

func NewVersionVulnerabilityMatchWithDefaults() *VersionVulnerabilityMatch

NewVersionVulnerabilityMatchWithDefaults instantiates a new VersionVulnerabilityMatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityMatch) GetFix

func (o *VersionVulnerabilityMatch) GetFix() string

GetFix returns the Fix field value if set, zero value otherwise.

func (*VersionVulnerabilityMatch) GetFixOk

func (o *VersionVulnerabilityMatch) GetFixOk() (*string, bool)

GetFixOk returns a tuple with the Fix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatch) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*VersionVulnerabilityMatch) GetLocationOk

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatch) HasFix

func (o *VersionVulnerabilityMatch) HasFix() bool

HasFix returns a boolean if a field has been set.

func (*VersionVulnerabilityMatch) HasLocation

func (o *VersionVulnerabilityMatch) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (VersionVulnerabilityMatch) MarshalJSON

func (o VersionVulnerabilityMatch) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityMatch) SetFix

func (o *VersionVulnerabilityMatch) SetFix(v string)

SetFix gets a reference to the given string and assigns it to the Fix field.

func (*VersionVulnerabilityMatch) SetLocation

SetLocation gets a reference to the given VersionVulnerabilityMatchLocation and assigns it to the Location field.

type VersionVulnerabilityMatchLocation

type VersionVulnerabilityMatchLocation struct {
	Artifact *VersionVulnerabilityMatchLocationArtifact `json:"artifact,omitempty"`
	Package  *VersionVulnerabilityMatchLocationPackage  `json:"package,omitempty"`
}

VersionVulnerabilityMatchLocation The location of the match, which includes both the package and the artifact it belongs to

func NewVersionVulnerabilityMatchLocation

func NewVersionVulnerabilityMatchLocation() *VersionVulnerabilityMatchLocation

NewVersionVulnerabilityMatchLocation instantiates a new VersionVulnerabilityMatchLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityMatchLocationWithDefaults

func NewVersionVulnerabilityMatchLocationWithDefaults() *VersionVulnerabilityMatchLocation

NewVersionVulnerabilityMatchLocationWithDefaults instantiates a new VersionVulnerabilityMatchLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityMatchLocation) GetArtifact

GetArtifact returns the Artifact field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocation) GetArtifactOk

GetArtifactOk returns a tuple with the Artifact field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocation) GetPackage

GetPackage returns the Package field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocation) GetPackageOk

GetPackageOk returns a tuple with the Package field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocation) HasArtifact

func (o *VersionVulnerabilityMatchLocation) HasArtifact() bool

HasArtifact returns a boolean if a field has been set.

func (*VersionVulnerabilityMatchLocation) HasPackage

func (o *VersionVulnerabilityMatchLocation) HasPackage() bool

HasPackage returns a boolean if a field has been set.

func (VersionVulnerabilityMatchLocation) MarshalJSON

func (o VersionVulnerabilityMatchLocation) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityMatchLocation) SetArtifact

SetArtifact gets a reference to the given VersionVulnerabilityMatchLocationArtifact and assigns it to the Artifact field.

func (*VersionVulnerabilityMatchLocation) SetPackage

SetPackage gets a reference to the given VersionVulnerabilityMatchLocationPackage and assigns it to the Package field.

type VersionVulnerabilityMatchLocationArtifact

type VersionVulnerabilityMatchLocationArtifact struct {
	Id   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
}

VersionVulnerabilityMatchLocationArtifact struct for VersionVulnerabilityMatchLocationArtifact

func NewVersionVulnerabilityMatchLocationArtifact

func NewVersionVulnerabilityMatchLocationArtifact() *VersionVulnerabilityMatchLocationArtifact

NewVersionVulnerabilityMatchLocationArtifact instantiates a new VersionVulnerabilityMatchLocationArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityMatchLocationArtifactWithDefaults

func NewVersionVulnerabilityMatchLocationArtifactWithDefaults() *VersionVulnerabilityMatchLocationArtifact

NewVersionVulnerabilityMatchLocationArtifactWithDefaults instantiates a new VersionVulnerabilityMatchLocationArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityMatchLocationArtifact) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationArtifact) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationArtifact) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationArtifact) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationArtifact) HasId

HasId returns a boolean if a field has been set.

func (*VersionVulnerabilityMatchLocationArtifact) HasType

HasType returns a boolean if a field has been set.

func (VersionVulnerabilityMatchLocationArtifact) MarshalJSON

func (*VersionVulnerabilityMatchLocationArtifact) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*VersionVulnerabilityMatchLocationArtifact) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type VersionVulnerabilityMatchLocationPackage

type VersionVulnerabilityMatchLocationPackage struct {
	Name     *string `json:"name,omitempty"`
	Type     *string `json:"type,omitempty"`
	Version  *string `json:"version,omitempty"`
	Location *string `json:"location,omitempty"`
}

VersionVulnerabilityMatchLocationPackage struct for VersionVulnerabilityMatchLocationPackage

func NewVersionVulnerabilityMatchLocationPackage

func NewVersionVulnerabilityMatchLocationPackage() *VersionVulnerabilityMatchLocationPackage

NewVersionVulnerabilityMatchLocationPackage instantiates a new VersionVulnerabilityMatchLocationPackage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityMatchLocationPackageWithDefaults

func NewVersionVulnerabilityMatchLocationPackageWithDefaults() *VersionVulnerabilityMatchLocationPackage

NewVersionVulnerabilityMatchLocationPackageWithDefaults instantiates a new VersionVulnerabilityMatchLocationPackage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityMatchLocationPackage) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationPackage) GetLocationOk

func (o *VersionVulnerabilityMatchLocationPackage) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationPackage) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationPackage) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationPackage) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationPackage) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationPackage) GetVersion

GetVersion returns the Version field value if set, zero value otherwise.

func (*VersionVulnerabilityMatchLocationPackage) GetVersionOk

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityMatchLocationPackage) HasLocation

HasLocation returns a boolean if a field has been set.

func (*VersionVulnerabilityMatchLocationPackage) HasName

HasName returns a boolean if a field has been set.

func (*VersionVulnerabilityMatchLocationPackage) HasType

HasType returns a boolean if a field has been set.

func (*VersionVulnerabilityMatchLocationPackage) HasVersion

HasVersion returns a boolean if a field has been set.

func (VersionVulnerabilityMatchLocationPackage) MarshalJSON

func (*VersionVulnerabilityMatchLocationPackage) SetLocation

SetLocation gets a reference to the given string and assigns it to the Location field.

func (*VersionVulnerabilityMatchLocationPackage) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*VersionVulnerabilityMatchLocationPackage) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (*VersionVulnerabilityMatchLocationPackage) SetVersion

SetVersion gets a reference to the given string and assigns it to the Version field.

type VersionVulnerabilityNVD

type VersionVulnerabilityNVD struct {
	Cvss        *VersionVulnerabilityVendorNVDCommonCvss `json:"cvss,omitempty"`
	Description *string                                  `json:"description,omitempty"`
	Severity    *string                                  `json:"severity,omitempty"`
	Url         *string                                  `json:"url,omitempty"`
	Id          *string                                  `json:"id,omitempty"`
}

VersionVulnerabilityNVD NVD entry for application version vulnerability

func NewVersionVulnerabilityNVD

func NewVersionVulnerabilityNVD() *VersionVulnerabilityNVD

NewVersionVulnerabilityNVD instantiates a new VersionVulnerabilityNVD object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityNVDWithDefaults

func NewVersionVulnerabilityNVDWithDefaults() *VersionVulnerabilityNVD

NewVersionVulnerabilityNVDWithDefaults instantiates a new VersionVulnerabilityNVD object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityNVD) GetCvss

GetCvss returns the Cvss field value if set, zero value otherwise.

func (*VersionVulnerabilityNVD) GetCvssOk

GetCvssOk returns a tuple with the Cvss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVD) GetDescription

func (o *VersionVulnerabilityNVD) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VersionVulnerabilityNVD) GetDescriptionOk

func (o *VersionVulnerabilityNVD) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVD) GetId

func (o *VersionVulnerabilityNVD) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VersionVulnerabilityNVD) GetIdOk

func (o *VersionVulnerabilityNVD) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVD) GetSeverity

func (o *VersionVulnerabilityNVD) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*VersionVulnerabilityNVD) GetSeverityOk

func (o *VersionVulnerabilityNVD) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVD) GetUrl

func (o *VersionVulnerabilityNVD) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*VersionVulnerabilityNVD) GetUrlOk

func (o *VersionVulnerabilityNVD) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVD) HasCvss

func (o *VersionVulnerabilityNVD) HasCvss() bool

HasCvss returns a boolean if a field has been set.

func (*VersionVulnerabilityNVD) HasDescription

func (o *VersionVulnerabilityNVD) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VersionVulnerabilityNVD) HasId

func (o *VersionVulnerabilityNVD) HasId() bool

HasId returns a boolean if a field has been set.

func (*VersionVulnerabilityNVD) HasSeverity

func (o *VersionVulnerabilityNVD) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*VersionVulnerabilityNVD) HasUrl

func (o *VersionVulnerabilityNVD) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (VersionVulnerabilityNVD) MarshalJSON

func (o VersionVulnerabilityNVD) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityNVD) SetCvss

SetCvss gets a reference to the given VersionVulnerabilityVendorNVDCommonCvss and assigns it to the Cvss field.

func (*VersionVulnerabilityNVD) SetDescription

func (o *VersionVulnerabilityNVD) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VersionVulnerabilityNVD) SetId

func (o *VersionVulnerabilityNVD) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VersionVulnerabilityNVD) SetSeverity

func (o *VersionVulnerabilityNVD) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*VersionVulnerabilityNVD) SetUrl

func (o *VersionVulnerabilityNVD) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type VersionVulnerabilityNVDAllOf

type VersionVulnerabilityNVDAllOf struct {
	Id *string `json:"id,omitempty"`
}

VersionVulnerabilityNVDAllOf struct for VersionVulnerabilityNVDAllOf

func NewVersionVulnerabilityNVDAllOf

func NewVersionVulnerabilityNVDAllOf() *VersionVulnerabilityNVDAllOf

NewVersionVulnerabilityNVDAllOf instantiates a new VersionVulnerabilityNVDAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityNVDAllOfWithDefaults

func NewVersionVulnerabilityNVDAllOfWithDefaults() *VersionVulnerabilityNVDAllOf

NewVersionVulnerabilityNVDAllOfWithDefaults instantiates a new VersionVulnerabilityNVDAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityNVDAllOf) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*VersionVulnerabilityNVDAllOf) GetIdOk

func (o *VersionVulnerabilityNVDAllOf) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityNVDAllOf) HasId

HasId returns a boolean if a field has been set.

func (VersionVulnerabilityNVDAllOf) MarshalJSON

func (o VersionVulnerabilityNVDAllOf) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityNVDAllOf) SetId

SetId gets a reference to the given string and assigns it to the Id field.

type VersionVulnerabilityReportImage

type VersionVulnerabilityReportImage struct {
	ImageDigest *string `json:"image_digest,omitempty"`
}

VersionVulnerabilityReportImage The definition of the image artifacts in the application version vulnerability report

func NewVersionVulnerabilityReportImage

func NewVersionVulnerabilityReportImage() *VersionVulnerabilityReportImage

NewVersionVulnerabilityReportImage instantiates a new VersionVulnerabilityReportImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityReportImageWithDefaults

func NewVersionVulnerabilityReportImageWithDefaults() *VersionVulnerabilityReportImage

NewVersionVulnerabilityReportImageWithDefaults instantiates a new VersionVulnerabilityReportImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityReportImage) GetImageDigest

func (o *VersionVulnerabilityReportImage) GetImageDigest() string

GetImageDigest returns the ImageDigest field value if set, zero value otherwise.

func (*VersionVulnerabilityReportImage) GetImageDigestOk

func (o *VersionVulnerabilityReportImage) GetImageDigestOk() (*string, bool)

GetImageDigestOk returns a tuple with the ImageDigest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityReportImage) HasImageDigest

func (o *VersionVulnerabilityReportImage) HasImageDigest() bool

HasImageDigest returns a boolean if a field has been set.

func (VersionVulnerabilityReportImage) MarshalJSON

func (o VersionVulnerabilityReportImage) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityReportImage) SetImageDigest

func (o *VersionVulnerabilityReportImage) SetImageDigest(v string)

SetImageDigest gets a reference to the given string and assigns it to the ImageDigest field.

type VersionVulnerabilityReportSource

type VersionVulnerabilityReportSource struct {
	Uuid           *string `json:"uuid,omitempty"`
	Host           *string `json:"host,omitempty"`
	RepositoryName *string `json:"repository_name,omitempty"`
	Revision       *string `json:"revision,omitempty"`
}

VersionVulnerabilityReportSource The definition of the source artifacts in the application version vulnerability report

func NewVersionVulnerabilityReportSource

func NewVersionVulnerabilityReportSource() *VersionVulnerabilityReportSource

NewVersionVulnerabilityReportSource instantiates a new VersionVulnerabilityReportSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityReportSourceWithDefaults

func NewVersionVulnerabilityReportSourceWithDefaults() *VersionVulnerabilityReportSource

NewVersionVulnerabilityReportSourceWithDefaults instantiates a new VersionVulnerabilityReportSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityReportSource) GetHost

GetHost returns the Host field value if set, zero value otherwise.

func (*VersionVulnerabilityReportSource) GetHostOk

func (o *VersionVulnerabilityReportSource) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityReportSource) GetRepositoryName

func (o *VersionVulnerabilityReportSource) GetRepositoryName() string

GetRepositoryName returns the RepositoryName field value if set, zero value otherwise.

func (*VersionVulnerabilityReportSource) GetRepositoryNameOk

func (o *VersionVulnerabilityReportSource) GetRepositoryNameOk() (*string, bool)

GetRepositoryNameOk returns a tuple with the RepositoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityReportSource) GetRevision

func (o *VersionVulnerabilityReportSource) GetRevision() string

GetRevision returns the Revision field value if set, zero value otherwise.

func (*VersionVulnerabilityReportSource) GetRevisionOk

func (o *VersionVulnerabilityReportSource) GetRevisionOk() (*string, bool)

GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityReportSource) GetUuid

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*VersionVulnerabilityReportSource) GetUuidOk

func (o *VersionVulnerabilityReportSource) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityReportSource) HasHost

HasHost returns a boolean if a field has been set.

func (*VersionVulnerabilityReportSource) HasRepositoryName

func (o *VersionVulnerabilityReportSource) HasRepositoryName() bool

HasRepositoryName returns a boolean if a field has been set.

func (*VersionVulnerabilityReportSource) HasRevision

func (o *VersionVulnerabilityReportSource) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*VersionVulnerabilityReportSource) HasUuid

HasUuid returns a boolean if a field has been set.

func (VersionVulnerabilityReportSource) MarshalJSON

func (o VersionVulnerabilityReportSource) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityReportSource) SetHost

SetHost gets a reference to the given string and assigns it to the Host field.

func (*VersionVulnerabilityReportSource) SetRepositoryName

func (o *VersionVulnerabilityReportSource) SetRepositoryName(v string)

SetRepositoryName gets a reference to the given string and assigns it to the RepositoryName field.

func (*VersionVulnerabilityReportSource) SetRevision

func (o *VersionVulnerabilityReportSource) SetRevision(v string)

SetRevision gets a reference to the given string and assigns it to the Revision field.

func (*VersionVulnerabilityReportSource) SetUuid

SetUuid gets a reference to the given string and assigns it to the Uuid field.

type VersionVulnerabilityVendor

type VersionVulnerabilityVendor struct {
	Cvss        *VersionVulnerabilityVendorNVDCommonCvss `json:"cvss,omitempty"`
	Description *string                                  `json:"description,omitempty"`
	Severity    *string                                  `json:"severity,omitempty"`
	Url         *string                                  `json:"url,omitempty"`
	Feed        *string                                  `json:"feed,omitempty"`
	Group       *string                                  `json:"group,omitempty"`
	WillNotFix  *bool                                    `json:"will_not_fix,omitempty"`
}

VersionVulnerabilityVendor The vendor information of the vulnerability

func NewVersionVulnerabilityVendor

func NewVersionVulnerabilityVendor() *VersionVulnerabilityVendor

NewVersionVulnerabilityVendor instantiates a new VersionVulnerabilityVendor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityVendorWithDefaults

func NewVersionVulnerabilityVendorWithDefaults() *VersionVulnerabilityVendor

NewVersionVulnerabilityVendorWithDefaults instantiates a new VersionVulnerabilityVendor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityVendor) GetCvss

GetCvss returns the Cvss field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetCvssOk

GetCvssOk returns a tuple with the Cvss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetDescription

func (o *VersionVulnerabilityVendor) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetDescriptionOk

func (o *VersionVulnerabilityVendor) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetFeed

func (o *VersionVulnerabilityVendor) GetFeed() string

GetFeed returns the Feed field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetFeedOk

func (o *VersionVulnerabilityVendor) GetFeedOk() (*string, bool)

GetFeedOk returns a tuple with the Feed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetGroup

func (o *VersionVulnerabilityVendor) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetGroupOk

func (o *VersionVulnerabilityVendor) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetSeverity

func (o *VersionVulnerabilityVendor) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetSeverityOk

func (o *VersionVulnerabilityVendor) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetUrl

func (o *VersionVulnerabilityVendor) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetUrlOk

func (o *VersionVulnerabilityVendor) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) GetWillNotFix

func (o *VersionVulnerabilityVendor) GetWillNotFix() bool

GetWillNotFix returns the WillNotFix field value if set, zero value otherwise.

func (*VersionVulnerabilityVendor) GetWillNotFixOk

func (o *VersionVulnerabilityVendor) GetWillNotFixOk() (*bool, bool)

GetWillNotFixOk returns a tuple with the WillNotFix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendor) HasCvss

func (o *VersionVulnerabilityVendor) HasCvss() bool

HasCvss returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasDescription

func (o *VersionVulnerabilityVendor) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasFeed

func (o *VersionVulnerabilityVendor) HasFeed() bool

HasFeed returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasGroup

func (o *VersionVulnerabilityVendor) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasSeverity

func (o *VersionVulnerabilityVendor) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasUrl

func (o *VersionVulnerabilityVendor) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*VersionVulnerabilityVendor) HasWillNotFix

func (o *VersionVulnerabilityVendor) HasWillNotFix() bool

HasWillNotFix returns a boolean if a field has been set.

func (VersionVulnerabilityVendor) MarshalJSON

func (o VersionVulnerabilityVendor) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityVendor) SetCvss

SetCvss gets a reference to the given VersionVulnerabilityVendorNVDCommonCvss and assigns it to the Cvss field.

func (*VersionVulnerabilityVendor) SetDescription

func (o *VersionVulnerabilityVendor) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VersionVulnerabilityVendor) SetFeed

func (o *VersionVulnerabilityVendor) SetFeed(v string)

SetFeed gets a reference to the given string and assigns it to the Feed field.

func (*VersionVulnerabilityVendor) SetGroup

func (o *VersionVulnerabilityVendor) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*VersionVulnerabilityVendor) SetSeverity

func (o *VersionVulnerabilityVendor) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*VersionVulnerabilityVendor) SetUrl

func (o *VersionVulnerabilityVendor) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*VersionVulnerabilityVendor) SetWillNotFix

func (o *VersionVulnerabilityVendor) SetWillNotFix(v bool)

SetWillNotFix gets a reference to the given bool and assigns it to the WillNotFix field.

type VersionVulnerabilityVendorAllOf

type VersionVulnerabilityVendorAllOf struct {
	Feed       *string `json:"feed,omitempty"`
	Group      *string `json:"group,omitempty"`
	WillNotFix *bool   `json:"will_not_fix,omitempty"`
}

VersionVulnerabilityVendorAllOf struct for VersionVulnerabilityVendorAllOf

func NewVersionVulnerabilityVendorAllOf

func NewVersionVulnerabilityVendorAllOf() *VersionVulnerabilityVendorAllOf

NewVersionVulnerabilityVendorAllOf instantiates a new VersionVulnerabilityVendorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityVendorAllOfWithDefaults

func NewVersionVulnerabilityVendorAllOfWithDefaults() *VersionVulnerabilityVendorAllOf

NewVersionVulnerabilityVendorAllOfWithDefaults instantiates a new VersionVulnerabilityVendorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityVendorAllOf) GetFeed

GetFeed returns the Feed field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorAllOf) GetFeedOk

func (o *VersionVulnerabilityVendorAllOf) GetFeedOk() (*string, bool)

GetFeedOk returns a tuple with the Feed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorAllOf) GetGroup

GetGroup returns the Group field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorAllOf) GetGroupOk

func (o *VersionVulnerabilityVendorAllOf) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorAllOf) GetWillNotFix

func (o *VersionVulnerabilityVendorAllOf) GetWillNotFix() bool

GetWillNotFix returns the WillNotFix field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorAllOf) GetWillNotFixOk

func (o *VersionVulnerabilityVendorAllOf) GetWillNotFixOk() (*bool, bool)

GetWillNotFixOk returns a tuple with the WillNotFix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorAllOf) HasFeed

HasFeed returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorAllOf) HasGroup

func (o *VersionVulnerabilityVendorAllOf) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorAllOf) HasWillNotFix

func (o *VersionVulnerabilityVendorAllOf) HasWillNotFix() bool

HasWillNotFix returns a boolean if a field has been set.

func (VersionVulnerabilityVendorAllOf) MarshalJSON

func (o VersionVulnerabilityVendorAllOf) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityVendorAllOf) SetFeed

SetFeed gets a reference to the given string and assigns it to the Feed field.

func (*VersionVulnerabilityVendorAllOf) SetGroup

func (o *VersionVulnerabilityVendorAllOf) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*VersionVulnerabilityVendorAllOf) SetWillNotFix

func (o *VersionVulnerabilityVendorAllOf) SetWillNotFix(v bool)

SetWillNotFix gets a reference to the given bool and assigns it to the WillNotFix field.

type VersionVulnerabilityVendorNVDCommon

type VersionVulnerabilityVendorNVDCommon struct {
	Cvss        *VersionVulnerabilityVendorNVDCommonCvss `json:"cvss,omitempty"`
	Description *string                                  `json:"description,omitempty"`
	Severity    *string                                  `json:"severity,omitempty"`
	Url         *string                                  `json:"url,omitempty"`
}

VersionVulnerabilityVendorNVDCommon Values common to vendor and nvd entries in application version vulnerability report

func NewVersionVulnerabilityVendorNVDCommon

func NewVersionVulnerabilityVendorNVDCommon() *VersionVulnerabilityVendorNVDCommon

NewVersionVulnerabilityVendorNVDCommon instantiates a new VersionVulnerabilityVendorNVDCommon object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityVendorNVDCommonWithDefaults

func NewVersionVulnerabilityVendorNVDCommonWithDefaults() *VersionVulnerabilityVendorNVDCommon

NewVersionVulnerabilityVendorNVDCommonWithDefaults instantiates a new VersionVulnerabilityVendorNVDCommon object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityVendorNVDCommon) GetCvss

GetCvss returns the Cvss field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommon) GetCvssOk

GetCvssOk returns a tuple with the Cvss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommon) GetDescription

func (o *VersionVulnerabilityVendorNVDCommon) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommon) GetDescriptionOk

func (o *VersionVulnerabilityVendorNVDCommon) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommon) GetSeverity

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommon) GetSeverityOk

func (o *VersionVulnerabilityVendorNVDCommon) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommon) GetUrl

GetUrl returns the Url field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommon) GetUrlOk

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommon) HasCvss

HasCvss returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorNVDCommon) HasDescription

func (o *VersionVulnerabilityVendorNVDCommon) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorNVDCommon) HasSeverity

func (o *VersionVulnerabilityVendorNVDCommon) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorNVDCommon) HasUrl

HasUrl returns a boolean if a field has been set.

func (VersionVulnerabilityVendorNVDCommon) MarshalJSON

func (o VersionVulnerabilityVendorNVDCommon) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityVendorNVDCommon) SetCvss

SetCvss gets a reference to the given VersionVulnerabilityVendorNVDCommonCvss and assigns it to the Cvss field.

func (*VersionVulnerabilityVendorNVDCommon) SetDescription

func (o *VersionVulnerabilityVendorNVDCommon) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VersionVulnerabilityVendorNVDCommon) SetSeverity

func (o *VersionVulnerabilityVendorNVDCommon) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*VersionVulnerabilityVendorNVDCommon) SetUrl

SetUrl gets a reference to the given string and assigns it to the Url field.

type VersionVulnerabilityVendorNVDCommonCvss

type VersionVulnerabilityVendorNVDCommonCvss struct {
	CvssV2 *CVSSV2Scores `json:"cvss_v2,omitempty"`
	CvssV3 *CVSSV3Scores `json:"cvss_v3,omitempty"`
}

VersionVulnerabilityVendorNVDCommonCvss struct for VersionVulnerabilityVendorNVDCommonCvss

func NewVersionVulnerabilityVendorNVDCommonCvss

func NewVersionVulnerabilityVendorNVDCommonCvss() *VersionVulnerabilityVendorNVDCommonCvss

NewVersionVulnerabilityVendorNVDCommonCvss instantiates a new VersionVulnerabilityVendorNVDCommonCvss object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionVulnerabilityVendorNVDCommonCvssWithDefaults

func NewVersionVulnerabilityVendorNVDCommonCvssWithDefaults() *VersionVulnerabilityVendorNVDCommonCvss

NewVersionVulnerabilityVendorNVDCommonCvssWithDefaults instantiates a new VersionVulnerabilityVendorNVDCommonCvss object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VersionVulnerabilityVendorNVDCommonCvss) GetCvssV2

GetCvssV2 returns the CvssV2 field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommonCvss) GetCvssV2Ok

GetCvssV2Ok returns a tuple with the CvssV2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommonCvss) GetCvssV3

GetCvssV3 returns the CvssV3 field value if set, zero value otherwise.

func (*VersionVulnerabilityVendorNVDCommonCvss) GetCvssV3Ok

GetCvssV3Ok returns a tuple with the CvssV3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VersionVulnerabilityVendorNVDCommonCvss) HasCvssV2

HasCvssV2 returns a boolean if a field has been set.

func (*VersionVulnerabilityVendorNVDCommonCvss) HasCvssV3

HasCvssV3 returns a boolean if a field has been set.

func (VersionVulnerabilityVendorNVDCommonCvss) MarshalJSON

func (o VersionVulnerabilityVendorNVDCommonCvss) MarshalJSON() ([]byte, error)

func (*VersionVulnerabilityVendorNVDCommonCvss) SetCvssV2

SetCvssV2 gets a reference to the given CVSSV2Scores and assigns it to the CvssV2 field.

func (*VersionVulnerabilityVendorNVDCommonCvss) SetCvssV3

SetCvssV3 gets a reference to the given CVSSV3Scores and assigns it to the CvssV3 field.

type Vulnerability

type Vulnerability struct {
	// The vulnerability identifier, such as CVE-2017-100, or RHSA-2017123
	Vuln *string `json:"vuln,omitempty"`
	// The package containing a fix, if available
	Fix *string `json:"fix,omitempty"`
	// The severity of the vulnerability
	Severity *string `json:"severity,omitempty"`
	// The package name and version that are vulnerable in the image
	Package *string `json:"package,omitempty"`
	// The url for more information about the vulnerability
	Url *string `json:"url,omitempty"`
	// The name of the feed where vulnerability match was made
	Feed *string `json:"feed,omitempty"`
	// The name of the feed group where vulnerability match was made
	FeedGroup *string `json:"feed_group,omitempty"`
	// The name of the vulnerable package artifact
	PackageName *string `json:"package_name,omitempty"`
	// The version of the vulnerable package artifact
	PackageVersion *string `json:"package_version,omitempty"`
	// The type of vulnerable package
	PackageType *string `json:"package_type,omitempty"`
	// The CPE string (if applicable) describing the package to vulnerability match
	PackageCpe *string `json:"package_cpe,omitempty"`
	// The location (if applicable) of the vulnerable package in the container filesystem
	PackagePath *string `json:"package_path,omitempty"`
	// Whether a vendor will fix or not fix the vulnerability
	WillNotFix *bool `json:"will_not_fix,omitempty"`
	// List of Nvd Data objects
	NvdData *[]NvdDataObject `json:"nvd_data,omitempty"`
	// List of Vendor Data objects
	VendorData *[]VendorDataObject `json:"vendor_data,omitempty"`
}

Vulnerability struct for Vulnerability

func NewVulnerability

func NewVulnerability() *Vulnerability

NewVulnerability instantiates a new Vulnerability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVulnerabilityWithDefaults

func NewVulnerabilityWithDefaults() *Vulnerability

NewVulnerabilityWithDefaults instantiates a new Vulnerability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Vulnerability) GetFeed

func (o *Vulnerability) GetFeed() string

GetFeed returns the Feed field value if set, zero value otherwise.

func (*Vulnerability) GetFeedGroup

func (o *Vulnerability) GetFeedGroup() string

GetFeedGroup returns the FeedGroup field value if set, zero value otherwise.

func (*Vulnerability) GetFeedGroupOk

func (o *Vulnerability) GetFeedGroupOk() (*string, bool)

GetFeedGroupOk returns a tuple with the FeedGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetFeedOk

func (o *Vulnerability) GetFeedOk() (*string, bool)

GetFeedOk returns a tuple with the Feed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetFix

func (o *Vulnerability) GetFix() string

GetFix returns the Fix field value if set, zero value otherwise.

func (*Vulnerability) GetFixOk

func (o *Vulnerability) GetFixOk() (*string, bool)

GetFixOk returns a tuple with the Fix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetNvdData

func (o *Vulnerability) GetNvdData() []NvdDataObject

GetNvdData returns the NvdData field value if set, zero value otherwise.

func (*Vulnerability) GetNvdDataOk

func (o *Vulnerability) GetNvdDataOk() (*[]NvdDataObject, bool)

GetNvdDataOk returns a tuple with the NvdData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackage

func (o *Vulnerability) GetPackage() string

GetPackage returns the Package field value if set, zero value otherwise.

func (*Vulnerability) GetPackageCpe

func (o *Vulnerability) GetPackageCpe() string

GetPackageCpe returns the PackageCpe field value if set, zero value otherwise.

func (*Vulnerability) GetPackageCpeOk

func (o *Vulnerability) GetPackageCpeOk() (*string, bool)

GetPackageCpeOk returns a tuple with the PackageCpe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackageName

func (o *Vulnerability) GetPackageName() string

GetPackageName returns the PackageName field value if set, zero value otherwise.

func (*Vulnerability) GetPackageNameOk

func (o *Vulnerability) GetPackageNameOk() (*string, bool)

GetPackageNameOk returns a tuple with the PackageName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackageOk

func (o *Vulnerability) GetPackageOk() (*string, bool)

GetPackageOk returns a tuple with the Package field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackagePath

func (o *Vulnerability) GetPackagePath() string

GetPackagePath returns the PackagePath field value if set, zero value otherwise.

func (*Vulnerability) GetPackagePathOk

func (o *Vulnerability) GetPackagePathOk() (*string, bool)

GetPackagePathOk returns a tuple with the PackagePath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackageType

func (o *Vulnerability) GetPackageType() string

GetPackageType returns the PackageType field value if set, zero value otherwise.

func (*Vulnerability) GetPackageTypeOk

func (o *Vulnerability) GetPackageTypeOk() (*string, bool)

GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetPackageVersion

func (o *Vulnerability) GetPackageVersion() string

GetPackageVersion returns the PackageVersion field value if set, zero value otherwise.

func (*Vulnerability) GetPackageVersionOk

func (o *Vulnerability) GetPackageVersionOk() (*string, bool)

GetPackageVersionOk returns a tuple with the PackageVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetSeverity

func (o *Vulnerability) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*Vulnerability) GetSeverityOk

func (o *Vulnerability) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetUrl

func (o *Vulnerability) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Vulnerability) GetUrlOk

func (o *Vulnerability) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetVendorData

func (o *Vulnerability) GetVendorData() []VendorDataObject

GetVendorData returns the VendorData field value if set, zero value otherwise.

func (*Vulnerability) GetVendorDataOk

func (o *Vulnerability) GetVendorDataOk() (*[]VendorDataObject, bool)

GetVendorDataOk returns a tuple with the VendorData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetVuln

func (o *Vulnerability) GetVuln() string

GetVuln returns the Vuln field value if set, zero value otherwise.

func (*Vulnerability) GetVulnOk

func (o *Vulnerability) GetVulnOk() (*string, bool)

GetVulnOk returns a tuple with the Vuln field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) GetWillNotFix

func (o *Vulnerability) GetWillNotFix() bool

GetWillNotFix returns the WillNotFix field value if set, zero value otherwise.

func (*Vulnerability) GetWillNotFixOk

func (o *Vulnerability) GetWillNotFixOk() (*bool, bool)

GetWillNotFixOk returns a tuple with the WillNotFix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vulnerability) HasFeed

func (o *Vulnerability) HasFeed() bool

HasFeed returns a boolean if a field has been set.

func (*Vulnerability) HasFeedGroup

func (o *Vulnerability) HasFeedGroup() bool

HasFeedGroup returns a boolean if a field has been set.

func (*Vulnerability) HasFix

func (o *Vulnerability) HasFix() bool

HasFix returns a boolean if a field has been set.

func (*Vulnerability) HasNvdData

func (o *Vulnerability) HasNvdData() bool

HasNvdData returns a boolean if a field has been set.

func (*Vulnerability) HasPackage

func (o *Vulnerability) HasPackage() bool

HasPackage returns a boolean if a field has been set.

func (*Vulnerability) HasPackageCpe

func (o *Vulnerability) HasPackageCpe() bool

HasPackageCpe returns a boolean if a field has been set.

func (*Vulnerability) HasPackageName

func (o *Vulnerability) HasPackageName() bool

HasPackageName returns a boolean if a field has been set.

func (*Vulnerability) HasPackagePath

func (o *Vulnerability) HasPackagePath() bool

HasPackagePath returns a boolean if a field has been set.

func (*Vulnerability) HasPackageType

func (o *Vulnerability) HasPackageType() bool

HasPackageType returns a boolean if a field has been set.

func (*Vulnerability) HasPackageVersion

func (o *Vulnerability) HasPackageVersion() bool

HasPackageVersion returns a boolean if a field has been set.

func (*Vulnerability) HasSeverity

func (o *Vulnerability) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*Vulnerability) HasUrl

func (o *Vulnerability) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Vulnerability) HasVendorData

func (o *Vulnerability) HasVendorData() bool

HasVendorData returns a boolean if a field has been set.

func (*Vulnerability) HasVuln

func (o *Vulnerability) HasVuln() bool

HasVuln returns a boolean if a field has been set.

func (*Vulnerability) HasWillNotFix

func (o *Vulnerability) HasWillNotFix() bool

HasWillNotFix returns a boolean if a field has been set.

func (Vulnerability) MarshalJSON

func (o Vulnerability) MarshalJSON() ([]byte, error)

func (*Vulnerability) SetFeed

func (o *Vulnerability) SetFeed(v string)

SetFeed gets a reference to the given string and assigns it to the Feed field.

func (*Vulnerability) SetFeedGroup

func (o *Vulnerability) SetFeedGroup(v string)

SetFeedGroup gets a reference to the given string and assigns it to the FeedGroup field.

func (*Vulnerability) SetFix

func (o *Vulnerability) SetFix(v string)

SetFix gets a reference to the given string and assigns it to the Fix field.

func (*Vulnerability) SetNvdData

func (o *Vulnerability) SetNvdData(v []NvdDataObject)

SetNvdData gets a reference to the given []NvdDataObject and assigns it to the NvdData field.

func (*Vulnerability) SetPackage

func (o *Vulnerability) SetPackage(v string)

SetPackage gets a reference to the given string and assigns it to the Package field.

func (*Vulnerability) SetPackageCpe

func (o *Vulnerability) SetPackageCpe(v string)

SetPackageCpe gets a reference to the given string and assigns it to the PackageCpe field.

func (*Vulnerability) SetPackageName

func (o *Vulnerability) SetPackageName(v string)

SetPackageName gets a reference to the given string and assigns it to the PackageName field.

func (*Vulnerability) SetPackagePath

func (o *Vulnerability) SetPackagePath(v string)

SetPackagePath gets a reference to the given string and assigns it to the PackagePath field.

func (*Vulnerability) SetPackageType

func (o *Vulnerability) SetPackageType(v string)

SetPackageType gets a reference to the given string and assigns it to the PackageType field.

func (*Vulnerability) SetPackageVersion

func (o *Vulnerability) SetPackageVersion(v string)

SetPackageVersion gets a reference to the given string and assigns it to the PackageVersion field.

func (*Vulnerability) SetSeverity

func (o *Vulnerability) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*Vulnerability) SetUrl

func (o *Vulnerability) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*Vulnerability) SetVendorData

func (o *Vulnerability) SetVendorData(v []VendorDataObject)

SetVendorData gets a reference to the given []VendorDataObject and assigns it to the VendorData field.

func (*Vulnerability) SetVuln

func (o *Vulnerability) SetVuln(v string)

SetVuln gets a reference to the given string and assigns it to the Vuln field.

func (*Vulnerability) SetWillNotFix

func (o *Vulnerability) SetWillNotFix(v bool)

SetWillNotFix gets a reference to the given bool and assigns it to the WillNotFix field.

Source Files

Jump to

Keyboard shortcuts

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