Name | Type | Description | Notes |
---|---|---|---|
Source | ApiAssertionSourceType | ||
Property | Pointer to string | [optional] | |
Comparison | ApiComparisonType | ||
TargetValue | Pointer to string | [optional] |
func NewApiAssertion(source ApiAssertionSourceType, comparison ApiComparisonType, ) *ApiAssertion
NewApiAssertion instantiates a new ApiAssertion 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
func NewApiAssertionWithDefaults() *ApiAssertion
NewApiAssertionWithDefaults instantiates a new ApiAssertion 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
func (o *ApiAssertion) GetSource() ApiAssertionSourceType
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *ApiAssertion) GetSourceOk() (*ApiAssertionSourceType, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAssertion) SetSource(v ApiAssertionSourceType)
SetSource sets Source field to given value.
func (o *ApiAssertion) GetProperty() string
GetProperty returns the Property field if non-nil, zero value otherwise.
func (o *ApiAssertion) GetPropertyOk() (*string, bool)
GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAssertion) SetProperty(v string)
SetProperty sets Property field to given value.
func (o *ApiAssertion) HasProperty() bool
HasProperty returns a boolean if a field has been set.
func (o *ApiAssertion) GetComparison() ApiComparisonType
GetComparison returns the Comparison field if non-nil, zero value otherwise.
func (o *ApiAssertion) GetComparisonOk() (*ApiComparisonType, bool)
GetComparisonOk returns a tuple with the Comparison field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAssertion) SetComparison(v ApiComparisonType)
SetComparison sets Comparison field to given value.
func (o *ApiAssertion) GetTargetValue() string
GetTargetValue returns the TargetValue field if non-nil, zero value otherwise.
func (o *ApiAssertion) GetTargetValueOk() (*string, bool)
GetTargetValueOk returns a tuple with the TargetValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiAssertion) SetTargetValue(v string)
SetTargetValue sets TargetValue field to given value.
func (o *ApiAssertion) HasTargetValue() bool
HasTargetValue returns a boolean if a field has been set.