clientapi-pbs 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Backup Server API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
 *
 * The version of the OpenAPI document: 9.x
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NodesServicesGetServicesResponseDataInner {

    /// systemd service description.
    #[serde(rename = "desc")]
    pub desc: String,

    /// systemd service name.
    #[serde(rename = "name")]
    pub name: String,

    /// Service ID.
    #[serde(rename = "service")]
    pub service: String,

    /// systemd service 'SubState'.
    #[serde(rename = "state")]
    pub state: String,

    /// systemd service unit state.
    #[serde(rename = "unit-state")]
    pub unit_state: String,


}

impl NodesServicesGetServicesResponseDataInner {
    pub fn new(desc: String, name: String, service: String, state: String, unit_state: String) -> NodesServicesGetServicesResponseDataInner {
        NodesServicesGetServicesResponseDataInner {
            
            desc,
            
            name,
            
            service,
            
            state,
            
            unit_state,
            
        }
    }
}