public static class PersonCollectionListParams.Relationship.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PersonCollectionListParams.Relationship |
build()
Finalize and obtain parameter instance from this builder.
|
PersonCollectionListParams.Relationship.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
PersonCollectionListParams.Relationship.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
PersonCollectionListParams.Relationship.Builder |
setDirector(java.lang.Boolean director)
A filter on the list of people returned based on whether these people are directors of the
account's company.
|
PersonCollectionListParams.Relationship.Builder |
setExecutive(java.lang.Boolean executive)
A filter on the list of people returned based on whether these people are executives of the
account's company.
|
PersonCollectionListParams.Relationship.Builder |
setOwner(java.lang.Boolean owner)
A filter on the list of people returned based on whether these people are owners of the
account's company.
|
PersonCollectionListParams.Relationship.Builder |
setRepresentative(java.lang.Boolean representative)
A filter on the list of people returned based on whether these people are the
representative of the account's company.
|
public PersonCollectionListParams.Relationship build()
public PersonCollectionListParams.Relationship.Builder setDirector(java.lang.Boolean director)
public PersonCollectionListParams.Relationship.Builder setExecutive(java.lang.Boolean executive)
public PersonCollectionListParams.Relationship.Builder putExtraParam(java.lang.String key, java.lang.Object value)
PersonCollectionListParams.Relationship.extraParams
for the field documentation.public PersonCollectionListParams.Relationship.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PersonCollectionListParams.Relationship.extraParams
for the field
documentation.public PersonCollectionListParams.Relationship.Builder setOwner(java.lang.Boolean owner)
public PersonCollectionListParams.Relationship.Builder setRepresentative(java.lang.Boolean representative)