Skip to main content

JsonPatch

Properties​

NameTypeDescriptionNotes
OperationsPointer to []JsonPatchOperationOperations to be applied[optional]

Methods​

NewJsonPatch​

func NewJsonPatch() *JsonPatch

NewJsonPatch instantiates a new JsonPatch 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

NewJsonPatchWithDefaults​

func NewJsonPatchWithDefaults() *JsonPatch

NewJsonPatchWithDefaults instantiates a new JsonPatch 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

GetOperations​

func (o *JsonPatch) GetOperations() []JsonPatchOperation

GetOperations returns the Operations field if non-nil, zero value otherwise.

GetOperationsOk​

func (o *JsonPatch) GetOperationsOk() (*[]JsonPatchOperation, bool)

GetOperationsOk returns a tuple with the Operations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOperations​

func (o *JsonPatch) SetOperations(v []JsonPatchOperation)

SetOperations sets Operations field to given value.

HasOperations​

func (o *JsonPatch) HasOperations() bool

HasOperations returns a boolean if a field has been set.