Class LabelDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.LabelDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class LabelDTO extends Object
LabelDTO
  • Field Details

    • id

      private String id
    • versionedComponentId

      private String versionedComponentId
    • parentGroupId

      private String parentGroupId
    • position

      private PositionDTO position
    • label

      private String label
    • width

      private Double width
    • height

      private Double height
    • getzIndex

      private Long getzIndex
    • style

      private Map<String,String> style
  • Constructor Details

    • LabelDTO

      public LabelDTO()
  • Method Details

    • id

      public LabelDTO id(String id)
    • getId

      public String getId()
      The id of the component.
      Returns:
      id
    • setId

      public void setId(String id)
    • versionedComponentId

      public LabelDTO versionedComponentId(String versionedComponentId)
    • getVersionedComponentId

      public String getVersionedComponentId()
      The ID of the corresponding component that is under version control
      Returns:
      versionedComponentId
    • setVersionedComponentId

      public void setVersionedComponentId(String versionedComponentId)
    • parentGroupId

      public LabelDTO parentGroupId(String parentGroupId)
    • getParentGroupId

      public String getParentGroupId()
      The id of parent process group of this component if applicable.
      Returns:
      parentGroupId
    • setParentGroupId

      public void setParentGroupId(String parentGroupId)
    • position

      public LabelDTO position(PositionDTO position)
    • getPosition

      public PositionDTO getPosition()
      Get position
      Returns:
      position
    • setPosition

      public void setPosition(PositionDTO position)
    • label

      public LabelDTO label(String label)
    • getLabel

      public String getLabel()
      The text that appears in the label.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • width

      public LabelDTO width(Double width)
    • getWidth

      public Double getWidth()
      The width of the label in pixels when at a 1:1 scale.
      Returns:
      width
    • setWidth

      public void setWidth(Double width)
    • height

      public LabelDTO height(Double height)
    • getHeight

      public Double getHeight()
      The height of the label in pixels when at a 1:1 scale.
      Returns:
      height
    • setHeight

      public void setHeight(Double height)
    • getzIndex

      public LabelDTO getzIndex(Long getzIndex)
    • getGetzIndex

      public Long getGetzIndex()
      The z index of the label.
      Returns:
      getzIndex
    • setGetzIndex

      public void setGetzIndex(Long getzIndex)
    • style

      public LabelDTO style(Map<String,String> style)
    • putStyleItem

      public LabelDTO putStyleItem(String key, String styleItem)
    • getStyle

      public Map<String,String> getStyle()
      The styles for this label (font-size : 12px, background-color : #eee, etc).
      Returns:
      style
    • setStyle

      public void setStyle(Map<String,String> style)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).