fastly_api/models/
log_aggregations_get_response_meta.rs

1/*
2 * Fastly API
3 *
4 * Via the Fastly API you can perform any of the operations that are possible within the management console,  including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/) 
5 *
6 */
7
8
9
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct LogAggregationsGetResponseMeta {
13    /// Specifies the ID of the service for which data should be returned.
14    #[serde(rename = "service_id", skip_serializing_if = "Option::is_none")]
15    pub service_id: Option<String>,
16    /// Start time for the query as supplied in the request.
17    #[serde(rename = "start", skip_serializing_if = "Option::is_none")]
18    pub start: Option<String>,
19    /// End time for the query as supplied in the request.
20    #[serde(rename = "end", skip_serializing_if = "Option::is_none")]
21    pub end: Option<String>,
22    /// Number of records per page.
23    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
24    pub limit: Option<i32>,
25    /// Comma-separated list of the series names whose values were used to sort the results.
26    #[serde(rename = "sort", skip_serializing_if = "Option::is_none")]
27    pub sort: Option<String>,
28    #[serde(rename = "filters", skip_serializing_if = "Option::is_none")]
29    pub filters: Option<Box<crate::models::LogAggregationsGetResponseMetaFilters>>,
30}
31
32impl LogAggregationsGetResponseMeta {
33    pub fn new() -> LogAggregationsGetResponseMeta {
34        LogAggregationsGetResponseMeta {
35            service_id: None,
36            start: None,
37            end: None,
38            limit: None,
39            sort: None,
40            filters: None,
41        }
42    }
43}
44
45