/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListAssets200ResponseAssetsInnerUsagesInnerMetadata {
    /// The path of the script/flow that was run (only present when kind is 'job')
    #[serde(rename = "runnable_path", skip_serializing_if = "Option::is_none")]
    pub runnable_path: Option<String>,
    /// The kind of job (script, flow, preview, etc.) (only present when kind is 'job')
    #[serde(rename = "job_kind", skip_serializing_if = "Option::is_none")]
    pub job_kind: Option<String>,
}

impl ListAssets200ResponseAssetsInnerUsagesInnerMetadata {
    pub fn new() -> ListAssets200ResponseAssetsInnerUsagesInnerMetadata {
        ListAssets200ResponseAssetsInnerUsagesInnerMetadata {
            runnable_path: None,
            job_kind: None,
        }
    }
}

