Class: Kombo::Models::Shared::PostPassthroughToolApiRequestBody
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostPassthroughToolApiRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postpassthroughtoolapirequestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(method:, path:, headers: nil, params: nil, data: nil, response_as_base64: nil, multipart_form_data: nil, api_options: nil) ⇒ PostPassthroughToolApiRequestBody
constructor
A new instance of PostPassthroughToolApiRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(method:, path:, headers: nil, params: nil, data: nil, response_as_base64: nil, multipart_form_data: nil, api_options: nil) ⇒ PostPassthroughToolApiRequestBody
Returns a new instance of PostPassthroughToolApiRequestBody.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/kombo/models/shared/postpassthroughtoolapirequestbody.rb', line 33 def initialize(method:, path:, headers: nil, params: nil, data: nil, response_as_base64: nil, multipart_form_data: nil, api_options: nil) @method = method @path = path @headers = headers @params = params @data = data @response_as_base64 = response_as_base64 @multipart_form_data = multipart_form_data @api_options = end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/kombo/models/shared/postpassthroughtoolapirequestbody.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @method == other.method return false unless @path == other.path return false unless @headers == other.headers return false unless @params == other.params return false unless @data == other.data return false unless @response_as_base64 == other.response_as_base64 return false unless @multipart_form_data == other.multipart_form_data return false unless @api_options == other. true end |