Class AuthorModel
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AuthorModel
-
public class AuthorModel extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorModel.Builder
-
Constructor Summary
Constructors Constructor Description AuthorModel()AuthorModel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorModel.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()The ID of the authororg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()The name of the authorjava.lang.StringtoString()AuthorModelwithId(java.lang.String id)The ID of the authorAuthorModelwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The ID of the authorAuthorModelwithName(java.lang.String name)The name of the authorAuthorModelwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the author
-
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
The ID of the author
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
The name of the author
-
builder
public static AuthorModel.Builder builder()
-
withId
public AuthorModel withId(java.lang.String id)
The ID of the author
-
withId
public AuthorModel withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
The ID of the author
-
withName
public AuthorModel withName(java.lang.String name)
The name of the author
-
withName
public AuthorModel withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the author
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-