struct TwitterAds::Proto::ScheduledTweet

Included Modules

Defined in:

twitter-ads/proto/scheduled_tweet.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :card_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :scheduled_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :scheduled_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :completed_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :media_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :media_keys, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 9 => {name: :nullcast, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :id_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :tweet_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :user_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :updated_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : Int64 | Nil = nil, card_uri : String | Nil = nil, scheduled_status : String | Nil = nil, scheduled_at : String | Nil = nil, completed_at : String | Nil = nil, text : String | Nil = nil, media_ids : Array(String) | Nil = nil, media_keys : Array(String) | Nil = nil, nullcast : Bool | Nil = nil, id_str : String | Nil = nil, tweet_id : String | Nil = nil, user_id : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, account_id : String | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def card_uri : String | Nil #

def card_uri=(card_uri : String | Nil) #

def completed_at : String | Nil #

def completed_at=(completed_at : String | Nil) #

def created_at : String | Nil #

def created_at=(created_at : String | Nil) #

def id : Int64 | Nil #

def id=(id : Int64 | Nil) #

def id_str : String | Nil #

def id_str=(id_str : String | Nil) #

def media_ids : Array(String) | Nil #

def media_ids=(media_ids : Array(String) | Nil) #

def media_ids=(media_ids : Array(String) | Nil) #

def media_keys : Array(String) | Nil #

def media_keys=(media_keys : Array(String) | Nil) #

def media_keys=(media_keys : Array(String) | Nil) #

def nullcast : Bool | Nil #

def nullcast=(nullcast : Bool | Nil) #

def scheduled_at : String | Nil #

def scheduled_at=(scheduled_at : String | Nil) #

def scheduled_status : String | Nil #

def scheduled_status=(scheduled_status : String | Nil) #

def text : String | Nil #

def text=(text : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def tweet_id : String | Nil #

def tweet_id=(tweet_id : String | Nil) #

def updated_at : String | Nil #

def updated_at=(updated_at : String | Nil) #

def user_id : String | Nil #

def user_id=(user_id : String | Nil) #