Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverList
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::Redis::DSL::Databases::V1::RedisFailoverList
- Defined in:
- lib/kuby/redis/dsl/databases/v1/redis_failover_list.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
26 27 28 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_list.rb', line 26 def kind_sym :redis_failover_list end |
#serialize ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_list.rb', line 17 def serialize {}.tap do |result| result[:items] = items.map(&:serialize) result[:kind] = "RedisFailoverList" result[:apiVersion] = api_version result[:metadata] = .serialize end end |