Interface RecurrencePolicyReference

All Superinterfaces:
Reference, ReferenceMixin

public interface RecurrencePolicyReference extends Reference

Reference to a RecurrencePolicy.


Example to create an instance using the builder pattern

     RecurrencePolicyReference recurrencePolicyReference = RecurrencePolicyReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

    • RECURRENCE_POLICY

      static final String RECURRENCE_POLICY
      discriminator value for RecurrencePolicyReference
      See Also:
  • Method Details

    • getObj

      @Valid @Valid RecurrencePolicy getObj()

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

      Returns:
      obj
    • getId

      @NotNull @NotNull String getId()

      Unique identifier of the referenced RecurrencePolicy.

      Specified by:
      getId in interface Reference
      Specified by:
      getId in interface ReferenceMixin
      Returns:
      id
    • setObj

      void setObj(RecurrencePolicy obj)

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

      Parameters:
      obj - value to be set
    • setId

      void setId(String id)

      Unique identifier of the referenced RecurrencePolicy.

      Specified by:
      setId in interface Reference
      Parameters:
      id - value to be set
    • of

      factory method
      Returns:
      instance of RecurrencePolicyReference
    • of

      factory method to create a shallow copy RecurrencePolicyReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      Specified by:
      copyDeep in interface Reference
    • deepCopy

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

      builder factory method for RecurrencePolicyReference
      Returns:
      builder
    • builder

      create builder for RecurrencePolicyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRecurrencePolicyReference

      default <T> T withRecurrencePolicyReference(Function<RecurrencePolicyReference,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<RecurrencePolicyReference> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference