oraclebmc 1.2.1 → 1.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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -2
  3. data/lib/oraclebmc/core/blockstorage_client.rb +2 -2
  4. data/lib/oraclebmc/core/compute_client.rb +8 -7
  5. data/lib/oraclebmc/core/core.rb +17 -0
  6. data/lib/oraclebmc/core/models/create_cross_connect_details.rb +203 -0
  7. data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +132 -0
  8. data/lib/oraclebmc/core/models/create_subnet_details.rb +24 -3
  9. data/lib/oraclebmc/core/models/create_vcn_details.rb +2 -2
  10. data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +261 -0
  11. data/lib/oraclebmc/core/models/create_vnic_details.rb +202 -0
  12. data/lib/oraclebmc/core/models/cross_connect.rb +234 -0
  13. data/lib/oraclebmc/core/models/cross_connect_group.rb +187 -0
  14. data/lib/oraclebmc/core/models/cross_connect_location.rb +135 -0
  15. data/lib/oraclebmc/core/models/cross_connect_mapping.rb +191 -0
  16. data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +138 -0
  17. data/lib/oraclebmc/core/models/cross_connect_status.rb +201 -0
  18. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +7 -7
  19. data/lib/oraclebmc/core/models/dhcp_option.rb +1 -1
  20. data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +6 -7
  21. data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +146 -0
  22. data/lib/oraclebmc/core/models/image.rb +1 -1
  23. data/lib/oraclebmc/core/models/instance.rb +6 -7
  24. data/lib/oraclebmc/core/models/launch_instance_details.rb +22 -19
  25. data/lib/oraclebmc/core/models/letter_of_authority.rb +195 -0
  26. data/lib/oraclebmc/core/models/subnet.rb +26 -5
  27. data/lib/oraclebmc/core/models/update_cross_connect_details.rb +137 -0
  28. data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +121 -0
  29. data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +240 -0
  30. data/lib/oraclebmc/core/models/vcn.rb +4 -4
  31. data/lib/oraclebmc/core/models/virtual_circuit.rb +395 -0
  32. data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +138 -0
  33. data/lib/oraclebmc/core/models/vnic.rb +4 -4
  34. data/lib/oraclebmc/core/virtual_network_client.rb +962 -85
  35. data/lib/oraclebmc/identity/identity.rb +13 -0
  36. data/lib/oraclebmc/identity/identity_client.rb +533 -8
  37. data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +213 -0
  38. data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +134 -0
  39. data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +128 -0
  40. data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +155 -0
  41. data/lib/oraclebmc/identity/models/create_user_details.rb +1 -1
  42. data/lib/oraclebmc/identity/models/identity_provider.rb +257 -0
  43. data/lib/oraclebmc/identity/models/idp_group_mapping.rb +221 -0
  44. data/lib/oraclebmc/identity/models/region.rb +142 -0
  45. data/lib/oraclebmc/identity/models/region_subscription.rb +179 -0
  46. data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +181 -0
  47. data/lib/oraclebmc/identity/models/tenancy.rb +159 -0
  48. data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +161 -0
  49. data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +132 -0
  50. data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +146 -0
  51. data/lib/oraclebmc/regions.rb +1 -1
  52. data/lib/oraclebmc/version.rb +1 -1
  53. metadata +32 -2
@@ -0,0 +1,234 @@
1
+ # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ module OracleBMC
6
+ class Core::Models::CrossConnect
7
+
8
+ LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PENDING_CUSTOMER = 'PENDING_CUSTOMER',
9
+ LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
10
+ LIFECYCLE_STATE_PROVISIONED = 'PROVISIONED',
11
+ LIFECYCLE_STATE_INACTIVE = 'INACTIVE',
12
+ LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
13
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
14
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
15
+
16
+ # The OCID of the compartment containing the cross-connect group.
17
+ # @return [String]
18
+ attr_accessor :compartment_id
19
+
20
+ # The OCID of the cross-connect group this cross-connect belongs to (if any).
21
+ # @return [String]
22
+ attr_accessor :cross_connect_group_id
23
+
24
+ # A user-friendly name. Does not have to be unique, and it's changeable.
25
+ # @return [String]
26
+ attr_accessor :display_name
27
+
28
+ # The cross-connect's Oracle ID (OCID).
29
+ # @return [String]
30
+ attr_accessor :id
31
+
32
+ # The cross-connect's current state.
33
+ # @return [String]
34
+ attr_accessor :lifecycle_state
35
+
36
+ # The name of the FastConnect location where this cross-connect is installed.
37
+ # @return [String]
38
+ attr_accessor :location_name
39
+
40
+ # A string identifying the meet-me room port for this cross-connect.
41
+ # @return [String]
42
+ attr_accessor :port_name
43
+
44
+ # The port speed for this cross-connect.
45
+ #
46
+ # Example: `10 Gbps`
47
+ #
48
+ # @return [String]
49
+ attr_accessor :port_speed_shape_name
50
+
51
+ # The date and time the cross-connect was created, in the format defined by RFC3339.
52
+ #
53
+ # Example: `2016-08-25T21:10:29.600Z`
54
+ #
55
+ # @return [DateTime]
56
+ attr_accessor :time_created
57
+
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+
68
+ if attributes[:'compartmentId']
69
+ self.compartment_id = attributes[:'compartmentId']
70
+ end
71
+
72
+ if attributes[:'crossConnectGroupId']
73
+ self.cross_connect_group_id = attributes[:'crossConnectGroupId']
74
+ end
75
+
76
+ if attributes[:'displayName']
77
+ self.display_name = attributes[:'displayName']
78
+ end
79
+
80
+ if attributes[:'id']
81
+ self.id = attributes[:'id']
82
+ end
83
+
84
+ if attributes[:'lifecycleState']
85
+ self.lifecycle_state = attributes[:'lifecycleState']
86
+ end
87
+
88
+ if attributes[:'locationName']
89
+ self.location_name = attributes[:'locationName']
90
+ end
91
+
92
+ if attributes[:'portName']
93
+ self.port_name = attributes[:'portName']
94
+ end
95
+
96
+ if attributes[:'portSpeedShapeName']
97
+ self.port_speed_shape_name = attributes[:'portSpeedShapeName']
98
+ end
99
+
100
+ if attributes[:'timeCreated']
101
+ self.time_created = attributes[:'timeCreated']
102
+ end
103
+
104
+ end
105
+
106
+ # Custom attribute writer method checking allowed values (enum).
107
+ # @param [Object] lifecycle_state Object to be assigned
108
+ def lifecycle_state=(lifecycle_state)
109
+ if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
110
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
111
+ else
112
+ @lifecycle_state = lifecycle_state
113
+ end
114
+ end
115
+
116
+ # Checks equality by comparing each attribute.
117
+ # @param [Object] other_object to be compared
118
+ def ==(other_object)
119
+ return true if self.equal?(other_object)
120
+ self.class == other_object.class &&
121
+ compartment_id == other_object.compartment_id &&
122
+ cross_connect_group_id == other_object.cross_connect_group_id &&
123
+ display_name == other_object.display_name &&
124
+ id == other_object.id &&
125
+ lifecycle_state == other_object.lifecycle_state &&
126
+ location_name == other_object.location_name &&
127
+ port_name == other_object.port_name &&
128
+ port_speed_shape_name == other_object.port_speed_shape_name &&
129
+ time_created == other_object.time_created
130
+ end
131
+
132
+ # @see the `==` method
133
+ # @param [Object] other_object to be compared
134
+ def eql?(other_object)
135
+ self == other_object
136
+ end
137
+
138
+ # Calculates hash code according to all attributes.
139
+ # @return [Fixnum] Hash code
140
+ def hash
141
+ [compartment_id, cross_connect_group_id, display_name, id, lifecycle_state, location_name, port_name, port_speed_shape_name, time_created].hash
142
+ end
143
+
144
+ # Builds the object from hash
145
+ # @param [Hash] attributes Model attributes in the form of hash
146
+ # @return [Object] Returns the model itself
147
+ def build_from_hash(attributes)
148
+ return nil unless attributes.is_a?(Hash)
149
+ self.class.swagger_types.each_pair do |key, type|
150
+ if type =~ /^Array<(.*)>/i
151
+ # check to ensure the input is an array given that the the attribute
152
+ # is documented as an array but the input is not
153
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
154
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
155
+ end
156
+ elsif !attributes[self.class.attribute_map[key]].nil?
157
+ self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
158
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
159
+ end
160
+
161
+ self
162
+ end
163
+
164
+ # Returns the string representation of the object
165
+ # @return [String] String presentation of the object
166
+ def to_s
167
+ to_hash.to_s
168
+ end
169
+
170
+ # Returns the object in the form of hash
171
+ # @return [Hash] Returns the object in the form of hash
172
+ def to_hash
173
+ hash = {}
174
+ self.class.attribute_map.each_pair do |attr, param|
175
+ value = self.send(attr)
176
+ next if value.nil?
177
+ hash[param] = _to_hash(value)
178
+ end
179
+ hash
180
+ end
181
+
182
+ private
183
+
184
+ # Outputs non-array value in the form of hash
185
+ # For object, use to_hash. Otherwise, just return the value
186
+ # @param [Object] value Any valid value
187
+ # @return [Hash] Returns the value in the form of hash
188
+ def _to_hash(value)
189
+ if value.is_a?(Array)
190
+ value.compact.map{ |v| _to_hash(v) }
191
+ elsif value.is_a?(Hash)
192
+ {}.tap do |hash|
193
+ value.each { |k, v| hash[k] = _to_hash(v) }
194
+ end
195
+ elsif value.respond_to? :to_hash
196
+ value.to_hash
197
+ else
198
+ value
199
+ end
200
+ end
201
+
202
+
203
+
204
+ # Attribute mapping from ruby-style variable name to JSON key.
205
+ def self.attribute_map
206
+ {
207
+ :'compartment_id' => :'compartmentId',
208
+ :'cross_connect_group_id' => :'crossConnectGroupId',
209
+ :'display_name' => :'displayName',
210
+ :'id' => :'id',
211
+ :'lifecycle_state' => :'lifecycleState',
212
+ :'location_name' => :'locationName',
213
+ :'port_name' => :'portName',
214
+ :'port_speed_shape_name' => :'portSpeedShapeName',
215
+ :'time_created' => :'timeCreated'
216
+ }
217
+ end
218
+
219
+ # Attribute type mapping.
220
+ def self.swagger_types
221
+ {
222
+ :'compartment_id' => :'String',
223
+ :'cross_connect_group_id' => :'String',
224
+ :'display_name' => :'String',
225
+ :'id' => :'String',
226
+ :'lifecycle_state' => :'String',
227
+ :'location_name' => :'String',
228
+ :'port_name' => :'String',
229
+ :'port_speed_shape_name' => :'String',
230
+ :'time_created' => :'DateTime'
231
+ }
232
+ end
233
+ end
234
+ end
@@ -0,0 +1,187 @@
1
+ # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ module OracleBMC
6
+ class Core::Models::CrossConnectGroup
7
+
8
+ LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
9
+ LIFECYCLE_STATE_PROVISIONED = 'PROVISIONED',
10
+ LIFECYCLE_STATE_INACTIVE = 'INACTIVE',
11
+ LIFECYCLE_STATE_TERMINATING = 'TERMINATING',
12
+ LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
13
+ LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
14
+
15
+ # The OCID of the compartment containing the cross-connect group.
16
+ # @return [String]
17
+ attr_accessor :compartment_id
18
+
19
+ # The display name of A user-friendly name. Does not have to be unique, and it's changeable.
20
+ #
21
+ # @return [String]
22
+ attr_accessor :display_name
23
+
24
+ # The cross-connect group's Oracle ID (OCID).
25
+ # @return [String]
26
+ attr_accessor :id
27
+
28
+ # The cross-connect group's current state.
29
+ # @return [String]
30
+ attr_accessor :lifecycle_state
31
+
32
+ # The date and time the cross-connect group was created, in the format defined by RFC3339.
33
+ #
34
+ # Example: `2016-08-25T21:10:29.600Z`
35
+ #
36
+ # @return [DateTime]
37
+ attr_accessor :time_created
38
+
39
+
40
+ # Initializes the object
41
+ # @param [Hash] attributes Model attributes in the form of hash
42
+ def initialize(attributes = {})
43
+ return unless attributes.is_a?(Hash)
44
+
45
+ # convert string to symbol for hash key
46
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
47
+
48
+
49
+ if attributes[:'compartmentId']
50
+ self.compartment_id = attributes[:'compartmentId']
51
+ end
52
+
53
+ if attributes[:'displayName']
54
+ self.display_name = attributes[:'displayName']
55
+ end
56
+
57
+ if attributes[:'id']
58
+ self.id = attributes[:'id']
59
+ end
60
+
61
+ if attributes[:'lifecycleState']
62
+ self.lifecycle_state = attributes[:'lifecycleState']
63
+ end
64
+
65
+ if attributes[:'timeCreated']
66
+ self.time_created = attributes[:'timeCreated']
67
+ end
68
+
69
+ end
70
+
71
+ # Custom attribute writer method checking allowed values (enum).
72
+ # @param [Object] lifecycle_state Object to be assigned
73
+ def lifecycle_state=(lifecycle_state)
74
+ if lifecycle_state && !LIFECYCLE_STATE_ENUM.include?(lifecycle_state)
75
+ @lifecycle_state = LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE
76
+ else
77
+ @lifecycle_state = lifecycle_state
78
+ end
79
+ end
80
+
81
+ # Checks equality by comparing each attribute.
82
+ # @param [Object] other_object to be compared
83
+ def ==(other_object)
84
+ return true if self.equal?(other_object)
85
+ self.class == other_object.class &&
86
+ compartment_id == other_object.compartment_id &&
87
+ display_name == other_object.display_name &&
88
+ id == other_object.id &&
89
+ lifecycle_state == other_object.lifecycle_state &&
90
+ time_created == other_object.time_created
91
+ end
92
+
93
+ # @see the `==` method
94
+ # @param [Object] other_object to be compared
95
+ def eql?(other_object)
96
+ self == other_object
97
+ end
98
+
99
+ # Calculates hash code according to all attributes.
100
+ # @return [Fixnum] Hash code
101
+ def hash
102
+ [compartment_id, display_name, id, lifecycle_state, time_created].hash
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ self.class.swagger_types.each_pair do |key, type|
111
+ if type =~ /^Array<(.*)>/i
112
+ # check to ensure the input is an array given that the the attribute
113
+ # is documented as an array but the input is not
114
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
115
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
116
+ end
117
+ elsif !attributes[self.class.attribute_map[key]].nil?
118
+ self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
119
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
120
+ end
121
+
122
+ self
123
+ end
124
+
125
+ # Returns the string representation of the object
126
+ # @return [String] String presentation of the object
127
+ def to_s
128
+ to_hash.to_s
129
+ end
130
+
131
+ # Returns the object in the form of hash
132
+ # @return [Hash] Returns the object in the form of hash
133
+ def to_hash
134
+ hash = {}
135
+ self.class.attribute_map.each_pair do |attr, param|
136
+ value = self.send(attr)
137
+ next if value.nil?
138
+ hash[param] = _to_hash(value)
139
+ end
140
+ hash
141
+ end
142
+
143
+ private
144
+
145
+ # Outputs non-array value in the form of hash
146
+ # For object, use to_hash. Otherwise, just return the value
147
+ # @param [Object] value Any valid value
148
+ # @return [Hash] Returns the value in the form of hash
149
+ def _to_hash(value)
150
+ if value.is_a?(Array)
151
+ value.compact.map{ |v| _to_hash(v) }
152
+ elsif value.is_a?(Hash)
153
+ {}.tap do |hash|
154
+ value.each { |k, v| hash[k] = _to_hash(v) }
155
+ end
156
+ elsif value.respond_to? :to_hash
157
+ value.to_hash
158
+ else
159
+ value
160
+ end
161
+ end
162
+
163
+
164
+
165
+ # Attribute mapping from ruby-style variable name to JSON key.
166
+ def self.attribute_map
167
+ {
168
+ :'compartment_id' => :'compartmentId',
169
+ :'display_name' => :'displayName',
170
+ :'id' => :'id',
171
+ :'lifecycle_state' => :'lifecycleState',
172
+ :'time_created' => :'timeCreated'
173
+ }
174
+ end
175
+
176
+ # Attribute type mapping.
177
+ def self.swagger_types
178
+ {
179
+ :'compartment_id' => :'String',
180
+ :'display_name' => :'String',
181
+ :'id' => :'String',
182
+ :'lifecycle_state' => :'String',
183
+ :'time_created' => :'DateTime'
184
+ }
185
+ end
186
+ end
187
+ end
@@ -0,0 +1,135 @@
1
+ # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ module OracleBMC
6
+ class Core::Models::CrossConnectLocation
7
+ # A description of the location.
8
+ # @return [String]
9
+ attr_accessor :description
10
+
11
+ # The name of the location.
12
+ #
13
+ # Example: `CyrusOne, Chandler, AZ`
14
+ #
15
+ # @return [String]
16
+ attr_accessor :name
17
+
18
+
19
+ # Initializes the object
20
+ # @param [Hash] attributes Model attributes in the form of hash
21
+ def initialize(attributes = {})
22
+ return unless attributes.is_a?(Hash)
23
+
24
+ # convert string to symbol for hash key
25
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
26
+
27
+
28
+ if attributes[:'description']
29
+ self.description = attributes[:'description']
30
+ end
31
+
32
+ if attributes[:'name']
33
+ self.name = attributes[:'name']
34
+ end
35
+
36
+ end
37
+
38
+ # Checks equality by comparing each attribute.
39
+ # @param [Object] other_object to be compared
40
+ def ==(other_object)
41
+ return true if self.equal?(other_object)
42
+ self.class == other_object.class &&
43
+ description == other_object.description &&
44
+ name == other_object.name
45
+ end
46
+
47
+ # @see the `==` method
48
+ # @param [Object] other_object to be compared
49
+ def eql?(other_object)
50
+ self == other_object
51
+ end
52
+
53
+ # Calculates hash code according to all attributes.
54
+ # @return [Fixnum] Hash code
55
+ def hash
56
+ [description, name].hash
57
+ end
58
+
59
+ # Builds the object from hash
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ # @return [Object] Returns the model itself
62
+ def build_from_hash(attributes)
63
+ return nil unless attributes.is_a?(Hash)
64
+ self.class.swagger_types.each_pair do |key, type|
65
+ if type =~ /^Array<(.*)>/i
66
+ # check to ensure the input is an array given that the the attribute
67
+ # is documented as an array but the input is not
68
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
69
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
70
+ end
71
+ elsif !attributes[self.class.attribute_map[key]].nil?
72
+ self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
73
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
74
+ end
75
+
76
+ self
77
+ end
78
+
79
+ # Returns the string representation of the object
80
+ # @return [String] String presentation of the object
81
+ def to_s
82
+ to_hash.to_s
83
+ end
84
+
85
+ # Returns the object in the form of hash
86
+ # @return [Hash] Returns the object in the form of hash
87
+ def to_hash
88
+ hash = {}
89
+ self.class.attribute_map.each_pair do |attr, param|
90
+ value = self.send(attr)
91
+ next if value.nil?
92
+ hash[param] = _to_hash(value)
93
+ end
94
+ hash
95
+ end
96
+
97
+ private
98
+
99
+ # Outputs non-array value in the form of hash
100
+ # For object, use to_hash. Otherwise, just return the value
101
+ # @param [Object] value Any valid value
102
+ # @return [Hash] Returns the value in the form of hash
103
+ def _to_hash(value)
104
+ if value.is_a?(Array)
105
+ value.compact.map{ |v| _to_hash(v) }
106
+ elsif value.is_a?(Hash)
107
+ {}.tap do |hash|
108
+ value.each { |k, v| hash[k] = _to_hash(v) }
109
+ end
110
+ elsif value.respond_to? :to_hash
111
+ value.to_hash
112
+ else
113
+ value
114
+ end
115
+ end
116
+
117
+
118
+
119
+ # Attribute mapping from ruby-style variable name to JSON key.
120
+ def self.attribute_map
121
+ {
122
+ :'description' => :'description',
123
+ :'name' => :'name'
124
+ }
125
+ end
126
+
127
+ # Attribute type mapping.
128
+ def self.swagger_types
129
+ {
130
+ :'description' => :'String',
131
+ :'name' => :'String'
132
+ }
133
+ end
134
+ end
135
+ end