Name | Type | Description | Notes |
---|---|---|---|
Op | ChangeType | ||
Path | string | contains a JSON pointer value (as defined in IETF RFC 6901) that references a target location within the resource on which the change has been applied. | |
From | Pointer to string | indicates the path of the source JSON element (according to JSON Pointer syntax) being moved or copied to the location indicated by the "path" attribute. It shall be present if the "op" attribute is of value "MOVE". | [optional] |
OrigValue | Pointer to interface{} | [optional] | |
NewValue | Pointer to interface{} | [optional] |
func NewChangeItem(op ChangeType, path string, ) *ChangeItem
NewChangeItem instantiates a new ChangeItem 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 NewChangeItemWithDefaults() *ChangeItem
NewChangeItemWithDefaults instantiates a new ChangeItem 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 *ChangeItem) GetOp() ChangeType
GetOp returns the Op field if non-nil, zero value otherwise.
func (o *ChangeItem) GetOpOk() (*ChangeType, 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 *ChangeItem) SetOp(v ChangeType)
SetOp sets Op field to given value.
func (o *ChangeItem) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *ChangeItem) 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 *ChangeItem) SetPath(v string)
SetPath sets Path field to given value.
func (o *ChangeItem) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *ChangeItem) 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 *ChangeItem) SetFrom(v string)
SetFrom sets From field to given value.
func (o *ChangeItem) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (o *ChangeItem) GetOrigValue() interface{}
GetOrigValue returns the OrigValue field if non-nil, zero value otherwise.
func (o *ChangeItem) GetOrigValueOk() (*interface{}, bool)
GetOrigValueOk returns a tuple with the OrigValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChangeItem) SetOrigValue(v interface{})
SetOrigValue sets OrigValue field to given value.
func (o *ChangeItem) HasOrigValue() bool
HasOrigValue returns a boolean if a field has been set.
func (o *ChangeItem) SetOrigValueNil(b bool)
SetOrigValueNil sets the value for OrigValue to be an explicit nil
func (o *ChangeItem) UnsetOrigValue()
UnsetOrigValue ensures that no value is present for OrigValue, not even an explicit nil
func (o *ChangeItem) GetNewValue() interface{}
GetNewValue returns the NewValue field if non-nil, zero value otherwise.
func (o *ChangeItem) GetNewValueOk() (*interface{}, bool)
GetNewValueOk returns a tuple with the NewValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ChangeItem) SetNewValue(v interface{})
SetNewValue sets NewValue field to given value.
func (o *ChangeItem) HasNewValue() bool
HasNewValue returns a boolean if a field has been set.
func (o *ChangeItem) SetNewValueNil(b bool)
SetNewValueNil sets the value for NewValue to be an explicit nil
func (o *ChangeItem) UnsetNewValue()
UnsetNewValue ensures that no value is present for NewValue, not even an explicit nil