struct CB::Client::ClusterDetail
- CB::Client::ClusterDetail
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
Constructors
- .new(id : String, team_id : String, name : String, state : String, created_at : Time, cpu : Int32, is_ha : Bool, major_version : Int32, plan_id : String, memory : Int32, oldest_backup : Time | Nil, provider_id : String, region_id : String, storage : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(id _id = @id, team_id _team_id = @team_id, name _name = @name, state _state = @state, created_at _created_at = @created_at, cpu _cpu = @cpu, is_ha _is_ha = @is_ha, major_version _major_version = @major_version, plan_id _plan_id = @plan_id, memory _memory = @memory, oldest_backup _oldest_backup = @oldest_backup, provider_id _provider_id = @provider_id, region_id _region_id = @region_id, storage _storage = @storage)
- #cpu : Int32
- #created_at : Time
- #id : String
- #is_ha : Bool
- #major_version : Int32
- #memory : Int32
- #name : String
- #oldest_backup : Time | Nil
- #plan_id : String
- #provider_id : String
- #region_id : String
- #state : String
- #storage : Int32
- #team_id : String
Constructor Detail
def self.new(id : String, team_id : String, name : String, state : String, created_at : Time, cpu : Int32, is_ha : Bool, major_version : Int32, plan_id : String, memory : Int32, oldest_backup : Time | Nil, provider_id : String, region_id : String, storage : Int32)
#
Instance Method Detail
def copy_with(id _id = @id, team_id _team_id = @team_id, name _name = @name, state _state = @state, created_at _created_at = @created_at, cpu _cpu = @cpu, is_ha _is_ha = @is_ha, major_version _major_version = @major_version, plan_id _plan_id = @plan_id, memory _memory = @memory, oldest_backup _oldest_backup = @oldest_backup, provider_id _provider_id = @provider_id, region_id _region_id = @region_id, storage _storage = @storage)
#