Interface ParcelChangeValue


public interface ParcelChangeValue
ParcelChangeValue
Example to create an instance using the builder pattern

     ParcelChangeValue parcelChangeValue = ParcelChangeValue.builder()
             .id("{id}")
             .createdAt("{createdAt}")
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      id of the Parcel.

      Returns:
      id
    • getCreatedAt

      @NotNull @NotNull String getCreatedAt()

      Date and time (UTC) the Parcel was created.

      Returns:
      createdAt
    • setId

      void setId(String id)

      id of the Parcel.

      Parameters:
      id - value to be set
    • setCreatedAt

      void setCreatedAt(String createdAt)

      Date and time (UTC) the Parcel was created.

      Parameters:
      createdAt - value to be set
    • of

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

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

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

      static ParcelChangeValueBuilder builder()
      builder factory method for ParcelChangeValue
      Returns:
      builder
    • builder

      static ParcelChangeValueBuilder builder(ParcelChangeValue template)
      create builder for ParcelChangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withParcelChangeValue

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