Skip to content

Latest commit

 

History

History
144 lines (79 loc) · 3.75 KB

JsonPatchOperation.md

File metadata and controls

144 lines (79 loc) · 3.75 KB

JsonPatchOperation

Properties

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]

Methods

NewJsonPatchOperation

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

NewJsonPatchOperationWithDefaults

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

GetOp

func (o *JsonPatchOperation) GetOp() OperationType

GetOp returns the Op field if non-nil, zero value otherwise.

GetOpOk

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.

SetOp

func (o *JsonPatchOperation) SetOp(v OperationType)

SetOp sets Op field to given value.

GetPath

func (o *JsonPatchOperation) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

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.

SetPath

func (o *JsonPatchOperation) SetPath(v string)

SetPath sets Path field to given value.

GetFrom

func (o *JsonPatchOperation) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

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.

SetFrom

func (o *JsonPatchOperation) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *JsonPatchOperation) HasFrom() bool

HasFrom returns a boolean if a field has been set.

SetFromNil

func (o *JsonPatchOperation) SetFromNil(b bool)

SetFromNil sets the value for From to be an explicit nil

UnsetFrom

func (o *JsonPatchOperation) UnsetFrom()

UnsetFrom ensures that no value is present for From, not even an explicit nil

GetValue

func (o *JsonPatchOperation) GetValue() interface{}

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

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.

SetValue

func (o *JsonPatchOperation) SetValue(v interface{})

SetValue sets Value field to given value.

HasValue

func (o *JsonPatchOperation) HasValue() bool

HasValue returns a boolean if a field has been set.

SetValueNil

func (o *JsonPatchOperation) SetValueNil(b bool)

SetValueNil sets the value for Value to be an explicit nil

UnsetValue

func (o *JsonPatchOperation) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]