io.permit.sdk.openapi.models.UserUpdate 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;
/**
* UserUpdate
*
*
*
*/
@Generated("jsonschema2pojo")
public class UserUpdate {
/**
* Email
*
* The email of the user. If synced, will be unique inside the environment.
*
*/
@SerializedName("email")
@Expose
public java.lang.String email;
/**
* First Name
*
* First name of the user.
*
*/
@SerializedName("first_name")
@Expose
public java.lang.String firstName;
/**
* Last Name
*
* Last name of the user.
*
*/
@SerializedName("last_name")
@Expose
public java.lang.String lastName;
/**
* Attributes
*
* Arbitrary user attributes that will be used to enforce attribute-based access control policies.
*
*/
@SerializedName("attributes")
@Expose
public HashMap attributes;
public UserUpdate withEmail(java.lang.String email) {
this.email = email;
return this;
}
public UserUpdate withFirstName(java.lang.String firstName) {
this.firstName = firstName;
return this;
}
public UserUpdate withLastName(java.lang.String lastName) {
this.lastName = lastName;
return this;
}
public UserUpdate withAttributes(HashMap attributes) {
this.attributes = attributes;
return this;
}
}