
com.infobip.model.SouthKoreaOptions Maven / Gradle / Ivy
/*
* This class is auto generated from the Infobip OpenAPI specification
* through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR),
* powered by the OpenAPI Generator (https://openapi-generator.tech).
*
* Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide
* or contact us @ [email protected].
*/
package com.infobip.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/**
* Use case dependent parameters for sending SMS to phone numbers registered in South Korea.
*/
public class SouthKoreaOptions {
private Integer resellerCode;
/**
* Sets resellerCode.
*
* Field description:
* Reseller identification code: 9-digit registration number in the business registration certificate for South Korea. Resellers should submit this when sending.
*
* @param resellerCode
* @return This {@link SouthKoreaOptions instance}.
*/
public SouthKoreaOptions resellerCode(Integer resellerCode) {
this.resellerCode = resellerCode;
return this;
}
/**
* Returns resellerCode.
*
* Field description:
* Reseller identification code: 9-digit registration number in the business registration certificate for South Korea. Resellers should submit this when sending.
*
* @return resellerCode
*/
@JsonProperty("resellerCode")
public Integer getResellerCode() {
return resellerCode;
}
/**
* Sets resellerCode.
*
* Field description:
* Reseller identification code: 9-digit registration number in the business registration certificate for South Korea. Resellers should submit this when sending.
*
* @param resellerCode
*/
@JsonProperty("resellerCode")
public void setResellerCode(Integer resellerCode) {
this.resellerCode = resellerCode;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SouthKoreaOptions southKoreaOptions = (SouthKoreaOptions) o;
return Objects.equals(this.resellerCode, southKoreaOptions.resellerCode);
}
@Override
public int hashCode() {
return Objects.hash(resellerCode);
}
@Override
public String toString() {
String newLine = System.lineSeparator();
return new StringBuilder()
.append("class SouthKoreaOptions {")
.append(newLine)
.append(" resellerCode: ")
.append(toIndentedString(resellerCode))
.append(newLine)
.append("}")
.toString();
}
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
String lineSeparator = System.lineSeparator();
String lineSeparatorFollowedByIndentation = lineSeparator + " ";
return o.toString().replace(lineSeparator, lineSeparatorFollowedByIndentation);
}
}