Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.49 KB

Artifact.md

File metadata and controls

135 lines (72 loc) · 3.49 KB

Artifact

Properties

Name Type Description Notes
Architecture string
PackageFileId string
PackageUrl string
Platform string
Sha256 string

Methods

NewArtifact

func NewArtifact(architecture string, packageFileId string, packageUrl string, platform string, sha256 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

NewArtifactWithDefaults

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

GetArchitecture

func (o *Artifact) GetArchitecture() string

GetArchitecture returns the Architecture field if non-nil, zero value otherwise.

GetArchitectureOk

func (o *Artifact) GetArchitectureOk() (*string, bool)

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

SetArchitecture

func (o *Artifact) SetArchitecture(v string)

SetArchitecture sets Architecture field to given value.

GetPackageFileId

func (o *Artifact) GetPackageFileId() string

GetPackageFileId returns the PackageFileId field if non-nil, zero value otherwise.

GetPackageFileIdOk

func (o *Artifact) GetPackageFileIdOk() (*string, bool)

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

SetPackageFileId

func (o *Artifact) SetPackageFileId(v string)

SetPackageFileId sets PackageFileId field to given value.

GetPackageUrl

func (o *Artifact) GetPackageUrl() string

GetPackageUrl returns the PackageUrl field if non-nil, zero value otherwise.

GetPackageUrlOk

func (o *Artifact) GetPackageUrlOk() (*string, bool)

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

SetPackageUrl

func (o *Artifact) SetPackageUrl(v string)

SetPackageUrl sets PackageUrl field to given value.

GetPlatform

func (o *Artifact) GetPlatform() string

GetPlatform returns the Platform field if non-nil, zero value otherwise.

GetPlatformOk

func (o *Artifact) GetPlatformOk() (*string, bool)

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

SetPlatform

func (o *Artifact) SetPlatform(v string)

SetPlatform sets Platform field to given value.

GetSha256

func (o *Artifact) GetSha256() string

GetSha256 returns the Sha256 field if non-nil, zero value otherwise.

GetSha256Ok

func (o *Artifact) GetSha256Ok() (*string, bool)

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

SetSha256

func (o *Artifact) SetSha256(v string)

SetSha256 sets Sha256 field to given value.

[Back to Model list] [Back to API list] [Back to README]