Skip to content

Latest commit

 

History

History
171 lines (92 loc) · 5.42 KB

File metadata and controls

171 lines (92 loc) · 5.42 KB

PostReleasePolicyRequest

Properties

Name Type Description Notes
Scope Pointer to ReleasePolicyScope [optional]
ReleaseMethod ReleaseMethod
GuardedReleaseConfig Pointer to GuardedReleaseConfig [optional]
ProgressiveReleaseConfig Pointer to ProgressiveReleaseConfig [optional]
Name string The name of the release policy
Key string The human-readable key of the release policy

Methods

NewPostReleasePolicyRequest

func NewPostReleasePolicyRequest(releaseMethod ReleaseMethod, name string, key string, ) *PostReleasePolicyRequest

NewPostReleasePolicyRequest instantiates a new PostReleasePolicyRequest 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

NewPostReleasePolicyRequestWithDefaults

func NewPostReleasePolicyRequestWithDefaults() *PostReleasePolicyRequest

NewPostReleasePolicyRequestWithDefaults instantiates a new PostReleasePolicyRequest 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

GetScope

func (o *PostReleasePolicyRequest) GetScope() ReleasePolicyScope

GetScope returns the Scope field if non-nil, zero value otherwise.

GetScopeOk

func (o *PostReleasePolicyRequest) GetScopeOk() (*ReleasePolicyScope, bool)

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

SetScope

func (o *PostReleasePolicyRequest) SetScope(v ReleasePolicyScope)

SetScope sets Scope field to given value.

HasScope

func (o *PostReleasePolicyRequest) HasScope() bool

HasScope returns a boolean if a field has been set.

GetReleaseMethod

func (o *PostReleasePolicyRequest) GetReleaseMethod() ReleaseMethod

GetReleaseMethod returns the ReleaseMethod field if non-nil, zero value otherwise.

GetReleaseMethodOk

func (o *PostReleasePolicyRequest) GetReleaseMethodOk() (*ReleaseMethod, bool)

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

SetReleaseMethod

func (o *PostReleasePolicyRequest) SetReleaseMethod(v ReleaseMethod)

SetReleaseMethod sets ReleaseMethod field to given value.

GetGuardedReleaseConfig

func (o *PostReleasePolicyRequest) GetGuardedReleaseConfig() GuardedReleaseConfig

GetGuardedReleaseConfig returns the GuardedReleaseConfig field if non-nil, zero value otherwise.

GetGuardedReleaseConfigOk

func (o *PostReleasePolicyRequest) GetGuardedReleaseConfigOk() (*GuardedReleaseConfig, bool)

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

SetGuardedReleaseConfig

func (o *PostReleasePolicyRequest) SetGuardedReleaseConfig(v GuardedReleaseConfig)

SetGuardedReleaseConfig sets GuardedReleaseConfig field to given value.

HasGuardedReleaseConfig

func (o *PostReleasePolicyRequest) HasGuardedReleaseConfig() bool

HasGuardedReleaseConfig returns a boolean if a field has been set.

GetProgressiveReleaseConfig

func (o *PostReleasePolicyRequest) GetProgressiveReleaseConfig() ProgressiveReleaseConfig

GetProgressiveReleaseConfig returns the ProgressiveReleaseConfig field if non-nil, zero value otherwise.

GetProgressiveReleaseConfigOk

func (o *PostReleasePolicyRequest) GetProgressiveReleaseConfigOk() (*ProgressiveReleaseConfig, bool)

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

SetProgressiveReleaseConfig

func (o *PostReleasePolicyRequest) SetProgressiveReleaseConfig(v ProgressiveReleaseConfig)

SetProgressiveReleaseConfig sets ProgressiveReleaseConfig field to given value.

HasProgressiveReleaseConfig

func (o *PostReleasePolicyRequest) HasProgressiveReleaseConfig() bool

HasProgressiveReleaseConfig returns a boolean if a field has been set.

GetName

func (o *PostReleasePolicyRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PostReleasePolicyRequest) GetNameOk() (*string, bool)

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

SetName

func (o *PostReleasePolicyRequest) SetName(v string)

SetName sets Name field to given value.

GetKey

func (o *PostReleasePolicyRequest) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *PostReleasePolicyRequest) GetKeyOk() (*string, bool)

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

SetKey

func (o *PostReleasePolicyRequest) SetKey(v string)

SetKey sets Key field to given value.

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