Sha256: 6f88b88983d75ca41c83d4ea3c85b998d9fbf69a0bc3a1b08e5a0acfcbfc9b49

Contents?: true

Size: 1.7 KB

Versions: 4

Compression:

Stored size: 1.7 KB

Contents

=begin
#Synctera API

#<h2>Let's build something great.</h2><p>Welcome to the official reference documentation for Synctera APIs. Our APIs are the best way to automate your company's banking needs and are designed to be easy to understand and implement.</p><p>We're continuously growing this library and what you see here is just the start, but if you need something specific or have a question, <a class='text-blue-600' href='https://synctera.com/contact' target='_blank' rel='noreferrer'>contact us</a>.</p>

The version of the OpenAPI document: 0.60.0

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.5.0

=end

require 'date'
require 'time'

module SyncteraRubySdk
  class RelatedResourceType1
    ACCOUNT = "ACCOUNT".freeze
    APPLICATION = "APPLICATION".freeze
    BUSINESS = "BUSINESS".freeze
    CUSTOMER = "CUSTOMER".freeze
    SHADOW_TRANSACTION = "SHADOW_TRANSACTION".freeze
    SNAPSHOT = "SNAPSHOT".freeze
    TENANT = "TENANT".freeze
    TRANSACTION = "TRANSACTION".freeze
    USER = "USER".freeze

    def self.all_vars
      @all_vars ||= [ACCOUNT, APPLICATION, BUSINESS, CUSTOMER, SHADOW_TRANSACTION, SNAPSHOT, TENANT, TRANSACTION, USER].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 RelatedResourceType1.all_vars.include?(value)
      raise "Invalid ENUM value #{value} for class #RelatedResourceType1"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synctera_ruby_sdk-1.1.3 lib/synctera_ruby_sdk/models/related_resource_type1.rb
synctera_ruby_sdk-1.1.2 lib/synctera_ruby_sdk/models/related_resource_type1.rb
synctera_ruby_sdk-1.1.1 lib/synctera_ruby_sdk/models/related_resource_type1.rb
synctera_ruby_sdk-1.0.0 lib/synctera_ruby_sdk/models/related_resource_type1.rb