| Name | Type | Description | Notes |
|---|---|---|---|
| Artifact | Pointer to ArtifactSpec | [optional] | |
| Drift | Pointer to DriftSpec | [optional] | |
| Namespace | Pointer to string | namespace of the workload resource | [optional] |
| Placement | Pointer to PlacementSpec | [optional] | |
| Version | Pointer to string | version of the workload resource | [optional] |
func NewWorkloadSpec() *WorkloadSpec
NewWorkloadSpec instantiates a new WorkloadSpec 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 NewWorkloadSpecWithDefaults() *WorkloadSpec
NewWorkloadSpecWithDefaults instantiates a new WorkloadSpec 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 *WorkloadSpec) GetArtifact() ArtifactSpec
GetArtifact returns the Artifact field if non-nil, zero value otherwise.
func (o *WorkloadSpec) GetArtifactOk() (*ArtifactSpec, bool)
GetArtifactOk returns a tuple with the Artifact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkloadSpec) SetArtifact(v ArtifactSpec)
SetArtifact sets Artifact field to given value.
func (o *WorkloadSpec) HasArtifact() bool
HasArtifact returns a boolean if a field has been set.
func (o *WorkloadSpec) GetDrift() DriftSpec
GetDrift returns the Drift field if non-nil, zero value otherwise.
func (o *WorkloadSpec) GetDriftOk() (*DriftSpec, bool)
GetDriftOk returns a tuple with the Drift field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkloadSpec) SetDrift(v DriftSpec)
SetDrift sets Drift field to given value.
func (o *WorkloadSpec) HasDrift() bool
HasDrift returns a boolean if a field has been set.
func (o *WorkloadSpec) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *WorkloadSpec) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkloadSpec) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *WorkloadSpec) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (o *WorkloadSpec) GetPlacement() PlacementSpec
GetPlacement returns the Placement field if non-nil, zero value otherwise.
func (o *WorkloadSpec) GetPlacementOk() (*PlacementSpec, bool)
GetPlacementOk returns a tuple with the Placement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkloadSpec) SetPlacement(v PlacementSpec)
SetPlacement sets Placement field to given value.
func (o *WorkloadSpec) HasPlacement() bool
HasPlacement returns a boolean if a field has been set.
func (o *WorkloadSpec) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *WorkloadSpec) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkloadSpec) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *WorkloadSpec) HasVersion() bool
HasVersion returns a boolean if a field has been set.