dev.crashteam.openapi.keanalytics.model.GiveawayUserDemoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-ke-analytics Show documentation
Show all versions of openapi-ke-analytics Show documentation
Generates jar artifact containing compiled openapi classes based on generated openapi yaml files
The newest version!
package dev.crashteam.openapi.keanalytics.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import javax.validation.Valid;
import javax.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.*;
import javax.annotation.Generated;
/**
* GiveawayUserDemoRequest
*/
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-03-26T08:59:12.399131532Z[Etc/UTC]")
public class GiveawayUserDemoRequest {
private String userId;
/**
* Default constructor
* @deprecated Use {@link GiveawayUserDemoRequest#GiveawayUserDemoRequest(String)}
*/
@Deprecated
public GiveawayUserDemoRequest() {
super();
}
/**
* Constructor with only required parameters
*/
public GiveawayUserDemoRequest(String userId) {
this.userId = userId;
}
public GiveawayUserDemoRequest userId(String userId) {
this.userId = userId;
return this;
}
/**
* Id пользователя в системе.
* @return userId
*/
@NotNull
@Schema(name = "userId", description = "Id пользователя в системе.", requiredMode = Schema.RequiredMode.REQUIRED)
@JsonProperty("userId")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GiveawayUserDemoRequest giveawayUserDemoRequest = (GiveawayUserDemoRequest) o;
return Objects.equals(this.userId, giveawayUserDemoRequest.userId);
}
@Override
public int hashCode() {
return Objects.hash(userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GiveawayUserDemoRequest {\n");
sb.append(" userId: ").append(toIndentedString(userId)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}