# VulnerabilityMetadata

## Properties

| Name            | Type                                                                                                                      | Description                                          | Notes       |
| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ----------- |
| **PublishedAt** | [**time.Time**](https://github.com/ionos-cloud/sdk-go-container-registry/blob/master/docs/models/time.Time.md)            | The date and time the vulnerability was published    |             |
| **UpdatedAt**   | Pointer to [**time.Time**](https://github.com/ionos-cloud/sdk-go-container-registry/blob/master/docs/models/time.Time.md) | The date and time the vulnerability was last updated | \[optional] |

## Methods

### NewVulnerabilityMetadata

`func NewVulnerabilityMetadata(publishedAt time.Time, ) *VulnerabilityMetadata`

NewVulnerabilityMetadata instantiates a new VulnerabilityMetadata 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

### NewVulnerabilityMetadataWithDefaults

`func NewVulnerabilityMetadataWithDefaults() *VulnerabilityMetadata`

NewVulnerabilityMetadataWithDefaults instantiates a new VulnerabilityMetadata 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

### GetPublishedAt

`func (o *VulnerabilityMetadata) GetPublishedAt() time.Time`

GetPublishedAt returns the PublishedAt field if non-nil, zero value otherwise.

### GetPublishedAtOk

`func (o *VulnerabilityMetadata) GetPublishedAtOk() (*time.Time, bool)`

GetPublishedAtOk returns a tuple with the PublishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetPublishedAt

`func (o *VulnerabilityMetadata) SetPublishedAt(v time.Time)`

SetPublishedAt sets PublishedAt field to given value.

### GetUpdatedAt

`func (o *VulnerabilityMetadata) GetUpdatedAt() time.Time`

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

### GetUpdatedAtOk

`func (o *VulnerabilityMetadata) GetUpdatedAtOk() (*time.Time, bool)`

GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetUpdatedAt

`func (o *VulnerabilityMetadata) SetUpdatedAt(v time.Time)`

SetUpdatedAt sets UpdatedAt field to given value.

### HasUpdatedAt

`func (o *VulnerabilityMetadata) HasUpdatedAt() bool`

HasUpdatedAt returns a boolean if a field has been set.
