Sha256: 4fa00710de7c5e8b89abc426472ac65f22141fd0999298fd9ad4466f581ff347

Contents?: true

Size: 868 Bytes

Versions: 5

Compression:

Stored size: 868 Bytes

Contents

# frozen_string_literal: true

module AzureSTT
  module Models
    #
    # Model class for reports from a transcription.
    #
    class Report < Base
      #
      # The number of audio files that had been successsfully transcripted
      #
      # @!attribute [r] successful_transcriptions_count
      #   @return [Types::Coercible::Integer]
      attribute :successful_transcriptions_count, Types::Coercible::Integer

      #
      # The number of audio files that have failed
      #
      # @!attribute [r] failed_transcriptions_count
      #   @return [Types::Coercible::Integer]
      attribute :failed_transcriptions_count, Types::Coercible::Integer

      #
      # The details
      #
      # @!attribute [r] details
      #   @return [Types::Array.of(Types::Hash)]
      attribute :details, Types::Array.of(Types::Hash).default([].freeze)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_stt-0.4.0 lib/azure_stt/models/report.rb
azure_stt-0.3.0 lib/azure_stt/models/report.rb
azure_stt-0.2.0 lib/azure_stt/models/report.rb
azure_stt-0.1.1 lib/azure_stt/models/report.rb
azure_stt-0.1.0 lib/azure_stt/models/report.rb