Skip to content

Latest commit

 

History

History
171 lines (92 loc) · 6.2 KB

LogSearchEstimatedUsageRequest.md

File metadata and controls

171 lines (92 loc) · 6.2 KB

LogSearchEstimatedUsageRequest

Properties

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.

Methods

NewLogSearchEstimatedUsageRequest

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

NewLogSearchEstimatedUsageRequestWithDefaults

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

GetQueryString

func (o *LogSearchEstimatedUsageRequest) GetQueryString() string

GetQueryString returns the QueryString field if non-nil, zero value otherwise.

GetQueryStringOk

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.

SetQueryString

func (o *LogSearchEstimatedUsageRequest) SetQueryString(v string)

SetQueryString sets QueryString field to given value.

GetTimeRange

func (o *LogSearchEstimatedUsageRequest) GetTimeRange() ResolvableTimeRange

GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.

GetTimeRangeOk

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.

SetTimeRange

func (o *LogSearchEstimatedUsageRequest) SetTimeRange(v ResolvableTimeRange)

SetTimeRange sets TimeRange field to given value.

GetRunByReceiptTime

func (o *LogSearchEstimatedUsageRequest) GetRunByReceiptTime() bool

GetRunByReceiptTime returns the RunByReceiptTime field if non-nil, zero value otherwise.

GetRunByReceiptTimeOk

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.

SetRunByReceiptTime

func (o *LogSearchEstimatedUsageRequest) SetRunByReceiptTime(v bool)

SetRunByReceiptTime sets RunByReceiptTime field to given value.

HasRunByReceiptTime

func (o *LogSearchEstimatedUsageRequest) HasRunByReceiptTime() bool

HasRunByReceiptTime returns a boolean if a field has been set.

GetQueryParameters

func (o *LogSearchEstimatedUsageRequest) GetQueryParameters() []QueryParameterSyncDefinition

GetQueryParameters returns the QueryParameters field if non-nil, zero value otherwise.

GetQueryParametersOk

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.

SetQueryParameters

func (o *LogSearchEstimatedUsageRequest) SetQueryParameters(v []QueryParameterSyncDefinition)

SetQueryParameters sets QueryParameters field to given value.

HasQueryParameters

func (o *LogSearchEstimatedUsageRequest) HasQueryParameters() bool

HasQueryParameters returns a boolean if a field has been set.

GetParsingMode

func (o *LogSearchEstimatedUsageRequest) GetParsingMode() string

GetParsingMode returns the ParsingMode field if non-nil, zero value otherwise.

GetParsingModeOk

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.

SetParsingMode

func (o *LogSearchEstimatedUsageRequest) SetParsingMode(v string)

SetParsingMode sets ParsingMode field to given value.

HasParsingMode

func (o *LogSearchEstimatedUsageRequest) HasParsingMode() bool

HasParsingMode returns a boolean if a field has been set.

GetTimezone

func (o *LogSearchEstimatedUsageRequest) GetTimezone() string

GetTimezone returns the Timezone field if non-nil, zero value otherwise.

GetTimezoneOk

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.

SetTimezone

func (o *LogSearchEstimatedUsageRequest) SetTimezone(v string)

SetTimezone sets Timezone field to given value.

[Back to Model list] [Back to API list] [Back to README]