public static class BitlinkQuery.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BitlinkQuery.Builder |
archived(Switch archived)
Sets whether or not to include archived bitlinks.
|
BitlinkQuery |
build()
Returns the configured query
|
BitlinkQuery.Builder |
campaignGuid(String campaignGuid)
Sets filter to return only links for the given campaign GUID.
|
BitlinkQuery.Builder |
channelGuid(String channelGuid)
Sets filter to return only links for the given channel GUID, overrides all other parameters.
|
BitlinkQuery.Builder |
createdAfter(int createdAfter)
Sets the timestamp as an integer unix epoch.
|
BitlinkQuery.Builder |
createdBefore(int createdBefore)
Sets the timestamp as an integer unix epoch.
|
BitlinkQuery.Builder |
customBitlink(Switch customBitlink)
Sets whether to filter to only bitlinks that are custom bitlinks.
|
BitlinkQuery.Builder |
deeplinks(Switch deeplinks)
Sets whether to filter to only bitlinks that contain deeplinks.
|
BitlinkQuery.Builder |
domainDeeplinks(Switch domainDeeplinks)
Sets whether to filter to only bitlinks that contain deeplinks configured with a custom domain.
|
BitlinkQuery.Builder |
encodingLogin(List<String> encodingLogin)
Sets filter by the login of the authenticated user that created the bitlink.
|
BitlinkQuery.Builder |
keyword(String keyword)
Sets the custom keyword for the query.
|
BitlinkQuery.Builder |
modifiedAfter(int modifiedAfter)
Sets the timestamp as an integer unix epoch.
|
BitlinkQuery.Builder |
page(int page)
Sets the start page for the query.
|
BitlinkQuery.Builder |
query(String value)
Sets the search value for the query.
|
BitlinkQuery.Builder |
size(int size)
Sets the size for the query.
|
BitlinkQuery.Builder |
tags(List<String> tags)
Sets filter on the bitlink tags.
|
public BitlinkQuery.Builder size(int size)
size - The size for the querypublic BitlinkQuery.Builder page(int page)
page - The start page for the querypublic BitlinkQuery.Builder keyword(String keyword)
keyword - The custom keyword for the querypublic BitlinkQuery.Builder query(String value)
value - The search value for the querypublic BitlinkQuery.Builder createdBefore(int createdBefore)
createdBefore - The timestamppublic BitlinkQuery.Builder createdAfter(int createdAfter)
createdAfter - The timestamppublic BitlinkQuery.Builder modifiedAfter(int modifiedAfter)
modifiedAfter - The timestamppublic BitlinkQuery.Builder archived(Switch archived)
archived - whether or not to include archived bitlinkspublic BitlinkQuery.Builder deeplinks(Switch deeplinks)
deeplinks - whether to filter to only bitlinks that contain deeplinkspublic BitlinkQuery.Builder domainDeeplinks(Switch domainDeeplinks)
domainDeeplinks - whether to filter to only bitlinks that contain deeplinks configured with a custom domainpublic BitlinkQuery.Builder customBitlink(Switch customBitlink)
customBitlink - whether to filter to only bitlinks that are custom bitlinkspublic BitlinkQuery.Builder campaignGuid(String campaignGuid)
campaignGuid - filter to return only links for the given campaign GUIDpublic BitlinkQuery.Builder channelGuid(String channelGuid)
channelGuid - filter to return only links for the given channel GUIDpublic BitlinkQuery.Builder tags(List<String> tags)
tags - filter on the bitlink tagspublic BitlinkQuery.Builder encodingLogin(List<String> encodingLogin)
encodingLogin - filter by the login of the authenticated user that created the bitlinkpublic BitlinkQuery build()
Copyright © 2020. All rights reserved.