Files
developer.sailpoint.com/docs/tools/sdk/go/Reference/Beta/Models/JsonPatchOperations.md
2025-03-27 14:43:04 -04:00

3.0 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
beta-json-patch-operations JsonPatchOperations JsonPatchOperations JsonPatchOperations gosdk
go
Golang
sdk
JsonPatchOperations
BetaJsonPatchOperations
/tools/sdk/go/beta/models/json-patch-operations
SDK
Software Development Kit
JsonPatchOperations
BetaJsonPatchOperations

JsonPatchOperations

Properties

Name Type Description Notes
Op string The operation to be performed
Path string A string representing the target path to an element to be affected by the operation
Value Pointer to JsonPatchOperationsValue [optional]

Methods

NewJsonPatchOperations

func NewJsonPatchOperations(op string, path string, ) *JsonPatchOperations

NewJsonPatchOperations instantiates a new JsonPatchOperations 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

NewJsonPatchOperationsWithDefaults

func NewJsonPatchOperationsWithDefaults() *JsonPatchOperations

NewJsonPatchOperationsWithDefaults instantiates a new JsonPatchOperations 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 *JsonPatchOperations) GetOp() string

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

GetOpOk

func (o *JsonPatchOperations) GetOpOk() (*string, 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 *JsonPatchOperations) SetOp(v string)

SetOp sets Op field to given value.

GetPath

func (o *JsonPatchOperations) GetPath() string

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

GetPathOk

func (o *JsonPatchOperations) 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 *JsonPatchOperations) SetPath(v string)

SetPath sets Path field to given value.

GetValue

func (o *JsonPatchOperations) GetValue() JsonPatchOperationsValue

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

GetValueOk

func (o *JsonPatchOperations) GetValueOk() (*JsonPatchOperationsValue, 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 *JsonPatchOperations) SetValue(v JsonPatchOperationsValue)

SetValue sets Value field to given value.

HasValue

func (o *JsonPatchOperations) HasValue() bool

HasValue returns a boolean if a field has been set.