1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
# Assertion
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**TupleKey** | [**AssertionTupleKey**](AssertionTupleKey.md) | |
**Expectation** | **bool** | |
**ContextualTuples** | Pointer to [**[]TupleKey**](TupleKey.md) | | [optional]
**Context** | Pointer to **map[string]interface{}** | Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation. | [optional]
## Methods
### NewAssertion
`func NewAssertion(tupleKey AssertionTupleKey, expectation bool, ) *Assertion`
NewAssertion instantiates a new Assertion 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
### NewAssertionWithDefaults
`func NewAssertionWithDefaults() *Assertion`
NewAssertionWithDefaults instantiates a new Assertion 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
### GetTupleKey
`func (o *Assertion) GetTupleKey() AssertionTupleKey`
GetTupleKey returns the TupleKey field if non-nil, zero value otherwise.
### GetTupleKeyOk
`func (o *Assertion) GetTupleKeyOk() (*AssertionTupleKey, bool)`
GetTupleKeyOk returns a tuple with the TupleKey field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTupleKey
`func (o *Assertion) SetTupleKey(v AssertionTupleKey)`
SetTupleKey sets TupleKey field to given value.
### GetExpectation
`func (o *Assertion) GetExpectation() bool`
GetExpectation returns the Expectation field if non-nil, zero value otherwise.
### GetExpectationOk
`func (o *Assertion) GetExpectationOk() (*bool, bool)`
GetExpectationOk returns a tuple with the Expectation field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetExpectation
`func (o *Assertion) SetExpectation(v bool)`
SetExpectation sets Expectation field to given value.
### GetContextualTuples
`func (o *Assertion) GetContextualTuples() []TupleKey`
GetContextualTuples returns the ContextualTuples field if non-nil, zero value otherwise.
### GetContextualTuplesOk
`func (o *Assertion) GetContextualTuplesOk() (*[]TupleKey, bool)`
GetContextualTuplesOk returns a tuple with the ContextualTuples field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetContextualTuples
`func (o *Assertion) SetContextualTuples(v []TupleKey)`
SetContextualTuples sets ContextualTuples field to given value.
### HasContextualTuples
`func (o *Assertion) HasContextualTuples() bool`
HasContextualTuples returns a boolean if a field has been set.
### GetContext
`func (o *Assertion) GetContext() map[string]interface{}`
GetContext returns the Context field if non-nil, zero value otherwise.
### GetContextOk
`func (o *Assertion) GetContextOk() (*map[string]interface{}, bool)`
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetContext
`func (o *Assertion) SetContext(v map[string]interface{})`
SetContext sets Context field to given value.
### HasContext
`func (o *Assertion) HasContext() bool`
HasContext returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|