| Package | Description |
|---|---|
| com.hubspot.slack.client.models |
| Modifier and Type | Method and Description |
|---|---|
Field |
Field.Builder.build()
Builds a new
Field. |
static Field |
Field.copyOf(FieldIF instance)
Creates an immutable copy of a
FieldIF value. |
Field |
Field.withIsShort(boolean isShort)
Copy the current immutable object by setting a value for the
isShort attribute. |
Field |
Field.withTitle(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
title attribute. |
Field |
Field.withTitle(String value)
Copy the current immutable object by setting a present value for the optional
title attribute. |
Field |
Field.withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
| Modifier and Type | Method and Description |
|---|---|
List<Field> |
Attachment.getFields() |
List<Field> |
AttachmentIF.getFields() |
| Modifier and Type | Method and Description |
|---|---|
Attachment.Builder |
Attachment.Builder.addFields(Field... elements)
Adds elements to
fields list. |
Attachment.Builder |
Attachment.Builder.addFields(Field element)
Adds one element to
fields list. |
Attachment |
Attachment.withFields(Field... elements)
Copy the current immutable object with elements that replace the content of
fields. |
| Modifier and Type | Method and Description |
|---|---|
Attachment.Builder |
Attachment.Builder.addAllFields(Iterable<? extends Field> elements)
Adds elements to
fields list. |
Attachment.Builder |
Attachment.Builder.setFields(Iterable<? extends Field> elements)
Sets or replaces all elements for
fields list. |
Attachment |
Attachment.withFields(Iterable<? extends Field> elements)
Copy the current immutable object with elements that replace the content of
fields. |
Copyright © 2019. All rights reserved.