Sha256: 8487c8687fe92287ceab352d8958b15b7d5a5421ccebbb7c60f30042e3563922
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
=begin #Voucherify API #Voucherify promotion engine REST API. Please see https://docs.voucherify.io/docs for more details. The version of the OpenAPI document: v2018-08-01 Contact: support@voucherify.io Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.0.1 =end require 'date' require 'time' module VoucherifySdk class ExportCustomerOrder NAME = "-name".freeze NAME2 = "name".freeze ID = "-id".freeze ID2 = "id".freeze EMAIL = "-email".freeze EMAIL2 = "email".freeze SOURCE_ID = "-source_id".freeze SOURCE_ID2 = "source_id".freeze CREATED_AT = "-created_at".freeze CREATED_AT2 = "created_at".freeze UPDATED_AT = "-updated_at".freeze UPDATED_AT2 = "updated_at".freeze def self.all_vars @all_vars ||= [NAME, NAME2, ID, ID2, EMAIL, EMAIL2, SOURCE_ID, SOURCE_ID2, CREATED_AT, CREATED_AT2, UPDATED_AT, UPDATED_AT2].freeze end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) return value if ExportCustomerOrder.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #ExportCustomerOrder" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voucherify-5.0.0 | lib/VoucherifySdk/models/export_customer_order.rb |