Created
July 29, 2016 16:29
-
-
Save tjboudreaux/4263e3329e2239557155e0f87f6a8b0c to your computer and use it in GitHub Desktop.
swagger generated code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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