/*
* Core
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2023-08-01
* Contact: core@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::core::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Index {
/// The line number in the document where the problem occurred.
#[serde(rename = "line")]
pub line: f64,
/// The column number in the document where the problem occurred.
#[serde(rename = "column")]
pub column: f64,
}
impl Index {
pub fn new(line: f64, column: f64) -> Index {
Index {
line,
column,
}
}
}