Class SlackIntegrationMetadataChannelItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SlackIntegrationMetadataChannelItem extends Object
Item in the Slack integration metadata channel array.
  • Field Details

  • Constructor Details

    • SlackIntegrationMetadataChannelItem

      public SlackIntegrationMetadataChannelItem()
    • SlackIntegrationMetadataChannelItem

      public SlackIntegrationMetadataChannelItem(String channelId, String channelName, String redirectUrl)
  • Method Details

    • channelId

      public SlackIntegrationMetadataChannelItem channelId(String channelId)
    • getChannelId

      public String getChannelId()
      Slack channel ID.
      Returns:
      channelId
    • setChannelId

      public void setChannelId(String channelId)
    • channelName

      public SlackIntegrationMetadataChannelItem channelName(String channelName)
    • getChannelName

      public String getChannelName()
      Name of the Slack channel.
      Returns:
      channelName
    • setChannelName

      public void setChannelName(String channelName)
    • redirectUrl

      public SlackIntegrationMetadataChannelItem redirectUrl(String redirectUrl)
    • getRedirectUrl

      public String getRedirectUrl()
      URL redirecting to the Slack channel.
      Returns:
      redirectUrl
    • setRedirectUrl

      public void setRedirectUrl(String redirectUrl)
    • teamId

    • getTeamId

      @Nullable public String getTeamId()
      Slack team ID.
      Returns:
      teamId
    • setTeamId

      public void setTeamId(String teamId)
    • putAdditionalProperty

      public SlackIntegrationMetadataChannelItem 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:
      SlackIntegrationMetadataChannelItem
    • 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 SlackIntegrationMetadataChannelItem 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