Class: SDM::AccountGroupListRequest
- Inherits:
-
Object
- Object
- SDM::AccountGroupListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
GroupListRequest specifies criteria for retrieving a list of groups.
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ AccountGroupListRequest
constructor
A new instance of AccountGroupListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ AccountGroupListRequest
Returns a new instance of AccountGroupListRequest.
1757 1758 1759 1760 1761 |
# File 'lib/models/porcelain.rb', line 1757 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
1755 1756 1757 |
# File 'lib/models/porcelain.rb', line 1755 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/models/porcelain.rb', line 1763 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |