Name | Type | Description | Notes |
---|---|---|---|
Op | OperationType | ||
Path | string | The source path. | |
From | Pointer to NullableString | The target path. | [optional] |
Value | Pointer to interface{} | The discrete value. | [optional] |
func NewJsonPatchOperation(op OperationType, path string, ) *JsonPatchOperation
NewJsonPatchOperation instantiates a new JsonPatchOperation 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 NewJsonPatchOperationWithDefaults() *JsonPatchOperation
NewJsonPatchOperationWithDefaults instantiates a new JsonPatchOperation 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 *JsonPatchOperation) GetOp() OperationType
GetOp returns the Op field if non-nil, zero value otherwise.
func (o *JsonPatchOperation) GetOpOk() (*OperationType, bool)
GetOpOk returns a tuple with the Op field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonPatchOperation) SetOp(v OperationType)
SetOp sets Op field to given value.
func (o *JsonPatchOperation) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *JsonPatchOperation) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonPatchOperation) SetPath(v string)
SetPath sets Path field to given value.
func (o *JsonPatchOperation) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *JsonPatchOperation) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonPatchOperation) SetFrom(v string)
SetFrom sets From field to given value.
func (o *JsonPatchOperation) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (o *JsonPatchOperation) SetFromNil(b bool)
SetFromNil sets the value for From to be an explicit nil
func (o *JsonPatchOperation) UnsetFrom()
UnsetFrom ensures that no value is present for From, not even an explicit nil
func (o *JsonPatchOperation) GetValue() interface{}
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *JsonPatchOperation) GetValueOk() (*interface{}, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonPatchOperation) SetValue(v interface{})
SetValue sets Value field to given value.
func (o *JsonPatchOperation) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *JsonPatchOperation) SetValueNil(b bool)
SetValueNil sets the value for Value to be an explicit nil
func (o *JsonPatchOperation) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil