Sha256: 935d68d9f5e8e84c6b16dd71613d1609ad1b5a9943f2194cb43f9424673323bf

Contents?: true

Size: 1.43 KB

Versions: 16

Compression:

Stored size: 1.43 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module DingSDK
  module Shared
  

    class CreateCheckResponse < ::DingSDK::Utils::FieldAugmented
      extend T::Sig

      # The UUID of the corresponding authentication.
      field :authentication_uuid, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('authentication_uuid') } }
      # The status of the check. Possible values are:
      #   * `valid` - The code is valid.
      #   * `invalid` - The code is invalid.
      #   * `without_attempt` - No attempt was sent yet, so a check cannot be completed.
      #   * `rate_limited` - The authentication was rate limited and cannot be checked.
      #   * `already_validated` - The authentication has already been validated.
      #   * `expired_auth` - The authentication has expired and cannot be checked.
      # 
      field :status, T.nilable(::DingSDK::Shared::CreateCheckResponseStatus), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::DingSDK::Shared::CreateCheckResponseStatus, true) } }


      sig { params(authentication_uuid: T.nilable(::String), status: T.nilable(::DingSDK::Shared::CreateCheckResponseStatus)).void }
      def initialize(authentication_uuid: nil, status: nil)
        @authentication_uuid = authentication_uuid
        @status = status
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ding_sdk-0.8.11 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.7 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.6 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.5 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.4 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.3 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.2 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.1 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.8.0 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.5 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.4 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.3 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.2 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.1 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.7.0 lib/ding_sdk/models/shared/createcheckresponse.rb
ding_sdk-0.6.0 lib/ding_sdk/models/shared/createcheckresponse.rb