純粋なモデル

説明


説明

MIT License

Copyright (c) 2023 ekkx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

class yaylib.models.Activity(data: dict)[ソース]

ベースクラス: Model

birthday_users: List[User]
birthday_users_count
created_at
data
followers: List[User]
followers_count
from_post: Post
from_post_ids
group: Group
id
metadata: Metadata
to_post: Post
type
user: User
vip_reward
class yaylib.models.ApplicationConfig(data: dict)[ソース]

ベースクラス: Model

data
description
id
itunes_app_id
name
server_name
settings: ApplicationConfigSettings
class yaylib.models.ApplicationConfigSettings(data: dict)[ソース]

ベースクラス: Model

ad_tester_user_ids
data
id_card_check_required_group_category_ids
is_call_chat_deletion_enabled
is_call_moderator_enabled
is_chat_websocket_enabled
is_direct_vip_purchase_enabled
is_gift_features_enabled
is_id_card_and_phone_verification_check_for_review_enabled
is_id_card_check_required_blocker_view_enabled
is_initial_post_enabled
is_maintenanced
is_oauth_enabled
is_phone_verification_required_blocker_view_enabled
is_speed_test_enabled
is_star_enabled
is_web_phone_verification_enabled
is_web_subscription_enabled
latest_android_app_version
latest_ios_app_version
line_official_account_id
localized_maintenance_url
localized_news_title
localized_news_url
max_image_frame_count
minimum_android_app_version_required
minimum_android_version_supported
minimum_app_version_required
minimum_ios_app_version_required
minimum_ios_version_supported
news_version
promotion_sticker_pack_ids
should_append_user_id_to_news_url
support_email_address
twitter_official_account_id
use_random_message_refresh_rate
class yaylib.models.Attachment(file, filename, original_file_name, original_file_extension, natural_width, natural_height, is_thumb: bool)[ソース]

ベースクラス: Model

class yaylib.models.BanWord(data: dict)[ソース]

ベースクラス: Model

data
id
type
word
class yaylib.models.Bgm(data: dict)[ソース]

ベースクラス: Model

data
id
music_url
order
title
class yaylib.models.CallGiftHistory(data: dict)[ソース]

ベースクラス: Model

data
gifts_count: List[GiftCount]
sender: User
sent_at
class yaylib.models.ChatRoom(data: dict)[ソース]

ベースクラス: Model

background
data
id
is_group
is_notification_on
is_pinned
is_request
last_message: Message
members: List[User]
name
owner: User
unread_count
updated_at
class yaylib.models.ChatRoomDraft(data: dict)[ソース]

ベースクラス: Model

data
id
text
class yaylib.models.ChatRoomEvent(data: dict)[ソース]

ベースクラス: Model

data
icon_thumbnail
id
last_message: Message
name
unread_count
class yaylib.models.Choice(data: dict)[ソース]

ベースクラス: Model

data
id
label
votes_count
class yaylib.models.CoinAmount(data: dict)[ソース]

ベースクラス: Model

data
free
paid
total
class yaylib.models.CoinExpiration(data: dict)[ソース]

ベースクラス: Model

amount
data
expired_at
class yaylib.models.CoinProduct(data: dict)[ソース]

ベースクラス: Model

amount
data
id
purchasable
class yaylib.models.CoinProductQuota(data: dict)[ソース]

ベースクラス: Model

bought
data
limit
class yaylib.models.ConferenceCall(data: dict)[ソース]

ベースクラス: Model

agora_channel
agora_token
anonymous_call_users_count
bump_params
call_type
conference_call_user_roles: List[ConferenceCallUserRole]
conference_call_users: List[User]
data
duration_seconds
game: Game
genre: Genre
group_id
id
is_active
joinable_by
max_participants
post_id
class yaylib.models.ConferenceCallUserRole(data: dict)[ソース]

ベースクラス: Model

data
id
role
user_id
class yaylib.models.ContactStatus(data: dict)[ソース]

ベースクラス: Model

data
status
user_id
class yaylib.models.CreateGroupQuota(data: dict)[ソース]

ベースクラス: Model

data
remaining_quota
used_quota
class yaylib.models.Error(data: dict)[ソース]

ベースクラス: Model

action
data
throwable
type
class yaylib.models.Footprint(data: dict)[ソース]

ベースクラス: Model

data
id
user: User
visited_at
class yaylib.models.Game(data: dict)[ソース]

ベースクラス: Model

data
icon_url
id
platform_details: PlatformDetails
title
type
class yaylib.models.Genre(data: dict)[ソース]

ベースクラス: Model

data
icon_url
id
title
type
class yaylib.models.GifImage(data: dict)[ソース]

ベースクラス: Model

data
height
id
url
width
class yaylib.models.GifImageCategory(data: dict)[ソース]

ベースクラス: Model

data
gifs: List[GifImage]
id
language
name
class yaylib.models.Gift(data: dict)[ソース]

ベースクラス: Model

data
icon
iconThumbnail
id
price
title
class yaylib.models.GiftCount(data: dict)[ソース]

ベースクラス: Model

data
id
quantity
class yaylib.models.GiftHistory(data: dict)[ソース]

ベースクラス: Model

data
gifts: List[ReceivedGift]
transaction_at_seconds
user: User
class yaylib.models.GiftingAbility(data: dict)[ソース]

ベースクラス: Model

can_receive
can_send
data
enabled
user_id
class yaylib.models.Group(data: dict)[ソース]

ベースクラス: Model

allow_members_to_post_image_and_video
allow_members_to_post_url
allow_ownership_transfer
allow_thread_creation_by
call_timeline_display
cover_image
cover_image_thumbnail
data
description
gender
generation_groups_limit
group_category_id
group_icon
group_icon_thumbnail
groups_users_count
guidelines
hide_conference_call
hide_from_game_eight
hide_reported_posts
highlighted_count
homepage
id
invited_to_join
is_joined
is_pending
is_private
moderator_ids
only_mobile_verified
only_verified_age
owner: User
pending_count
pending_deputize_ids
pending_transfer_id
place
posts_count
related_count
safe_mode
secret
seizable
seizable_before
sub_category_id
threads_count
title
topic
unread_counts
unread_threads_count
updated_at
user_id
views_count
walkthrough_requested
class yaylib.models.GroupCategory(data: dict)[ソース]

ベースクラス: Model

data
icon
id
name
rank
class yaylib.models.GroupGiftHistory(data: dict)[ソース]

ベースクラス: Model

data
gifts_count: List[GiftCount]
received_date
user: User
class yaylib.models.GroupUpdatesEvent(data: dict)[ソース]

ベースクラス: Model

data
event
response
class yaylib.models.GroupUser(data: dict)[ソース]

ベースクラス: Model

data
is_moderator
pending_deputize
pending_transfer
title
user: User
class yaylib.models.HiddenRecommendedPost(data: dict)[ソース]

ベースクラス: Model

data
post: Post
class yaylib.models.Interest(data: dict)[ソース]

ベースクラス: Model

data
icon
id
name
selected
class yaylib.models.Message(data: dict)[ソース]

ベースクラス: Model

attachment
attachment_android
attachment_read_count
attachment_thumbnail
conference_call: ConferenceCall
created_at
data
font_size
gif: GifImage
id
is_error
is_sent
message_type
parent: ParentMessage
reacted
reactions_count
refresh_retry_count
room_id
sticker: Sticker
text
user_id
video_processed
video_thumbnail_big_url
video_thumbnail_url
video_url
class yaylib.models.MessageEvent(data: dict)[ソース]

ベースクラス: Model

data
event
message: Message
class yaylib.models.MessageTag(data: dict)[ソース]

ベースクラス: Model

data
length
offset
type
user_id
class yaylib.models.Metadata(data: dict)[ソース]

ベースクラス: Model

body
bulk_invitation
content_preview
data
title
url
class yaylib.models.Model[ソース]

ベースクラス: object

class yaylib.models.MuteKeyword(data: dict)[ソース]

ベースクラス: Model

context
data
id
word
class yaylib.models.ParentMessage(data: dict)[ソース]

ベースクラス: Model

attachment
attachment_android
attachment_thumbnail
created_at
data
font_size
gif: GifImage
id
message_type
parent_id
reacted
reactions_count
room_id
sticker: Sticker
text
user_id
video_processed
video_thumbnail_big_url
video_thumbnail_url
video_url
class yaylib.models.PlatformDetails(data: dict)[ソース]

ベースクラス: Model

affiliate_url
data
package_id
class yaylib.models.PopularWord(data: dict)[ソース]

ベースクラス: Model

data
id
type
word
class yaylib.models.Post(data: dict)[ソース]

ベースクラス: Model

attachment
attachment_2
attachment_2_thumbnail
attachment_3
attachment_3_thumbnail
attachment_4
attachment_4_thumbnail
attachment_5
attachment_5_thumbnail
attachment_6
attachment_6_thumbnail
attachment_7
attachment_7_thumbnail
attachment_8
attachment_8_thumbnail
attachment_9
attachment_9_thumbnail
attachment_thumbnail
color
conference_call: ConferenceCall
conversation_id
created_at
data
edited_at
font_size
gifts_count: List[GiftCount]
group: Group
group_id
highlighted
id
in_reply_to
in_reply_to_post
in_reply_to_post_count
is_fail_to_send
liked
likes_count
mentions: List[User]
message_tags: List[MessageTag]
post_type
reported_count
repostable
reposted
reposts_count
shareable
shared_thread: List[ThreadInfo]
shared_url: SharedUrl
survey: Survey
tag
text
thread: List[ThreadInfo]
thread_id
updated_at
user: User
videos: List[Video]
class yaylib.models.PostGift(data: dict)[ソース]

ベースクラス: Model

count
data
gift: Gift
class yaylib.models.PostTag(data: dict)[ソース]

ベースクラス: Model

data
id
post_hashtags_count
tag
class yaylib.models.PresignedUrl(data: dict)[ソース]

ベースクラス: Model

data
filename
url
class yaylib.models.Promotion(data: dict)[ソース]

ベースクラス: Model

data
id
image_url
order
promotion_url
title
class yaylib.models.ReceivedGift(data: dict)[ソース]

ベースクラス: Model

data
gift: Gift
received_count
senders: List[User]
total_senders_count
class yaylib.models.RecentSearch(data: dict)[ソース]

ベースクラス: Model

data
hashtag: PostTag
id
keyword
type
user: User
class yaylib.models.RefreshCounterRequest(data: dict)[ソース]

ベースクラス: Model

counter
data
last_requested_at
status
class yaylib.models.Review(data: dict)[ソース]

ベースクラス: Model

comment
created_at
data
id
mutual_review
reported_count
reviewer
user: User
class yaylib.models.SNSInfo(data: dict)[ソース]

ベースクラス: Model

biography
data
gender
nickname
profile_image
type
uid
class yaylib.models.SearchCriteria(data: dict)[ソース]

ベースクラス: Model

biography
data
gender
nickname
prefecture
username
class yaylib.models.Setting(data: dict)[ソース]

ベースクラス: Model

data
notification_group_join
notification_group_message_tag_all
notification_group_post
notification_group_request
class yaylib.models.Settings(data: dict)[ソース]

ベースクラス: Model

age_restricted_on_review
allow_reposts
caution_user_chat
data
following_only_call_invite
following_only_group_invite
following_restricted_on_review
hide_active_call
hide_hot_post
hide_on_invitable
hide_online_status
hide_vip
no_reply_following_timeline
no_reply_group_timeline
no_reply_public_timeline
notification_birthday_to_followers
notification_bulk_call_invite
notification_call_invite
notification_chat
notification_chat_delete
notification_contact_friend
notification_daily_summary
notification_follow
notification_follow_accept
notification_follow_request
notification_follower_conference_call
notification_follower_create_group
notification_following_birthdate_on
notification_following_post_after_break
notification_followings_in_call
notification_footprint
notification_group_accept
notification_group_conference_call
notification_group_invite
notification_group_join
notification_group_message_tag_all
notification_group_moderator
notification_group_post
notification_group_request
notification_hima_now
notification_latest_news
notification_like
notification_message_tag
notification_popular_post
notification_profile_screenshot
notification_reply
notification_repost
notification_review
notification_security_warning
notification_twitter_friend
privacy_mode
private_post
private_user_timeline
vip_invisible_footprint_mode
visible_on_sns_friend_recommendation
class yaylib.models.Shareable(data: dict)[ソース]

ベースクラス: Model

data
group: Group
post: Post
thread: ThreadInfo
class yaylib.models.SharedUrl(data: dict)[ソース]

ベースクラス: Model

data
description
image_url
title
url
class yaylib.models.SignaturePayload(data: dict)[ソース]

ベースクラス: Model

action
call_id
data
receiver_uuid
sender_uuid
signature
timestamp
class yaylib.models.Sticker(data: dict)[ソース]

ベースクラス: Model

data
extension
height
id
sticker_pack_id
url
width
class yaylib.models.StickerPack(data: dict)[ソース]

ベースクラス: Model

cover
data
description
id
name
order
stickers: List[Sticker]
class yaylib.models.Survey(data: dict)[ソース]

ベースクラス: Model

choices: List[Choice]
data
id
voted
votes_count
class yaylib.models.ThreadInfo(data: dict)[ソース]

ベースクラス: Model

created_at
data
id
is_joined
last_post: Post
new_updates
owner: User
posts_count
thread_icon
title
unread_count
updated_at
class yaylib.models.TimelineSettings(data: dict)[ソース]

ベースクラス: Model

data
faves_filter
hide_hot_post
hide_reply_following_timeline
hide_reply_public_timeline
class yaylib.models.User(data: dict)[ソース]

ベースクラス: Model

badge
biography
connected_by
contact_phones
country_code
cover_image
cover_image_thumbnail
created_at
data
followers_count
followings_count
gender
generation
group_user: GroupUser
groups_users_count
id
is_age_verified
is_chat_request_on
is_dangerous_user
is_follow_pending
is_followed_by
is_following
is_hidden
is_new_user
is_private
is_recently_banned
is_selected_interests
is_trusted_different_generation
is_vip
is_vip_hidden
last_logged_in_at
login_streak_count
mobile_number
nickname
online_status
posts_count
prefecture
profile_icon
profile_icon_thumbnail
restricted_review_by
reviews_count
updated_time_millis
class yaylib.models.UserAuth(data: dict)[ソース]

ベースクラス: Model

access_token
data
expires_in
refresh_token
user_id
class yaylib.models.UserWrapper(data: dict)[ソース]

ベースクラス: Model

data
id
user: User
class yaylib.models.Video(data: dict)[ソース]

ベースクラス: Model

bitrate
completed
data
height
id
thumbnail_big_url
thumbnail_url
video_url
views_count
width
class yaylib.models.WSChannelMessage(data: dict)[ソース]

ベースクラス: Model

data
identifier: WSIdentifier | None
message: WSMessage | None
reason: str | None
sid: str | None
type: str | None
class yaylib.models.WSIdentifier(data: dict)[ソース]

ベースクラス: Model

channel: str | None
data
class yaylib.models.WSMessage(data: dict)[ソース]

ベースクラス: Model

data: dict | None
event: str | None
message: dict | None
class yaylib.models.Walkthrough(data: dict)[ソース]

ベースクラス: Model

data
title
url
class yaylib.models.WalletTransaction(data: dict)[ソース]

ベースクラス: Model

amount
coins: CoinAmount
created_at
data
description
id