Interface QuoteReference

All Superinterfaces:
Identifiable<Quote>, IdentifiableObjHolder<Quote>, Reference, ReferenceMixin

public interface QuoteReference extends Reference, Identifiable<Quote>, IdentifiableObjHolder<Quote>

Reference to a Quote.


Example to create an instance using the builder pattern

     QuoteReference quoteReference = QuoteReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

  • Method Details

    • getObj

      @Valid @Valid Quote getObj()

      Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.

      Specified by:
      getObj in interface IdentifiableObjHolder<Quote>
      Returns:
      obj
    • setObj

      void setObj(Quote obj)

      Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.

      Parameters:
      obj - value to be set
    • of

      static QuoteReference of()
      factory method
      Returns:
      instance of QuoteReference
    • of

      static QuoteReference of(QuoteReference template)
      factory method to create a shallow copy QuoteReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static QuoteReference deepCopy(@Nullable QuoteReference template)
      factory method to create a deep copy of QuoteReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static QuoteReferenceBuilder builder()
      builder factory method for QuoteReference
      Returns:
      builder
    • builder

      static QuoteReferenceBuilder builder(QuoteReference template)
      create builder for QuoteReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withQuoteReference

      default <T> T withQuoteReference(Function<QuoteReference,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<QuoteReference> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference