struct
TwitterAds::Proto::ScheduledTweet
- TwitterAds::Proto::ScheduledTweet
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/scheduled_tweet.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #card_uri : String | Nil
- #card_uri=(card_uri : String | Nil)
- #completed_at : String | Nil
- #completed_at=(completed_at : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #id : Int64 | Nil
- #id=(id : Int64 | Nil)
- #id_str : String | Nil
- #id_str=(id_str : String | Nil)
- #media_ids : Array(String) | Nil
- #media_ids=(media_ids : Array(String) | Nil)
- #media_ids=(media_ids : Array(String) | Nil)
- #media_keys : Array(String) | Nil
- #media_keys=(media_keys : Array(String) | Nil)
- #media_keys=(media_keys : Array(String) | Nil)
- #nullcast : Bool | Nil
- #nullcast=(nullcast : Bool | Nil)
- #scheduled_at : String | Nil
- #scheduled_at=(scheduled_at : String | Nil)
- #scheduled_status : String | Nil
- #scheduled_status=(scheduled_status : String | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #tweet_id : String | Nil
- #tweet_id=(tweet_id : String | Nil)
- #updated_at : String | Nil
- #updated_at=(updated_at : String | Nil)
- #user_id : String | Nil
- #user_id=(user_id : String | Nil)
Constructor Detail
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)
#