Class ServiceMetadataForASeat1

java.lang.Object
com.duffel.sdk.model.ServiceMetadataForASeat1

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]") public class ServiceMetadataForASeat1 extends Object
An object containing metadata about the service, like the designator of the seat.
  • Field Details

  • Constructor Details

    • ServiceMetadataForASeat1

      public ServiceMetadataForASeat1()
  • Method Details

    • designator

      public ServiceMetadataForASeat1 designator(String designator)
    • getDesignator

      @Nullable public String getDesignator()
      The designator used to uniquely identify the seat, usually made up of a row number and a column letter
      Returns:
      designator
    • setDesignator

      public void setDesignator(String designator)
    • disclosures

      public ServiceMetadataForASeat1 disclosures(List<String> disclosures)
    • addDisclosuresItem

      public ServiceMetadataForASeat1 addDisclosuresItem(String disclosuresItem)
    • getDisclosures

      @Nullable public List<String> getDisclosures()
      Each disclosure is text, in English, provided by the airline that describes the terms and conditions of this seat. We recommend showing this in your user interface to make sure that customers understand any restrictions and limitations.
      Returns:
      disclosures
    • setDisclosures

      public void setDisclosures(List<String> disclosures)
    • name

      public ServiceMetadataForASeat1 name(String name)
    • getName

      @Nullable public String getName()
      A name which describes the type of seat, which you can display in your user interface to help customers to understand its features
      Returns:
      name
    • getName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getName_JsonNullable()
    • setName_JsonNullable

      public void setName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name)
    • setName

      public void setName(String name)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object