Artifact
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewArtifact(repositoryName string, digest string, mediaType string, ) *Artifact
NewArtifact instantiates a new Artifact 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 NewArtifactWithDefaults() *Artifact
NewArtifactWithDefaults instantiates a new Artifact 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 *Artifact) GetRepositoryName() string
GetRepositoryName returns the RepositoryName field if non-nil, zero value otherwise.
func (o *Artifact) GetRepositoryNameOk() (*string, bool)
GetRepositoryNameOk returns a tuple with the RepositoryName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Artifact) SetRepositoryName(v string)
SetRepositoryName sets RepositoryName field to given value.
func (o *Artifact) GetDigest() string
GetDigest returns the Digest field if non-nil, zero value otherwise.
func (o *Artifact) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Artifact) SetDigest(v string)
SetDigest sets Digest field to given value.
func (o *Artifact) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Artifact) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Artifact) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *Artifact) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Artifact) GetMediaType() string
GetMediaType returns the MediaType field if non-nil, zero value otherwise.
func (o *Artifact) GetMediaTypeOk() (*string, bool)
GetMediaTypeOk returns a tuple with the MediaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Artifact) SetMediaType(v string)
SetMediaType sets MediaType field to given value.
RepositoryName
string
Digest
string
The digest of the artifact
Tags
Pointer to []string
The tags of an artifact
[optional]
MediaType
string
The media type of the artifact