Advertisement
HemulGM

Untitled

Feb 24th, 2020
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 2.38 KB | None | 0 0
  1.   TVkMessageAttachmentInfo = class
  2.     type
  3.       TAttachInfoType = record
  4.         Attach: string;
  5.         AttachType: string;
  6.         class function Create(AAttach, AAttachType: string): TAttachInfoType; static;
  7.       end;
  8.   private
  9.     FAttach1: string;
  10.     FAttach1_type: string;
  11.     FAttach2: string;
  12.     FAttach2_type: string;
  13.     FAttach3: string;
  14.     FAttach3_type: string;
  15.     FAttach4: string;
  16.     FAttach4_type: string;
  17.     FAttach5: string;
  18.     FAttach5_type: string;
  19.     FAttach6: string;
  20.     FAttach6_type: string;
  21.     FAttach7: string;
  22.     FAttach7_type: string;
  23.     FAttach8: string;
  24.     FAttach8_type: string;
  25.     FAttach9: string;
  26.     FAttach9_type: string;
  27.     FAttach10: string;
  28.     FAttach10_type: string;
  29.     function GetCount: Integer;
  30.     function GetItems(Index: Integer): TAttachInfoType;
  31.   public
  32.     property Attach1: string read FAttach1 write FAttach1;
  33.     property Attach1Type: string read FAttach1_type write FAttach1_type;
  34.     property Attach2: string read FAttach2 write FAttach2;
  35.     property Attach2Type: string read FAttach2_type write FAttach2_type;
  36.     property Attach3: string read FAttach3 write FAttach3;
  37.     property Attach3Type: string read FAttach3_type write FAttach3_type;
  38.     property Attach4: string read FAttach4 write FAttach4;
  39.     property Attach4Type: string read FAttach4_type write FAttach4_type;
  40.     property Attach5: string read FAttach5 write FAttach5;
  41.     property Attach5Type: string read FAttach5_type write FAttach5_type;
  42.     property Attach6: string read FAttach6 write FAttach6;
  43.     property Attach6Type: string read FAttach6_type write FAttach6_type;
  44.     property Attach7: string read FAttach7 write FAttach7;
  45.     property Attach7Type: string read FAttach7_type write FAttach7_type;
  46.     property Attach8: string read FAttach8 write FAttach8;
  47.     property Attach8Type: string read FAttach8_type write FAttach8_type;
  48.     property Attach9: string read FAttach9 write FAttach9;
  49.     property Attach9Type: string read FAttach9_type write FAttach9_type;
  50.     property Attach10: string read FAttach10 write FAttach10;
  51.     property Attach10Type: string read FAttach10_type write FAttach10_type;
  52.     property Count: Integer read GetCount;
  53.     property Items[Index: Integer]: TAttachInfoType read GetItems;
  54.     function ToJsonString: string;
  55.     class function FromJsonString(AJsonString: string): TVkMessageAttachmentInfo;
  56.   end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement