Class Export

java.lang.Object
io.voucherify.client.model.Export

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Export extends Object
Export
  • Field Details

  • Constructor Details

    • Export

      public Export()
  • Method Details

    • id

      public Export id(String id)
    • getId

      @Nullable public String getId()
      Unique export ID.
      Returns:
      id
    • setId

      public void setId(String id)
    • _object

      public Export _object(Export.ObjectEnum _object)
    • getObject

      @Nullable public Export.ObjectEnum getObject()
      The type of object being represented. This object stores information about the export.
      Returns:
      _object
    • setObject

      public void setObject(Export.ObjectEnum _object)
    • createdAt

      public Export createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp representing the date and time when the export was scheduled in ISO 8601 format.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • status

      public Export status(Export.StatusEnum status)
    • getStatus

      @Nullable public Export.StatusEnum getStatus()
      Status of the export. Informs you whether the export has already been completed, i.e. indicates whether the file containing the exported data has been generated.
      Returns:
      status
    • setStatus

      public void setStatus(Export.StatusEnum status)
    • channel

      public Export channel(String channel)
    • getChannel

      @Nullable public String getChannel()
      The channel through which the export was triggered.
      Returns:
      channel
    • setChannel

      public void setChannel(String channel)
    • result

      public Export result(ExportResult result)
    • getResult

      @Nullable public ExportResult getResult()
      Get result
      Returns:
      result
    • setResult

      public void setResult(ExportResult result)
    • userId

      public Export userId(String userId)
    • getUserId

      @Nullable public String getUserId()
      Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel value is WEBSITE.
      Returns:
      userId
    • setUserId

      public void setUserId(String userId)
    • exportedObject

      public Export exportedObject(Export.ExportedObjectEnum exportedObject)
    • getExportedObject

      @Nullable public Export.ExportedObjectEnum getExportedObject()
      Get exportedObject
      Returns:
      exportedObject
    • setExportedObject

      public void setExportedObject(Export.ExportedObjectEnum exportedObject)
    • parameters

      public Export parameters(ExportParameters parameters)
    • getParameters

      @Nullable public ExportParameters getParameters()
      Get parameters
      Returns:
      parameters
    • setParameters

      public void setParameters(ExportParameters parameters)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromJson

      public static Export fromJson(String jsonString) throws IOException
      Create an instance of Export given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Export
      Throws:
      IOException - if the JSON string is invalid with respect to Export
    • toJson

      public String toJson()
      Convert an instance of Export to an JSON string
      Returns:
      JSON string