struct
CB::Model::SavedQuery
- CB::Model::SavedQuery
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
Constructors
- .new(id : String, name : String, sql : String | Nil = nil, cluster_id : String = "", team_id : String = "", saved_query_folder_id : String | Nil = nil, created_at : Time = Time::ZERO, updated_at : Time = Time::ZERO)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #cluster_id : String
- #copy_with(id _id = @id, name _name = @name, sql _sql = @sql, cluster_id _cluster_id = @cluster_id, team_id _team_id = @team_id, saved_query_folder_id _saved_query_folder_id = @saved_query_folder_id, created_at _created_at = @created_at, updated_at _updated_at = @updated_at)
- #created_at : Time
- #id : String
- #name : String
- #saved_query_folder_id : String | Nil
- #sql : String | Nil
- #team_id : String
- #updated_at : Time
Constructor Detail
def self.new(id : String, name : String, sql : String | Nil = nil, cluster_id : String = "", team_id : String = "", saved_query_folder_id : String | Nil = nil, created_at : Time = Time::ZERO, updated_at : Time = Time::ZERO)
#
Instance Method Detail
def copy_with(id _id = @id, name _name = @name, sql _sql = @sql, cluster_id _cluster_id = @cluster_id, team_id _team_id = @team_id, saved_query_folder_id _saved_query_folder_id = @saved_query_folder_id, created_at _created_at = @created_at, updated_at _updated_at = @updated_at)
#