Class: Rafflesia::ServerlessWorkloadProfileListRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/cache/serverless_workload_profile_list_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  workload: :workload
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#workloadObject

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