Name | Type | Description | Notes |
---|---|---|---|
AppName | string | Name of the app | |
Name | string | Name of the patch | |
Active | Pointer to NullableBool | Is the app active or inactive | [optional] |
Applied | Pointer to NullableBool | Is the app already applied or not | [optional] |
func NewPatch(appName string, name string, ) *Patch
NewPatch instantiates a new Patch 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 NewPatchWithDefaults() *Patch
NewPatchWithDefaults instantiates a new Patch 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 *Patch) GetAppName() string
GetAppName returns the AppName field if non-nil, zero value otherwise.
func (o *Patch) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Patch) SetAppName(v string)
SetAppName sets AppName field to given value.
func (o *Patch) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Patch) 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 *Patch) SetName(v string)
SetName sets Name field to given value.
func (o *Patch) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *Patch) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Patch) SetActive(v bool)
SetActive sets Active field to given value.
func (o *Patch) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *Patch) SetActiveNil(b bool)
SetActiveNil sets the value for Active to be an explicit nil
func (o *Patch) UnsetActive()
UnsetActive ensures that no value is present for Active, not even an explicit nil
func (o *Patch) GetApplied() bool
GetApplied returns the Applied field if non-nil, zero value otherwise.
func (o *Patch) GetAppliedOk() (*bool, bool)
GetAppliedOk returns a tuple with the Applied field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Patch) SetApplied(v bool)
SetApplied sets Applied field to given value.
func (o *Patch) HasApplied() bool
HasApplied returns a boolean if a field has been set.
func (o *Patch) SetAppliedNil(b bool)
SetAppliedNil sets the value for Applied to be an explicit nil
func (o *Patch) UnsetApplied()
UnsetApplied ensures that no value is present for Applied, not even an explicit nil