Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverList

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/redis/dsl/databases/v1/redis_failover_list.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



26
27
28
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_list.rb', line 26

def kind_sym
  :redis_failover_list
end

#serializeObject



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