models.cassandra_ports_info module

class models.cassandra_ports_info.CassandraPortsInfo(jmx_port=None, native_transport_port=None, rpc_port=None, ssl_storage_port=None, storage_port=None)[source]

Bases: object

Implementation of the ‘CassandraPortsInfo’ model.

Specifies an Object containing information on various Cassandra ports.

Attributes:

jmx_port (int): Specifies the Cassandra JMX port. native_transport_port (int): Specifies the port for the CQL native

transport.

rpc_port (int): Specifies the Remote Procedure Call (RPC) port for

general mechanism for client-server applications.

ssl_storage_port (string): Specifies the SSL port for encrypted

communication.

storage_port (int): Specifies the attributes and the latest

statistics about an entity.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.