/*
* API
*
* ## Welcome This is a place to put general notes and extra information, for internal use. To get started designing/documenting this API, select a version on the left. # Title No Description
*
* The version of the OpenAPI document: 3
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ValueBody {
/// This is the value of the rating you want to submit. The value is expected to be between 0.5 and 10.0.
#[serde(rename = "value")]
pub value: f32,
}
impl ValueBody {
pub fn new(value: f32) -> ValueBody {
ValueBody { value }
}
}