Class: SDM::AccessRequestListRequest
- Inherits:
-
Object
- Object
- SDM::AccessRequestListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
AccessRequestListRequest specifies criteria for retrieving a list of AccessRequest records
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ AccessRequestListRequest
constructor
A new instance of AccessRequestListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ AccessRequestListRequest
Returns a new instance of AccessRequestListRequest.
1039 1040 1041 1042 1043 |
# File 'lib/models/porcelain.rb', line 1039 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
1037 1038 1039 |
# File 'lib/models/porcelain.rb', line 1037 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/models/porcelain.rb', line 1045 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 |