Class: Sorenson::ThreeSixty::FormatConstraint
- Defined in:
- lib/sorenson/threesixty/format_constraint.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#audioBitRateMode ⇒ Object
Returns the value of attribute audioBitRateMode.
-
#dateRetrieved ⇒ Object
Returns the value of attribute dateRetrieved.
-
#defaultAudioCodec ⇒ Object
Returns the value of attribute defaultAudioCodec.
-
#defaultAudioDataRate ⇒ Object
Returns the value of attribute defaultAudioDataRate.
-
#defaultFrameRate ⇒ Object
Returns the value of attribute defaultFrameRate.
-
#defaultHeight ⇒ Object
Returns the value of attribute defaultHeight.
-
#defaultVideoCodec ⇒ Object
Returns the value of attribute defaultVideoCodec.
-
#defaultVideoDataRate ⇒ Object
Returns the value of attribute defaultVideoDataRate.
-
#defaultVideoDuration ⇒ Object
Returns the value of attribute defaultVideoDuration.
-
#defaultWidth ⇒ Object
Returns the value of attribute defaultWidth.
-
#displayName ⇒ Object
Returns the value of attribute displayName.
-
#id ⇒ Object
Returns the value of attribute id.
-
#maxAudioDataRate ⇒ Object
Returns the value of attribute maxAudioDataRate.
-
#maxFrameRate ⇒ Object
Returns the value of attribute maxFrameRate.
-
#maxHeight ⇒ Object
Returns the value of attribute maxHeight.
-
#maxVideoDataRate ⇒ Object
Returns the value of attribute maxVideoDataRate.
-
#maxVideoDuration ⇒ Object
Returns the value of attribute maxVideoDuration.
-
#maxWidth ⇒ Object
Returns the value of attribute maxWidth.
-
#mediaType ⇒ Object
Returns the value of attribute mediaType.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ratePlan ⇒ Object
Returns the value of attribute ratePlan.
-
#ratePlanId ⇒ Object
Returns the value of attribute ratePlanId.
-
#thumbnailGenerationMethod ⇒ Object
Returns the value of attribute thumbnailGenerationMethod.
-
#videoBitRateMode ⇒ Object
Returns the value of attribute videoBitRateMode.
Instance Method Summary collapse
-
#initialize(ratePlan, data) ⇒ FormatConstraint
constructor
A new instance of FormatConstraint.
Methods inherited from Base
debug=, debug?, host, #post_to, post_to, protocol, token_for, use_ssl=, use_ssl?
Constructor Details
#initialize(ratePlan, data) ⇒ FormatConstraint
Returns a new instance of FormatConstraint.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 7 def initialize(ratePlan, data) self.ratePlan = ratePlan self.id = data['id'] self.name = data['name'] self.displayName = data['displayName'] self.defaultVideoDuration = data['defaultVideoDuration'] self.maxVideoDuration = data['maxVideoDuration'] self.defaultFrameRate = data['defaultFrameRate'] self.maxFrameRate = data['maxFrameRate'] self.maxWidth = data['maxWidth'] self.defaultWidth = data['defaultWidth'] self.ratePlanId = data['ratePlanId'] self.maxHeight = data['maxHeight'] self.defaultHeight = data['defaultHeight'] self.defaultAudioDataRate = data['defaultAudioDataRate'] self.maxAudioDataRate = data['maxAudioDataRate'] self.dateRetrieved = data['dateRetrieved'] self.defaultVideoDataRate = data['defaultVideoDataRate'] self.maxVideoDataRate = data['maxVideoDataRate'] self.thumbnailGenerationMethod = data['thumbnailGenerationMethod'] self.defaultAudioCodec = data['defaultAudioCodec'] self.defaultVideoCodec = data['defaultVideoCodec'] self.audioBitRateMode = data['audioBitRateMode'] self.videoBitRateMode = data['videoBitRateMode'] self.mediaType = data['mediaType'] end |
Instance Attribute Details
#audioBitRateMode ⇒ Object
Returns the value of attribute audioBitRateMode.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def audioBitRateMode @audioBitRateMode end |
#dateRetrieved ⇒ Object
Returns the value of attribute dateRetrieved.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def dateRetrieved @dateRetrieved end |
#defaultAudioCodec ⇒ Object
Returns the value of attribute defaultAudioCodec.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultAudioCodec @defaultAudioCodec end |
#defaultAudioDataRate ⇒ Object
Returns the value of attribute defaultAudioDataRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultAudioDataRate @defaultAudioDataRate end |
#defaultFrameRate ⇒ Object
Returns the value of attribute defaultFrameRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultFrameRate @defaultFrameRate end |
#defaultHeight ⇒ Object
Returns the value of attribute defaultHeight.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultHeight @defaultHeight end |
#defaultVideoCodec ⇒ Object
Returns the value of attribute defaultVideoCodec.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultVideoCodec @defaultVideoCodec end |
#defaultVideoDataRate ⇒ Object
Returns the value of attribute defaultVideoDataRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultVideoDataRate @defaultVideoDataRate end |
#defaultVideoDuration ⇒ Object
Returns the value of attribute defaultVideoDuration.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultVideoDuration @defaultVideoDuration end |
#defaultWidth ⇒ Object
Returns the value of attribute defaultWidth.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def defaultWidth @defaultWidth end |
#displayName ⇒ Object
Returns the value of attribute displayName.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def displayName @displayName end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def id @id end |
#maxAudioDataRate ⇒ Object
Returns the value of attribute maxAudioDataRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxAudioDataRate @maxAudioDataRate end |
#maxFrameRate ⇒ Object
Returns the value of attribute maxFrameRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxFrameRate @maxFrameRate end |
#maxHeight ⇒ Object
Returns the value of attribute maxHeight.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxHeight @maxHeight end |
#maxVideoDataRate ⇒ Object
Returns the value of attribute maxVideoDataRate.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxVideoDataRate @maxVideoDataRate end |
#maxVideoDuration ⇒ Object
Returns the value of attribute maxVideoDuration.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxVideoDuration @maxVideoDuration end |
#maxWidth ⇒ Object
Returns the value of attribute maxWidth.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def maxWidth @maxWidth end |
#mediaType ⇒ Object
Returns the value of attribute mediaType.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def mediaType @mediaType end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def name @name end |
#ratePlan ⇒ Object
Returns the value of attribute ratePlan.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def ratePlan @ratePlan end |
#ratePlanId ⇒ Object
Returns the value of attribute ratePlanId.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def ratePlanId @ratePlanId end |
#thumbnailGenerationMethod ⇒ Object
Returns the value of attribute thumbnailGenerationMethod.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def thumbnailGenerationMethod @thumbnailGenerationMethod end |
#videoBitRateMode ⇒ Object
Returns the value of attribute videoBitRateMode.
5 6 7 |
# File 'lib/sorenson/threesixty/format_constraint.rb', line 5 def videoBitRateMode @videoBitRateMode end |