Class HistoryMetadata

java.lang.Object
io.github.primelib.jira4j.restv2.model.HistoryMetadata

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class HistoryMetadata extends Object
HistoryMetadata
  • Field Details

    • activityDescription

      protected String activityDescription
      The activity described in the history record.
    • activityDescriptionKey

      protected String activityDescriptionKey
      The key of the activity described in the history record.
    • actor

      protected HistoryMetadataParticipant actor
    • cause

      protected HistoryMetadataParticipant cause
    • description

      protected String description
      The description of the history record.
    • descriptionKey

      protected String descriptionKey
      The description key of the history record.
    • emailDescription

      protected String emailDescription
      The description of the email address associated the history record.
    • emailDescriptionKey

      protected String emailDescriptionKey
      The description key of the email address associated the history record.
    • extraData

      protected Map<String,String> extraData
      Additional arbitrary information about the history record.
    • generator

      protected HistoryMetadataParticipant generator
    • type

      protected String type
      The type of the history record.
  • Constructor Details

    • HistoryMetadata

      public HistoryMetadata(Consumer<HistoryMetadata> spec)
      Constructs a validated instance of HistoryMetadata.
      Parameters:
      spec - the specification to process
    • HistoryMetadata

      @Internal public HistoryMetadata(String activityDescription, String activityDescriptionKey, HistoryMetadataParticipant actor, HistoryMetadataParticipant cause, String description, String descriptionKey, String emailDescription, String emailDescriptionKey, Map<String,String> extraData, HistoryMetadataParticipant generator, String type)
      Constructs a validated instance of HistoryMetadata.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using HistoryMetadata(Consumer) instead.

      Parameters:
      activityDescription - The activity described in the history record.
      activityDescriptionKey - The key of the activity described in the history record.
      actor - actor
      cause - cause
      description - The description of the history record.
      descriptionKey - The description key of the history record.
      emailDescription - The description of the email address associated the history record.
      emailDescriptionKey - The description key of the email address associated the history record.
      extraData - Additional arbitrary information about the history record.
      generator - generator
      type - The type of the history record.
    • HistoryMetadata

      protected HistoryMetadata()
  • Method Details

    • builder

      public static HistoryMetadata.HistoryMetadataBuilder builder()
    • activityDescription

      public String activityDescription()
      The activity described in the history record.
    • activityDescriptionKey

      public String activityDescriptionKey()
      The key of the activity described in the history record.
    • actor

    • cause

    • description

      public String description()
      The description of the history record.
    • descriptionKey

      public String descriptionKey()
      The description key of the history record.
    • emailDescription

      public String emailDescription()
      The description of the email address associated the history record.
    • emailDescriptionKey

      public String emailDescriptionKey()
      The description key of the email address associated the history record.
    • extraData

      public Map<String,String> extraData()
      Additional arbitrary information about the history record.
    • generator

      public HistoryMetadataParticipant generator()
    • type

      public String type()
      The type of the history record.
    • activityDescription

      public HistoryMetadata activityDescription(String activityDescription)
      The activity described in the history record.
      Returns:
      this.
    • activityDescriptionKey

      public HistoryMetadata activityDescriptionKey(String activityDescriptionKey)
      The key of the activity described in the history record.
      Returns:
      this.
    • actor

      Returns:
      this.
    • cause

      Returns:
      this.
    • description

      public HistoryMetadata description(String description)
      The description of the history record.
      Returns:
      this.
    • descriptionKey

      public HistoryMetadata descriptionKey(String descriptionKey)
      The description key of the history record.
      Returns:
      this.
    • emailDescription

      public HistoryMetadata emailDescription(String emailDescription)
      The description of the email address associated the history record.
      Returns:
      this.
    • emailDescriptionKey

      public HistoryMetadata emailDescriptionKey(String emailDescriptionKey)
      The description key of the email address associated the history record.
      Returns:
      this.
    • extraData

      public HistoryMetadata extraData(Map<String,String> extraData)
      Additional arbitrary information about the history record.
      Returns:
      this.
    • generator

      public HistoryMetadata generator(HistoryMetadataParticipant generator)
      Returns:
      this.
    • type

      public HistoryMetadata type(String type)
      The type of the history record.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object