Class: Kaltura::KalturaGenericDistributionProviderAction

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.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

#actionObject

Returns the value of attribute action.



859
860
861
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 859

def action
  @action
end

#created_atObject

Generic distribution provider action creation date as Unix timestamp (In seconds)



855
856
857
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 855

def created_at
  @created_at
end

#editable_fieldsObject

Returns the value of attribute editable_fields.



867
868
869
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 867

def editable_fields
  @editable_fields
end

#generic_distribution_provider_idObject

Returns the value of attribute generic_distribution_provider_id.



858
859
860
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 858

def generic_distribution_provider_id
  @generic_distribution_provider_id
end

#idObject

Auto generated



853
854
855
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 853

def id
  @id
end

#mandatory_fieldsObject

Returns the value of attribute mandatory_fields.



868
869
870
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 868

def mandatory_fields
  @mandatory_fields
end

#mrss_transformerObject

Returns the value of attribute mrss_transformer.



869
870
871
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 869

def mrss_transformer
  @mrss_transformer
end

#mrss_validatorObject

Returns the value of attribute mrss_validator.



870
871
872
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 870

def mrss_validator
  @mrss_validator
end

#protocolObject

Returns the value of attribute protocol.



862
863
864
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 862

def protocol
  @protocol
end

#remote_passwordObject

Returns the value of attribute remote_password.



866
867
868
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 866

def remote_password
  @remote_password
end

#remote_pathObject

Returns the value of attribute remote_path.



864
865
866
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 864

def remote_path
  @remote_path
end

#remote_usernameObject

Returns the value of attribute remote_username.



865
866
867
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 865

def remote_username
  @remote_username
end

#results_parserObject

Returns the value of attribute results_parser.



861
862
863
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 861

def results_parser
  @results_parser
end

#results_transformerObject

Returns the value of attribute results_transformer.



871
872
873
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 871

def results_transformer
  @results_transformer
end

#server_addressObject

Returns the value of attribute server_address.



863
864
865
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 863

def server_address
  @server_address
end

#statusObject

Returns the value of attribute status.



860
861
862
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 860

def status
  @status
end

#updated_atObject

Generic distribution provider action last update date as Unix timestamp (In seconds)



857
858
859
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 857

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 898

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].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['genericDistributionProviderId'] != nil
    self.generic_distribution_provider_id = xml_element.elements['genericDistributionProviderId'].text
  end
  if xml_element.elements['action'] != nil
    self.action = xml_element.elements['action'].text
  end
  if xml_element.elements['status'] != nil
    self.status = xml_element.elements['status'].text
  end
  if xml_element.elements['resultsParser'] != nil
    self.results_parser = xml_element.elements['resultsParser'].text
  end
  if xml_element.elements['protocol'] != nil
    self.protocol = xml_element.elements['protocol'].text
  end
  if xml_element.elements['serverAddress'] != nil
    self.server_address = xml_element.elements['serverAddress'].text
  end
  if xml_element.elements['remotePath'] != nil
    self.remote_path = xml_element.elements['remotePath'].text
  end
  if xml_element.elements['remoteUsername'] != nil
    self.remote_username = xml_element.elements['remoteUsername'].text
  end
  if xml_element.elements['remotePassword'] != nil
    self.remote_password = xml_element.elements['remotePassword'].text
  end
  if xml_element.elements['editableFields'] != nil
    self.editable_fields = xml_element.elements['editableFields'].text
  end
  if xml_element.elements['mandatoryFields'] != nil
    self.mandatory_fields = xml_element.elements['mandatoryFields'].text
  end
  if xml_element.elements['mrssTransformer'] != nil
    self.mrss_transformer = xml_element.elements['mrssTransformer'].text
  end
  if xml_element.elements['mrssValidator'] != nil
    self.mrss_validator = xml_element.elements['mrssValidator'].text
  end
  if xml_element.elements['resultsTransformer'] != nil
    self.results_transformer = xml_element.elements['resultsTransformer'].text
  end
end