Class: OmnifocusMcp::Tools::Params::QueryOmnifocusParams

Inherits:
Data
  • Object
show all
Defined in:
lib/omnifocus_mcp/tools/params.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#entityObject (readonly)

Returns the value of attribute entity

Returns:

  • (Object)

    the current value of entity



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def entity
  @entity
end

#fieldsObject (readonly)

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def fields
  @fields
end

#filtersObject (readonly)

Returns the value of attribute filters

Returns:

  • (Object)

    the current value of filters



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def filters
  @filters
end

#formatObject (readonly)

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def format
  @format
end

#include_completedObject (readonly)

Returns the value of attribute include_completed

Returns:

  • (Object)

    the current value of include_completed



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def include_completed
  @include_completed
end

#limitObject (readonly)

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def limit
  @limit
end

#sort_byObject (readonly)

Returns the value of attribute sort_by

Returns:

  • (Object)

    the current value of sort_by



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def sort_by
  @sort_by
end

#sort_orderObject (readonly)

Returns the value of attribute sort_order

Returns:

  • (Object)

    the current value of sort_order



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def sort_order
  @sort_order
end

#summaryObject (readonly)

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



43
44
45
# File 'lib/omnifocus_mcp/tools/params.rb', line 43

def summary
  @summary
end

Class Method Details

.from_hash(hash) ⇒ Object



48
# File 'lib/omnifocus_mcp/tools/params.rb', line 48

def self.from_hash(hash) = McpBoundary.from_hash(self, hash)

.from_mcp(args) ⇒ Object



47
# File 'lib/omnifocus_mcp/tools/params.rb', line 47

def self.from_mcp(args) = McpBoundary.build(self, args, deep: true)