struct Twitch::User
- Twitch::User
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
twitch/dto/user.crConstructors
- .new(id : String, login : String, display_name : String, type : String, broadcaster_type : String, description : String, profile_image_url : String, offline_image_url : String, view_count : Int32, created_at : Time)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #broadcaster_type : String
- #clone
- #copy_with(id _id = @id, login _login = @login, display_name _display_name = @display_name, type _type = @type, broadcaster_type _broadcaster_type = @broadcaster_type, description _description = @description, profile_image_url _profile_image_url = @profile_image_url, offline_image_url _offline_image_url = @offline_image_url, view_count _view_count = @view_count, created_at _created_at = @created_at)
- #created_at : Time
- #description : String
- #display_name : String
- #id : String
- #login : String
- #offline_image_url : String
- #profile_image_url : String
- #type : String
- #view_count : Int32
Constructor Detail
def self.new(id : String, login : String, display_name : String, type : String, broadcaster_type : String, description : String, profile_image_url : String, offline_image_url : String, view_count : Int32, created_at : Time)
#
Instance Method Detail
def copy_with(id _id = @id, login _login = @login, display_name _display_name = @display_name, type _type = @type, broadcaster_type _broadcaster_type = @broadcaster_type, description _description = @description, profile_image_url _profile_image_url = @profile_image_url, offline_image_url _offline_image_url = @offline_image_url, view_count _view_count = @view_count, created_at _created_at = @created_at)
#