@Deprecated @ApiStatus.ScheduledForRemoval public class CocSearchCriteria extends Object
Constructor and Description |
---|
CocSearchCriteria()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CocSearchCriteria |
after(int after)
Deprecated.
Return only items that occur after this marker.
|
CocSearchCriteria |
before(int before)
Deprecated.
Return only items that occur before this marker.
|
static CocSearchCriteria |
create()
Deprecated.
A factory method to create a
CocSearchCriteria instance |
Set<Map.Entry<String,Object>> |
getCriteriaSet()
Deprecated.
Returns the underlying set containing all the search criterias
|
CocSearchCriteria |
limit(int limit)
Deprecated.
Limit the number of items returned in the response.
|
CocSearchCriteria |
locationId(int locationId)
Deprecated.
Filter by clan location identifier.
|
CocSearchCriteria |
maxMembers(int maxMembers)
Deprecated.
Filter by maximum amount of clan members.
|
CocSearchCriteria |
minClanLevel(int minClanLevel)
Deprecated.
Filter by minimum clan level.
|
CocSearchCriteria |
minClanPoints(int minClanPoints)
Deprecated.
Filter by minimum amount of clan points.
|
CocSearchCriteria |
minMembers(int minMembers)
Deprecated.
Filter by minimum amount of clan members.
|
CocSearchCriteria |
name(String name)
Deprecated.
Search clans by name.
|
CocSearchCriteria |
warFrequency(CocWarFrequency frequency)
Deprecated.
Filter by clan war frequency
|
public static CocSearchCriteria create()
A factory method to create a CocSearchCriteria
instance
CocSearchCriteria
instancepublic CocSearchCriteria name(String name)
Search clans by name. If name is used as part of search query, it needs to be at least three characters long. Name search parameter is interpreted as wild card search, so it may appear anywhere in the clan name.
name
- a String
objectCocSearchCriteria
instancepublic CocSearchCriteria warFrequency(CocWarFrequency frequency)
Filter by clan war frequency
frequency
- a CocWarFrequency
objectCocSearchCriteria
instancepublic CocSearchCriteria locationId(int locationId)
Filter by clan location identifier. For list of available locations, refer to getLocations operation.
locationId
- a intCocSearchCriteria
instancepublic CocSearchCriteria minMembers(int minMembers)
Filter by minimum amount of clan members.
minMembers
- a intCocSearchCriteria
instancepublic CocSearchCriteria maxMembers(int maxMembers)
Filter by maximum amount of clan members.
maxMembers
- a intCocSearchCriteria
instancepublic CocSearchCriteria minClanPoints(int minClanPoints)
Filter by minimum amount of clan points.
minClanPoints
- a intCocSearchCriteria
instancepublic CocSearchCriteria minClanLevel(int minClanLevel)
Filter by minimum clan level.
minClanLevel
- a intCocSearchCriteria
instancepublic CocSearchCriteria limit(int limit)
Limit the number of items returned in the response.
limit
- a intCocSearchCriteria
instancepublic CocSearchCriteria after(int after)
Return only items that occur after this marker. After marker can be found from the response, inside the 'paging' property. Note that only after or before can be specified for a request, not both.
after
- a intCocSearchCriteria
instancepublic CocSearchCriteria before(int before)
Return only items that occur before this marker. Before marker can be found from the response, inside the 'paging' property. Note that only after or before can be specified for a request, not both.
before
- a intCocSearchCriteria
instanceCopyright © 2016–2024. All rights reserved.