struct CB::Model::SavedQuery

Included Modules

Defined in:

Constructors

Instance Method Summary

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) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def clone #

def cluster_id : String #

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) #

def created_at : Time #

def id : String #

def name : String #

def saved_query_folder_id : String | Nil #

def sql : String | Nil #

def team_id : String #

def updated_at : Time #