io.swagger.client.model.InvitationRequestModel Maven / Gradle / Ivy
/*
* DocxMerge
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.model;
import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
* InvitationRequestModel
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2018-12-11T02:42:35.962+01:00[Europe/Madrid]")public class InvitationRequestModel {
@SerializedName("role")
private String role = null;
@SerializedName("email")
private String email = null;
public InvitationRequestModel role(String role) {
this.role = role;
return this;
}
/**
* Get role
* @return role
**/
@Schema(required = true, description = "")
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public InvitationRequestModel email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@Schema(required = true, description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InvitationRequestModel invitationRequestModel = (InvitationRequestModel) o;
return Objects.equals(this.role, invitationRequestModel.role) &&
Objects.equals(this.email, invitationRequestModel.email);
}
@Override
public int hashCode() {
return java.util.Objects.hash(role, email);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InvitationRequestModel {\n");
sb.append(" role: ").append(toIndentedString(role)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy