com.criteo.marketing.model.ClientRegistrationRequestMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marketing.java-client Show documentation
Show all versions of marketing.java-client Show documentation
Criteo Marketing SDK for Java
/*
* Marketing API v.1.0
* IMPORTANT: This swagger links to Criteo production environment. Any test applied here will thus impact real campaigns.
*
* The version of the OpenAPI document: v.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.criteo.marketing.model;
import java.util.Objects;
import java.util.Arrays;
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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* ClientRegistrationRequestMessage
*/
public class ClientRegistrationRequestMessage {
public static final String SERIALIZED_NAME_ADVERTISER_ID = "advertiserId";
@SerializedName(SERIALIZED_NAME_ADVERTISER_ID)
private Integer advertiserId;
public static final String SERIALIZED_NAME_ROLE = "role";
@SerializedName(SERIALIZED_NAME_ROLE)
private String role;
public static final String SERIALIZED_NAME_CONTACT_EMAIL = "contactEmail";
@SerializedName(SERIALIZED_NAME_CONTACT_EMAIL)
private String contactEmail;
public ClientRegistrationRequestMessage advertiserId(Integer advertiserId) {
this.advertiserId = advertiserId;
return this;
}
/**
* Get advertiserId
* @return advertiserId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getAdvertiserId() {
return advertiserId;
}
public void setAdvertiserId(Integer advertiserId) {
this.advertiserId = advertiserId;
}
public ClientRegistrationRequestMessage role(String role) {
this.role = role;
return this;
}
/**
* Get role
* @return role
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public ClientRegistrationRequestMessage contactEmail(String contactEmail) {
this.contactEmail = contactEmail;
return this;
}
/**
* Get contactEmail
* @return contactEmail
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getContactEmail() {
return contactEmail;
}
public void setContactEmail(String contactEmail) {
this.contactEmail = contactEmail;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClientRegistrationRequestMessage clientRegistrationRequestMessage = (ClientRegistrationRequestMessage) o;
return Objects.equals(this.advertiserId, clientRegistrationRequestMessage.advertiserId) &&
Objects.equals(this.role, clientRegistrationRequestMessage.role) &&
Objects.equals(this.contactEmail, clientRegistrationRequestMessage.contactEmail);
}
@Override
public int hashCode() {
return Objects.hash(advertiserId, role, contactEmail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClientRegistrationRequestMessage {\n");
sb.append(" advertiserId: ").append(toIndentedString(advertiserId)).append("\n");
sb.append(" role: ").append(toIndentedString(role)).append("\n");
sb.append(" contactEmail: ").append(toIndentedString(contactEmail)).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