Class: Kaltura::KalturaDeliveryProfile

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_atObject

Creation time as Unix timestamp (In seconds)



3771
3772
3773
# File 'lib/kaltura_types.rb', line 3771

def created_at
  @created_at
end

#descriptionObject

The description of the Delivery



3769
3770
3771
# File 'lib/kaltura_types.rb', line 3769

def description
  @description
end

#extra_paramsObject

Extra query string parameters that should be added to the url



3790
3791
3792
# File 'lib/kaltura_types.rb', line 3790

def extra_params
  @extra_params
end

#host_nameObject

the host part of the url



3777
3778
3779
# File 'lib/kaltura_types.rb', line 3777

def host_name
  @host_name
end

#idObject

The id of the Delivery



3760
3761
3762
# File 'lib/kaltura_types.rb', line 3760

def id
  @id
end

#is_defaultObject

True if this is the systemwide default for the protocol



3782
3783
3784
# File 'lib/kaltura_types.rb', line 3782

def is_default
  @is_default
end

#media_protocolsObject

Comma separated list of supported media protocols. f.i. rtmpe



3786
3787
3788
# File 'lib/kaltura_types.rb', line 3786

def media_protocols
  @media_protocols
end

#nameObject

The name of the Delivery



3763
3764
3765
# File 'lib/kaltura_types.rb', line 3763

def name
  @name
end

#parent_idObject

the object from which this object was cloned (or 0)



3784
3785
3786
# File 'lib/kaltura_types.rb', line 3784

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



3761
3762
3763
# File 'lib/kaltura_types.rb', line 3761

def partner_id
  @partner_id
end

#priorityObject

priority used for ordering similar delivery profiles



3788
3789
3790
# File 'lib/kaltura_types.rb', line 3788

def priority
  @priority
end

#recognizerObject

Returns the value of attribute recognizer.



3779
3780
3781
# File 'lib/kaltura_types.rb', line 3779

def recognizer
  @recognizer
end

#statusObject

Returns the value of attribute status.



3778
3779
3780
# File 'lib/kaltura_types.rb', line 3778

def status
  @status
end

#streamer_typeObject

Returns the value of attribute streamer_type.



3774
3775
3776
# File 'lib/kaltura_types.rb', line 3774

def streamer_type
  @streamer_type
end

#supplementary_assets_filterObject

A filter that can be used to include additional assets in the URL (e.g. captions)



3792
3793
3794
# File 'lib/kaltura_types.rb', line 3792

def supplementary_assets_filter
  @supplementary_assets_filter
end

#system_nameObject

System name of the delivery



3767
3768
3769
# File 'lib/kaltura_types.rb', line 3767

def system_name
  @system_name
end

#tokenizerObject

Returns the value of attribute tokenizer.



3780
3781
3782
# File 'lib/kaltura_types.rb', line 3780

def tokenizer
  @tokenizer
end

#typeObject

Delivery type



3765
3766
3767
# File 'lib/kaltura_types.rb', line 3765

def type
  @type
end

#updated_atObject

Update time as Unix timestamp (In seconds)



3773
3774
3775
# File 'lib/kaltura_types.rb', line 3773

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



3775
3776
3777
# File 'lib/kaltura_types.rb', line 3775

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
# File 'lib/kaltura_types.rb', line 3819

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['partnerId'] != nil
    self.partner_id = xml_element.elements['partnerId'].text
  end
  if xml_element.elements['name'] != nil
    self.name = xml_element.elements['name'].text
  end
  if xml_element.elements['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['systemName'] != nil
    self.system_name = xml_element.elements['systemName'].text
  end
  if xml_element.elements['description'] != nil
    self.description = xml_element.elements['description'].text
  end
  if xml_element.elements['createdAt'] != nil
    self.created_at = xml_element.elements['createdAt'].text
  end
  if xml_element.elements['updatedAt'] != nil
    self.updated_at = xml_element.elements['updatedAt'].text
  end
  if xml_element.elements['streamerType'] != nil
    self.streamer_type = xml_element.elements['streamerType'].text
  end
  if xml_element.elements['url'] != nil
    self.url = xml_element.elements['url'].text
  end
  if xml_element.elements['hostName'] != nil
    self.host_name = xml_element.elements['hostName'].text
  end
  if xml_element.elements['status'] != nil
    self.status = xml_element.elements['status'].text
  end
  if xml_element.elements['recognizer'] != nil
    self.recognizer = KalturaClientBase.object_from_xml(xml_element.elements['recognizer'], 'KalturaUrlRecognizer')
  end
  if xml_element.elements['tokenizer'] != nil
    self.tokenizer = KalturaClientBase.object_from_xml(xml_element.elements['tokenizer'], 'KalturaUrlTokenizer')
  end
  if xml_element.elements['isDefault'] != nil
    self.is_default = xml_element.elements['isDefault'].text
  end
  if xml_element.elements['parentId'] != nil
    self.parent_id = xml_element.elements['parentId'].text
  end
  if xml_element.elements['mediaProtocols'] != nil
    self.media_protocols = xml_element.elements['mediaProtocols'].text
  end
  if xml_element.elements['priority'] != nil
    self.priority = xml_element.elements['priority'].text
  end
  if xml_element.elements['extraParams'] != nil
    self.extra_params = xml_element.elements['extraParams'].text
  end
  if xml_element.elements['supplementaryAssetsFilter'] != nil
    self.supplementary_assets_filter = KalturaClientBase.object_from_xml(xml_element.elements['supplementaryAssetsFilter'], 'KalturaAssetFilter')
  end
end