com.criteo.marketing.model.ClientRegistrationResponseMessage 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.
*
* OpenAPI spec version: 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;
/**
* ClientRegistrationResponseMessage
*/
public class ClientRegistrationResponseMessage {
public static final String SERIALIZED_NAME_CLIENT_ID = "clientId";
@SerializedName(SERIALIZED_NAME_CLIENT_ID)
private String clientId;
public static final String SERIALIZED_NAME_CLIENT_SECRET = "clientSecret";
@SerializedName(SERIALIZED_NAME_CLIENT_SECRET)
private String clientSecret;
public ClientRegistrationResponseMessage clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Get clientId
* @return clientId
**/
@ApiModelProperty(value = "")
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public ClientRegistrationResponseMessage clientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
/**
* Get clientSecret
* @return clientSecret
**/
@ApiModelProperty(value = "")
public String getClientSecret() {
return clientSecret;
}
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClientRegistrationResponseMessage clientRegistrationResponseMessage = (ClientRegistrationResponseMessage) o;
return Objects.equals(this.clientId, clientRegistrationResponseMessage.clientId) &&
Objects.equals(this.clientSecret, clientRegistrationResponseMessage.clientSecret);
}
@Override
public int hashCode() {
return Objects.hash(clientId, clientSecret);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClientRegistrationResponseMessage {\n");
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).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 ");
}
}