Class: SDM::ApprovalWorkflowStepListResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowStepListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowStepListResponse returns a list of ApprovalWorkflowStep records that meet the criteria of an ApprovalWorkflowStepListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowStepListResponse
constructor
A new instance of ApprovalWorkflowStepListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowStepListResponse
Returns a new instance of ApprovalWorkflowStepListResponse.
2864 2865 2866 2867 2868 |
# File 'lib/models/porcelain.rb', line 2864 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2862 2863 2864 |
# File 'lib/models/porcelain.rb', line 2862 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2870 2871 2872 2873 2874 2875 2876 |
# File 'lib/models/porcelain.rb', line 2870 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 |