Class: SDM::GroupRoleListRequest
- Inherits:
-
Object
- Object
- SDM::GroupRoleListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
GroupRoleListRequest 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) ⇒ GroupRoleListRequest
constructor
A new instance of GroupRoleListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ GroupRoleListRequest
Returns a new instance of GroupRoleListRequest.
7655 7656 7657 7658 7659 |
# File 'lib/models/porcelain.rb', line 7655 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
7653 7654 7655 |
# File 'lib/models/porcelain.rb', line 7653 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
7661 7662 7663 7664 7665 7666 7667 |
# File 'lib/models/porcelain.rb', line 7661 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 |