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)



3886
3887
3888
# File 'lib/kaltura_types.rb', line 3886

def created_at
  @created_at
end

#descriptionObject

The description of the Delivery



3884
3885
3886
# File 'lib/kaltura_types.rb', line 3884

def description
  @description
end

#extra_paramsObject

Extra query string parameters that should be added to the url



3905
3906
3907
# File 'lib/kaltura_types.rb', line 3905

def extra_params
  @extra_params
end

#host_nameObject

the host part of the url



3892
3893
3894
# File 'lib/kaltura_types.rb', line 3892

def host_name
  @host_name
end

#idObject

The id of the Delivery



3875
3876
3877
# File 'lib/kaltura_types.rb', line 3875

def id
  @id
end

#is_defaultObject

True if this is the systemwide default for the protocol



3897
3898
3899
# File 'lib/kaltura_types.rb', line 3897

def is_default
  @is_default
end

#media_protocolsObject

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



3901
3902
3903
# File 'lib/kaltura_types.rb', line 3901

def media_protocols
  @media_protocols
end

#nameObject

The name of the Delivery



3878
3879
3880
# File 'lib/kaltura_types.rb', line 3878

def name
  @name
end

#parent_idObject

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



3899
3900
3901
# File 'lib/kaltura_types.rb', line 3899

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



3876
3877
3878
# File 'lib/kaltura_types.rb', line 3876

def partner_id
  @partner_id
end

#priorityObject

priority used for ordering similar delivery profiles



3903
3904
3905
# File 'lib/kaltura_types.rb', line 3903

def priority
  @priority
end

#recognizerObject

Returns the value of attribute recognizer.



3894
3895
3896
# File 'lib/kaltura_types.rb', line 3894

def recognizer
  @recognizer
end

#statusObject

Returns the value of attribute status.



3893
3894
3895
# File 'lib/kaltura_types.rb', line 3893

def status
  @status
end

#streamer_typeObject

Returns the value of attribute streamer_type.



3889
3890
3891
# File 'lib/kaltura_types.rb', line 3889

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)



3907
3908
3909
# File 'lib/kaltura_types.rb', line 3907

def supplementary_assets_filter
  @supplementary_assets_filter
end

#system_nameObject

System name of the delivery



3882
3883
3884
# File 'lib/kaltura_types.rb', line 3882

def system_name
  @system_name
end

#tokenizerObject

Returns the value of attribute tokenizer.



3895
3896
3897
# File 'lib/kaltura_types.rb', line 3895

def tokenizer
  @tokenizer
end

#typeObject

Delivery type



3880
3881
3882
# File 'lib/kaltura_types.rb', line 3880

def type
  @type
end

#updated_atObject

Update time as Unix timestamp (In seconds)



3888
3889
3890
# File 'lib/kaltura_types.rb', line 3888

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



3890
3891
3892
# File 'lib/kaltura_types.rb', line 3890

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
# File 'lib/kaltura_types.rb', line 3934

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