nutanix_volumes 0.2.0 → 0.2.2

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 (182) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-config.json +9 -0
  3. data/.openapi-generator/FILES +475 -0
  4. data/.openapi-generator/VERSION +1 -0
  5. data/.openapi-generator-ignore +28 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +148 -0
  8. data/.whitesource +3 -0
  9. data/CHANGELOG.md +14 -0
  10. data/README.md +4 -4
  11. data/lib/nutanix_volumes/models/common_v10_config_entity_type.rb +3 -3
  12. data/lib/nutanix_volumes/models/common_v10_config_message_severity.rb +3 -3
  13. data/lib/nutanix_volumes/models/common_v10_stats_down_sampling_operator.rb +3 -3
  14. data/lib/nutanix_volumes/models/volumes_v40_config_attachment_type.rb +3 -3
  15. data/lib/nutanix_volumes/models/volumes_v40_config_authentication_type.rb +3 -3
  16. data/lib/nutanix_volumes/models/volumes_v40_config_protocol.rb +3 -3
  17. data/lib/nutanix_volumes/models/volumes_v40_config_sharing_status.rb +3 -3
  18. data/lib/nutanix_volumes/models/volumes_v40_config_usage_type.rb +3 -3
  19. data/lib/nutanix_volumes/models/volumes_v40_config_volume_group_attachment_site.rb +3 -3
  20. data/lib/nutanix_volumes/models/volumes_v40_error_message_severity.rb +3 -3
  21. data/lib/nutanix_volumes/version.rb +1 -1
  22. metadata +9 -317
  23. data/Gemfile +0 -9
  24. data/bin/console +0 -15
  25. data/bin/openapi-generate +0 -26
  26. data/nutanix_volumes.gemspec +0 -39
  27. data/pkg/nutanix_volumes-0.1.0.gem +0 -0
  28. data/spec/api/iscsi_clients_api_spec.rb +0 -79
  29. data/spec/api/volume_groups_api_spec.rb +0 -370
  30. data/spec/models/associate_category202_response_spec.rb +0 -42
  31. data/spec/models/associate_category4_xx_response_spec.rb +0 -42
  32. data/spec/models/attach_iscsi_client202_response_spec.rb +0 -42
  33. data/spec/models/attach_iscsi_client4_xx_response_spec.rb +0 -42
  34. data/spec/models/attach_vm202_response_spec.rb +0 -42
  35. data/spec/models/attach_vm4_xx_response_spec.rb +0 -42
  36. data/spec/models/common_v10_config_entity_reference_spec.rb +0 -54
  37. data/spec/models/common_v10_config_entity_type_spec.rb +0 -30
  38. data/spec/models/common_v10_config_flag_spec.rb +0 -42
  39. data/spec/models/common_v10_config_fqdn_spec.rb +0 -36
  40. data/spec/models/common_v10_config_ip_address_or_fqdn_spec.rb +0 -48
  41. data/spec/models/common_v10_config_ipv4_address_spec.rb +0 -42
  42. data/spec/models/common_v10_config_ipv6_address_spec.rb +0 -42
  43. data/spec/models/common_v10_config_kv_pair_spec.rb +0 -42
  44. data/spec/models/common_v10_config_kv_pair_value_spec.rb +0 -32
  45. data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +0 -36
  46. data/spec/models/common_v10_config_message_severity_spec.rb +0 -30
  47. data/spec/models/common_v10_config_message_spec.rb +0 -54
  48. data/spec/models/common_v10_config_metadata_spec.rb +0 -60
  49. data/spec/models/common_v10_config_tenant_aware_model_spec.rb +0 -36
  50. data/spec/models/common_v10_response_api_link_spec.rb +0 -42
  51. data/spec/models/common_v10_response_api_response_metadata_spec.rb +0 -60
  52. data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +0 -48
  53. data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +0 -30
  54. data/spec/models/create_volume_disk202_response_spec.rb +0 -42
  55. data/spec/models/create_volume_disk4_xx_response_spec.rb +0 -42
  56. data/spec/models/create_volume_group202_response_spec.rb +0 -42
  57. data/spec/models/create_volume_group4_xx_response_spec.rb +0 -42
  58. data/spec/models/delete_volume_disk_by_id202_response_spec.rb +0 -42
  59. data/spec/models/delete_volume_disk_by_id4_xx_response_spec.rb +0 -42
  60. data/spec/models/delete_volume_group_by_id202_response_spec.rb +0 -42
  61. data/spec/models/delete_volume_group_by_id4_xx_response_spec.rb +0 -42
  62. data/spec/models/detach_iscsi_client202_response_spec.rb +0 -42
  63. data/spec/models/detach_iscsi_client4_xx_response_spec.rb +0 -42
  64. data/spec/models/detach_vm202_response_spec.rb +0 -42
  65. data/spec/models/detach_vm4_xx_response_spec.rb +0 -42
  66. data/spec/models/disassociate_category202_response_spec.rb +0 -42
  67. data/spec/models/disassociate_category4_xx_response_spec.rb +0 -42
  68. data/spec/models/get_iscsi_client_by_id200_response_spec.rb +0 -42
  69. data/spec/models/get_iscsi_client_by_id4_xx_response_spec.rb +0 -42
  70. data/spec/models/get_volume_disk_by_id200_response_spec.rb +0 -42
  71. data/spec/models/get_volume_disk_by_id4_xx_response_spec.rb +0 -42
  72. data/spec/models/get_volume_disk_stats200_response_spec.rb +0 -42
  73. data/spec/models/get_volume_disk_stats4_xx_response_spec.rb +0 -42
  74. data/spec/models/get_volume_group_by_id200_response_spec.rb +0 -42
  75. data/spec/models/get_volume_group_by_id4_xx_response_spec.rb +0 -42
  76. data/spec/models/get_volume_group_metadata_by_id200_response_spec.rb +0 -42
  77. data/spec/models/get_volume_group_metadata_by_id4_xx_response_spec.rb +0 -42
  78. data/spec/models/get_volume_group_stats200_response_spec.rb +0 -42
  79. data/spec/models/get_volume_group_stats4_xx_response_spec.rb +0 -42
  80. data/spec/models/list_category_associations_by_volume_group_id200_response_spec.rb +0 -42
  81. data/spec/models/list_category_associations_by_volume_group_id4_xx_response_spec.rb +0 -42
  82. data/spec/models/list_external_iscsi_attachments_by_volume_group_id200_response_spec.rb +0 -42
  83. data/spec/models/list_external_iscsi_attachments_by_volume_group_id4_xx_response_spec.rb +0 -42
  84. data/spec/models/list_iscsi_clients200_response_spec.rb +0 -42
  85. data/spec/models/list_iscsi_clients4_xx_response_spec.rb +0 -42
  86. data/spec/models/list_vm_attachments_by_volume_group_id200_response_spec.rb +0 -42
  87. data/spec/models/list_vm_attachments_by_volume_group_id4_xx_response_spec.rb +0 -42
  88. data/spec/models/list_volume_disks_by_volume_group_id200_response_spec.rb +0 -42
  89. data/spec/models/list_volume_disks_by_volume_group_id4_xx_response_spec.rb +0 -42
  90. data/spec/models/list_volume_groups200_response_spec.rb +0 -42
  91. data/spec/models/list_volume_groups4_xx_response_spec.rb +0 -42
  92. data/spec/models/prism_v40_config_task_reference_spec.rb +0 -36
  93. data/spec/models/revert_volume_group202_response_spec.rb +0 -42
  94. data/spec/models/revert_volume_group4_xx_response_spec.rb +0 -42
  95. data/spec/models/update_iscsi_client_by_id202_response_spec.rb +0 -42
  96. data/spec/models/update_iscsi_client_by_id4_xx_response_spec.rb +0 -42
  97. data/spec/models/update_volume_disk_by_id202_response_spec.rb +0 -42
  98. data/spec/models/update_volume_disk_by_id4_xx_response_spec.rb +0 -42
  99. data/spec/models/update_volume_group_by_id202_response_spec.rb +0 -42
  100. data/spec/models/update_volume_group_by_id4_xx_response_spec.rb +0 -42
  101. data/spec/models/volumes_v40_config_associate_category_api_response_spec.rb +0 -42
  102. data/spec/models/volumes_v40_config_attach_iscsi_client_api_response_spec.rb +0 -42
  103. data/spec/models/volumes_v40_config_attach_nvmf_client_api_response_spec.rb +0 -42
  104. data/spec/models/volumes_v40_config_attach_vm_api_response_spec.rb +0 -42
  105. data/spec/models/volumes_v40_config_attachment_type_spec.rb +0 -30
  106. data/spec/models/volumes_v40_config_authentication_type_spec.rb +0 -30
  107. data/spec/models/volumes_v40_config_category_details_spec.rb +0 -54
  108. data/spec/models/volumes_v40_config_category_entity_references_spec.rb +0 -36
  109. data/spec/models/volumes_v40_config_cluster_spec.rb +0 -42
  110. data/spec/models/volumes_v40_config_create_volume_disk_api_response_spec.rb +0 -42
  111. data/spec/models/volumes_v40_config_create_volume_group_api_response_spec.rb +0 -42
  112. data/spec/models/volumes_v40_config_delete_volume_disk_api_response_spec.rb +0 -42
  113. data/spec/models/volumes_v40_config_delete_volume_group_api_response_spec.rb +0 -42
  114. data/spec/models/volumes_v40_config_detach_iscsi_client_api_response_spec.rb +0 -42
  115. data/spec/models/volumes_v40_config_detach_nvmf_client_api_response_spec.rb +0 -42
  116. data/spec/models/volumes_v40_config_detach_vm_api_response_spec.rb +0 -42
  117. data/spec/models/volumes_v40_config_disassociate_category_api_response_spec.rb +0 -42
  118. data/spec/models/volumes_v40_config_disk_storage_features_spec.rb +0 -36
  119. data/spec/models/volumes_v40_config_flash_mode_spec.rb +0 -36
  120. data/spec/models/volumes_v40_config_get_iscsi_client_api_response_data_spec.rb +0 -32
  121. data/spec/models/volumes_v40_config_get_iscsi_client_api_response_spec.rb +0 -42
  122. data/spec/models/volumes_v40_config_get_volume_disk_api_response_data_spec.rb +0 -32
  123. data/spec/models/volumes_v40_config_get_volume_disk_api_response_spec.rb +0 -42
  124. data/spec/models/volumes_v40_config_get_volume_group_api_response_data_spec.rb +0 -32
  125. data/spec/models/volumes_v40_config_get_volume_group_api_response_spec.rb +0 -42
  126. data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_data_spec.rb +0 -32
  127. data/spec/models/volumes_v40_config_get_volume_group_metadata_api_response_spec.rb +0 -42
  128. data/spec/models/volumes_v40_config_iscsi_client_attachment_spec.rb +0 -42
  129. data/spec/models/volumes_v40_config_iscsi_client_spec.rb +0 -96
  130. data/spec/models/volumes_v40_config_iscsi_features_spec.rb +0 -42
  131. data/spec/models/volumes_v40_config_list_category_associations_api_response_data_spec.rb +0 -32
  132. data/spec/models/volumes_v40_config_list_category_associations_api_response_spec.rb +0 -42
  133. data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_data_spec.rb +0 -32
  134. data/spec/models/volumes_v40_config_list_external_iscsi_attachments_api_response_spec.rb +0 -42
  135. data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_data_spec.rb +0 -32
  136. data/spec/models/volumes_v40_config_list_iscsi_clients_api_response_spec.rb +0 -42
  137. data/spec/models/volumes_v40_config_list_vm_attachments_api_response_data_spec.rb +0 -32
  138. data/spec/models/volumes_v40_config_list_vm_attachments_api_response_spec.rb +0 -42
  139. data/spec/models/volumes_v40_config_list_volume_disks_api_response_data_spec.rb +0 -32
  140. data/spec/models/volumes_v40_config_list_volume_disks_api_response_spec.rb +0 -42
  141. data/spec/models/volumes_v40_config_list_volume_groups_api_response_data_spec.rb +0 -32
  142. data/spec/models/volumes_v40_config_list_volume_groups_api_response_spec.rb +0 -42
  143. data/spec/models/volumes_v40_config_migrate_volume_group_api_response_spec.rb +0 -42
  144. data/spec/models/volumes_v40_config_nvmf_client_attachment_spec.rb +0 -54
  145. data/spec/models/volumes_v40_config_nvmf_client_spec.rb +0 -66
  146. data/spec/models/volumes_v40_config_pause_volume_group_synchronous_replication_api_response_spec.rb +0 -42
  147. data/spec/models/volumes_v40_config_protocol_spec.rb +0 -30
  148. data/spec/models/volumes_v40_config_resume_volume_group_synchronous_replication_api_response_spec.rb +0 -42
  149. data/spec/models/volumes_v40_config_revert_spec_spec.rb +0 -36
  150. data/spec/models/volumes_v40_config_revert_volume_group_api_response_spec.rb +0 -42
  151. data/spec/models/volumes_v40_config_sharing_status_spec.rb +0 -30
  152. data/spec/models/volumes_v40_config_storage_features_spec.rb +0 -36
  153. data/spec/models/volumes_v40_config_target_param_spec.rb +0 -42
  154. data/spec/models/volumes_v40_config_update_iscsi_client_api_response_data_spec.rb +0 -32
  155. data/spec/models/volumes_v40_config_update_iscsi_client_api_response_spec.rb +0 -42
  156. data/spec/models/volumes_v40_config_update_iscsi_client_by_id_api_response_spec.rb +0 -42
  157. data/spec/models/volumes_v40_config_update_volume_disk_api_response_spec.rb +0 -42
  158. data/spec/models/volumes_v40_config_update_volume_disk_by_id_api_response_spec.rb +0 -42
  159. data/spec/models/volumes_v40_config_update_volume_group_api_response_spec.rb +0 -42
  160. data/spec/models/volumes_v40_config_update_volume_group_by_id_api_response_spec.rb +0 -42
  161. data/spec/models/volumes_v40_config_update_volume_group_metadata_api_response_spec.rb +0 -42
  162. data/spec/models/volumes_v40_config_update_volume_group_metadata_info_api_response_spec.rb +0 -42
  163. data/spec/models/volumes_v40_config_usage_type_spec.rb +0 -30
  164. data/spec/models/volumes_v40_config_vm_attachment_spec.rb +0 -42
  165. data/spec/models/volumes_v40_config_volume_disk_spec.rb +0 -84
  166. data/spec/models/volumes_v40_config_volume_group_attachment_site_spec.rb +0 -30
  167. data/spec/models/volumes_v40_config_volume_group_metadata_spec.rb +0 -42
  168. data/spec/models/volumes_v40_config_volume_group_spec.rb +0 -144
  169. data/spec/models/volumes_v40_error_app_message_spec.rb +0 -66
  170. data/spec/models/volumes_v40_error_error_response_error_spec.rb +0 -32
  171. data/spec/models/volumes_v40_error_error_response_spec.rb +0 -36
  172. data/spec/models/volumes_v40_error_message_severity_spec.rb +0 -30
  173. data/spec/models/volumes_v40_error_schema_validation_error_message_spec.rb +0 -48
  174. data/spec/models/volumes_v40_error_schema_validation_error_spec.rb +0 -60
  175. data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_data_spec.rb +0 -32
  176. data/spec/models/volumes_v40_stats_get_volume_disk_stats_api_response_spec.rb +0 -42
  177. data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_data_spec.rb +0 -32
  178. data/spec/models/volumes_v40_stats_get_volume_group_stats_api_response_spec.rb +0 -42
  179. data/spec/models/volumes_v40_stats_time_value_pair_spec.rb +0 -42
  180. data/spec/models/volumes_v40_stats_volume_disk_stats_spec.rb +0 -114
  181. data/spec/models/volumes_v40_stats_volume_group_stats_spec.rb +0 -114
  182. data/spec/spec_helper.rb +0 -111
data/.rubocop.yml ADDED
@@ -0,0 +1,148 @@
1
+ # This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
2
+ # Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
3
+ AllCops:
4
+ TargetRubyVersion: 2.4
5
+ # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
6
+ # to ignore them, so only the ones explicitly set in this file are enabled.
7
+ DisabledByDefault: true
8
+ Exclude:
9
+ - '**/templates/**/*'
10
+ - '**/vendor/**/*'
11
+ - 'actionpack/lib/action_dispatch/journey/parser.rb'
12
+
13
+ # Prefer &&/|| over and/or.
14
+ Style/AndOr:
15
+ Enabled: true
16
+
17
+ # Align `when` with `case`.
18
+ Layout/CaseIndentation:
19
+ Enabled: true
20
+
21
+ # Align comments with method definitions.
22
+ Layout/CommentIndentation:
23
+ Enabled: true
24
+
25
+ Layout/ElseAlignment:
26
+ Enabled: true
27
+
28
+ Layout/EmptyLineAfterMagicComment:
29
+ Enabled: true
30
+
31
+ # In a regular class definition, no empty lines around the body.
32
+ Layout/EmptyLinesAroundClassBody:
33
+ Enabled: true
34
+
35
+ # In a regular method definition, no empty lines around the body.
36
+ Layout/EmptyLinesAroundMethodBody:
37
+ Enabled: true
38
+
39
+ # In a regular module definition, no empty lines around the body.
40
+ Layout/EmptyLinesAroundModuleBody:
41
+ Enabled: true
42
+
43
+ Layout/FirstArgumentIndentation:
44
+ Enabled: true
45
+
46
+ # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
47
+ Style/HashSyntax:
48
+ Enabled: false
49
+
50
+ # Method definitions after `private` or `protected` isolated calls need one
51
+ # extra level of indentation.
52
+ Layout/IndentationConsistency:
53
+ Enabled: true
54
+ EnforcedStyle: indented_internal_methods
55
+
56
+ # Two spaces, no tabs (for indentation).
57
+ Layout/IndentationWidth:
58
+ Enabled: true
59
+
60
+ Layout/LeadingCommentSpace:
61
+ Enabled: true
62
+
63
+ Layout/SpaceAfterColon:
64
+ Enabled: true
65
+
66
+ Layout/SpaceAfterComma:
67
+ Enabled: true
68
+
69
+ Layout/SpaceAroundEqualsInParameterDefault:
70
+ Enabled: true
71
+
72
+ Layout/SpaceAroundKeyword:
73
+ Enabled: true
74
+
75
+ Layout/SpaceAroundOperators:
76
+ Enabled: true
77
+
78
+ Layout/SpaceBeforeComma:
79
+ Enabled: true
80
+
81
+ Layout/SpaceBeforeFirstArg:
82
+ Enabled: true
83
+
84
+ Style/DefWithParentheses:
85
+ Enabled: true
86
+
87
+ # Defining a method with parameters needs parentheses.
88
+ Style/MethodDefParentheses:
89
+ Enabled: true
90
+
91
+ Style/FrozenStringLiteralComment:
92
+ Enabled: false
93
+ EnforcedStyle: always
94
+
95
+ # Use `foo {}` not `foo{}`.
96
+ Layout/SpaceBeforeBlockBraces:
97
+ Enabled: true
98
+
99
+ # Use `foo { bar }` not `foo {bar}`.
100
+ Layout/SpaceInsideBlockBraces:
101
+ Enabled: true
102
+
103
+ # Use `{ a: 1 }` not `{a:1}`.
104
+ Layout/SpaceInsideHashLiteralBraces:
105
+ Enabled: true
106
+
107
+ Layout/SpaceInsideParens:
108
+ Enabled: true
109
+
110
+ # Check quotes usage according to lint rule below.
111
+ #Style/StringLiterals:
112
+ # Enabled: true
113
+ # EnforcedStyle: single_quotes
114
+
115
+ # Detect hard tabs, no hard tabs.
116
+ Layout/IndentationStyle:
117
+ Enabled: true
118
+
119
+ # Blank lines should not have any spaces.
120
+ Layout/TrailingEmptyLines:
121
+ Enabled: true
122
+
123
+ # No trailing whitespace.
124
+ Layout/TrailingWhitespace:
125
+ Enabled: false
126
+
127
+ # Use quotes for string literals when they are enough.
128
+ Style/RedundantPercentQ:
129
+ Enabled: true
130
+
131
+ # Align `end` with the matching keyword or starting expression except for
132
+ # assignments, where it should be aligned with the LHS.
133
+ Layout/EndAlignment:
134
+ Enabled: true
135
+ EnforcedStyleAlignWith: variable
136
+ AutoCorrect: true
137
+
138
+ # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
139
+ Lint/RequireParentheses:
140
+ Enabled: true
141
+
142
+ Style/RedundantReturn:
143
+ Enabled: true
144
+ AllowMultipleReturnValues: true
145
+
146
+ Style/Semicolon:
147
+ Enabled: true
148
+ AllowAsExpressionSeparator: true
data/.whitesource ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "settingsInheritedFrom": "ManageIQ/whitesource-config@master"
3
+ }
data/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.2] - 2025-11-25
8
+ ### Fixed
9
+ - Fix extra files included in gem build ([#17](https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/pull/17))
10
+
11
+ ## [0.2.1] - 2025-11-24
12
+ ### Added
13
+ - Add a post-generate script to fix invalid constants ([#15](https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/pull/15))
14
+
15
+ ### Fixed
16
+ - Fix `_UNKNOWN`/`_REDACTED` constants ([#16](https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/pull/16))
17
+
7
18
  ## [0.2.0] - 2025-11-24
8
19
  ### Added
9
20
  - Add License ([#7](https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/pull/7))
@@ -19,5 +30,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
19
30
  ### Added
20
31
  - Initial release
21
32
 
33
+ [Unreleased]: https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/compare/v0.2.2...HEAD
34
+ [0.2.2]: https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/compare/v0.2.1...v0.2.2
35
+ [0.2.1]: https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/compare/v0.2.0...v0.2.1
22
36
  [0.2.0]: https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/compare/v0.1.0...v0.2.0
23
37
  [0.1.0]: https://github.com/ManageIQ/nutanix_volumes-sdk-ruby/tree/v0.1.0
data/README.md CHANGED
@@ -7,7 +7,7 @@ Configure volumes.
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 4.0
10
- - Package version: 1.0.0
10
+ - Package version: 0.2.0
11
11
  - Generator version: 7.17.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build nutanix_volumes.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./nutanix_volumes-1.0.0.gem
27
+ gem install ./nutanix_volumes-0.2.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./nutanix_volumes-1.0.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./nutanix_volumes-0.2.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'nutanix_volumes', '~> 1.0.0'
36
+ gem 'nutanix_volumes', '~> 0.2.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -43,11 +43,11 @@ module NutanixVolumes
43
43
  VIRTUAL_NETWORK = "VIRTUAL_NETWORK".freeze
44
44
  CONSISTENCY_GROUP = "CONSISTENCY_GROUP".freeze
45
45
  SUBNET_EXTENSION = "SUBNET_EXTENSION".freeze
46
- _UNKNOWN = "$UNKNOWN".freeze
47
- _REDACTED = "$REDACTED".freeze
46
+ UNKNOWN = "$UNKNOWN".freeze
47
+ REDACTED = "$REDACTED".freeze
48
48
 
49
49
  def self.all_vars
50
- @all_vars ||= [CLUSTER, VM, STORAGE_CONTAINER, VOLUME_GROUP, TASK, IMAGE, CATEGORY, NODE, VPC, SUBNET, ROUTING_POLICY, FLOATING_IP, VPN_GATEWAY, VPN_CONNECTION, DIRECT_CONNECT, DIRECT_CONNECT_VIF, VIRTUAL_NIC, VIRTUAL_SWITCH, VM_DISK, VOLUME_DISK, DISK_RECOVERY_POINT, VTEP_GATEWAY, RECOVERY_PLAN, RECOVERY_PLAN_JOB, AVAILABILITY_ZONE, VIRTUAL_NETWORK, CONSISTENCY_GROUP, SUBNET_EXTENSION, _UNKNOWN, _REDACTED].freeze
50
+ @all_vars ||= [CLUSTER, VM, STORAGE_CONTAINER, VOLUME_GROUP, TASK, IMAGE, CATEGORY, NODE, VPC, SUBNET, ROUTING_POLICY, FLOATING_IP, VPN_GATEWAY, VPN_CONNECTION, DIRECT_CONNECT, DIRECT_CONNECT_VIF, VIRTUAL_NIC, VIRTUAL_SWITCH, VM_DISK, VOLUME_DISK, DISK_RECOVERY_POINT, VTEP_GATEWAY, RECOVERY_PLAN, RECOVERY_PLAN_JOB, AVAILABILITY_ZONE, VIRTUAL_NETWORK, CONSISTENCY_GROUP, SUBNET_EXTENSION, UNKNOWN, REDACTED].freeze
51
51
  end
52
52
 
53
53
  # Builds the enum from string
@@ -18,11 +18,11 @@ module NutanixVolumes
18
18
  INFO = "INFO".freeze
19
19
  WARNING = "WARNING".freeze
20
20
  ERROR = "ERROR".freeze
21
- _UNKNOWN = "$UNKNOWN".freeze
22
- _REDACTED = "$REDACTED".freeze
21
+ UNKNOWN = "$UNKNOWN".freeze
22
+ REDACTED = "$REDACTED".freeze
23
23
 
24
24
  def self.all_vars
25
- @all_vars ||= [INFO, WARNING, ERROR, _UNKNOWN, _REDACTED].freeze
25
+ @all_vars ||= [INFO, WARNING, ERROR, UNKNOWN, REDACTED].freeze
26
26
  end
27
27
 
28
28
  # Builds the enum from string
@@ -21,11 +21,11 @@ module NutanixVolumes
21
21
  AVG = "AVG".freeze
22
22
  COUNT = "COUNT".freeze
23
23
  LAST = "LAST".freeze
24
- _UNKNOWN = "$UNKNOWN".freeze
25
- _REDACTED = "$REDACTED".freeze
24
+ UNKNOWN = "$UNKNOWN".freeze
25
+ REDACTED = "$REDACTED".freeze
26
26
 
27
27
  def self.all_vars
28
- @all_vars ||= [SUM, MIN, MAX, AVG, COUNT, LAST, _UNKNOWN, _REDACTED].freeze
28
+ @all_vars ||= [SUM, MIN, MAX, AVG, COUNT, LAST, UNKNOWN, REDACTED].freeze
29
29
  end
30
30
 
31
31
  # Builds the enum from string
@@ -18,11 +18,11 @@ module NutanixVolumes
18
18
  NONE = "NONE".freeze
19
19
  DIRECT = "DIRECT".freeze
20
20
  EXTERNAL = "EXTERNAL".freeze
21
- _UNKNOWN = "$UNKNOWN".freeze
22
- _REDACTED = "$REDACTED".freeze
21
+ UNKNOWN = "$UNKNOWN".freeze
22
+ REDACTED = "$REDACTED".freeze
23
23
 
24
24
  def self.all_vars
25
- @all_vars ||= [NONE, DIRECT, EXTERNAL, _UNKNOWN, _REDACTED].freeze
25
+ @all_vars ||= [NONE, DIRECT, EXTERNAL, UNKNOWN, REDACTED].freeze
26
26
  end
27
27
 
28
28
  # Builds the enum from string
@@ -17,11 +17,11 @@ module NutanixVolumes
17
17
  class VolumesV40ConfigAuthenticationType
18
18
  CHAP = "CHAP".freeze
19
19
  NONE = "NONE".freeze
20
- _UNKNOWN = "$UNKNOWN".freeze
21
- _REDACTED = "$REDACTED".freeze
20
+ UNKNOWN = "$UNKNOWN".freeze
21
+ REDACTED = "$REDACTED".freeze
22
22
 
23
23
  def self.all_vars
24
- @all_vars ||= [CHAP, NONE, _UNKNOWN, _REDACTED].freeze
24
+ @all_vars ||= [CHAP, NONE, UNKNOWN, REDACTED].freeze
25
25
  end
26
26
 
27
27
  # Builds the enum from string
@@ -18,11 +18,11 @@ module NutanixVolumes
18
18
  NOT_ASSIGNED = "NOT_ASSIGNED".freeze
19
19
  ISCSI = "ISCSI".freeze
20
20
  NVMF = "NVMF".freeze
21
- _UNKNOWN = "$UNKNOWN".freeze
22
- _REDACTED = "$REDACTED".freeze
21
+ UNKNOWN = "$UNKNOWN".freeze
22
+ REDACTED = "$REDACTED".freeze
23
23
 
24
24
  def self.all_vars
25
- @all_vars ||= [NOT_ASSIGNED, ISCSI, NVMF, _UNKNOWN, _REDACTED].freeze
25
+ @all_vars ||= [NOT_ASSIGNED, ISCSI, NVMF, UNKNOWN, REDACTED].freeze
26
26
  end
27
27
 
28
28
  # Builds the enum from string
@@ -17,11 +17,11 @@ module NutanixVolumes
17
17
  class VolumesV40ConfigSharingStatus
18
18
  SHARED = "SHARED".freeze
19
19
  NOT_SHARED = "NOT_SHARED".freeze
20
- _UNKNOWN = "$UNKNOWN".freeze
21
- _REDACTED = "$REDACTED".freeze
20
+ UNKNOWN = "$UNKNOWN".freeze
21
+ REDACTED = "$REDACTED".freeze
22
22
 
23
23
  def self.all_vars
24
- @all_vars ||= [SHARED, NOT_SHARED, _UNKNOWN, _REDACTED].freeze
24
+ @all_vars ||= [SHARED, NOT_SHARED, UNKNOWN, REDACTED].freeze
25
25
  end
26
26
 
27
27
  # Builds the enum from string
@@ -19,11 +19,11 @@ module NutanixVolumes
19
19
  INTERNAL = "INTERNAL".freeze
20
20
  TEMPORARY = "TEMPORARY".freeze
21
21
  BACKUP_TARGET = "BACKUP_TARGET".freeze
22
- _UNKNOWN = "$UNKNOWN".freeze
23
- _REDACTED = "$REDACTED".freeze
22
+ UNKNOWN = "$UNKNOWN".freeze
23
+ REDACTED = "$REDACTED".freeze
24
24
 
25
25
  def self.all_vars
26
- @all_vars ||= [USER, INTERNAL, TEMPORARY, BACKUP_TARGET, _UNKNOWN, _REDACTED].freeze
26
+ @all_vars ||= [USER, INTERNAL, TEMPORARY, BACKUP_TARGET, UNKNOWN, REDACTED].freeze
27
27
  end
28
28
 
29
29
  # Builds the enum from string
@@ -17,11 +17,11 @@ module NutanixVolumes
17
17
  class VolumesV40ConfigVolumeGroupAttachmentSite
18
18
  PRIMARY = "PRIMARY".freeze
19
19
  SECONDARY = "SECONDARY".freeze
20
- _UNKNOWN = "$UNKNOWN".freeze
21
- _REDACTED = "$REDACTED".freeze
20
+ UNKNOWN = "$UNKNOWN".freeze
21
+ REDACTED = "$REDACTED".freeze
22
22
 
23
23
  def self.all_vars
24
- @all_vars ||= [PRIMARY, SECONDARY, _UNKNOWN, _REDACTED].freeze
24
+ @all_vars ||= [PRIMARY, SECONDARY, UNKNOWN, REDACTED].freeze
25
25
  end
26
26
 
27
27
  # Builds the enum from string
@@ -18,11 +18,11 @@ module NutanixVolumes
18
18
  INFO = "INFO".freeze
19
19
  WARNING = "WARNING".freeze
20
20
  ERROR = "ERROR".freeze
21
- _UNKNOWN = "$UNKNOWN".freeze
22
- _REDACTED = "$REDACTED".freeze
21
+ UNKNOWN = "$UNKNOWN".freeze
22
+ REDACTED = "$REDACTED".freeze
23
23
 
24
24
  def self.all_vars
25
- @all_vars ||= [INFO, WARNING, ERROR, _UNKNOWN, _REDACTED].freeze
25
+ @all_vars ||= [INFO, WARNING, ERROR, UNKNOWN, REDACTED].freeze
26
26
  end
27
27
 
28
28
  # Builds the enum from string
@@ -11,5 +11,5 @@ Generator version: 7.17.0
11
11
  =end
12
12
 
13
13
  module NutanixVolumes
14
- VERSION = '0.2.0'
14
+ VERSION = '0.2.2'
15
15
  end