Name | Type | Description | Notes |
---|---|---|---|
CachedRatio | int32 | ||
Columns | Pointer to []string | [optional] | |
From | int64 | ||
FunctionError | Pointer to string | [optional] | |
HistogramInterval | Pointer to NullableInt64 | [optional] | |
Hits | []map[string]interface{} | ||
IdxScanSize | int32 | ||
IsPartial | Pointer to bool | [optional] | |
NewEndTime | Pointer to NullableInt64 | [optional] | |
NewStartTime | Pointer to NullableInt64 | [optional] | |
OrderBy | Pointer to NullableOrderBy | [optional] | |
ResponseType | Pointer to string | [optional] | |
ResultCacheRatio | Pointer to int32 | [optional] | |
ScanRecords | int32 | ||
ScanSize | int32 | ||
Size | int64 | ||
Took | int32 | ||
TookDetail | Pointer to NullableResponseTook | [optional] | |
Total | int32 | ||
TraceId | Pointer to string | [optional] | |
WorkGroup | Pointer to NullableString | [optional] |
func NewSearchResponse(cachedRatio int32, from int64, hits []map[string]interface{}, idxScanSize int32, scanRecords int32, scanSize int32, size int64, took int32, total int32, ) *SearchResponse
NewSearchResponse instantiates a new SearchResponse 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 NewSearchResponseWithDefaults() *SearchResponse
NewSearchResponseWithDefaults instantiates a new SearchResponse 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 *SearchResponse) GetCachedRatio() int32
GetCachedRatio returns the CachedRatio field if non-nil, zero value otherwise.
func (o *SearchResponse) GetCachedRatioOk() (*int32, bool)
GetCachedRatioOk returns a tuple with the CachedRatio field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetCachedRatio(v int32)
SetCachedRatio sets CachedRatio field to given value.
func (o *SearchResponse) GetColumns() []string
GetColumns returns the Columns field if non-nil, zero value otherwise.
func (o *SearchResponse) GetColumnsOk() (*[]string, bool)
GetColumnsOk returns a tuple with the Columns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetColumns(v []string)
SetColumns sets Columns field to given value.
func (o *SearchResponse) HasColumns() bool
HasColumns returns a boolean if a field has been set.
func (o *SearchResponse) GetFrom() int64
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *SearchResponse) GetFromOk() (*int64, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetFrom(v int64)
SetFrom sets From field to given value.
func (o *SearchResponse) GetFunctionError() string
GetFunctionError returns the FunctionError field if non-nil, zero value otherwise.
func (o *SearchResponse) GetFunctionErrorOk() (*string, bool)
GetFunctionErrorOk returns a tuple with the FunctionError field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetFunctionError(v string)
SetFunctionError sets FunctionError field to given value.
func (o *SearchResponse) HasFunctionError() bool
HasFunctionError returns a boolean if a field has been set.
func (o *SearchResponse) GetHistogramInterval() int64
GetHistogramInterval returns the HistogramInterval field if non-nil, zero value otherwise.
func (o *SearchResponse) GetHistogramIntervalOk() (*int64, bool)
GetHistogramIntervalOk returns a tuple with the HistogramInterval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetHistogramInterval(v int64)
SetHistogramInterval sets HistogramInterval field to given value.
func (o *SearchResponse) HasHistogramInterval() bool
HasHistogramInterval returns a boolean if a field has been set.
func (o *SearchResponse) SetHistogramIntervalNil(b bool)
SetHistogramIntervalNil sets the value for HistogramInterval to be an explicit nil
func (o *SearchResponse) UnsetHistogramInterval()
UnsetHistogramInterval ensures that no value is present for HistogramInterval, not even an explicit nil
func (o *SearchResponse) GetHits() []map[string]interface{}
GetHits returns the Hits field if non-nil, zero value otherwise.
func (o *SearchResponse) GetHitsOk() (*[]map[string]interface{}, bool)
GetHitsOk returns a tuple with the Hits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetHits(v []map[string]interface{})
SetHits sets Hits field to given value.
func (o *SearchResponse) GetIdxScanSize() int32
GetIdxScanSize returns the IdxScanSize field if non-nil, zero value otherwise.
func (o *SearchResponse) GetIdxScanSizeOk() (*int32, bool)
GetIdxScanSizeOk returns a tuple with the IdxScanSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetIdxScanSize(v int32)
SetIdxScanSize sets IdxScanSize field to given value.
func (o *SearchResponse) GetIsPartial() bool
GetIsPartial returns the IsPartial field if non-nil, zero value otherwise.
func (o *SearchResponse) GetIsPartialOk() (*bool, bool)
GetIsPartialOk returns a tuple with the IsPartial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetIsPartial(v bool)
SetIsPartial sets IsPartial field to given value.
func (o *SearchResponse) HasIsPartial() bool
HasIsPartial returns a boolean if a field has been set.
func (o *SearchResponse) GetNewEndTime() int64
GetNewEndTime returns the NewEndTime field if non-nil, zero value otherwise.
func (o *SearchResponse) GetNewEndTimeOk() (*int64, bool)
GetNewEndTimeOk returns a tuple with the NewEndTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetNewEndTime(v int64)
SetNewEndTime sets NewEndTime field to given value.
func (o *SearchResponse) HasNewEndTime() bool
HasNewEndTime returns a boolean if a field has been set.
func (o *SearchResponse) SetNewEndTimeNil(b bool)
SetNewEndTimeNil sets the value for NewEndTime to be an explicit nil
func (o *SearchResponse) UnsetNewEndTime()
UnsetNewEndTime ensures that no value is present for NewEndTime, not even an explicit nil
func (o *SearchResponse) GetNewStartTime() int64
GetNewStartTime returns the NewStartTime field if non-nil, zero value otherwise.
func (o *SearchResponse) GetNewStartTimeOk() (*int64, bool)
GetNewStartTimeOk returns a tuple with the NewStartTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetNewStartTime(v int64)
SetNewStartTime sets NewStartTime field to given value.
func (o *SearchResponse) HasNewStartTime() bool
HasNewStartTime returns a boolean if a field has been set.
func (o *SearchResponse) SetNewStartTimeNil(b bool)
SetNewStartTimeNil sets the value for NewStartTime to be an explicit nil
func (o *SearchResponse) UnsetNewStartTime()
UnsetNewStartTime ensures that no value is present for NewStartTime, not even an explicit nil
func (o *SearchResponse) GetOrderBy() OrderBy
GetOrderBy returns the OrderBy field if non-nil, zero value otherwise.
func (o *SearchResponse) GetOrderByOk() (*OrderBy, bool)
GetOrderByOk returns a tuple with the OrderBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetOrderBy(v OrderBy)
SetOrderBy sets OrderBy field to given value.
func (o *SearchResponse) HasOrderBy() bool
HasOrderBy returns a boolean if a field has been set.
func (o *SearchResponse) SetOrderByNil(b bool)
SetOrderByNil sets the value for OrderBy to be an explicit nil
func (o *SearchResponse) UnsetOrderBy()
UnsetOrderBy ensures that no value is present for OrderBy, not even an explicit nil
func (o *SearchResponse) GetResponseType() string
GetResponseType returns the ResponseType field if non-nil, zero value otherwise.
func (o *SearchResponse) GetResponseTypeOk() (*string, bool)
GetResponseTypeOk returns a tuple with the ResponseType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetResponseType(v string)
SetResponseType sets ResponseType field to given value.
func (o *SearchResponse) HasResponseType() bool
HasResponseType returns a boolean if a field has been set.
func (o *SearchResponse) GetResultCacheRatio() int32
GetResultCacheRatio returns the ResultCacheRatio field if non-nil, zero value otherwise.
func (o *SearchResponse) GetResultCacheRatioOk() (*int32, bool)
GetResultCacheRatioOk returns a tuple with the ResultCacheRatio field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetResultCacheRatio(v int32)
SetResultCacheRatio sets ResultCacheRatio field to given value.
func (o *SearchResponse) HasResultCacheRatio() bool
HasResultCacheRatio returns a boolean if a field has been set.
func (o *SearchResponse) GetScanRecords() int32
GetScanRecords returns the ScanRecords field if non-nil, zero value otherwise.
func (o *SearchResponse) GetScanRecordsOk() (*int32, bool)
GetScanRecordsOk returns a tuple with the ScanRecords field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetScanRecords(v int32)
SetScanRecords sets ScanRecords field to given value.
func (o *SearchResponse) GetScanSize() int32
GetScanSize returns the ScanSize field if non-nil, zero value otherwise.
func (o *SearchResponse) GetScanSizeOk() (*int32, bool)
GetScanSizeOk returns a tuple with the ScanSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetScanSize(v int32)
SetScanSize sets ScanSize field to given value.
func (o *SearchResponse) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *SearchResponse) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetSize(v int64)
SetSize sets Size field to given value.
func (o *SearchResponse) GetTook() int32
GetTook returns the Took field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTookOk() (*int32, bool)
GetTookOk returns a tuple with the Took field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTook(v int32)
SetTook sets Took field to given value.
func (o *SearchResponse) GetTookDetail() ResponseTook
GetTookDetail returns the TookDetail field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTookDetailOk() (*ResponseTook, bool)
GetTookDetailOk returns a tuple with the TookDetail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTookDetail(v ResponseTook)
SetTookDetail sets TookDetail field to given value.
func (o *SearchResponse) HasTookDetail() bool
HasTookDetail returns a boolean if a field has been set.
func (o *SearchResponse) SetTookDetailNil(b bool)
SetTookDetailNil sets the value for TookDetail to be an explicit nil
func (o *SearchResponse) UnsetTookDetail()
UnsetTookDetail ensures that no value is present for TookDetail, not even an explicit nil
func (o *SearchResponse) GetTotal() int32
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTotal(v int32)
SetTotal sets Total field to given value.
func (o *SearchResponse) GetTraceId() string
GetTraceId returns the TraceId field if non-nil, zero value otherwise.
func (o *SearchResponse) GetTraceIdOk() (*string, bool)
GetTraceIdOk returns a tuple with the TraceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetTraceId(v string)
SetTraceId sets TraceId field to given value.
func (o *SearchResponse) HasTraceId() bool
HasTraceId returns a boolean if a field has been set.
func (o *SearchResponse) GetWorkGroup() string
GetWorkGroup returns the WorkGroup field if non-nil, zero value otherwise.
func (o *SearchResponse) GetWorkGroupOk() (*string, bool)
GetWorkGroupOk returns a tuple with the WorkGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchResponse) SetWorkGroup(v string)
SetWorkGroup sets WorkGroup field to given value.
func (o *SearchResponse) HasWorkGroup() bool
HasWorkGroup returns a boolean if a field has been set.
func (o *SearchResponse) SetWorkGroupNil(b bool)
SetWorkGroupNil sets the value for WorkGroup to be an explicit nil
func (o *SearchResponse) UnsetWorkGroup()
UnsetWorkGroup ensures that no value is present for WorkGroup, not even an explicit nil