Package com.datadog.api.client.v1.model
Class LogsListRequestTime
java.lang.Object
com.datadog.api.client.v1.model.LogsListRequestTime
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsListRequestTime
extends Object
Timeframe to retrieve the log from.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsListRequestTime object is equal to o.from(OffsetDateTime from) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Minimum timestamp for requested logs.Timezone can be specified both as an offset (for example "UTC+03:00") or a regional zone (for example "Europe/Paris").getTo()Maximum timestamp for requested logs.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFrom(OffsetDateTime from) voidsetTimezone(String timezone) voidsetTo(OffsetDateTime to) to(OffsetDateTime to) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
LogsListRequestTime
public LogsListRequestTime() -
LogsListRequestTime
-
-
Method Details
-
from
-
getFrom
Minimum timestamp for requested logs.- Returns:
- from
-
setFrom
-
timezone
-
getTimezone
Timezone can be specified both as an offset (for example "UTC+03:00") or a regional zone (for example "Europe/Paris").- Returns:
- timezone
-
setTimezone
-
to
-
getTo
Maximum timestamp for requested logs.- Returns:
- to
-
setTo
-
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:
- LogsListRequestTime
-
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 LogsListRequestTime object is equal to o. -
hashCode
public int hashCode() -
toString
-