lockstep_rails 0.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +216 -0
  4. data/Rakefile +31 -0
  5. data/app/assets/config/lockstep_rails_manifest.js +0 -0
  6. data/app/concepts/lockstep/active_records/association.rb +78 -0
  7. data/app/concepts/lockstep/api_record.rb +1118 -0
  8. data/app/concepts/lockstep/api_records/scopes.rb +20 -0
  9. data/app/concepts/lockstep/client.rb +162 -0
  10. data/app/concepts/lockstep/error.rb +50 -0
  11. data/app/concepts/lockstep/exceptions.rb +4 -0
  12. data/app/concepts/lockstep/query.rb +409 -0
  13. data/app/concepts/lockstep/query_methods.rb +75 -0
  14. data/app/concepts/lockstep/relation_array.rb +100 -0
  15. data/app/helpers/types.rb +3 -0
  16. data/app/models/lockstep/account.rb +15 -0
  17. data/app/models/lockstep/connection.rb +19 -0
  18. data/app/models/lockstep/contact.rb +9 -0
  19. data/app/models/lockstep/customer_summary.rb +6 -0
  20. data/app/models/lockstep/invoice.rb +7 -0
  21. data/app/models/lockstep/invoice_summary.rb +6 -0
  22. data/app/models/lockstep/invoices/address.rb +24 -0
  23. data/app/models/lockstep/note.rb +7 -0
  24. data/app/models/lockstep/payment.rb +7 -0
  25. data/app/models/lockstep/payment_summary.rb +6 -0
  26. data/app/models/lockstep/user.rb +10 -0
  27. data/app/platform_api/model_template.rb.erb +27 -0
  28. data/app/platform_api/schema/action_result.rb +15 -0
  29. data/app/platform_api/schema/activity.rb +141 -0
  30. data/app/platform_api/schema/activity_fetch_result.rb +26 -0
  31. data/app/platform_api/schema/activity_stream_item.rb +58 -0
  32. data/app/platform_api/schema/activity_x_ref.rb +37 -0
  33. data/app/platform_api/schema/aging.rb +24 -0
  34. data/app/platform_api/schema/api_key.rb +71 -0
  35. data/app/platform_api/schema/api_key_fetch_result.rb +26 -0
  36. data/app/platform_api/schema/app_enrollment.rb +88 -0
  37. data/app/platform_api/schema/app_enrollment_custom_field.rb +67 -0
  38. data/app/platform_api/schema/app_enrollment_custom_field_fetch_result.rb +26 -0
  39. data/app/platform_api/schema/app_enrollment_fetch_result.rb +26 -0
  40. data/app/platform_api/schema/application.rb +89 -0
  41. data/app/platform_api/schema/application_fetch_result.rb +26 -0
  42. data/app/platform_api/schema/ar_aging_header_info.rb +47 -0
  43. data/app/platform_api/schema/ar_header_info.rb +118 -0
  44. data/app/platform_api/schema/assembly.rb +68 -0
  45. data/app/platform_api/schema/at_risk_invoice_summary.rb +90 -0
  46. data/app/platform_api/schema/at_risk_invoice_summary_fetch_result.rb +26 -0
  47. data/app/platform_api/schema/attachment.rb +92 -0
  48. data/app/platform_api/schema/attachment_fetch_result.rb +26 -0
  49. data/app/platform_api/schema/attachment_header_info.rb +41 -0
  50. data/app/platform_api/schema/batch_sync.rb +18 -0
  51. data/app/platform_api/schema/bulk_currency_conversion.rb +19 -0
  52. data/app/platform_api/schema/cashflow_report.rb +35 -0
  53. data/app/platform_api/schema/code_definition.rb +58 -0
  54. data/app/platform_api/schema/code_definition_fetch_result.rb +26 -0
  55. data/app/platform_api/schema/company.rb +243 -0
  56. data/app/platform_api/schema/company_fetch_result.rb +26 -0
  57. data/app/platform_api/schema/company_sync.rb +142 -0
  58. data/app/platform_api/schema/connector_info.rb +27 -0
  59. data/app/platform_api/schema/constructor_info.rb +128 -0
  60. data/app/platform_api/schema/contact.rb +148 -0
  61. data/app/platform_api/schema/contact_fetch_result.rb +26 -0
  62. data/app/platform_api/schema/contact_sync.rb +109 -0
  63. data/app/platform_api/schema/country.rb +62 -0
  64. data/app/platform_api/schema/country_fetch_result.rb +26 -0
  65. data/app/platform_api/schema/credit_memo_applied.rb +104 -0
  66. data/app/platform_api/schema/credit_memo_applied_fetch_result.rb +26 -0
  67. data/app/platform_api/schema/credit_memo_applied_sync.rb +67 -0
  68. data/app/platform_api/schema/credit_memo_invoice.rb +77 -0
  69. data/app/platform_api/schema/currency.rb +31 -0
  70. data/app/platform_api/schema/currency_fetch_result.rb +26 -0
  71. data/app/platform_api/schema/currency_rate.rb +28 -0
  72. data/app/platform_api/schema/custom_attribute_data.rb +18 -0
  73. data/app/platform_api/schema/custom_attribute_named_argument.rb +24 -0
  74. data/app/platform_api/schema/custom_attribute_typed_argument.rb +16 -0
  75. data/app/platform_api/schema/custom_field_definition.rb +76 -0
  76. data/app/platform_api/schema/custom_field_definition_fetch_result.rb +26 -0
  77. data/app/platform_api/schema/custom_field_sync.rb +71 -0
  78. data/app/platform_api/schema/custom_field_value.rb +75 -0
  79. data/app/platform_api/schema/custom_field_value_fetch_result.rb +26 -0
  80. data/app/platform_api/schema/customer_details.rb +98 -0
  81. data/app/platform_api/schema/customer_details_payment.rb +60 -0
  82. data/app/platform_api/schema/customer_summary.rb +88 -0
  83. data/app/platform_api/schema/customer_summary_fetch_result.rb +26 -0
  84. data/app/platform_api/schema/daily_sales_outstanding_report.rb +25 -0
  85. data/app/platform_api/schema/developer_account_submit.rb +23 -0
  86. data/app/platform_api/schema/email.rb +160 -0
  87. data/app/platform_api/schema/email_fetch_result.rb +26 -0
  88. data/app/platform_api/schema/erp.rb +23 -0
  89. data/app/platform_api/schema/erp_fetch_result.rb +26 -0
  90. data/app/platform_api/schema/erp_info.rb +18 -0
  91. data/app/platform_api/schema/erp_info_data.rb +23 -0
  92. data/app/platform_api/schema/event_info.rb +59 -0
  93. data/app/platform_api/schema/exception.rb +41 -0
  94. data/app/platform_api/schema/field_info.rb +105 -0
  95. data/app/platform_api/schema/financial_account.rb +90 -0
  96. data/app/platform_api/schema/financial_account_balance_history.rb +90 -0
  97. data/app/platform_api/schema/financial_account_balance_history_fetch_result.rb +26 -0
  98. data/app/platform_api/schema/financial_account_fetch_result.rb +26 -0
  99. data/app/platform_api/schema/financial_year_setting.rb +74 -0
  100. data/app/platform_api/schema/financial_year_setting_fetch_result.rb +26 -0
  101. data/app/platform_api/schema/invite.rb +25 -0
  102. data/app/platform_api/schema/invite_data.rb +18 -0
  103. data/app/platform_api/schema/invite_submit.rb +15 -0
  104. data/app/platform_api/schema/invoice.rb +226 -0
  105. data/app/platform_api/schema/invoice_address.rb +97 -0
  106. data/app/platform_api/schema/invoice_fetch_result.rb +29 -0
  107. data/app/platform_api/schema/invoice_history.rb +188 -0
  108. data/app/platform_api/schema/invoice_history_fetch_result.rb +26 -0
  109. data/app/platform_api/schema/invoice_line.rb +142 -0
  110. data/app/platform_api/schema/invoice_line_sync.rb +208 -0
  111. data/app/platform_api/schema/invoice_payment_detail.rb +65 -0
  112. data/app/platform_api/schema/invoice_summary.rb +85 -0
  113. data/app/platform_api/schema/invoice_summary_fetch_result.rb +26 -0
  114. data/app/platform_api/schema/invoice_sync.rb +280 -0
  115. data/app/platform_api/schema/lead.rb +32 -0
  116. data/app/platform_api/schema/member_info.rb +36 -0
  117. data/app/platform_api/schema/method_base.rb +128 -0
  118. data/app/platform_api/schema/method_info.rb +137 -0
  119. data/app/platform_api/schema/module.rb +44 -0
  120. data/app/platform_api/schema/module_handle.rb +15 -0
  121. data/app/platform_api/schema/note.rb +72 -0
  122. data/app/platform_api/schema/note_fetch_result.rb +26 -0
  123. data/app/platform_api/schema/parameter_info.rb +64 -0
  124. data/app/platform_api/schema/payment.rb +147 -0
  125. data/app/platform_api/schema/payment_applied.rb +95 -0
  126. data/app/platform_api/schema/payment_applied_fetch_result.rb +26 -0
  127. data/app/platform_api/schema/payment_applied_sync.rb +74 -0
  128. data/app/platform_api/schema/payment_detail.rb +110 -0
  129. data/app/platform_api/schema/payment_detail_fetch_result.rb +26 -0
  130. data/app/platform_api/schema/payment_detail_header.rb +43 -0
  131. data/app/platform_api/schema/payment_fetch_result.rb +26 -0
  132. data/app/platform_api/schema/payment_summary.rb +79 -0
  133. data/app/platform_api/schema/payment_summary_fetch_result.rb +26 -0
  134. data/app/platform_api/schema/payment_sync.rb +112 -0
  135. data/app/platform_api/schema/problem_details.rb +31 -0
  136. data/app/platform_api/schema/property_info.rb +60 -0
  137. data/app/platform_api/schema/provisioning.rb +28 -0
  138. data/app/platform_api/schema/provisioning_finalize_request.rb +28 -0
  139. data/app/platform_api/schema/provisioning_response.rb +42 -0
  140. data/app/platform_api/schema/risk_rate.rb +57 -0
  141. data/app/platform_api/schema/runtime_field_handle.rb +13 -0
  142. data/app/platform_api/schema/runtime_method_handle.rb +13 -0
  143. data/app/platform_api/schema/runtime_type_handle.rb +13 -0
  144. data/app/platform_api/schema/state.rb +22 -0
  145. data/app/platform_api/schema/state_fetch_result.rb +26 -0
  146. data/app/platform_api/schema/status.rb +72 -0
  147. data/app/platform_api/schema/struct_layout_attribute.rb +16 -0
  148. data/app/platform_api/schema/sync_entity_result.rb +34 -0
  149. data/app/platform_api/schema/sync_request.rb +71 -0
  150. data/app/platform_api/schema/sync_request_fetch_result.rb +26 -0
  151. data/app/platform_api/schema/sync_submit.rb +15 -0
  152. data/app/platform_api/schema/test_argument_exception.rb +41 -0
  153. data/app/platform_api/schema/test_timeout_exception.rb +41 -0
  154. data/app/platform_api/schema/transfer_owner.rb +16 -0
  155. data/app/platform_api/schema/transfer_owner_submit.rb +15 -0
  156. data/app/platform_api/schema/type.rb +278 -0
  157. data/app/platform_api/schema/type_info.rb +287 -0
  158. data/app/platform_api/schema/uri.rb +15 -0
  159. data/app/platform_api/schema/user_account.rb +152 -0
  160. data/app/platform_api/schema/user_account_fetch_result.rb +26 -0
  161. data/app/platform_api/schema/user_role.rb +50 -0
  162. data/app/platform_api/schema/user_role_fetch_result.rb +26 -0
  163. data/app/platform_api/schema/webhook.rb +96 -0
  164. data/app/platform_api/schema/webhook_fetch_result.rb +26 -0
  165. data/app/platform_api/schema/webhook_history_table_storage.rb +64 -0
  166. data/app/platform_api/schema/webhook_history_table_storage_fetch_result.rb +26 -0
  167. data/app/platform_api/swagger.json +22056 -0
  168. data/config/routes.rb +2 -0
  169. data/lib/lockstep_rails/engine.rb +4 -0
  170. data/lib/lockstep_rails/version.rb +3 -0
  171. data/lib/lockstep_rails.rb +5 -0
  172. data/lib/tasks/lockstep_rails_tasks.rake +4 -0
  173. data/lib/tasks/update_api_schema.rake +159 -0
  174. metadata +230 -0
@@ -0,0 +1,34 @@
1
+ class Schema::SyncEntityResult < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The number of entities inserted
9
+ # @type: integer
10
+ # @format: int32
11
+ field :insert_count
12
+
13
+ # The number of entities updated
14
+ # @type: integer
15
+ # @format: int32
16
+ field :update_count
17
+
18
+ # The number of entities skipped
19
+ # @type: integer
20
+ # @format: int32
21
+ field :skip_count
22
+
23
+ # The number of errors encountered during sync
24
+ # @type: integer
25
+ # @format: int32
26
+ field :error_count
27
+
28
+ # The errors encountered during sync keyed by ERP key
29
+ # @type: object
30
+ field :errors
31
+
32
+
33
+
34
+ end
@@ -0,0 +1,71 @@
1
+ class Schema::SyncRequest < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique ID of this record, automatically assigned by Lockstep when this record is
9
+ # added to the Lockstep platform.
10
+ # @type: string
11
+ # @format: uuid
12
+ field :sync_request_id
13
+
14
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
15
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
+ #
17
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
18
+ # @type: string
19
+ # @format: uuid
20
+ field :group_key
21
+
22
+ # The status of processing for this SyncRequest. When a SyncRequest is created, it is flagged as `Ready`.
23
+ # When it is picked up for execution, its status moves to `In Progress`. When it is complete, its status
24
+ # will move to `Success` or `Failed`. If another API call cancels the SyncRequest, its status will move
25
+ # to `Cancelled`.
26
+ #
27
+ # * Ready
28
+ # * In Progress
29
+ # * Cancelled
30
+ # * Failed
31
+ # * Success
32
+ # @type: string
33
+ field :status_code
34
+
35
+ # Message containing information about the sync request results
36
+ # @type: string
37
+ field :process_result_message
38
+
39
+ # The AppEnrollmentId of the AppEnrollment object that executed this sync request
40
+ # @type: string
41
+ # @format: uuid
42
+ field :app_enrollment_id
43
+
44
+ # The date this sync request was created
45
+ # @type: string
46
+ # @format: date-time
47
+ field :created, Types::Params::DateTime
48
+
49
+ # The date this sync request was last modified
50
+ # @type: string
51
+ # @format: date-time
52
+ field :modified, Types::Params::DateTime
53
+
54
+ # The ID number of the user who most recently modified this sync request.
55
+ # @type: string
56
+ # @format: uuid
57
+ field :modified_user_id
58
+
59
+ # The detailed list of results and errors that occurred during the processing of this SyncRequest. This
60
+ # information is available only after the SyncRequest has completed. You will only be able to fetch this
61
+ # field if the SyncRequest's `StatusCode` field is set to `Cancelled`, `Success`, or `Failed`.
62
+ #
63
+ # To retrieve this collection, add the keyword `details` to the `include` parameter on your Retrieve or
64
+ # Query requests.
65
+ # @type: object
66
+ field :details
67
+
68
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
69
+
70
+
71
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::SyncRequestFetchResult < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+
9
+ # @type: integer
10
+ # @format: int32
11
+ field :total_count
12
+
13
+
14
+ # @type: integer
15
+ # @format: int32
16
+ field :page_size
17
+
18
+
19
+ # @type: integer
20
+ # @format: int32
21
+ field :page_number
22
+
23
+
24
+ has_many :records, {:class_name=>"Schema::SyncRequest", :included=>true}
25
+
26
+ end
@@ -0,0 +1,15 @@
1
+ class Schema::SyncSubmit < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique identifier of the app enrollment that is creating this sync request.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+
14
+
15
+ end
@@ -0,0 +1,41 @@
1
+ class Schema::TestArgumentException < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+
9
+ field :target_site
10
+
11
+
12
+ # @type: string
13
+ field :stack_trace
14
+
15
+
16
+ # @type: string
17
+ field :message
18
+
19
+
20
+ # @type: object
21
+ field :data
22
+
23
+
24
+ field :inner_exception
25
+
26
+
27
+ # @type: string
28
+ field :help_link
29
+
30
+
31
+ # @type: string
32
+ field :source
33
+
34
+
35
+ # @type: integer
36
+ # @format: int32
37
+ field :h_result
38
+
39
+
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ class Schema::TestTimeoutException < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+
9
+ field :target_site
10
+
11
+
12
+ # @type: string
13
+ field :stack_trace
14
+
15
+
16
+ # @type: string
17
+ field :message
18
+
19
+
20
+ # @type: object
21
+ field :data
22
+
23
+
24
+ field :inner_exception
25
+
26
+
27
+ # @type: string
28
+ field :help_link
29
+
30
+
31
+ # @type: string
32
+ field :source
33
+
34
+
35
+ # @type: integer
36
+ # @format: int32
37
+ field :h_result
38
+
39
+
40
+
41
+ end
@@ -0,0 +1,16 @@
1
+ class Schema::TransferOwner < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The previous owner of the account.
9
+ field :previous_owner
10
+
11
+ # The new owner of the account.
12
+ field :new_owner
13
+
14
+
15
+
16
+ end
@@ -0,0 +1,15 @@
1
+ class Schema::TransferOwnerSubmit < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The ID of the user to transfer ownership to.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :target_user_id
12
+
13
+
14
+
15
+ end
@@ -0,0 +1,278 @@
1
+ class Schema::Type < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+
9
+ # @type: string
10
+ field :name
11
+
12
+
13
+ # @type: boolean
14
+ field :is_collectible
15
+
16
+
17
+ # @type: integer
18
+ # @format: int32
19
+ field :metadata_token
20
+
21
+
22
+ field :type_handle
23
+
24
+
25
+ # @type: boolean
26
+ field :is_interface
27
+
28
+
29
+ field :member_type
30
+
31
+
32
+ # @type: string
33
+ field :namespace
34
+
35
+
36
+ # @type: string
37
+ field :assembly_qualified_name
38
+
39
+
40
+ # @type: string
41
+ field :full_name
42
+
43
+
44
+ field :assembly
45
+
46
+
47
+ field :module
48
+
49
+
50
+ # @type: boolean
51
+ field :is_nested
52
+
53
+
54
+ field :declaring_type
55
+
56
+
57
+ field :declaring_method
58
+
59
+
60
+ field :reflected_type
61
+
62
+
63
+ field :underlying_system_type
64
+
65
+
66
+ # @type: boolean
67
+ field :is_type_definition
68
+
69
+
70
+ # @type: boolean
71
+ field :is_array
72
+
73
+
74
+ # @type: boolean
75
+ field :is_by_ref
76
+
77
+
78
+ # @type: boolean
79
+ field :is_pointer
80
+
81
+
82
+ # @type: boolean
83
+ field :is_constructed_generic_type
84
+
85
+
86
+ # @type: boolean
87
+ field :is_generic_parameter
88
+
89
+
90
+ # @type: boolean
91
+ field :is_generic_type_parameter
92
+
93
+
94
+ # @type: boolean
95
+ field :is_generic_method_parameter
96
+
97
+
98
+ # @type: boolean
99
+ field :is_generic_type
100
+
101
+
102
+ # @type: boolean
103
+ field :is_generic_type_definition
104
+
105
+
106
+ # @type: boolean
107
+ field :is_sz_array
108
+
109
+
110
+ # @type: boolean
111
+ field :is_variable_bound_array
112
+
113
+
114
+ # @type: boolean
115
+ field :is_by_ref_like
116
+
117
+
118
+ # @type: boolean
119
+ field :has_element_type
120
+
121
+
122
+ # @type: integer
123
+ # @format: int32
124
+ field :generic_parameter_position
125
+
126
+
127
+ field :generic_parameter_attributes
128
+
129
+
130
+ field :attributes
131
+
132
+
133
+ # @type: boolean
134
+ field :is_abstract
135
+
136
+
137
+ # @type: boolean
138
+ field :is_import
139
+
140
+
141
+ # @type: boolean
142
+ field :is_sealed
143
+
144
+
145
+ # @type: boolean
146
+ field :is_special_name
147
+
148
+
149
+ # @type: boolean
150
+ field :is_class
151
+
152
+
153
+ # @type: boolean
154
+ field :is_nested_assembly
155
+
156
+
157
+ # @type: boolean
158
+ field :is_nested_fam_and_assem
159
+
160
+
161
+ # @type: boolean
162
+ field :is_nested_family
163
+
164
+
165
+ # @type: boolean
166
+ field :is_nested_fam_or_assem
167
+
168
+
169
+ # @type: boolean
170
+ field :is_nested_private
171
+
172
+
173
+ # @type: boolean
174
+ field :is_nested_public
175
+
176
+
177
+ # @type: boolean
178
+ field :is_not_public
179
+
180
+
181
+ # @type: boolean
182
+ field :is_public
183
+
184
+
185
+ # @type: boolean
186
+ field :is_auto_layout
187
+
188
+
189
+ # @type: boolean
190
+ field :is_explicit_layout
191
+
192
+
193
+ # @type: boolean
194
+ field :is_layout_sequential
195
+
196
+
197
+ # @type: boolean
198
+ field :is_ansi_class
199
+
200
+
201
+ # @type: boolean
202
+ field :is_auto_class
203
+
204
+
205
+ # @type: boolean
206
+ field :is_unicode_class
207
+
208
+
209
+ # @type: boolean
210
+ field :is_com_object
211
+
212
+
213
+ # @type: boolean
214
+ field :is_contextful
215
+
216
+
217
+ # @type: boolean
218
+ field :is_enum
219
+
220
+
221
+ # @type: boolean
222
+ field :is_marshal_by_ref
223
+
224
+
225
+ # @type: boolean
226
+ field :is_primitive
227
+
228
+
229
+ # @type: boolean
230
+ field :is_value_type
231
+
232
+
233
+ # @type: boolean
234
+ field :is_signature_type
235
+
236
+
237
+ # @type: boolean
238
+ field :is_security_critical
239
+
240
+
241
+ # @type: boolean
242
+ field :is_security_safe_critical
243
+
244
+
245
+ # @type: boolean
246
+ field :is_security_transparent
247
+
248
+
249
+ field :struct_layout_attribute
250
+
251
+
252
+ field :type_initializer
253
+
254
+
255
+ # @type: string
256
+ # @format: uuid
257
+ field :guid
258
+
259
+
260
+ field :base_type
261
+
262
+
263
+ # @type: boolean
264
+ field :is_serializable
265
+
266
+
267
+ # @type: boolean
268
+ field :contains_generic_parameters
269
+
270
+
271
+ # @type: boolean
272
+ field :is_visible
273
+
274
+
275
+ has_many :custom_attributes, {:class_name=>"Schema::CustomAttributeData", :included=>true}
276
+ has_many :generic_type_arguments, {:class_name=>"Schema::Type", :included=>true}
277
+
278
+ end