Class GsonAppWorkflowStepInputValueFactory

java.lang.Object
com.slack.api.util.json.GsonAppWorkflowStepInputValueFactory
All Implemented Interfaces:
com.google.gson.JsonDeserializer<AppWorkflow.StepInputValue>, com.google.gson.JsonSerializer<AppWorkflow.StepInputValue>

public class GsonAppWorkflowStepInputValueFactory extends Object implements com.google.gson.JsonDeserializer<AppWorkflow.StepInputValue>, com.google.gson.JsonSerializer<AppWorkflow.StepInputValue>
  • Constructor Details

    • GsonAppWorkflowStepInputValueFactory

      public GsonAppWorkflowStepInputValueFactory()
    • GsonAppWorkflowStepInputValueFactory

      public GsonAppWorkflowStepInputValueFactory(boolean failOnUnknownProperties)
  • Method Details

    • deserialize

      public AppWorkflow.StepInputValue deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<AppWorkflow.StepInputValue>
      Throws:
      com.google.gson.JsonParseException
    • serialize

      public com.google.gson.JsonElement serialize(AppWorkflow.StepInputValue src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<AppWorkflow.StepInputValue>