Interface AssociateRoleReference

All Superinterfaces:
Reference, ReferenceMixin

public interface AssociateRoleReference extends Reference

Reference to an AssociateRole.


Example to create an instance using the builder pattern

     AssociateRoleReference associateRoleReference = AssociateRoleReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

  • Method Details

    • getObj

      @Valid @Valid AssociateRole getObj()

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

      Returns:
      obj
    • getId

      @NotNull @NotNull String getId()

      Unique identifier of the referenced AssociateRole.

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

      void setObj(AssociateRole obj)

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

      Parameters:
      obj - value to be set
    • setId

      void setId(String id)

      Unique identifier of the referenced AssociateRole.

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

      factory method
      Returns:
      instance of AssociateRoleReference
    • of

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

      factory method to create a deep copy of AssociateRoleReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for AssociateRoleReference
      Returns:
      builder
    • builder

      create builder for AssociateRoleReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAssociateRoleReference

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