Advertisement
Guest User

Untitled

a guest
Oct 13th, 2011
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. Imports Microsoft.VisualBasic
  2.  
  3. Public Class gResponseClass
  4. Private _kind As String
  5. Private _url() As url
  6. Private _items() As items
  7.  
  8. Public Property kind() As String
  9. Get
  10. Return _kind
  11. End Get
  12. Set(ByVal value As String)
  13. _kind = value
  14. End Set
  15. End Property
  16. Public Property url() As url()
  17. Get
  18. Return _url
  19. End Get
  20. Set(ByVal value As url())
  21. _url = value
  22. End Set
  23. End Property
  24. Public Property items() As items()
  25. Get
  26. Return _items
  27. End Get
  28. Set(ByVal value As items())
  29. _items = value
  30. End Set
  31. End Property
  32. End Class
  33.  
  34. Public Class url
  35. Private _type As String
  36. Private _template As String
  37.  
  38. Public Property type() As String
  39. Get
  40. Return _type
  41. End Get
  42. Set(ByVal value As String)
  43. _type = value
  44. End Set
  45. End Property
  46. Public Property template() As String
  47. Get
  48. Return _template
  49. End Get
  50. Set(ByVal value As String)
  51. _template = value
  52. End Set
  53. End Property
  54. End Class
  55.  
  56. Public Class request
  57. Private _title As String
  58. Private _totalResult As String
  59. Private _searchTems As String
  60. Private _count As String
  61. Private _startIndex As String
  62. Private _inputEncoding As String
  63. Private _outputEncoding As String
  64. Private _safe As String
  65. Private _cx As String
  66.  
  67. Public Property title() As String
  68. Get
  69. Return _title
  70. End Get
  71. Set(ByVal value As String)
  72. _title = value
  73. End Set
  74. End Property
  75. End Class
  76.  
  77. Public Class items
  78. Private _kind As String
  79. Private _title As String
  80. Private _htmlTitle As String
  81. Private _link As String
  82. Private _displayLink As String
  83. Private _snippet As String
  84. Private _htmlSnippet As String
  85.  
  86. Public Property kind() As String
  87. Get
  88. Return _kind
  89. End Get
  90. Set(ByVal value As String)
  91. _kind = value
  92. End Set
  93. End Property
  94. Public Property title() As String
  95. Get
  96. Return _title
  97. End Get
  98. Set(ByVal value As String)
  99. _title = value
  100. End Set
  101. End Property
  102. Public Property htmlTitle() As String
  103. Get
  104. Return _htmlTitle
  105. End Get
  106. Set(ByVal value As String)
  107. _htmlTitle = value
  108. End Set
  109. End Property
  110. Public Property link() As String
  111. Get
  112. Return _link
  113. End Get
  114. Set(ByVal value As String)
  115. _link = value
  116. End Set
  117. End Property
  118. Public Property displayLink() As String
  119. Get
  120. Return _displayLink
  121. End Get
  122. Set(ByVal value As String)
  123. _displayLink = value
  124. End Set
  125. End Property
  126. Public Property snippet() As String
  127. Get
  128. Return _snippet
  129. End Get
  130. Set(ByVal value As String)
  131. _snippet = value
  132. End Set
  133. End Property
  134. Public Property htmlSnippet() As String
  135. Get
  136. Return _htmlSnippet
  137. End Get
  138. Set(ByVal value As String)
  139. _htmlSnippet = value
  140. End Set
  141. End Property
  142. End Class
  143.  
  144.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement