All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permit.sdk.openapi.models.DerivedRoleRule Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


/**
 * DerivedRoleRule
 * 

* * */ @Generated("jsonschema2pojo") public class DerivedRoleRule { /** * Relation *

* * (Required) * */ @SerializedName("relation") @Expose public String relation; /** * Related Resource *

* * (Required) * */ @SerializedName("related_resource") @Expose public String relatedResource; /** * Related Role *

* * (Required) * */ @SerializedName("related_role") @Expose public String relatedRole; /** * No args constructor for use in serialization * */ public DerivedRoleRule() { } /** * * @param relatedResource * @param relatedRole * @param relation */ public DerivedRoleRule(String relation, String relatedResource, String relatedRole) { super(); this.relation = relation; this.relatedResource = relatedResource; this.relatedRole = relatedRole; } public DerivedRoleRule withRelation(String relation) { this.relation = relation; return this; } public DerivedRoleRule withRelatedResource(String relatedResource) { this.relatedResource = relatedResource; return this; } public DerivedRoleRule withRelatedRole(String relatedRole) { this.relatedRole = relatedRole; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy