Class ProductAnalyticsSankeyDefinition

java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsSankeyDefinition

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsSankeyDefinition extends Object
The shape of the Sankey diagram, expressed as the facets to flow between and how many steps to show.
  • Field Details

  • Constructor Details

    • ProductAnalyticsSankeyDefinition

      public ProductAnalyticsSankeyDefinition()
    • ProductAnalyticsSankeyDefinition

      public ProductAnalyticsSankeyDefinition(String source, String target)
  • Method Details

    • entriesPerStep

      public ProductAnalyticsSankeyDefinition entriesPerStep(Long entriesPerStep)
    • getEntriesPerStep

      @Nullable public Long getEntriesPerStep()
      Maximum number of nodes to keep in each column. Remaining values are rolled up into an aggregated node. Omit it, or send 0, to use the default of 5. minimum: 0 maximum: 10
      Returns:
      entriesPerStep
    • setEntriesPerStep

      public void setEntriesPerStep(Long entriesPerStep)
    • numberOfSteps

      public ProductAnalyticsSankeyDefinition numberOfSteps(Long numberOfSteps)
    • getNumberOfSteps

      @Nullable public Long getNumberOfSteps()
      Number of intermediate columns between the source and the target. Omit it, or send 0 , to use the default of 5. minimum: 0 maximum: 10
      Returns:
      numberOfSteps
    • setNumberOfSteps

      public void setNumberOfSteps(Long numberOfSteps)
    • source

      public ProductAnalyticsSankeyDefinition source(String source)
    • getSource

      public String getSource()
      Facet forming the first column of the diagram.
      Returns:
      source
    • setSource

      public void setSource(String source)
    • target

      public ProductAnalyticsSankeyDefinition target(String target)
    • getTarget

      public String getTarget()
      Facet forming the last column of the diagram.
      Returns:
      target
    • setTarget

      public void setTarget(String target)
    • putAdditionalProperty

      public ProductAnalyticsSankeyDefinition putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      ProductAnalyticsSankeyDefinition
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this ProductAnalyticsSankeyDefinition object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object