Sha256: fb2b8c3ee38b0dfdc54b56b577264d2f9d5a7655459ac84828153f2ee0b8451f
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 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 ExportPointsExpirationFields ID = "id".freeze CAMPAIGN_ID = "campaign_id".freeze VOUCHER_ID = "voucher_id".freeze POINTS = "points".freeze STATUS = "status".freeze EXPIRES_AT = "expires_at".freeze def self.all_vars @all_vars ||= [ID, CAMPAIGN_ID, VOUCHER_ID, POINTS, STATUS, EXPIRES_AT].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 ExportPointsExpirationFields.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #ExportPointsExpirationFields" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voucherify-5.0.0 | lib/VoucherifySdk/models/export_points_expiration_fields.rb |