Name | Type | Description | Notes |
---|---|---|---|
QueryString | string | Query to perform. | |
TimeRange | ResolvableTimeRange | ||
RunByReceiptTime | Pointer to bool | This has the value `true` if the search is to be run by receipt time and `false` if it is to be run by message time. | [optional] [default to false] |
QueryParameters | Pointer to []QueryParameterSyncDefinition | Definition of the query parameters. | [optional] |
ParsingMode | Pointer to string | Define the parsing mode to scan the JSON format log messages. Possible values are: 1. `AutoParse` 2. `Manual` In AutoParse mode, the system automatically figures out fields to parse based on the search query. While in the Manual mode, no fields are parsed out automatically. For more information see Dynamic Parsing. | [optional] [default to "Manual"] |
Timezone | string | Time zone to get the estimated usage details. Follow the format in the IANA Time Zone Database. |
func NewLogSearchEstimatedUsageRequest(queryString string, timeRange ResolvableTimeRange, timezone string, ) *LogSearchEstimatedUsageRequest
NewLogSearchEstimatedUsageRequest instantiates a new LogSearchEstimatedUsageRequest 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 NewLogSearchEstimatedUsageRequestWithDefaults() *LogSearchEstimatedUsageRequest
NewLogSearchEstimatedUsageRequestWithDefaults instantiates a new LogSearchEstimatedUsageRequest 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 *LogSearchEstimatedUsageRequest) GetQueryString() string
GetQueryString returns the QueryString field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetQueryStringOk() (*string, bool)
GetQueryStringOk returns a tuple with the QueryString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetQueryString(v string)
SetQueryString sets QueryString field to given value.
func (o *LogSearchEstimatedUsageRequest) GetTimeRange() ResolvableTimeRange
GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetTimeRangeOk() (*ResolvableTimeRange, bool)
GetTimeRangeOk returns a tuple with the TimeRange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetTimeRange(v ResolvableTimeRange)
SetTimeRange sets TimeRange field to given value.
func (o *LogSearchEstimatedUsageRequest) GetRunByReceiptTime() bool
GetRunByReceiptTime returns the RunByReceiptTime field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetRunByReceiptTimeOk() (*bool, bool)
GetRunByReceiptTimeOk returns a tuple with the RunByReceiptTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetRunByReceiptTime(v bool)
SetRunByReceiptTime sets RunByReceiptTime field to given value.
func (o *LogSearchEstimatedUsageRequest) HasRunByReceiptTime() bool
HasRunByReceiptTime returns a boolean if a field has been set.
func (o *LogSearchEstimatedUsageRequest) GetQueryParameters() []QueryParameterSyncDefinition
GetQueryParameters returns the QueryParameters field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetQueryParametersOk() (*[]QueryParameterSyncDefinition, bool)
GetQueryParametersOk returns a tuple with the QueryParameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetQueryParameters(v []QueryParameterSyncDefinition)
SetQueryParameters sets QueryParameters field to given value.
func (o *LogSearchEstimatedUsageRequest) HasQueryParameters() bool
HasQueryParameters returns a boolean if a field has been set.
func (o *LogSearchEstimatedUsageRequest) GetParsingMode() string
GetParsingMode returns the ParsingMode field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetParsingModeOk() (*string, bool)
GetParsingModeOk returns a tuple with the ParsingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetParsingMode(v string)
SetParsingMode sets ParsingMode field to given value.
func (o *LogSearchEstimatedUsageRequest) HasParsingMode() bool
HasParsingMode returns a boolean if a field has been set.
func (o *LogSearchEstimatedUsageRequest) GetTimezone() string
GetTimezone returns the Timezone field if non-nil, zero value otherwise.
func (o *LogSearchEstimatedUsageRequest) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LogSearchEstimatedUsageRequest) SetTimezone(v string)
SetTimezone sets Timezone field to given value.