Class DashConnectorToolsCallDetails

java.lang.Object
com.dropbox.core.v2.teamlog.DashConnectorToolsCallDetails

public class DashConnectorToolsCallDetails extends Object
Called a tool on a connector.
  • Field Details

    • connectorName

      @Nonnull protected final String connectorName
    • toolName

      @Nonnull protected final String toolName
    • surface

      @Nullable protected final String surface
  • Constructor Details

    • DashConnectorToolsCallDetails

      public DashConnectorToolsCallDetails(@Nonnull String connectorName, @Nonnull String toolName, @Nullable String surface)
      Called a tool on a connector.
      Parameters:
      connectorName - The name of the connector. Must not be null.
      toolName - The name of the tool that was called. Must not be null.
      surface - The surface from which the tool was called.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • DashConnectorToolsCallDetails

      public DashConnectorToolsCallDetails(@Nonnull String connectorName, @Nonnull String toolName)
      Called a tool on a connector.

      The default values for unset fields will be used.

      Parameters:
      connectorName - The name of the connector. Must not be null.
      toolName - The name of the tool that was called. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getConnectorName

      @Nonnull public String getConnectorName()
      The name of the connector.
      Returns:
      value for this field, never null.
    • getToolName

      @Nonnull public String getToolName()
      The name of the tool that was called.
      Returns:
      value for this field, never null.
    • getSurface

      @Nullable public String getSurface()
      The surface from which the tool was called.
      Returns:
      value for this field, or null if not present.
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

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

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Returns:
      Formatted, multiline String representation of this object