/*
 * rivet-api-public
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.0.1
 * Contact: developer@rivet.gg
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ActorsCreateRequest {
	#[serde(rename = "durable")]
	pub durable: bool,
	#[serde(rename = "namespace")]
	pub namespace: String,
	#[serde(rename = "runner_name_selector")]
	pub runner_name_selector: String,
}

impl ActorsCreateRequest {
	pub fn new(
		durable: bool,
		namespace: String,
		runner_name_selector: String,
	) -> ActorsCreateRequest {
		ActorsCreateRequest {
			durable,
			namespace,
			runner_name_selector,
		}
	}
}
