Skip to content

Instantly share code, notes, and snippets.

@tjboudreaux
Created July 29, 2016 16:29
Show Gist options
  • Save tjboudreaux/4263e3329e2239557155e0f87f6a8b0c to your computer and use it in GitHub Desktop.
Save tjboudreaux/4263e3329e2239557155e0f87f6a8b0c to your computer and use it in GitHub Desktop.
swagger generated code
package packages.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
public class PhoneNumber {
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PhoneNumber phoneNumber = (PhoneNumber) o;
return true;
}
@Override
public int hashCode() {
return Objects.hash();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PhoneNumber {\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 ");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment