Interface ImportUnresolvedEvent

All Superinterfaces:
Event

public interface ImportUnresolvedEvent extends Event

Generated when an Import Operation has the unresolved ProcessingState.


Example to create an instance using the builder pattern

     ImportUnresolvedEvent importUnresolvedEvent = ImportUnresolvedEvent.builder()
             .id("{id}")
             .notificationType("{notificationType}")
             .resourceType(EventSubscriptionResourceTypeId.CHECKOUT)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .data(dataBuilder -> dataBuilder)
             .build()
 
  • Field Details

    • IMPORT_UNRESOLVED

      static final String IMPORT_UNRESOLVED
      discriminator value for ImportUnresolvedEvent
      See Also:
  • Method Details

    • getResourceType

      @NotNull @NotNull EventSubscriptionResourceTypeId getResourceType()
      Description copied from interface: Event

      The type of resource targeted by the Event.

      Specified by:
      getResourceType in interface Event
      Returns:
      resourceType
    • getData

      @NotNull @Valid @NotNull @Valid ImportUnresolvedEventData getData()

      An object containing details of the Import Operation with the unresolved state.

      Returns:
      data
    • setResourceType

      void setResourceType(EventSubscriptionResourceTypeId resourceType)
      set resourceType
      Specified by:
      setResourceType in interface Event
      Parameters:
      resourceType - value to be set
    • setData

      void setData(ImportUnresolvedEventData data)

      An object containing details of the Import Operation with the unresolved state.

      Parameters:
      data - value to be set
    • of

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

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

      Specified by:
      copyDeep in interface Event
    • deepCopy

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

      static ImportUnresolvedEventBuilder builder()
      builder factory method for ImportUnresolvedEvent
      Returns:
      builder
    • builder

      create builder for ImportUnresolvedEvent instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withImportUnresolvedEvent

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