| 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 |
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
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
func (o *PostReleasePolicyRequest) GetScope() ReleasePolicyScope
GetScope returns the Scope field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetScope(v ReleasePolicyScope)
SetScope sets Scope field to given value.
func (o *PostReleasePolicyRequest) HasScope() bool
HasScope returns a boolean if a field has been set.
func (o *PostReleasePolicyRequest) GetReleaseMethod() ReleaseMethod
GetReleaseMethod returns the ReleaseMethod field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetReleaseMethod(v ReleaseMethod)
SetReleaseMethod sets ReleaseMethod field to given value.
func (o *PostReleasePolicyRequest) GetGuardedReleaseConfig() GuardedReleaseConfig
GetGuardedReleaseConfig returns the GuardedReleaseConfig field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetGuardedReleaseConfig(v GuardedReleaseConfig)
SetGuardedReleaseConfig sets GuardedReleaseConfig field to given value.
func (o *PostReleasePolicyRequest) HasGuardedReleaseConfig() bool
HasGuardedReleaseConfig returns a boolean if a field has been set.
func (o *PostReleasePolicyRequest) GetProgressiveReleaseConfig() ProgressiveReleaseConfig
GetProgressiveReleaseConfig returns the ProgressiveReleaseConfig field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetProgressiveReleaseConfig(v ProgressiveReleaseConfig)
SetProgressiveReleaseConfig sets ProgressiveReleaseConfig field to given value.
func (o *PostReleasePolicyRequest) HasProgressiveReleaseConfig() bool
HasProgressiveReleaseConfig returns a boolean if a field has been set.
func (o *PostReleasePolicyRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PostReleasePolicyRequest) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
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.
func (o *PostReleasePolicyRequest) SetKey(v string)
SetKey sets Key field to given value.