Class AsyncJobStatusParser

java.lang.Object
com.amilesend.onedrive.parse.resource.parser.AsyncJobStatusParser
All Implemented Interfaces:
GsonParser<AsyncJobStatus>

public class AsyncJobStatusParser extends Object implements GsonParser<AsyncJobStatus>
Parses a response body that contains a AsyncJobStatus.
See Also:
  • Constructor Details

    • AsyncJobStatusParser

      public AsyncJobStatusParser()
  • Method Details

    • parse

      public AsyncJobStatus parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream)
      Description copied from interface: GsonParser
      Deserializes a JSON-formatted input stream to the defined POJO type.
      Specified by:
      parse in interface GsonParser<AsyncJobStatus>
      Parameters:
      gson - the Gson instance used to deserialize the string
      jsonStream - stream with expected JSON-formatted contents
      Returns:
      the parsed POJO instance