Package com.cumulocity.sdk.client.alarm
Class AlarmCollectionImpl
- java.lang.Object
-
- com.cumulocity.sdk.client.PagedCollectionResourceImpl<AlarmRepresentation,AlarmCollectionRepresentation,PagedAlarmCollectionRepresentation>
-
- com.cumulocity.sdk.client.alarm.AlarmCollectionImpl
-
- All Implemented Interfaces:
AlarmCollection
,PagedCollectionResource<AlarmRepresentation,PagedAlarmCollectionRepresentation>
public class AlarmCollectionImpl extends PagedCollectionResourceImpl<AlarmRepresentation,AlarmCollectionRepresentation,PagedAlarmCollectionRepresentation> implements AlarmCollection
-
-
Field Summary
-
Fields inherited from class com.cumulocity.sdk.client.PagedCollectionResourceImpl
pageSize, restConnector
-
Fields inherited from interface com.cumulocity.sdk.client.PagedCollectionResource
PAGE_NUMBER_KEY, PAGE_SIZE_KEY
-
-
Constructor Summary
Constructors Constructor Description AlarmCollectionImpl(RestConnector restConnector, String url, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CumulocityMediaType
getMediaType()
protected Class<AlarmCollectionRepresentation>
getResponseClass()
protected PagedAlarmCollectionRepresentation
wrap(AlarmCollectionRepresentation collection)
-
Methods inherited from class com.cumulocity.sdk.client.PagedCollectionResourceImpl
equals, get, get, get, getCollection, getNextPage, getPage, getPage, getPreviousPage, hashCode, prepareGetParams
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cumulocity.sdk.client.PagedCollectionResource
get, get, getNextPage, getPage, getPage, getPreviousPage
-
-
-
-
Constructor Detail
-
AlarmCollectionImpl
public AlarmCollectionImpl(RestConnector restConnector, String url, int pageSize)
-
-
Method Detail
-
getMediaType
protected CumulocityMediaType getMediaType()
-
getResponseClass
protected Class<AlarmCollectionRepresentation> getResponseClass()
-
wrap
protected PagedAlarmCollectionRepresentation wrap(AlarmCollectionRepresentation collection)
- Specified by:
wrap
in classPagedCollectionResourceImpl<AlarmRepresentation,AlarmCollectionRepresentation,PagedAlarmCollectionRepresentation>
-
-