Class CallBlock

java.lang.Object
com.slack.api.model.block.CallBlock
All Implemented Interfaces:
LayoutBlock

public class CallBlock extends Object implements LayoutBlock
https://api.slack.com/reference/messaging/blocks#call
  • Field Details

  • Constructor Details

  • Method Details

    • builder

      public static CallBlock.CallBlockBuilder builder()
    • getType

      public String getType()
      Description copied from interface: LayoutBlock
      Determines the type of layout block, e.g. section, divider, context, actions and image.
      Specified by:
      getType in interface LayoutBlock
    • getBlockId

      public String getBlockId()
      Description copied from interface: LayoutBlock
      Returns the block_id string; the value can be null if the object is manually crafted.
      Specified by:
      getBlockId in interface LayoutBlock
    • getCallId

      public String getCallId()
    • getApiDecorationAvailable

      public Boolean getApiDecorationAvailable()
    • getCall

      public CallBlock.CallData getCall()
    • setBlockId

      public void setBlockId(String blockId)
    • setCallId

      public void setCallId(String callId)
    • setApiDecorationAvailable

      public void setApiDecorationAvailable(Boolean apiDecorationAvailable)
    • setCall

      public void setCall(CallBlock.CallData call)
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object