1 module vksdk.objects.users.UserFull; 2 3 import vksdk.objects.audio.AudioFull; 4 import vksdk.objects.base.BaseObject; 5 import vksdk.objects.base.BoolInt; 6 import vksdk.objects.base.Country; 7 import vksdk.objects.users.CropPhoto; 8 import vksdk.objects.users.LastSeen; 9 import vksdk.objects.users.Occupation; 10 import vksdk.objects.users.User; 11 12 import vibe.data.json; 13 14 /** 15 * UserFull object 16 */ 17 class UserFull : User { 18 19 /** 20 * User nickname 21 */ 22 @name("nickname") 23 private string nickname; 24 25 /** 26 * User maiden name 27 */ 28 @name("maiden_name") 29 private string maidenName; 30 31 /** 32 * Domain name of the user's page 33 */ 34 @name("domain") 35 private string domain; 36 37 /** 38 * User's date of birth 39 */ 40 @name("bdate") 41 private string bdate; 42 43 @name("city") 44 private BaseObject city; 45 46 @name("country") 47 private Country country; 48 49 /** 50 * User's timezone 51 */ 52 @name("timezone") 53 private int timezone; 54 55 /** 56 * URL of square photo of the user with 200 pixels in width 57 */ 58 @name("photo_200") 59 private string photo200; 60 61 /** 62 * URL of square photo of the user with maximum width 63 */ 64 @name("photo_max") 65 private string photoMax; 66 67 /** 68 * URL of user's photo with 200 pixels in width 69 */ 70 @name("photo_200_orig") 71 private string photo200Orig; 72 73 /** 74 * URL of user's photo with 400 pixels in width 75 */ 76 @name("photo_400_orig") 77 private string photo400Orig; 78 79 /** 80 * URL of user's photo of maximum size 81 */ 82 @name("photo_max_orig") 83 private string photoMaxOrig; 84 85 /** 86 * ID of the user's main photo 87 */ 88 @name("photo_id") 89 private string photoId; 90 91 /** 92 * Information whether the user has main photo 93 */ 94 @name("has_photo") 95 private BoolInt _hasPhoto; 96 97 /** 98 * Information whether the user specified his phone number 99 */ 100 @name("has_mobile") 101 private BoolInt _hasMobile; 102 103 /** 104 * Information whether the user is a friend of current user 105 */ 106 @name("is_friend") 107 private BoolInt _isFriend; 108 109 /** 110 * Friend status for current user 111 */ 112 @name("friend_status") 113 private int friendStatus; 114 115 /** 116 * Information whether current user can comment wall posts 117 */ 118 @name("wall_comments") 119 private BoolInt wallComments; 120 121 /** 122 * Information whether current user can post on the user's wall 123 */ 124 @name("can_post") 125 private BoolInt _canPost; 126 127 /** 128 * Information whether current user can see other users' audio on the wall 129 */ 130 @name("can_see_all_posts") 131 private BoolInt _canSeeAllPosts; 132 133 /** 134 * Information whether current user can see the user's audio 135 */ 136 @name("can_see_audio") 137 private BoolInt _canSeeAudio; 138 139 /** 140 * Information whether current user can write private message 141 */ 142 @name("can_write_private_message") 143 private BoolInt _canWritePrivateMessage; 144 145 /** 146 * Information whether current user can send a friend request 147 */ 148 @name("can_send_friend_request") 149 private BoolInt _canSendFriendRequest; 150 151 /** 152 * Information whether current user can see 153 */ 154 @name("mobile_phone") 155 private string mobilePhone; 156 157 /** 158 * User's mobile phone number 159 */ 160 @name("home_phone") 161 private string homePhone; 162 163 /** 164 * User's Skype nickname 165 */ 166 @name("skype") 167 private string skype; 168 169 /** 170 * User's Facebook account 171 */ 172 @name("facebook") 173 private string facebook; 174 175 /** 176 * User's Facebook name 177 */ 178 @name("facebook_name") 179 private string facebookName; 180 181 /** 182 * User's Twitter account 183 */ 184 @name("twitter") 185 private string twitter; 186 187 /** 188 * User's Livejournal account 189 */ 190 @name("livejournal") 191 private string livejournal; 192 193 /** 194 * User's Instagram account 195 */ 196 @name("instagram") 197 private string instagram; 198 199 /** 200 * User's website 201 */ 202 @name("site") 203 private string site; 204 205 @name("status_audio") 206 private AudioFull statusAudio; 207 208 /** 209 * User's status 210 */ 211 @name("status") 212 private string status; 213 214 /** 215 * User's status 216 */ 217 @name("activity") 218 private string activity; 219 220 @name("last_seen") 221 private LastSeen lastSeen; 222 223 @name("exports") 224 private Json exports; 225 226 @name("crop_photo") 227 private CropPhoto cropPhoto; 228 229 /** 230 * Information whether the user is verified 231 */ 232 @name("verified") 233 private BoolInt verified; 234 235 /** 236 * Number of user's followers 237 */ 238 @name("followers_count") 239 private int followersCount; 240 241 /** 242 * Information whether current user is in the requested user's blacklist. 243 */ 244 @name("blacklisted") 245 private BoolInt blacklisted; 246 247 /** 248 * Information whether the requested user is in current user's blacklist 249 */ 250 @name("blacklisted_by_me") 251 private BoolInt blacklistedByMe; 252 253 /** 254 * Information whether the requested user is in faves of current user 255 */ 256 @name("is_favorite") 257 private BoolInt _isFavorite; 258 259 /** 260 * Information whether the requested user is hidden from current user's newsfeed 261 */ 262 @name("is_hidden_from_feed") 263 private BoolInt _isHiddenFromFeed; 264 265 /** 266 * Number of common friends with current user 267 */ 268 @name("common_count") 269 private int commonCount; 270 271 @name("occupation") 272 private Occupation occupation; 273 274 @name("career") 275 private Career[] career; 276 277 @name("military") 278 private Military[] military; 279 280 /** 281 * University ID 282 */ 283 @name("university") 284 private int university; 285 286 /** 287 * University name 288 */ 289 @name("university_name") 290 private string universityName; 291 292 /** 293 * Faculty ID 294 */ 295 @name("faculty") 296 private int faculty; 297 298 /** 299 * Faculty name 300 */ 301 @name("faculty_name") 302 private string facultyName; 303 304 /** 305 * Graduation year 306 */ 307 @name("graduation") 308 private int graduation; 309 310 /** 311 * Education form 312 */ 313 @name("education_form") 314 private string educationForm; 315 316 /** 317 * User's education status 318 */ 319 @name("education_status") 320 private string educationStatus; 321 322 /** 323 * User hometown 324 */ 325 @name("home_town") 326 private string homeTown; 327 328 /** 329 * User relationship status 330 */ 331 @name("relation") 332 private int relation; 333 334 @name("relation_partner") 335 private UserMin relationPartner; 336 337 @name("personal") 338 private Personal personal; 339 340 /** 341 * User's interests 342 */ 343 @name("interests") 344 private string interests; 345 346 /** 347 * User's favorite music 348 */ 349 @name("music") 350 private string music; 351 352 /** 353 * User's activities 354 */ 355 @name("activities") 356 private string activities; 357 358 /** 359 * User's favorite movies 360 */ 361 @name("movies") 362 private string movies; 363 364 /** 365 * User's favorite tv shows 366 */ 367 @name("tv") 368 private string tv; 369 370 /** 371 * User's favorite books 372 */ 373 @name("books") 374 private string books; 375 376 /** 377 * User's favorite games 378 */ 379 @name("games") 380 private string games; 381 382 @name("universities") 383 private University[] universities; 384 385 @name("schools") 386 private School[] schools; 387 388 /** 389 * About me field 390 */ 391 @name("about") 392 private string about; 393 394 @name("relatives") 395 private Relative[] relatives; 396 397 /** 398 * Favorite quotes 399 */ 400 @name("quotes") 401 private string quotes; 402 403 string getNickname() { 404 return nickname; 405 } 406 407 string getMaidenName() { 408 return maidenName; 409 } 410 411 string getDomain() { 412 return domain; 413 } 414 415 string getBdate() { 416 return bdate; 417 } 418 419 BaseObject getCity() { 420 return city; 421 } 422 423 Country getCountry() { 424 return country; 425 } 426 427 int getTimezone() { 428 return timezone; 429 } 430 431 string getPhoto200() { 432 return photo200; 433 } 434 435 string getPhotoMax() { 436 return photoMax; 437 } 438 439 string getPhoto200Orig() { 440 return photo200Orig; 441 } 442 443 string getPhoto400Orig() { 444 return photo400Orig; 445 } 446 447 string getPhotoMaxOrig() { 448 return photoMaxOrig; 449 } 450 451 string getPhotoId() { 452 return photoId; 453 } 454 455 bool hasPhoto() { 456 return _hasPhoto == BoolInt.YES; 457 } 458 459 bool hasMobile() { 460 return _hasMobile == BoolInt.YES; 461 } 462 463 bool isFriend() { 464 return _isFriend == BoolInt.YES; 465 } 466 467 int getFriendStatus() { 468 return friendStatus; 469 } 470 471 bool isWallComments() { 472 return wallComments == BoolInt.YES; 473 } 474 475 bool canPost() { 476 return _canPost == BoolInt.YES; 477 } 478 479 bool canSeeAllPosts() { 480 return _canSeeAllPosts == BoolInt.YES; 481 } 482 483 bool canSeeAudio() { 484 return _canSeeAudio == BoolInt.YES; 485 } 486 487 bool canWritePrivateMessage() { 488 return _canWritePrivateMessage == BoolInt.YES; 489 } 490 491 bool canSendFriendRequest() { 492 return _canSendFriendRequest == BoolInt.YES; 493 } 494 495 string getMobilePhone() { 496 return mobilePhone; 497 } 498 499 string getHomePhone() { 500 return homePhone; 501 } 502 503 string getSkype() { 504 return skype; 505 } 506 507 string getFacebook() { 508 return facebook; 509 } 510 511 string getFacebookName() { 512 return facebookName; 513 } 514 515 string getTwitter() { 516 return twitter; 517 } 518 519 string getLivejournal() { 520 return livejournal; 521 } 522 523 string getInstagram() { 524 return instagram; 525 } 526 527 string getSite() { 528 return site; 529 } 530 531 AudioFull getStatusAudio() { 532 return statusAudio; 533 } 534 535 string getStatus() { 536 return status; 537 } 538 539 string getActivity() { 540 return activity; 541 } 542 543 LastSeen getLastSeen() { 544 return lastSeen; 545 } 546 547 Json getExports() { 548 return exports; 549 } 550 551 CropPhoto getCropPhoto() { 552 return cropPhoto; 553 } 554 555 bool isVerified() { 556 return verified == BoolInt.YES; 557 } 558 559 int getFollowersCount() { 560 return followersCount; 561 } 562 563 bool isBlacklisted() { 564 return blacklisted == BoolInt.YES; 565 } 566 567 bool isBlacklistedByMe() { 568 return blacklistedByMe == BoolInt.YES; 569 } 570 571 bool isFavorite() { 572 return _isFavorite == BoolInt.YES; 573 } 574 575 bool isHiddenFromFeed() { 576 return _isHiddenFromFeed == BoolInt.YES; 577 } 578 579 int getCommonCount() { 580 return commonCount; 581 } 582 583 Occupation getOccupation() { 584 return occupation; 585 } 586 587 Career[] getCareer() { 588 return career; 589 } 590 591 Military[] getMilitary() { 592 return military; 593 } 594 595 int getUniversity() { 596 return university; 597 } 598 599 string getUniversityName() { 600 return universityName; 601 } 602 603 int getFaculty() { 604 return faculty; 605 } 606 607 string getFacultyName() { 608 return facultyName; 609 } 610 611 int getGraduation() { 612 return graduation; 613 } 614 615 string getEducationForm() { 616 return educationForm; 617 } 618 619 string getEducationStatus() { 620 return educationStatus; 621 } 622 623 string getHomeTown() { 624 return homeTown; 625 } 626 627 int getRelation() { 628 return relation; 629 } 630 631 UserMin getRelationPartner() { 632 return relationPartner; 633 } 634 635 Personal getPersonal() { 636 return personal; 637 } 638 639 string getInterests() { 640 return interests; 641 } 642 643 string getMusic() { 644 return music; 645 } 646 647 string getActivities() { 648 return activities; 649 } 650 651 string getMovies() { 652 return movies; 653 } 654 655 string getTv() { 656 return tv; 657 } 658 659 string getBooks() { 660 return books; 661 } 662 663 string getGames() { 664 return games; 665 } 666 667 University[] getUniversities() { 668 return universities; 669 } 670 671 School[] getSchools() { 672 return schools; 673 } 674 675 string getAbout() { 676 return about; 677 } 678 679 Relative[] getRelatives() { 680 return relatives; 681 } 682 683 string getQuotes() { 684 return quotes; 685 } 686 }