io.permit.sdk.openapi.models.DerivedRoleBlockEdit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permit-sdk-java Show documentation
Show all versions of permit-sdk-java Show documentation
Java SDK for Permit.io: fullstack permissions for cloud native applications
package io.permit.sdk.openapi.models;
import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* DerivedRoleBlockEdit
*
*
*
*/
@Generated("jsonschema2pojo")
public class DerivedRoleBlockEdit {
/**
* When
*
* the settings of the derived role
*
*/
@SerializedName("when")
@Expose
public DerivedRoleSettings when;
/**
* Users With Role
*
* the rules of the derived role
*
*/
@SerializedName("users_with_role")
@Expose
public List usersWithRole;
public DerivedRoleBlockEdit withWhen(DerivedRoleSettings when) {
this.when = when;
return this;
}
public DerivedRoleBlockEdit withUsersWithRole(List usersWithRole) {
this.usersWithRole = usersWithRole;
return this;
}
}