Class: OpenApiSDK::Models::Operations::UpdateFolderRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/updatefolder_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id:, request_body: nil) ⇒ UpdateFolderRequest

Returns a new instance of UpdateFolderRequest.



21
22
23
24
# File 'lib/open_api_sdk/models/operations/updatefolder_request.rb', line 21

def initialize(id:, request_body: nil)
  @id = id
  @request_body = request_body
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
32
# File 'lib/open_api_sdk/models/operations/updatefolder_request.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @request_body == other.request_body
  true
end