Class AuthorModel


  • public class AuthorModel
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AuthorModel.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.Builder builder()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      The ID of the author
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
      The name of the author
      java.lang.String toString()  
      AuthorModel withId​(java.lang.String id)
      The ID of the author
      AuthorModel withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      The ID of the author
      AuthorModel withName​(java.lang.String name)
      The name of the author
      AuthorModel withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
      The name of the author
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthorModel

        public AuthorModel​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                           org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
      • AuthorModel

        public AuthorModel()
    • 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
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object