Sha256: 9a4e575b7ec0625fae2ea3512321b6641e84affae7b22ed9124d33f0328745fb

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class ResyncStatusDto < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig


      field :provider, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('provider') } }

      field :status, ::OpenApiSDK::Shared::Status, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Status, false) } }

      field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }

      field :vertical, ::OpenApiSDK::Shared::Vertical, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('vertical'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Vertical, false) } }


      sig { params(provider: ::String, status: ::OpenApiSDK::Shared::Status, timestamp: ::DateTime, vertical: ::OpenApiSDK::Shared::Vertical).void }
      def initialize(provider: nil, status: nil, timestamp: nil, vertical: nil)
        @provider = provider
        @status = status
        @timestamp = timestamp
        @vertical = vertical
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/resyncstatusdto.rb
panora-0.2.4 lib/open_api_sdk/models/shared/resyncstatusdto.rb