dev.openfga.sdk.api.client.model.ClientWriteRequest Maven / Gradle / Ivy
/*
* OpenFGA
* A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.
*
* The version of the OpenAPI document: 1.x
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package dev.openfga.sdk.api.client.model;
import java.util.List;
public class ClientWriteRequest {
private List writes;
private List deletes;
public static ClientWriteRequest ofWrites(List writes) {
return new ClientWriteRequest().writes(writes);
}
public ClientWriteRequest writes(List writes) {
this.writes = writes;
return this;
}
public List getWrites() {
return writes;
}
public static ClientWriteRequest ofDeletes(List deletes) {
return new ClientWriteRequest().deletes(deletes);
}
public ClientWriteRequest deletes(List deletes) {
this.deletes = deletes;
return this;
}
public List getDeletes() {
return deletes;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy