oraclebmc 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/oraclebmc/core/blockstorage_client.rb +2 -2
- data/lib/oraclebmc/core/compute_client.rb +8 -7
- data/lib/oraclebmc/core/core.rb +17 -0
- data/lib/oraclebmc/core/models/create_cross_connect_details.rb +203 -0
- data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +132 -0
- data/lib/oraclebmc/core/models/create_subnet_details.rb +24 -3
- data/lib/oraclebmc/core/models/create_vcn_details.rb +2 -2
- data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +261 -0
- data/lib/oraclebmc/core/models/create_vnic_details.rb +202 -0
- data/lib/oraclebmc/core/models/cross_connect.rb +234 -0
- data/lib/oraclebmc/core/models/cross_connect_group.rb +187 -0
- data/lib/oraclebmc/core/models/cross_connect_location.rb +135 -0
- data/lib/oraclebmc/core/models/cross_connect_mapping.rb +191 -0
- data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +138 -0
- data/lib/oraclebmc/core/models/cross_connect_status.rb +201 -0
- data/lib/oraclebmc/core/models/dhcp_dns_option.rb +7 -7
- data/lib/oraclebmc/core/models/dhcp_option.rb +1 -1
- data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +6 -7
- data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +146 -0
- data/lib/oraclebmc/core/models/image.rb +1 -1
- data/lib/oraclebmc/core/models/instance.rb +6 -7
- data/lib/oraclebmc/core/models/launch_instance_details.rb +22 -19
- data/lib/oraclebmc/core/models/letter_of_authority.rb +195 -0
- data/lib/oraclebmc/core/models/subnet.rb +26 -5
- data/lib/oraclebmc/core/models/update_cross_connect_details.rb +137 -0
- data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +121 -0
- data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +240 -0
- data/lib/oraclebmc/core/models/vcn.rb +4 -4
- data/lib/oraclebmc/core/models/virtual_circuit.rb +395 -0
- data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +138 -0
- data/lib/oraclebmc/core/models/vnic.rb +4 -4
- data/lib/oraclebmc/core/virtual_network_client.rb +962 -85
- data/lib/oraclebmc/identity/identity.rb +13 -0
- data/lib/oraclebmc/identity/identity_client.rb +533 -8
- data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +213 -0
- data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +134 -0
- data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +128 -0
- data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +155 -0
- data/lib/oraclebmc/identity/models/create_user_details.rb +1 -1
- data/lib/oraclebmc/identity/models/identity_provider.rb +257 -0
- data/lib/oraclebmc/identity/models/idp_group_mapping.rb +221 -0
- data/lib/oraclebmc/identity/models/region.rb +142 -0
- data/lib/oraclebmc/identity/models/region_subscription.rb +179 -0
- data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +181 -0
- data/lib/oraclebmc/identity/models/tenancy.rb +159 -0
- data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +161 -0
- data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +132 -0
- data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +146 -0
- data/lib/oraclebmc/regions.rb +1 -1
- data/lib/oraclebmc/version.rb +1 -1
- metadata +32 -2
@@ -0,0 +1,142 @@
|
|
1
|
+
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
module OracleBMC
|
6
|
+
class Identity::Models::Region
|
7
|
+
# The key of the region.
|
8
|
+
#
|
9
|
+
# Allowed values are:
|
10
|
+
# - `PHX`
|
11
|
+
# - `IAD`
|
12
|
+
#
|
13
|
+
# @return [String]
|
14
|
+
attr_accessor :key
|
15
|
+
|
16
|
+
# The name of the region.
|
17
|
+
#
|
18
|
+
# Allowed values are:
|
19
|
+
# - `us-phoenix-1`
|
20
|
+
# - `us-ashburn-1`
|
21
|
+
#
|
22
|
+
# @return [String]
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
|
26
|
+
# Initializes the object
|
27
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
28
|
+
def initialize(attributes = {})
|
29
|
+
return unless attributes.is_a?(Hash)
|
30
|
+
|
31
|
+
# convert string to symbol for hash key
|
32
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
33
|
+
|
34
|
+
|
35
|
+
if attributes[:'key']
|
36
|
+
self.key = attributes[:'key']
|
37
|
+
end
|
38
|
+
|
39
|
+
if attributes[:'name']
|
40
|
+
self.name = attributes[:'name']
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
# Checks equality by comparing each attribute.
|
46
|
+
# @param [Object] other_object to be compared
|
47
|
+
def ==(other_object)
|
48
|
+
return true if self.equal?(other_object)
|
49
|
+
self.class == other_object.class &&
|
50
|
+
key == other_object.key &&
|
51
|
+
name == other_object.name
|
52
|
+
end
|
53
|
+
|
54
|
+
# @see the `==` method
|
55
|
+
# @param [Object] other_object to be compared
|
56
|
+
def eql?(other_object)
|
57
|
+
self == other_object
|
58
|
+
end
|
59
|
+
|
60
|
+
# Calculates hash code according to all attributes.
|
61
|
+
# @return [Fixnum] Hash code
|
62
|
+
def hash
|
63
|
+
[key, name].hash
|
64
|
+
end
|
65
|
+
|
66
|
+
# Builds the object from hash
|
67
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
68
|
+
# @return [Object] Returns the model itself
|
69
|
+
def build_from_hash(attributes)
|
70
|
+
return nil unless attributes.is_a?(Hash)
|
71
|
+
self.class.swagger_types.each_pair do |key, type|
|
72
|
+
if type =~ /^Array<(.*)>/i
|
73
|
+
# check to ensure the input is an array given that the the attribute
|
74
|
+
# is documented as an array but the input is not
|
75
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
76
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
|
77
|
+
end
|
78
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
79
|
+
self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
80
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
81
|
+
end
|
82
|
+
|
83
|
+
self
|
84
|
+
end
|
85
|
+
|
86
|
+
# Returns the string representation of the object
|
87
|
+
# @return [String] String presentation of the object
|
88
|
+
def to_s
|
89
|
+
to_hash.to_s
|
90
|
+
end
|
91
|
+
|
92
|
+
# Returns the object in the form of hash
|
93
|
+
# @return [Hash] Returns the object in the form of hash
|
94
|
+
def to_hash
|
95
|
+
hash = {}
|
96
|
+
self.class.attribute_map.each_pair do |attr, param|
|
97
|
+
value = self.send(attr)
|
98
|
+
next if value.nil?
|
99
|
+
hash[param] = _to_hash(value)
|
100
|
+
end
|
101
|
+
hash
|
102
|
+
end
|
103
|
+
|
104
|
+
private
|
105
|
+
|
106
|
+
# Outputs non-array value in the form of hash
|
107
|
+
# For object, use to_hash. Otherwise, just return the value
|
108
|
+
# @param [Object] value Any valid value
|
109
|
+
# @return [Hash] Returns the value in the form of hash
|
110
|
+
def _to_hash(value)
|
111
|
+
if value.is_a?(Array)
|
112
|
+
value.compact.map{ |v| _to_hash(v) }
|
113
|
+
elsif value.is_a?(Hash)
|
114
|
+
{}.tap do |hash|
|
115
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
116
|
+
end
|
117
|
+
elsif value.respond_to? :to_hash
|
118
|
+
value.to_hash
|
119
|
+
else
|
120
|
+
value
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
127
|
+
def self.attribute_map
|
128
|
+
{
|
129
|
+
:'key' => :'key',
|
130
|
+
:'name' => :'name'
|
131
|
+
}
|
132
|
+
end
|
133
|
+
|
134
|
+
# Attribute type mapping.
|
135
|
+
def self.swagger_types
|
136
|
+
{
|
137
|
+
:'key' => :'String',
|
138
|
+
:'name' => :'String'
|
139
|
+
}
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
@@ -0,0 +1,179 @@
|
|
1
|
+
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
module OracleBMC
|
6
|
+
class Identity::Models::RegionSubscription
|
7
|
+
|
8
|
+
STATUS_ENUM = [STATUS_READY = 'READY',
|
9
|
+
STATUS_IN_PROGRESS = 'IN_PROGRESS',
|
10
|
+
STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
11
|
+
|
12
|
+
# The region's key.
|
13
|
+
#
|
14
|
+
# Allowed values are:
|
15
|
+
# - `PHX`
|
16
|
+
# - `IAD`
|
17
|
+
#
|
18
|
+
# @return [String]
|
19
|
+
attr_accessor :region_key
|
20
|
+
|
21
|
+
# The region's name.
|
22
|
+
#
|
23
|
+
# Allowed values are:
|
24
|
+
# - `us-phoenix-1`
|
25
|
+
# - `us-ashburn-1`
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :region_name
|
29
|
+
|
30
|
+
# The region subscription status.
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :status
|
33
|
+
|
34
|
+
# Indicates if the region is the home region or not.
|
35
|
+
# @return [BOOLEAN]
|
36
|
+
attr_accessor :is_home_region
|
37
|
+
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
46
|
+
|
47
|
+
|
48
|
+
if attributes[:'regionKey']
|
49
|
+
self.region_key = attributes[:'regionKey']
|
50
|
+
end
|
51
|
+
|
52
|
+
if attributes[:'regionName']
|
53
|
+
self.region_name = attributes[:'regionName']
|
54
|
+
end
|
55
|
+
|
56
|
+
if attributes[:'status']
|
57
|
+
self.status = attributes[:'status']
|
58
|
+
end
|
59
|
+
|
60
|
+
if attributes[:'isHomeRegion']
|
61
|
+
self.is_home_region = attributes[:'isHomeRegion']
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
# Custom attribute writer method checking allowed values (enum).
|
67
|
+
# @param [Object] status Object to be assigned
|
68
|
+
def status=(status)
|
69
|
+
if status && !STATUS_ENUM.include?(status)
|
70
|
+
@status = STATUS_UNKNOWN_ENUM_VALUE
|
71
|
+
else
|
72
|
+
@status = status
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Checks equality by comparing each attribute.
|
77
|
+
# @param [Object] other_object to be compared
|
78
|
+
def ==(other_object)
|
79
|
+
return true if self.equal?(other_object)
|
80
|
+
self.class == other_object.class &&
|
81
|
+
region_key == other_object.region_key &&
|
82
|
+
region_name == other_object.region_name &&
|
83
|
+
status == other_object.status &&
|
84
|
+
is_home_region == other_object.is_home_region
|
85
|
+
end
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] other_object to be compared
|
89
|
+
def eql?(other_object)
|
90
|
+
self == other_object
|
91
|
+
end
|
92
|
+
|
93
|
+
# Calculates hash code according to all attributes.
|
94
|
+
# @return [Fixnum] Hash code
|
95
|
+
def hash
|
96
|
+
[region_key, region_name, status, is_home_region].hash
|
97
|
+
end
|
98
|
+
|
99
|
+
# Builds the object from hash
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
101
|
+
# @return [Object] Returns the model itself
|
102
|
+
def build_from_hash(attributes)
|
103
|
+
return nil unless attributes.is_a?(Hash)
|
104
|
+
self.class.swagger_types.each_pair do |key, type|
|
105
|
+
if type =~ /^Array<(.*)>/i
|
106
|
+
# check to ensure the input is an array given that the the attribute
|
107
|
+
# is documented as an array but the input is not
|
108
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
|
110
|
+
end
|
111
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
112
|
+
self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
113
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
114
|
+
end
|
115
|
+
|
116
|
+
self
|
117
|
+
end
|
118
|
+
|
119
|
+
# Returns the string representation of the object
|
120
|
+
# @return [String] String presentation of the object
|
121
|
+
def to_s
|
122
|
+
to_hash.to_s
|
123
|
+
end
|
124
|
+
|
125
|
+
# Returns the object in the form of hash
|
126
|
+
# @return [Hash] Returns the object in the form of hash
|
127
|
+
def to_hash
|
128
|
+
hash = {}
|
129
|
+
self.class.attribute_map.each_pair do |attr, param|
|
130
|
+
value = self.send(attr)
|
131
|
+
next if value.nil?
|
132
|
+
hash[param] = _to_hash(value)
|
133
|
+
end
|
134
|
+
hash
|
135
|
+
end
|
136
|
+
|
137
|
+
private
|
138
|
+
|
139
|
+
# Outputs non-array value in the form of hash
|
140
|
+
# For object, use to_hash. Otherwise, just return the value
|
141
|
+
# @param [Object] value Any valid value
|
142
|
+
# @return [Hash] Returns the value in the form of hash
|
143
|
+
def _to_hash(value)
|
144
|
+
if value.is_a?(Array)
|
145
|
+
value.compact.map{ |v| _to_hash(v) }
|
146
|
+
elsif value.is_a?(Hash)
|
147
|
+
{}.tap do |hash|
|
148
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
149
|
+
end
|
150
|
+
elsif value.respond_to? :to_hash
|
151
|
+
value.to_hash
|
152
|
+
else
|
153
|
+
value
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
160
|
+
def self.attribute_map
|
161
|
+
{
|
162
|
+
:'region_key' => :'regionKey',
|
163
|
+
:'region_name' => :'regionName',
|
164
|
+
:'status' => :'status',
|
165
|
+
:'is_home_region' => :'isHomeRegion'
|
166
|
+
}
|
167
|
+
end
|
168
|
+
|
169
|
+
# Attribute type mapping.
|
170
|
+
def self.swagger_types
|
171
|
+
{
|
172
|
+
:'region_key' => :'String',
|
173
|
+
:'region_name' => :'String',
|
174
|
+
:'status' => :'String',
|
175
|
+
:'is_home_region' => :'BOOLEAN'
|
176
|
+
}
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
@@ -0,0 +1,181 @@
|
|
1
|
+
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
|
3
|
+
require 'date'
|
4
|
+
require_relative 'identity_provider'
|
5
|
+
|
6
|
+
module OracleBMC
|
7
|
+
class Identity::Models::Saml2IdentityProvider < Identity::Models::IdentityProvider
|
8
|
+
# The URL for retrieving the identity provider's metadata, which
|
9
|
+
# contains information required for federating.
|
10
|
+
#
|
11
|
+
# @return [String]
|
12
|
+
attr_accessor :metadata_url
|
13
|
+
|
14
|
+
# The identity provider's signing certificate used by the IAM Service
|
15
|
+
# to validate the SAML2 token.
|
16
|
+
#
|
17
|
+
# @return [String]
|
18
|
+
attr_accessor :signing_certificate
|
19
|
+
|
20
|
+
# The URL to redirect federated users to for authentication with the
|
21
|
+
# identity provider.
|
22
|
+
#
|
23
|
+
# @return [String]
|
24
|
+
attr_accessor :redirect_url
|
25
|
+
|
26
|
+
|
27
|
+
# Initializes the object
|
28
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
29
|
+
def initialize(attributes = {})
|
30
|
+
return unless attributes.is_a?(Hash)
|
31
|
+
|
32
|
+
attributes['protocol'] = 'SAML2'
|
33
|
+
|
34
|
+
super(attributes)
|
35
|
+
|
36
|
+
# convert string to symbol for hash key
|
37
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
38
|
+
|
39
|
+
|
40
|
+
if attributes[:'metadataUrl']
|
41
|
+
self.metadata_url = attributes[:'metadataUrl']
|
42
|
+
end
|
43
|
+
|
44
|
+
if attributes[:'signingCertificate']
|
45
|
+
self.signing_certificate = attributes[:'signingCertificate']
|
46
|
+
end
|
47
|
+
|
48
|
+
if attributes[:'redirectUrl']
|
49
|
+
self.redirect_url = attributes[:'redirectUrl']
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
54
|
+
# Checks equality by comparing each attribute.
|
55
|
+
# @param [Object] other_object to be compared
|
56
|
+
def ==(other_object)
|
57
|
+
return true if self.equal?(other_object)
|
58
|
+
self.class == other_object.class &&
|
59
|
+
id == other_object.id &&
|
60
|
+
compartment_id == other_object.compartment_id &&
|
61
|
+
name == other_object.name &&
|
62
|
+
description == other_object.description &&
|
63
|
+
product_type == other_object.product_type &&
|
64
|
+
time_created == other_object.time_created &&
|
65
|
+
lifecycle_state == other_object.lifecycle_state &&
|
66
|
+
inactive_status == other_object.inactive_status &&
|
67
|
+
protocol == other_object.protocol &&
|
68
|
+
metadata_url == other_object.metadata_url &&
|
69
|
+
signing_certificate == other_object.signing_certificate &&
|
70
|
+
redirect_url == other_object.redirect_url
|
71
|
+
end
|
72
|
+
|
73
|
+
# @see the `==` method
|
74
|
+
# @param [Object] other_object to be compared
|
75
|
+
def eql?(other_object)
|
76
|
+
self == other_object
|
77
|
+
end
|
78
|
+
|
79
|
+
# Calculates hash code according to all attributes.
|
80
|
+
# @return [Fixnum] Hash code
|
81
|
+
def hash
|
82
|
+
[id, compartment_id, name, description, product_type, time_created, lifecycle_state, inactive_status, protocol, metadata_url, signing_certificate, redirect_url].hash
|
83
|
+
end
|
84
|
+
|
85
|
+
# Builds the object from hash
|
86
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
87
|
+
# @return [Object] Returns the model itself
|
88
|
+
def build_from_hash(attributes)
|
89
|
+
return nil unless attributes.is_a?(Hash)
|
90
|
+
self.class.swagger_types.each_pair do |key, type|
|
91
|
+
if type =~ /^Array<(.*)>/i
|
92
|
+
# check to ensure the input is an array given that the the attribute
|
93
|
+
# is documented as an array but the input is not
|
94
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
95
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OracleBMC::Internal::Util.convert_to_type($1, v) } )
|
96
|
+
end
|
97
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
98
|
+
self.send("#{key}=", OracleBMC::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
99
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
100
|
+
end
|
101
|
+
|
102
|
+
self
|
103
|
+
end
|
104
|
+
|
105
|
+
# Returns the string representation of the object
|
106
|
+
# @return [String] String presentation of the object
|
107
|
+
def to_s
|
108
|
+
to_hash.to_s
|
109
|
+
end
|
110
|
+
|
111
|
+
# Returns the object in the form of hash
|
112
|
+
# @return [Hash] Returns the object in the form of hash
|
113
|
+
def to_hash
|
114
|
+
hash = {}
|
115
|
+
self.class.attribute_map.each_pair do |attr, param|
|
116
|
+
value = self.send(attr)
|
117
|
+
next if value.nil?
|
118
|
+
hash[param] = _to_hash(value)
|
119
|
+
end
|
120
|
+
hash
|
121
|
+
end
|
122
|
+
|
123
|
+
private
|
124
|
+
|
125
|
+
# Outputs non-array value in the form of hash
|
126
|
+
# For object, use to_hash. Otherwise, just return the value
|
127
|
+
# @param [Object] value Any valid value
|
128
|
+
# @return [Hash] Returns the value in the form of hash
|
129
|
+
def _to_hash(value)
|
130
|
+
if value.is_a?(Array)
|
131
|
+
value.compact.map{ |v| _to_hash(v) }
|
132
|
+
elsif value.is_a?(Hash)
|
133
|
+
{}.tap do |hash|
|
134
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
135
|
+
end
|
136
|
+
elsif value.respond_to? :to_hash
|
137
|
+
value.to_hash
|
138
|
+
else
|
139
|
+
value
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
146
|
+
def self.attribute_map
|
147
|
+
{
|
148
|
+
:'id' => :'id',
|
149
|
+
:'compartment_id' => :'compartmentId',
|
150
|
+
:'name' => :'name',
|
151
|
+
:'description' => :'description',
|
152
|
+
:'product_type' => :'productType',
|
153
|
+
:'time_created' => :'timeCreated',
|
154
|
+
:'lifecycle_state' => :'lifecycleState',
|
155
|
+
:'inactive_status' => :'inactiveStatus',
|
156
|
+
:'protocol' => :'protocol',
|
157
|
+
:'metadata_url' => :'metadataUrl',
|
158
|
+
:'signing_certificate' => :'signingCertificate',
|
159
|
+
:'redirect_url' => :'redirectUrl'
|
160
|
+
}
|
161
|
+
end
|
162
|
+
|
163
|
+
# Attribute type mapping.
|
164
|
+
def self.swagger_types
|
165
|
+
{
|
166
|
+
:'id' => :'String',
|
167
|
+
:'compartment_id' => :'String',
|
168
|
+
:'name' => :'String',
|
169
|
+
:'description' => :'String',
|
170
|
+
:'product_type' => :'String',
|
171
|
+
:'time_created' => :'DateTime',
|
172
|
+
:'lifecycle_state' => :'String',
|
173
|
+
:'inactive_status' => :'Integer',
|
174
|
+
:'protocol' => :'String',
|
175
|
+
:'metadata_url' => :'String',
|
176
|
+
:'signing_certificate' => :'String',
|
177
|
+
:'redirect_url' => :'String'
|
178
|
+
}
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|