Class: OmnifocusMcp::Tools::Params::GetPerspectiveViewParams
- Inherits:
-
Data
- Object
- Data
- OmnifocusMcp::Tools::Params::GetPerspectiveViewParams
- Defined in:
- lib/omnifocus_mcp/tools/params.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
-
#perspective_name ⇒ Object
readonly
Returns the value of attribute perspective_name.
Class Method Summary collapse
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields
87 88 89 |
# File 'lib/omnifocus_mcp/tools/params.rb', line 87 def fields @fields end |
#limit ⇒ Object (readonly)
Returns the value of attribute limit
87 88 89 |
# File 'lib/omnifocus_mcp/tools/params.rb', line 87 def limit @limit end |
#perspective_name ⇒ Object (readonly)
Returns the value of attribute perspective_name
87 88 89 |
# File 'lib/omnifocus_mcp/tools/params.rb', line 87 def perspective_name @perspective_name end |
Class Method Details
.from_hash(hash) ⇒ Object
96 97 98 99 100 101 102 |
# File 'lib/omnifocus_mcp/tools/params.rb', line 96 def self.from_hash(hash) new( perspective_name: hash[:perspective_name], limit: hash[:limit], fields: hash[:fields] ) end |
.from_mcp(args) ⇒ Object
88 89 90 91 92 93 94 |
# File 'lib/omnifocus_mcp/tools/params.rb', line 88 def self.from_mcp(args) new( perspective_name: args[:perspectiveName], limit: args[:limit], fields: args[:fields] ) end |