Class: EverSdk::Net::ParamsOfQueryOperation
- Inherits:
-
Object
- Object
- EverSdk::Net::ParamsOfQueryOperation
- Defined in:
- lib/ever_sdk_client/net.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#type_ ⇒ Object
readonly
Returns the value of attribute type_.
Class Method Summary collapse
- .new_with_type_aggregate_collection(params) ⇒ Object
- .new_with_type_query_collection(params) ⇒ Object
- .new_with_type_query_counterparties(params) ⇒ Object
- .new_with_type_wait_for_collection(params) ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
94 95 96 |
# File 'lib/ever_sdk_client/net.rb', line 94 def params @params end |
#type_ ⇒ Object (readonly)
Returns the value of attribute type_.
94 95 96 |
# File 'lib/ever_sdk_client/net.rb', line 94 def type_ @type_ end |
Class Method Details
.new_with_type_aggregate_collection(params) ⇒ Object
106 107 108 109 |
# File 'lib/ever_sdk_client/net.rb', line 106 def self.new_with_type_aggregate_collection(params) @type_ = :aggregate_collection @params = params end |
.new_with_type_query_collection(params) ⇒ Object
96 97 98 99 |
# File 'lib/ever_sdk_client/net.rb', line 96 def self.new_with_type_query_collection(params) @type_ = :query_collection @params = params end |
.new_with_type_query_counterparties(params) ⇒ Object
111 112 113 114 |
# File 'lib/ever_sdk_client/net.rb', line 111 def self.new_with_type_query_counterparties(params) @type_ = :query_counterparties @params = params end |
.new_with_type_wait_for_collection(params) ⇒ Object
101 102 103 104 |
# File 'lib/ever_sdk_client/net.rb', line 101 def self.new_with_type_wait_for_collection(params) @type_ = :wait_for_collection @params = params end |
Instance Method Details
#to_h ⇒ Object
116 117 118 119 120 121 122 123 |
# File 'lib/ever_sdk_client/net.rb', line 116 def to_h tp = { type: Helper.sym_to_capitalized_case_str(@type_) } param_keys = @params.to_h tp.merge(param_keys) end |