io.permit.sdk.openapi.models.AttributeBlockEditable Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
package io.permit.sdk.openapi.models;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* AttributeBlockEditable
*
*
*
*/
@Generated("jsonschema2pojo")
public class AttributeBlockEditable {
/**
*
* (Required)
*
*/
@SerializedName("type")
@Expose
public AttributeType type;
/**
* Description
*
* optional description string explaining what data this attribute will store
*
*/
@SerializedName("description")
@Expose
public String description;
/**
* No args constructor for use in serialization
*
*/
public AttributeBlockEditable() {
}
/**
*
* @param type
*/
public AttributeBlockEditable(AttributeType type) {
super();
this.type = type;
}
public AttributeBlockEditable withType(AttributeType type) {
this.type = type;
return this;
}
public AttributeBlockEditable withDescription(String description) {
this.description = description;
return this;
}
}