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

io.permit.sdk.openapi.models.DerivedRoleRuleCreate 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;


/**
 * DerivedRoleRuleCreate
 * 

* * */ @Generated("jsonschema2pojo") public class DerivedRoleRuleCreate { /** * Role *

* the role key that needs to exist on the related resource (from the relation) * (Required) * */ @SerializedName("role") @Expose public String role; /** * On Resource *

* the resource key that needs to exist on the related role (from the relation) * (Required) * */ @SerializedName("on_resource") @Expose public String onResource; /** * Linked By Relation *

* the relation key that needs to exist between the resource and the related resource * (Required) * */ @SerializedName("linked_by_relation") @Expose public String linkedByRelation; /** * No args constructor for use in serialization * */ public DerivedRoleRuleCreate() { } /** * * @param role * @param linkedByRelation * @param onResource */ public DerivedRoleRuleCreate(String role, String onResource, String linkedByRelation) { super(); this.role = role; this.onResource = onResource; this.linkedByRelation = linkedByRelation; } public DerivedRoleRuleCreate withRole(String role) { this.role = role; return this; } public DerivedRoleRuleCreate withOnResource(String onResource) { this.onResource = onResource; return this; } public DerivedRoleRuleCreate withLinkedByRelation(String linkedByRelation) { this.linkedByRelation = linkedByRelation; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy