Sha256: 41fbbef29befd7de9c13b55257932d88f56572a0a15525a60f0ed5c98a42fd26

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module DingSDK
  module Shared
  
    # Code - A machine-readable code that describes the error.
    class Code < T::Enum
      enums do
        INVALID_PHONE_NUMBER = new('invalid_phone_number')
        INTERNAL_SERVER_ERROR = new('internal_server_error')
        BAD_REQUEST = new('bad_request')
        ACCOUNT_INVALID = new('account_invalid')
        NEGATIVE_BALANCE = new('negative_balance')
        INVALID_LINE = new('invalid_line')
        UNSUPPORTED_REGION = new('unsupported_region')
        INVALID_AUTH_UUID = new('invalid_auth_uuid')
        INVALID_APP_REALM = new('invalid_app_realm')
        UNSUPPORTED_APP_REALM_DEVICE_TYPE = new('unsupported_app_realm_device_type')
        APP_REALM_REQUIRE_DEVICE_TYPE = new('app_realm_require_device_type')
        BLOCKED_NUMBER = new('blocked_number')
        INVALID_APP_VERSION = new('invalid_app_version')
        INVALID_OS_VERSION = new('invalid_os_version')
        INVALID_DEVICE_MODEL = new('invalid_device_model')
        INVALID_DEVICE_ID = new('invalid_device_id')
        NO_ASSOCIATED_AUTH_FOUND = new('no_associated_auth_found')
        DUPLICATED_FEEDBACK_STATUS = new('duplicated_feedback_status')
        INVALID_FEEDBACK_STATUS = new('invalid_feedback_status')
        INVALID_TEMPLATE_ID = new('invalid_template_id')
        SUSPENDED_ACCOUNT = new('suspended_account')
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ding_sdk-0.8.15 lib/ding_sdk/models/shared/code.rb
ding_sdk-0.8.14 lib/ding_sdk/models/shared/code.rb
ding_sdk-0.8.13 lib/ding_sdk/models/shared/code.rb