Klasse CreateInlineCommentModelInlineCommentProperties

java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.CreateInlineCommentModelInlineCommentProperties

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class CreateInlineCommentModelInlineCommentProperties extends Object
CreateInlineCommentModelInlineCommentProperties
  • Felddetails

    • textSelection

      protected String textSelection
      The text to highlight
    • textSelectionMatchCount

      protected Integer textSelectionMatchCount
      The number of matches for the selected text on the page (should be strictly greater than textSelectionMatchIndex)
    • textSelectionMatchIndex

      protected Integer textSelectionMatchIndex
      The match index to highlight. This is zero-based. E.g. if you have 3 occurrences of "hello world" on a page and you want to highlight the second occurrence, you should pass 1 for textSelectionMatchIndex and 3 for textSelectionMatchCount.
  • Konstruktordetails

    • CreateInlineCommentModelInlineCommentProperties

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

      @Internal public CreateInlineCommentModelInlineCommentProperties(String textSelection, Integer textSelectionMatchCount, Integer textSelectionMatchIndex)
      Constructs a validated instance of CreateInlineCommentModelInlineCommentProperties.

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

      Parameter:
      textSelection - The text to highlight
      textSelectionMatchCount - The number of matches for the selected text on the page (should be strictly greater than textSelectionMatchIndex)
      textSelectionMatchIndex - The match index to highlight. This is zero-based. E.g. if you have 3 occurrences of "hello world" on a page and you want to highlight the second occurrence, you should pass 1 for textSelectionMatchIndex and 3 for textSelectionMatchCount.
    • CreateInlineCommentModelInlineCommentProperties

      protected CreateInlineCommentModelInlineCommentProperties()
  • Methodendetails

    • builder

    • textSelection

      public String textSelection()
      The text to highlight
    • textSelectionMatchCount

      public Integer textSelectionMatchCount()
      The number of matches for the selected text on the page (should be strictly greater than textSelectionMatchIndex)
    • textSelectionMatchIndex

      public Integer textSelectionMatchIndex()
      The match index to highlight. This is zero-based. E.g. if you have 3 occurrences of "hello world" on a page and you want to highlight the second occurrence, you should pass 1 for textSelectionMatchIndex and 3 for textSelectionMatchCount.
    • textSelection

      public CreateInlineCommentModelInlineCommentProperties textSelection(String textSelection)
      The text to highlight
      Gibt zurück:
      this.
    • textSelectionMatchCount

      public CreateInlineCommentModelInlineCommentProperties textSelectionMatchCount(Integer textSelectionMatchCount)
      The number of matches for the selected text on the page (should be strictly greater than textSelectionMatchIndex)
      Gibt zurück:
      this.
    • textSelectionMatchIndex

      public CreateInlineCommentModelInlineCommentProperties textSelectionMatchIndex(Integer textSelectionMatchIndex)
      The match index to highlight. This is zero-based. E.g. if you have 3 occurrences of "hello world" on a page and you want to highlight the second occurrence, you should pass 1 for textSelectionMatchIndex and 3 for textSelectionMatchCount.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object