ArtifactMetadata
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewArtifactMetadata(lastPushedAt time.Time, pushCount int64, pullCount int64, ) *ArtifactMetadata
NewArtifactMetadata instantiates a new ArtifactMetadata 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 NewArtifactMetadataWithDefaults() *ArtifactMetadata
NewArtifactMetadataWithDefaults instantiates a new ArtifactMetadata 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 (o *ArtifactMetadata) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetCreatedDate(v time.Time)
SetCreatedDate sets CreatedDate field to given value.
func (o *ArtifactMetadata) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *ArtifactMetadata) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetCreatedByUserId() string
GetCreatedByUserId returns the CreatedByUserId field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetCreatedByUserIdOk() (*string, bool)
GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetCreatedByUserId(v string)
SetCreatedByUserId sets CreatedByUserId field to given value.
func (o *ArtifactMetadata) HasCreatedByUserId() bool
HasCreatedByUserId returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetLastModifiedDate() time.Time
GetLastModifiedDate returns the LastModifiedDate field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets LastModifiedDate field to given value.
func (o *ArtifactMetadata) HasLastModifiedDate() bool
HasLastModifiedDate returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetLastModifiedBy() string
GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastModifiedByOk() (*string, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastModifiedBy(v string)
SetLastModifiedBy sets LastModifiedBy field to given value.
func (o *ArtifactMetadata) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetLastModifiedByUserId() string
GetLastModifiedByUserId returns the LastModifiedByUserId field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastModifiedByUserIdOk() (*string, bool)
GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastModifiedByUserId(v string)
SetLastModifiedByUserId sets LastModifiedByUserId field to given value.
func (o *ArtifactMetadata) HasLastModifiedByUserId() bool
HasLastModifiedByUserId returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetResourceURN() string
GetResourceURN returns the ResourceURN field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetResourceURNOk() (*string, bool)
GetResourceURNOk returns a tuple with the ResourceURN field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetResourceURN(v string)
SetResourceURN sets ResourceURN field to given value.
func (o *ArtifactMetadata) HasResourceURN() bool
HasResourceURN returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetLastPushedAt() time.Time
GetLastPushedAt returns the LastPushedAt field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastPushedAtOk() (*time.Time, bool)
GetLastPushedAtOk returns a tuple with the LastPushedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastPushedAt(v time.Time)
SetLastPushedAt sets LastPushedAt field to given value.
func (o *ArtifactMetadata) GetLastPulledAt() time.Time
GetLastPulledAt returns the LastPulledAt field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastPulledAtOk() (*time.Time, bool)
GetLastPulledAtOk returns a tuple with the LastPulledAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastPulledAt(v time.Time)
SetLastPulledAt sets LastPulledAt field to given value.
func (o *ArtifactMetadata) HasLastPulledAt() bool
HasLastPulledAt returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetLastScannedAt() time.Time
GetLastScannedAt returns the LastScannedAt field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetLastScannedAtOk() (*time.Time, bool)
GetLastScannedAtOk returns a tuple with the LastScannedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetLastScannedAt(v time.Time)
SetLastScannedAt sets LastScannedAt field to given value.
func (o *ArtifactMetadata) HasLastScannedAt() bool
HasLastScannedAt returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetPushCount() int64
GetPushCount returns the PushCount field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetPushCountOk() (*int64, bool)
GetPushCountOk returns a tuple with the PushCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetPushCount(v int64)
SetPushCount sets PushCount field to given value.
func (o *ArtifactMetadata) GetPullCount() int64
GetPullCount returns the PullCount field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetPullCountOk() (*int64, bool)
GetPullCountOk returns a tuple with the PullCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetPullCount(v int64)
SetPullCount sets PullCount field to given value.
func (o *ArtifactMetadata) GetVulnMaxSeverity() string
GetVulnMaxSeverity returns the VulnMaxSeverity field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetVulnMaxSeverityOk() (*string, bool)
GetVulnMaxSeverityOk returns a tuple with the VulnMaxSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetVulnMaxSeverity(v string)
SetVulnMaxSeverity sets VulnMaxSeverity field to given value.
func (o *ArtifactMetadata) HasVulnMaxSeverity() bool
HasVulnMaxSeverity returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetVulnTotalScore() float32
GetVulnTotalScore returns the VulnTotalScore field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetVulnTotalScoreOk() (*float32, bool)
GetVulnTotalScoreOk returns a tuple with the VulnTotalScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetVulnTotalScore(v float32)
SetVulnTotalScore sets VulnTotalScore field to given value.
func (o *ArtifactMetadata) HasVulnTotalScore() bool
HasVulnTotalScore returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetVulnTotalCount() int64
GetVulnTotalCount returns the VulnTotalCount field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetVulnTotalCountOk() (*int64, bool)
GetVulnTotalCountOk returns a tuple with the VulnTotalCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetVulnTotalCount(v int64)
SetVulnTotalCount sets VulnTotalCount field to given value.
func (o *ArtifactMetadata) HasVulnTotalCount() bool
HasVulnTotalCount returns a boolean if a field has been set.
func (o *ArtifactMetadata) GetVulnFixableCount() int64
GetVulnFixableCount returns the VulnFixableCount field if non-nil, zero value otherwise.
func (o *ArtifactMetadata) GetVulnFixableCountOk() (*int64, bool)
GetVulnFixableCountOk returns a tuple with the VulnFixableCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ArtifactMetadata) SetVulnFixableCount(v int64)
SetVulnFixableCount sets VulnFixableCount field to given value.
func (o *ArtifactMetadata) HasVulnFixableCount() bool
HasVulnFixableCount returns a boolean if a field has been set.
CreatedDate
Pointer to time.Time
The ISO 8601 creation timestamp.
[optional]
CreatedBy
Pointer to string
Unique name of the identity that created the resource.
[optional]
CreatedByUserId
Pointer to string
[optional]
LastModifiedDate
Pointer to time.Time
The ISO 8601 modified timestamp.
[optional]
LastModifiedBy
Pointer to string
Unique name of the identity that last modified the resource.
[optional]
LastModifiedByUserId
Pointer to string
[optional]
ResourceURN
Pointer to string
Unique name of the resource.
[optional]
LastPushedAt
The date and time the artifact was last pushed
LastPulledAt
Pointer to time.Time
The date and time the artifact was last pulled
[optional]
LastScannedAt
Pointer to time.Time
The date and time the artifact was last scanned
[optional]
PushCount
int64
The number of times the artifact was pushed
PullCount
int64
The number of times the artifact was pulled
VulnMaxSeverity
Pointer to string
The CVSS vulnerability severity rating
[optional]
VulnTotalScore
Pointer to float32
The total CVSS score of all vulnerabilities of the artifact
[optional]
VulnTotalCount
Pointer to int64
The total number of vulnerabilities of the artifact
[optional]
VulnFixableCount
Pointer to int64
The number of fixable vulnerabilities of the artifact
[optional]