Class: Enconvert::V2::PerceiveDirectResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/enconvert/v2_results.rb

Overview

Raw artifact bytes returned by perceive_direct / download_perceive_artifact. The HTTP body is the artifact itself (content, a binary String); metadata is parsed from the response headers (absent headers map to nil / 0).

Instance Attribute Summary collapse

Instance Attribute Details

#cache_hitObject

Returns the value of attribute cache_hit

Returns:

  • (Object)

    the current value of cache_hit



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def cache_hit
  @cache_hit
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def content
  @content
end

#content_hashObject

Returns the value of attribute content_hash

Returns:

  • (Object)

    the current value of content_hash



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def content_hash
  @content_hash
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def content_type
  @content_type
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def filename
  @filename
end

#object_keyObject

Returns the value of attribute object_key

Returns:

  • (Object)

    the current value of object_key



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def object_key
  @object_key
end

#operation_idObject

Returns the value of attribute operation_id

Returns:

  • (Object)

    the current value of operation_id



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def operation_id
  @operation_id
end

#render_qualityObject

Returns the value of attribute render_quality

Returns:

  • (Object)

    the current value of render_quality



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def render_quality
  @render_quality
end

#source_status_codeObject

Returns the value of attribute source_status_code

Returns:

  • (Object)

    the current value of source_status_code



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def source_status_code
  @source_status_code
end

#warnings_countObject

Returns the value of attribute warnings_count

Returns:

  • (Object)

    the current value of warnings_count



60
61
62
# File 'lib/enconvert/v2_results.rb', line 60

def warnings_count
  @warnings_count
end