class Kaltura::KalturaHttpNotificationDispatchJobData

Attributes

authentication_method[RW]

The HTTP authentication method to use.

connect_timeout[RW]

The number of seconds to wait while trying to connect.

Must be larger than zero.
content_type[RW]

The type of the data to send.

custom_headers[RW]

Adds a e-mail custom header

data[RW]

Data to send.

method[RW]

Request method.

password[RW]

A password to use for the connection.

sign_secret[RW]

The secret to sign the notification with

ssl_certificate[RW]

SSL certificate to verify the peer with.

ssl_certificate_password[RW]

The password required to use the certificate.

ssl_certificate_type[RW]

The format of the certificate.

ssl_engine[RW]

The identifier for the crypto engine of the private SSL key specified in ssl key.

ssl_engine_default[RW]

The identifier for the crypto engine used for asymmetric crypto operations.

ssl_key[RW]

Private SSL key.

ssl_key_password[RW]

The secret password needed to use the private SSL key specified in ssl key.

ssl_key_type[RW]

The key type of the private SSL key specified in ssl key - PEM / DER / ENG.

ssl_version[RW]

The SSL version (2 or 3) to use.

By default PHP will try to determine this itself, although in some cases this must be set manually.
timeout[RW]

The maximum number of seconds to allow cURL functions to execute.

url[RW]

Remote server URL

username[RW]

A username to use for the connection.

Public Instance Methods

authentication_method=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 368
def authentication_method=(val)
        @authentication_method = val.to_i
end
connect_timeout=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 365
def connect_timeout=(val)
        @connect_timeout = val.to_i
end
from_xml(xml_element) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 375
def from_xml(xml_element)
        super
        if xml_element.elements['url'] != nil
                self.url = xml_element.elements['url'].text
        end
        if xml_element.elements['method'] != nil
                self.method = xml_element.elements['method'].text
        end
        if xml_element.elements['contentType'] != nil
                self.content_type = xml_element.elements['contentType'].text
        end
        if xml_element.elements['data'] != nil
                self.data = xml_element.elements['data'].text
        end
        if xml_element.elements['timeout'] != nil
                self.timeout = xml_element.elements['timeout'].text
        end
        if xml_element.elements['connectTimeout'] != nil
                self.connect_timeout = xml_element.elements['connectTimeout'].text
        end
        if xml_element.elements['username'] != nil
                self.username = xml_element.elements['username'].text
        end
        if xml_element.elements['password'] != nil
                self.password = xml_element.elements['password'].text
        end
        if xml_element.elements['authenticationMethod'] != nil
                self.authentication_method = xml_element.elements['authenticationMethod'].text
        end
        if xml_element.elements['sslVersion'] != nil
                self.ssl_version = xml_element.elements['sslVersion'].text
        end
        if xml_element.elements['sslCertificate'] != nil
                self.ssl_certificate = xml_element.elements['sslCertificate'].text
        end
        if xml_element.elements['sslCertificateType'] != nil
                self.ssl_certificate_type = xml_element.elements['sslCertificateType'].text
        end
        if xml_element.elements['sslCertificatePassword'] != nil
                self.ssl_certificate_password = xml_element.elements['sslCertificatePassword'].text
        end
        if xml_element.elements['sslEngine'] != nil
                self.ssl_engine = xml_element.elements['sslEngine'].text
        end
        if xml_element.elements['sslEngineDefault'] != nil
                self.ssl_engine_default = xml_element.elements['sslEngineDefault'].text
        end
        if xml_element.elements['sslKeyType'] != nil
                self.ssl_key_type = xml_element.elements['sslKeyType'].text
        end
        if xml_element.elements['sslKey'] != nil
                self.ssl_key = xml_element.elements['sslKey'].text
        end
        if xml_element.elements['sslKeyPassword'] != nil
                self.ssl_key_password = xml_element.elements['sslKeyPassword'].text
        end
        if xml_element.elements['customHeaders'] != nil
                self.custom_headers = KalturaClientBase.object_from_xml(xml_element.elements['customHeaders'], 'KalturaKeyValue')
        end
        if xml_element.elements['signSecret'] != nil
                self.sign_secret = xml_element.elements['signSecret'].text
        end
end
method=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 359
def method=(val)
        @method = val.to_i
end
ssl_version=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 371
def ssl_version=(val)
        @ssl_version = val.to_i
end
timeout=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 362
def timeout=(val)
        @timeout = val.to_i
end