Class: OvirtSDK4::GlusterClient
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::GlusterClient
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) bytes_read
Returns the value of the
bytes_read
attribute. -
- (Object) bytes_read=(value)
Sets the value of the
bytes_read
attribute. -
- (Integer) bytes_written
Returns the value of the
bytes_written
attribute. -
- (Object) bytes_written=(value)
Sets the value of the
bytes_written
attribute. -
- (Integer) client_port
Returns the value of the
client_port
attribute. -
- (Object) client_port=(value)
Sets the value of the
client_port
attribute. -
- (String) host_name
Returns the value of the
host_name
attribute. -
- (Object) host_name=(value)
Sets the value of the
host_name
attribute. -
- (GlusterClient) initialize(opts = {})
constructor
Creates a new instance of the GlusterClient class.
Methods included from Type
Constructor Details
- (GlusterClient) initialize(opts = {})
Creates a new instance of the OvirtSDK4::GlusterClient class.
2953 2954 2955 2956 2957 2958 2959 |
# File 'lib/ovirtsdk4/types.rb', line 2953 def initialize(opts = {}) super(opts) self.bytes_read = opts[:bytes_read] self.bytes_written = opts[:bytes_written] self.client_port = opts[:client_port] self.host_name = opts[:host_name] end |
Instance Method Details
- (Integer) bytes_read
Returns the value of the bytes_read
attribute.
2870 2871 2872 |
# File 'lib/ovirtsdk4/types.rb', line 2870 def bytes_read return @bytes_read end |
- (Object) bytes_read=(value)
Sets the value of the bytes_read
attribute.
2879 2880 2881 |
# File 'lib/ovirtsdk4/types.rb', line 2879 def bytes_read=(value) @bytes_read = value end |
- (Integer) bytes_written
Returns the value of the bytes_written
attribute.
2888 2889 2890 |
# File 'lib/ovirtsdk4/types.rb', line 2888 def bytes_written return @bytes_written end |
- (Object) bytes_written=(value)
Sets the value of the bytes_written
attribute.
2897 2898 2899 |
# File 'lib/ovirtsdk4/types.rb', line 2897 def bytes_written=(value) @bytes_written = value end |
- (Integer) client_port
Returns the value of the client_port
attribute.
2906 2907 2908 |
# File 'lib/ovirtsdk4/types.rb', line 2906 def client_port return @client_port end |
- (Object) client_port=(value)
Sets the value of the client_port
attribute.
2915 2916 2917 |
# File 'lib/ovirtsdk4/types.rb', line 2915 def client_port=(value) @client_port = value end |
- (String) host_name
Returns the value of the host_name
attribute.
2924 2925 2926 |
# File 'lib/ovirtsdk4/types.rb', line 2924 def host_name return @host_name end |
- (Object) host_name=(value)
Sets the value of the host_name
attribute.
2933 2934 2935 |
# File 'lib/ovirtsdk4/types.rb', line 2933 def host_name=(value) @host_name = value end |