/*
* Asana
*
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml).
*
* The version of the OpenAPI document: 1.0
*
* Generated by: https://openapi-generator.tech
*/
/// BatchRequestActionOptions : Pagination (`limit` and `offset`) and output options (`fields` or `expand`) for the action. “Pretty” JSON output is not an available option on individual actions; if you want pretty output, specify that option on the parent request.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct BatchRequestActionOptions {
/// Pagination limit for the request.
#[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
pub limit: Option<i32>,
/// Pagination offset for the request.
#[serde(rename = "offset", skip_serializing_if = "Option::is_none")]
pub offset: Option<i32>,
/// The fields to retrieve in the request.
#[serde(rename = "fields", skip_serializing_if = "Option::is_none")]
pub fields: Option<Vec<String>>,
}
impl BatchRequestActionOptions {
/// Pagination (`limit` and `offset`) and output options (`fields` or `expand`) for the action. “Pretty” JSON output is not an available option on individual actions; if you want pretty output, specify that option on the parent request.
pub fn new() -> BatchRequestActionOptions {
BatchRequestActionOptions { limit: None, offset: None, fields: None }
}
}