io.permit.sdk.openapi.models.ConditionSetUpdate Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
package io.permit.sdk.openapi.models;
import java.util.HashMap;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* ConditionSetUpdate
*
*
*
*/
@Generated("jsonschema2pojo")
public class ConditionSetUpdate {
/**
* Name
*
* A descriptive name for the set, i.e: 'US based employees' or 'Users behind VPN'
*
*/
@SerializedName("name")
@Expose
public java.lang.String name;
/**
* Description
*
* an optional longer description of the set
*
*/
@SerializedName("description")
@Expose
public java.lang.String description;
/**
* Conditions
*
* a boolean expression that consists of multiple conditions, with and/or logic.
*
*/
@SerializedName("conditions")
@Expose
public HashMap conditions;
/**
* Parent Id
*
* Parent Condition Set
*
*/
@SerializedName("parent_id")
@Expose
public java.lang.String parentId;
public ConditionSetUpdate withName(java.lang.String name) {
this.name = name;
return this;
}
public ConditionSetUpdate withDescription(java.lang.String description) {
this.description = description;
return this;
}
public ConditionSetUpdate withConditions(HashMap conditions) {
this.conditions = conditions;
return this;
}
public ConditionSetUpdate withParentId(java.lang.String parentId) {
this.parentId = parentId;
return this;
}
}