diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 0e64921915..bf2effce63 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -25943,8 +25943,8 @@ components: description: Used for fixed span times, such as 'March 1 to March 7'. properties: from: - description: Start time in seconds since epoch. - example: 1712080128 + description: Start time in milliseconds since epoch. + example: 1712080128000 format: int64 minimum: 0 type: integer @@ -25952,8 +25952,8 @@ components: description: Whether to hide incomplete cost data in the widget. type: boolean to: - description: End time in seconds since epoch. - example: 1712083128 + description: End time in milliseconds since epoch. + example: 1712083128000 format: int64 minimum: 0 type: integer diff --git a/src/datadog_api_client/v1/model/widget_new_fixed_span.py b/src/datadog_api_client/v1/model/widget_new_fixed_span.py index 9e70e66d78..ddfb2b2f75 100644 --- a/src/datadog_api_client/v1/model/widget_new_fixed_span.py +++ b/src/datadog_api_client/v1/model/widget_new_fixed_span.py @@ -56,13 +56,13 @@ def __init__( """ Used for fixed span times, such as 'March 1 to March 7'. - :param _from: Start time in seconds since epoch. + :param _from: Start time in milliseconds since epoch. :type _from: int :param hide_incomplete_cost_data: Whether to hide incomplete cost data in the widget. :type hide_incomplete_cost_data: bool, optional - :param to: End time in seconds since epoch. + :param to: End time in milliseconds since epoch. :type to: int :param type: Type "fixed" denotes a fixed span. diff --git a/src/datadog_api_client/v1/model/widget_time.py b/src/datadog_api_client/v1/model/widget_time.py index 77370a9d62..711cac1bf2 100644 --- a/src/datadog_api_client/v1/model/widget_time.py +++ b/src/datadog_api_client/v1/model/widget_time.py @@ -30,10 +30,10 @@ def __init__(self, **kwargs): :param value: Value of the time span. :type value: int - :param _from: Start time in seconds since epoch. + :param _from: Start time in milliseconds since epoch. :type _from: int - :param to: End time in seconds since epoch. + :param to: End time in milliseconds since epoch. :type to: int """ super().__init__(kwargs)