Class: AzureSTT::Models::File
- Defined in:
- lib/azure_stt/models/file.rb
Overview
Model class to represent files in our models
Instance Attribute Summary collapse
- #client ⇒ AzureSTT::Client readonly
- #content_url ⇒ Types::Coercible::String readonly
- #created_date_time ⇒ Types::Date readonly
- #id ⇒ Types::Coercible::String readonly
- #kind ⇒ Types::Coercible::String readonly
- #name ⇒ Types::Coercible::String readonly
- #properties ⇒ Types::Coercible::Hash readonly
Instance Method Summary collapse
-
#content ⇒ Hash
Returns the result of the request to the file with the url content_url.
Instance Attribute Details
#client ⇒ AzureSTT::Client (readonly)
60 |
# File 'lib/azure_stt/models/file.rb', line 60 attribute :client, Types.Instance(AzureSTT::Client) |
#content_url ⇒ Types::Coercible::String (readonly)
53 |
# File 'lib/azure_stt/models/file.rb', line 53 attribute :content_url, Types::Coercible::String |
#created_date_time ⇒ Types::Date (readonly)
45 |
# File 'lib/azure_stt/models/file.rb', line 45 attribute :created_date_time, Types::Date |
#id ⇒ Types::Coercible::String (readonly)
16 |
# File 'lib/azure_stt/models/file.rb', line 16 attribute :id, Types::Coercible::String |
#kind ⇒ Types::Coercible::String (readonly)
31 |
# File 'lib/azure_stt/models/file.rb', line 31 attribute :kind, Types::Coercible::String |
#name ⇒ Types::Coercible::String (readonly)
23 |
# File 'lib/azure_stt/models/file.rb', line 23 attribute :name, Types::Coercible::String |
#properties ⇒ Types::Coercible::Hash (readonly)
38 |
# File 'lib/azure_stt/models/file.rb', line 38 attribute :properties, Types::Coercible::Hash |
Instance Method Details
#content ⇒ Hash
Returns the result of the request to the file with the url content_url
67 68 69 |
# File 'lib/azure_stt/models/file.rb', line 67 def content client.get_file(content_url) end |