2.4 KiB
Generated
RelationshipPatch
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Action | Pointer to string | [optional] | |
| RelationTuple | Pointer to Relationship | [optional] |
Methods
NewRelationshipPatch
func NewRelationshipPatch() *RelationshipPatch
NewRelationshipPatch instantiates a new RelationshipPatch 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
NewRelationshipPatchWithDefaults
func NewRelationshipPatchWithDefaults() *RelationshipPatch
NewRelationshipPatchWithDefaults instantiates a new RelationshipPatch 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
GetAction
func (o *RelationshipPatch) GetAction() string
GetAction returns the Action field if non-nil, zero value otherwise.
GetActionOk
func (o *RelationshipPatch) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAction
func (o *RelationshipPatch) SetAction(v string)
SetAction sets Action field to given value.
HasAction
func (o *RelationshipPatch) HasAction() bool
HasAction returns a boolean if a field has been set.
GetRelationTuple
func (o *RelationshipPatch) GetRelationTuple() Relationship
GetRelationTuple returns the RelationTuple field if non-nil, zero value otherwise.
GetRelationTupleOk
func (o *RelationshipPatch) GetRelationTupleOk() (*Relationship, bool)
GetRelationTupleOk returns a tuple with the RelationTuple field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRelationTuple
func (o *RelationshipPatch) SetRelationTuple(v Relationship)
SetRelationTuple sets RelationTuple field to given value.
HasRelationTuple
func (o *RelationshipPatch) HasRelationTuple() bool
HasRelationTuple returns a boolean if a field has been set.