Package com.datadog.api.client.v1.model
Class LogsListRequest
java.lang.Object
com.datadog.api.client.v1.model.LogsListRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsListRequest
extends Object
Object to send with the request to retrieve a list of logs from your Organization.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsListRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getIndex()The log index on which the request is performed.getLimit()Number of logs return in the response.getQuery()The search query - following the log search syntax.getSort()Time-ascendingascor time-descendingdescresults.Hash identifier of the first log to return in the list, available in a logidattribute.getTime()Timeframe to retrieve the log from.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidsetStartAt(String startAt) voidsetTime(LogsListRequestTime time) time(LogsListRequestTime time) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_START_AT
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
-
Constructor Details
-
LogsListRequest
public LogsListRequest() -
LogsListRequest
-
-
Method Details
-
index
-
getIndex
The log index on which the request is performed. For multi-index organizations, the default is all live indexes. Historical indexes of rehydrated logs must be specified.- Returns:
- index
-
setIndex
-
limit
-
getLimit
Number of logs return in the response. maximum: 1000- Returns:
- limit
-
setLimit
-
query
-
getQuery
The search query - following the log search syntax.- Returns:
- query
-
setQuery
-
sort
-
getSort
Time-ascendingascor time-descendingdescresults.- Returns:
- sort
-
setSort
-
startAt
-
getStartAt
Hash identifier of the first log to return in the list, available in a logidattribute. This parameter is used for the pagination feature.Note: This parameter is ignored if the corresponding log is out of the scope of the specified time window.
- Returns:
- startAt
-
setStartAt
-
time
-
getTime
Timeframe to retrieve the log from.- Returns:
- time
-
setTime
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LogsListRequest
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LogsListRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-