public class SpaceMembersAddDataSenderBuilder extends Object implements Serializable, IDataSenderBuilder
Modifier and Type | Class and Description |
---|---|
static class |
SpaceMembersAddDataSenderBuilder.SpaceMemberObject |
Constructor and Description |
---|
SpaceMembersAddDataSenderBuilder(List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> members) |
SpaceMembersAddDataSenderBuilder(SpaceMembersAddDataSenderBuilder.SpaceMemberObject member) |
Modifier and Type | Method and Description |
---|---|
String |
build()
Builds the JSON stream to send.
|
String |
build(boolean pretty)
Builds the JSON stream to send, optionally adding pretty styling
|
List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> |
getMembers() |
void |
setMembers(List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> members) |
public SpaceMembersAddDataSenderBuilder(SpaceMembersAddDataSenderBuilder.SpaceMemberObject member)
public SpaceMembersAddDataSenderBuilder(List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> members)
public List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> getMembers()
public void setMembers(List<SpaceMembersAddDataSenderBuilder.SpaceMemberObject> members)
public String build()
IDataSenderBuilder
IDataSenderBuilder.build(boolean)
, passing falsebuild
in interface IDataSenderBuilder
public String build(boolean pretty)
IDataSenderBuilder
build
in interface IDataSenderBuilder
pretty
- boolean whether or not to output in a more readable formatCopyright © 2018 OpenNTF. All rights reserved.