struct
TwitterAds::Proto::User
- TwitterAds::Proto::User
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/user.pb.crConstant Summary
-
FIELDS =
{1 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :friends_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :screen_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :location, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :profile_image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :profile_background_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :profile_use_background_image, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_translator, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :geo_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :profile_link_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :id_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :listed_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :default_profile_image, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :followers_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :profile_image_url_https, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :profile_sidebar_border_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :profile_background_image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :favourites_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :default_profile, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :profile_background_tile, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :contributors_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :profile_sidebar_fill_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :translator_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :profile_text_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :verified, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :profile_banner_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :statuses_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :profile_background_image_url_https, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :is_translation_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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(name : String | Nil = nil, friends_count : Int64 | Nil = nil, screen_name : String | Nil = nil, location : String | Nil = nil, url : String | Nil = nil, profile_image_url : String | Nil = nil, profile_background_color : String | Nil = nil, profile_use_background_image : Bool | Nil = nil, is_translator : Bool | Nil = nil, geo_enabled : Bool | Nil = nil, description : String | Nil = nil, profile_link_color : String | Nil = nil, id_str : String | Nil = nil, listed_count : Int64 | Nil = nil, default_profile_image : Bool | Nil = nil, followers_count : Int64 | Nil = nil, profile_image_url_https : String | Nil = nil, profile_sidebar_border_color : String | Nil = nil, profile_background_image_url : String | Nil = nil, favourites_count : Int64 | Nil = nil, default_profile : Bool | Nil = nil, id : Int64 | Nil = nil, profile_background_tile : Bool | Nil = nil, contributors_enabled : Bool | Nil = nil, created_at : String | Nil = nil, profile_sidebar_fill_color : String | Nil = nil, translator_type : String | Nil = nil, profile_text_color : String | Nil = nil, verified : Bool | Nil = nil, profile_banner_url : String | Nil = nil, statuses_count : Int64 | Nil = nil, profile_background_image_url_https : String | Nil = nil, is_translation_enabled : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #contributors_enabled : Bool | Nil
- #contributors_enabled=(contributors_enabled : Bool | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #default_profile : Bool | Nil
- #default_profile=(default_profile : Bool | Nil)
- #default_profile_image : Bool | Nil
- #default_profile_image=(default_profile_image : Bool | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #favourites_count : Int64 | Nil
- #favourites_count=(favourites_count : Int64 | Nil)
- #followers_count : Int64 | Nil
- #followers_count=(followers_count : Int64 | Nil)
- #friends_count : Int64 | Nil
- #friends_count=(friends_count : Int64 | Nil)
- #geo_enabled : Bool | Nil
- #geo_enabled=(geo_enabled : Bool | Nil)
- #id : Int64 | Nil
- #id=(id : Int64 | Nil)
- #id_str : String | Nil
- #id_str=(id_str : String | Nil)
- #is_translation_enabled : Bool | Nil
- #is_translation_enabled=(is_translation_enabled : Bool | Nil)
- #is_translator : Bool | Nil
- #is_translator=(is_translator : Bool | Nil)
- #listed_count : Int64 | Nil
- #listed_count=(listed_count : Int64 | Nil)
- #location : String | Nil
- #location=(location : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #profile_background_color : String | Nil
- #profile_background_color=(profile_background_color : String | Nil)
- #profile_background_image_url : String | Nil
- #profile_background_image_url=(profile_background_image_url : String | Nil)
- #profile_background_image_url_https : String | Nil
- #profile_background_image_url_https=(profile_background_image_url_https : String | Nil)
- #profile_background_tile : Bool | Nil
- #profile_background_tile=(profile_background_tile : Bool | Nil)
- #profile_banner_url : String | Nil
- #profile_banner_url=(profile_banner_url : String | Nil)
- #profile_image_url : String | Nil
- #profile_image_url=(profile_image_url : String | Nil)
- #profile_image_url_https : String | Nil
- #profile_image_url_https=(profile_image_url_https : String | Nil)
- #profile_link_color : String | Nil
- #profile_link_color=(profile_link_color : String | Nil)
- #profile_sidebar_border_color : String | Nil
- #profile_sidebar_border_color=(profile_sidebar_border_color : String | Nil)
- #profile_sidebar_fill_color : String | Nil
- #profile_sidebar_fill_color=(profile_sidebar_fill_color : String | Nil)
- #profile_text_color : String | Nil
- #profile_text_color=(profile_text_color : String | Nil)
- #profile_use_background_image : Bool | Nil
- #profile_use_background_image=(profile_use_background_image : Bool | Nil)
- #screen_name : String | Nil
- #screen_name=(screen_name : String | Nil)
- #statuses_count : Int64 | Nil
- #statuses_count=(statuses_count : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #translator_type : String | Nil
- #translator_type=(translator_type : String | Nil)
- #url : String | Nil
- #url=(url : String | Nil)
- #verified : Bool | Nil
- #verified=(verified : Bool | Nil)
Constructor Detail
def self.new(name : String | Nil = nil, friends_count : Int64 | Nil = nil, screen_name : String | Nil = nil, location : String | Nil = nil, url : String | Nil = nil, profile_image_url : String | Nil = nil, profile_background_color : String | Nil = nil, profile_use_background_image : Bool | Nil = nil, is_translator : Bool | Nil = nil, geo_enabled : Bool | Nil = nil, description : String | Nil = nil, profile_link_color : String | Nil = nil, id_str : String | Nil = nil, listed_count : Int64 | Nil = nil, default_profile_image : Bool | Nil = nil, followers_count : Int64 | Nil = nil, profile_image_url_https : String | Nil = nil, profile_sidebar_border_color : String | Nil = nil, profile_background_image_url : String | Nil = nil, favourites_count : Int64 | Nil = nil, default_profile : Bool | Nil = nil, id : Int64 | Nil = nil, profile_background_tile : Bool | Nil = nil, contributors_enabled : Bool | Nil = nil, created_at : String | Nil = nil, profile_sidebar_fill_color : String | Nil = nil, translator_type : String | Nil = nil, profile_text_color : String | Nil = nil, verified : Bool | Nil = nil, profile_banner_url : String | Nil = nil, statuses_count : Int64 | Nil = nil, profile_background_image_url_https : String | Nil = nil, is_translation_enabled : Bool | Nil = nil)
#