Name | Type | Description | Notes |
---|---|---|---|
Clusters | Pointer to []string | [optional] | |
Encoding | Pointer to RequestEncoding | [optional] | |
Query | SearchQuery | ||
Regions | Pointer to []string | [optional] | |
SearchEventContext | Pointer to NullableSearchEventContext | [optional] | |
SearchType | Pointer to NullableSearchEventType | [optional] | |
Timeout | Pointer to int64 | [optional] | |
UseCache | Pointer to NullableBool | [optional] |
func NewSearchRequest(query SearchQuery, ) *SearchRequest
NewSearchRequest instantiates a new SearchRequest 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 NewSearchRequestWithDefaults() *SearchRequest
NewSearchRequestWithDefaults instantiates a new SearchRequest 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 *SearchRequest) GetClusters() []string
GetClusters returns the Clusters field if non-nil, zero value otherwise.
func (o *SearchRequest) GetClustersOk() (*[]string, bool)
GetClustersOk returns a tuple with the Clusters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetClusters(v []string)
SetClusters sets Clusters field to given value.
func (o *SearchRequest) HasClusters() bool
HasClusters returns a boolean if a field has been set.
func (o *SearchRequest) GetEncoding() RequestEncoding
GetEncoding returns the Encoding field if non-nil, zero value otherwise.
func (o *SearchRequest) GetEncodingOk() (*RequestEncoding, bool)
GetEncodingOk returns a tuple with the Encoding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetEncoding(v RequestEncoding)
SetEncoding sets Encoding field to given value.
func (o *SearchRequest) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
func (o *SearchRequest) GetQuery() SearchQuery
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *SearchRequest) GetQueryOk() (*SearchQuery, bool)
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetQuery(v SearchQuery)
SetQuery sets Query field to given value.
func (o *SearchRequest) GetRegions() []string
GetRegions returns the Regions field if non-nil, zero value otherwise.
func (o *SearchRequest) GetRegionsOk() (*[]string, bool)
GetRegionsOk returns a tuple with the Regions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetRegions(v []string)
SetRegions sets Regions field to given value.
func (o *SearchRequest) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (o *SearchRequest) GetSearchEventContext() SearchEventContext
GetSearchEventContext returns the SearchEventContext field if non-nil, zero value otherwise.
func (o *SearchRequest) GetSearchEventContextOk() (*SearchEventContext, bool)
GetSearchEventContextOk returns a tuple with the SearchEventContext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetSearchEventContext(v SearchEventContext)
SetSearchEventContext sets SearchEventContext field to given value.
func (o *SearchRequest) HasSearchEventContext() bool
HasSearchEventContext returns a boolean if a field has been set.
func (o *SearchRequest) SetSearchEventContextNil(b bool)
SetSearchEventContextNil sets the value for SearchEventContext to be an explicit nil
func (o *SearchRequest) UnsetSearchEventContext()
UnsetSearchEventContext ensures that no value is present for SearchEventContext, not even an explicit nil
func (o *SearchRequest) GetSearchType() SearchEventType
GetSearchType returns the SearchType field if non-nil, zero value otherwise.
func (o *SearchRequest) GetSearchTypeOk() (*SearchEventType, bool)
GetSearchTypeOk returns a tuple with the SearchType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetSearchType(v SearchEventType)
SetSearchType sets SearchType field to given value.
func (o *SearchRequest) HasSearchType() bool
HasSearchType returns a boolean if a field has been set.
func (o *SearchRequest) SetSearchTypeNil(b bool)
SetSearchTypeNil sets the value for SearchType to be an explicit nil
func (o *SearchRequest) UnsetSearchType()
UnsetSearchType ensures that no value is present for SearchType, not even an explicit nil
func (o *SearchRequest) GetTimeout() int64
GetTimeout returns the Timeout field if non-nil, zero value otherwise.
func (o *SearchRequest) GetTimeoutOk() (*int64, bool)
GetTimeoutOk returns a tuple with the Timeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetTimeout(v int64)
SetTimeout sets Timeout field to given value.
func (o *SearchRequest) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (o *SearchRequest) GetUseCache() bool
GetUseCache returns the UseCache field if non-nil, zero value otherwise.
func (o *SearchRequest) GetUseCacheOk() (*bool, bool)
GetUseCacheOk returns a tuple with the UseCache field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchRequest) SetUseCache(v bool)
SetUseCache sets UseCache field to given value.
func (o *SearchRequest) HasUseCache() bool
HasUseCache returns a boolean if a field has been set.
func (o *SearchRequest) SetUseCacheNil(b bool)
SetUseCacheNil sets the value for UseCache to be an explicit nil
func (o *SearchRequest) UnsetUseCache()
UnsetUseCache ensures that no value is present for UseCache, not even an explicit nil