Sha256: fd42cae42e8650649d9ea6b384afaf0976d4a6caeb011adbf957675b2ab7983d

Contents?: true

Size: 1.64 KB

Versions: 6

Compression:

Stored size: 1.64 KB

Contents

=begin
#Talon.One API

#Use the Talon.One API to integrate with your application and to manage applications and campaigns:  - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns.  ## Determining the base URL of the endpoints  The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` 

The version of the OpenAPI document: 

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

=end

require 'date'

module TalonOne
  class FrontendState
    EXPIRED = "expired".freeze
    SCHEDULED = "scheduled".freeze
    RUNNING = "running".freeze
    DRAFT = "draft".freeze
    DISABLED = "disabled".freeze

    # 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)
      constantValues = FrontendState.constants.select { |c| FrontendState::const_get(c) == value }
      raise "Invalid ENUM value #{value} for class #FrontendState" if constantValues.empty?
      value
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talon_one-7.0.0 lib/talon_one/models/frontend_state.rb
talon_one-6.0.0 lib/talon_one/models/frontend_state.rb
talon_one-5.0.0 lib/talon_one/models/frontend_state.rb
talon_one-3.0.2 lib/talon_one/models/frontend_state.rb
talon_one-3.0.1 lib/talon_one/models/frontend_state.rb
talon_one-3.0.0 lib/talon_one/models/frontend_state.rb