Class: Rafflesia::ServerlessWorkloadProfileListRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ServerlessWorkloadProfileListRequest
- Defined in:
- lib/rafflesia/cache/serverless_workload_profile_list_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ workload: :workload }.freeze
Instance Attribute Summary collapse
-
#workload ⇒ Object
Returns the value of attribute workload.
Instance Method Summary collapse
-
#initialize(json) ⇒ ServerlessWorkloadProfileListRequest
constructor
A new instance of ServerlessWorkloadProfileListRequest.
Constructor Details
#initialize(json) ⇒ ServerlessWorkloadProfileListRequest
Returns a new instance of ServerlessWorkloadProfileListRequest.
14 15 16 17 18 |
# File 'lib/rafflesia/cache/serverless_workload_profile_list_request.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @workload = hash[:workload] end |
Instance Attribute Details
#workload ⇒ Object
Returns the value of attribute workload.
12 13 14 |
# File 'lib/rafflesia/cache/serverless_workload_profile_list_request.rb', line 12 def workload @workload end |