Name | Type | Description | Notes |
---|---|---|---|
Policy | Pointer to NullableString | [optional] | |
Group | Pointer to NullableString | [optional] | |
User | Pointer to NullableInt32 | [optional] | |
Target | Pointer to string | [optional] | |
Negate | Pointer to bool | Negates the outcome of the policy. Messages are unaffected. | [optional] |
Enabled | Pointer to bool | [optional] | |
Order | Pointer to int32 | [optional] | |
Timeout | Pointer to int32 | Timeout after which Policy execution is terminated. | [optional] |
FailureResult | Pointer to bool | Result if the Policy execution fails. | [optional] |
func NewPatchedPolicyBindingRequest() *PatchedPolicyBindingRequest
NewPatchedPolicyBindingRequest instantiates a new PatchedPolicyBindingRequest 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 NewPatchedPolicyBindingRequestWithDefaults() *PatchedPolicyBindingRequest
NewPatchedPolicyBindingRequestWithDefaults instantiates a new PatchedPolicyBindingRequest 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 *PatchedPolicyBindingRequest) GetPolicy() string
GetPolicy returns the Policy field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetPolicy(v string)
SetPolicy sets Policy field to given value.
func (o *PatchedPolicyBindingRequest) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) SetPolicyNil(b bool)
SetPolicyNil sets the value for Policy to be an explicit nil
func (o *PatchedPolicyBindingRequest) UnsetPolicy()
UnsetPolicy ensures that no value is present for Policy, not even an explicit nil
func (o *PatchedPolicyBindingRequest) GetGroup() string
GetGroup returns the Group field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetGroupOk() (*string, bool)
GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetGroup(v string)
SetGroup sets Group field to given value.
func (o *PatchedPolicyBindingRequest) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) SetGroupNil(b bool)
SetGroupNil sets the value for Group to be an explicit nil
func (o *PatchedPolicyBindingRequest) UnsetGroup()
UnsetGroup ensures that no value is present for Group, not even an explicit nil
func (o *PatchedPolicyBindingRequest) GetUser() int32
GetUser returns the User field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetUserOk() (*int32, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetUser(v int32)
SetUser sets User field to given value.
func (o *PatchedPolicyBindingRequest) HasUser() bool
HasUser returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) SetUserNil(b bool)
SetUserNil sets the value for User to be an explicit nil
func (o *PatchedPolicyBindingRequest) UnsetUser()
UnsetUser ensures that no value is present for User, not even an explicit nil
func (o *PatchedPolicyBindingRequest) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *PatchedPolicyBindingRequest) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) GetNegate() bool
GetNegate returns the Negate field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetNegateOk() (*bool, bool)
GetNegateOk returns a tuple with the Negate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetNegate(v bool)
SetNegate sets Negate field to given value.
func (o *PatchedPolicyBindingRequest) HasNegate() bool
HasNegate returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *PatchedPolicyBindingRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) GetOrder() int32
GetOrder returns the Order field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetOrder(v int32)
SetOrder sets Order field to given value.
func (o *PatchedPolicyBindingRequest) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) GetTimeout() int32
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetTimeoutOk() (*int32, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetTimeout(v int32)
SetTimeout sets Timeout field to given value.
func (o *PatchedPolicyBindingRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *PatchedPolicyBindingRequest) GetFailureResult() bool
GetFailureResult returns the FailureResult field if non-nil, zero value otherwise.
func (o *PatchedPolicyBindingRequest) GetFailureResultOk() (*bool, bool)
GetFailureResultOk returns a tuple with the FailureResult field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedPolicyBindingRequest) SetFailureResult(v bool)
SetFailureResult sets FailureResult field to given value.
func (o *PatchedPolicyBindingRequest) HasFailureResult() bool
HasFailureResult returns a boolean if a field has been set.