/*
 * Artifact Keeper API
 *
 * Enterprise artifact registry supporting 45+ package formats.
 *
 * The version of the OpenAPI document: 1.0.0-rc.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateInstanceRequest {
    #[serde(rename = "api_key")]
    pub api_key: String,
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "url")]
    pub url: String,
}

impl CreateInstanceRequest {
    pub fn new(api_key: String, name: String, url: String) -> CreateInstanceRequest {
        CreateInstanceRequest {
            api_key,
            name,
            url,
        }
    }
}

