2.0 KiB
Query
Properties
Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | Query | [optional] |
Outcomes | Pointer to []string | [optional] [default to ["SUCCESS","FAILURE"]] |
Methods
NewQuery
func NewQuery() *Query
NewQuery instantiates a new Query 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
NewQueryWithDefaults
func NewQueryWithDefaults() *Query
NewQueryWithDefaults instantiates a new Query 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
GetId
func (o *Query) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Query) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *Query) SetId(v int64)
SetId sets Id field to given value.
HasId
func (o *Query) HasId() bool
HasId returns a boolean if a field has been set.
GetOutcomes
func (o *Query) GetOutcomes() []string
GetOutcomes returns the Outcomes field if non-nil, zero value otherwise.
GetOutcomesOk
func (o *Query) GetOutcomesOk() (*[]string, bool)
GetOutcomesOk returns a tuple with the Outcomes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOutcomes
func (o *Query) SetOutcomes(v []string)
SetOutcomes sets Outcomes field to given value.
HasOutcomes
func (o *Query) HasOutcomes() bool
HasOutcomes returns a boolean if a field has been set.