Package zowe.client.sdk.zoslogs.response
Class ZosLogResponse
- java.lang.Object
-
- zowe.client.sdk.zoslogs.response.ZosLogResponse
-
public class ZosLogResponse extends Object
Standard log response document. Represents the details about the messages and logs.- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ZosLogResponse(Long timeZone, Long nextTimeStamp, String source, Long totalItems, List<ZosLogItem> items)ZosLogReply constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ZosLogItem>getItemLst()Return items value.OptionalLonggetNextTimeStamp()Return nextTimeStamp OptionalLong value.Optional<String>getSource()Return source Optional value.OptionalLonggetTimeZone()Return timeZone OptionalLong value.OptionalLonggetTotalItems()Return totalItems OptionalLong value.
-
-
-
Constructor Detail
-
ZosLogResponse
public ZosLogResponse(Long timeZone, Long nextTimeStamp, String source, Long totalItems, List<ZosLogItem> items)
ZosLogReply constructor- Parameters:
timeZone- long timezone value returned from responsenextTimeStamp- long nextTimestamp value returned from responsesource- string source value returned from responsetotalItems- long totalitems value returned from responseitems- ZosLogItem object items returned from response
-
-
Method Detail
-
getTimeZone
public OptionalLong getTimeZone()
Return timeZone OptionalLong value.- Returns:
- OptionalLong value
-
getNextTimeStamp
public OptionalLong getNextTimeStamp()
Return nextTimeStamp OptionalLong value.- Returns:
- OptionalLong value
-
getSource
public Optional<String> getSource()
Return source Optional value.- Returns:
- OptionalLong value
-
getTotalItems
public OptionalLong getTotalItems()
Return totalItems OptionalLong value.- Returns:
- OptionalLong value
-
getItemLst
public List<ZosLogItem> getItemLst()
Return items value.- Returns:
- OptionalLong value
-
-