/*
* Tapis PgREST API
*
* The Tapis PgREST API provides a RESTful interface to a managed SQL-db-as-a-service.
*
* The version of the OpenAPI document: 1.0.0
* Contact: cicsupport@tacc.utexas.edu
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// UpdateMultipleTableRows : Update multiple rows in the same way atomically, where the set of rows to be updated is described with a \"where\" clause and the update to be performed is defined by a JSON object of column names and column values (the new values to apply to all records).
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateMultipleTableRows {
#[serde(rename = "where")]
pub r#where: Box<models::UpdateMultipleTableRowsWhere>,
}
impl UpdateMultipleTableRows {
/// Update multiple rows in the same way atomically, where the set of rows to be updated is described with a \"where\" clause and the update to be performed is defined by a JSON object of column names and column values (the new values to apply to all records).
pub fn new(r#where: models::UpdateMultipleTableRowsWhere) -> UpdateMultipleTableRows {
UpdateMultipleTableRows {
r#where: Box::new(r#where),
}
}
}