/*
 * ORY Keto
 *
 * Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
 *
 * The version of the OpenAPI document: v0.7.0-alpha.1
 * Contact: hi@ory.sh
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubjectSet {
    /// Namespace of the Subject Set
    #[serde(rename = "namespace")]
    pub namespace: String,
    /// Object of the Subject Set
    #[serde(rename = "object")]
    pub object: String,
    /// Relation of the Subject Set
    #[serde(rename = "relation")]
    pub relation: String,
}

impl SubjectSet {
    pub fn new(namespace: String, object: String, relation: String) -> SubjectSet {
        SubjectSet {
            namespace,
            object,
            relation,
        }
    }
}


