bella_baxter 0.1.1.pre.preview.104 → 0.1.1.pre.preview.106
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.
- checksums.yaml +4 -4
- data/lib/bella_baxter/generated/internal/v1/cert_rotation/cert_rotation_request_builder.rb +6 -0
- data/lib/bella_baxter/generated/internal/v1/cert_rotation/outcome/outcome.rb +0 -0
- data/lib/bella_baxter/generated/internal/v1/cert_rotation/outcome/outcome_request_builder.rb +79 -0
- data/lib/bella_baxter/generated/models/models.rb +1 -0
- data/lib/bella_baxter/generated/models/record_rotation_outcome_command.rb +543 -0
- data/lib/bella_baxter/version.rb +1 -1
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '099a1cd4f7f387a0c531a3dd5a5c271726c5aa0ac313e7bdc5e809000b1fdea4'
|
|
4
|
+
data.tar.gz: b690ea88030cdc4f934b4d5d69de6f549560ca889a59c918b92c885069867011
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc8dc33dcab496f38b3b7a5e10427477a71018ed3ed33c676ecad230d0aebad0732fbb5c4246922e2410206cbb0b1a643fa40bbe1eb4fcb8c279c88da245e0bc
|
|
7
|
+
data.tar.gz: e358ad217ba1711b085bddd5eee30b2d2393a56637562af84be4674bdcede4272e4e2c2470201aa7d2b51c3e3566376ae7ad7df52582475ad63a0783d789d2bd
|
|
@@ -4,6 +4,7 @@ require_relative '../../internal'
|
|
|
4
4
|
require_relative '../v1'
|
|
5
5
|
require_relative './audit/audit_request_builder'
|
|
6
6
|
require_relative './cert_rotation'
|
|
7
|
+
require_relative './outcome/outcome_request_builder'
|
|
7
8
|
|
|
8
9
|
module Bella_baxter/generated
|
|
9
10
|
module Internal
|
|
@@ -19,6 +20,11 @@ module Bella_baxter/generated
|
|
|
19
20
|
return Bella_baxter/generated::Internal::V1::CertRotation::Audit::AuditRequestBuilder.new(@path_parameters, @request_adapter)
|
|
20
21
|
end
|
|
21
22
|
##
|
|
23
|
+
# The outcome property
|
|
24
|
+
def outcome()
|
|
25
|
+
return Bella_baxter/generated::Internal::V1::CertRotation::Outcome::OutcomeRequestBuilder.new(@path_parameters, @request_adapter)
|
|
26
|
+
end
|
|
27
|
+
##
|
|
22
28
|
## Instantiates a new CertRotationRequestBuilder and sets the default values.
|
|
23
29
|
## @param path_parameters Path parameters for the request
|
|
24
30
|
## @param request_adapter The request adapter to use to execute the requests.
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../../../../bella_baxter/generated'
|
|
3
|
+
require_relative '../../../../models/problem_details'
|
|
4
|
+
require_relative '../../../../models/record_rotation_outcome_command'
|
|
5
|
+
require_relative '../../../internal'
|
|
6
|
+
require_relative '../../v1'
|
|
7
|
+
require_relative '../cert_rotation'
|
|
8
|
+
require_relative './outcome'
|
|
9
|
+
|
|
10
|
+
module Bella_baxter/generated
|
|
11
|
+
module Internal
|
|
12
|
+
module V1
|
|
13
|
+
module CertRotation
|
|
14
|
+
module Outcome
|
|
15
|
+
##
|
|
16
|
+
# Builds and executes requests for operations under \internal\v1\cert-rotation\outcome
|
|
17
|
+
class OutcomeRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
18
|
+
|
|
19
|
+
##
|
|
20
|
+
## Instantiates a new OutcomeRequestBuilder and sets the default values.
|
|
21
|
+
## @param path_parameters Path parameters for the request
|
|
22
|
+
## @param request_adapter The request adapter to use to execute the requests.
|
|
23
|
+
## @return a void
|
|
24
|
+
##
|
|
25
|
+
def initialize(path_parameters, request_adapter)
|
|
26
|
+
super(path_parameters, request_adapter, "{+baseurl}/internal/v1/cert-rotation/outcome")
|
|
27
|
+
end
|
|
28
|
+
##
|
|
29
|
+
## POST_internal_v1_cert_rotation_outcome
|
|
30
|
+
## @param body The request body
|
|
31
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
## @return a Fiber of void
|
|
33
|
+
##
|
|
34
|
+
def post(body, request_configuration=nil)
|
|
35
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
36
|
+
request_info = self.to_post_request_information(
|
|
37
|
+
body, request_configuration
|
|
38
|
+
)
|
|
39
|
+
error_mapping = Hash.new
|
|
40
|
+
error_mapping["400"] = lambda {|pn| Bella_baxter/generated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
41
|
+
error_mapping["403"] = lambda {|pn| Bella_baxter/generated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
42
|
+
error_mapping["503"] = lambda {|pn| Bella_baxter/generated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
43
|
+
return @request_adapter.send_async(request_info, nil, error_mapping)
|
|
44
|
+
end
|
|
45
|
+
##
|
|
46
|
+
## POST_internal_v1_cert_rotation_outcome
|
|
47
|
+
## @param body The request body
|
|
48
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
## @return a request_information
|
|
50
|
+
##
|
|
51
|
+
def to_post_request_information(body, request_configuration=nil)
|
|
52
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
53
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
|
54
|
+
unless request_configuration.nil?
|
|
55
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
|
56
|
+
request_info.add_request_options(request_configuration.options)
|
|
57
|
+
end
|
|
58
|
+
request_info.set_content_from_parsable(@request_adapter, 'application/json', body)
|
|
59
|
+
request_info.url_template = @url_template
|
|
60
|
+
request_info.path_parameters = @path_parameters
|
|
61
|
+
request_info.http_method = :POST
|
|
62
|
+
request_info.headers.try_add('Accept', 'application/json, application/problem+json')
|
|
63
|
+
return request_info
|
|
64
|
+
end
|
|
65
|
+
##
|
|
66
|
+
## Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
67
|
+
## @param raw_url The raw URL to use for the request builder.
|
|
68
|
+
## @return a outcome_request_builder
|
|
69
|
+
##
|
|
70
|
+
def with_url(raw_url)
|
|
71
|
+
raise StandardError, 'raw_url cannot be null' if raw_url.nil?
|
|
72
|
+
return OutcomeRequestBuilder.new(raw_url, @request_adapter)
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -218,6 +218,7 @@ require_relative 'provider_response'
|
|
|
218
218
|
require_relative 'provider_response_configuration'
|
|
219
219
|
require_relative 'provision_project_dek_response'
|
|
220
220
|
require_relative 'record_cert_rotation_audit_command'
|
|
221
|
+
require_relative 'record_rotation_outcome_command'
|
|
221
222
|
require_relative 'recover_encryption_key_request'
|
|
222
223
|
require_relative 'recover_encryption_key_response'
|
|
223
224
|
require_relative 'recovery_challenge_response'
|
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
require 'date'
|
|
2
|
+
require 'microsoft_kiota_abstractions'
|
|
3
|
+
require_relative '../bella_baxter/generated'
|
|
4
|
+
require_relative './models'
|
|
5
|
+
|
|
6
|
+
module Bella_baxter/generated
|
|
7
|
+
module Models
|
|
8
|
+
class RecordRotationOutcomeCommand
|
|
9
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
10
|
+
##
|
|
11
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
12
|
+
@additional_data
|
|
13
|
+
##
|
|
14
|
+
# The announcementId property
|
|
15
|
+
@announcement_id
|
|
16
|
+
##
|
|
17
|
+
# The certificatesDeployed property
|
|
18
|
+
@certificates_deployed
|
|
19
|
+
##
|
|
20
|
+
# The certificatesEvaluated property
|
|
21
|
+
@certificates_evaluated
|
|
22
|
+
##
|
|
23
|
+
# The certificatesFailed property
|
|
24
|
+
@certificates_failed
|
|
25
|
+
##
|
|
26
|
+
# The certificatesUnchanged property
|
|
27
|
+
@certificates_unchanged
|
|
28
|
+
##
|
|
29
|
+
# The environmentId property
|
|
30
|
+
@environment_id
|
|
31
|
+
##
|
|
32
|
+
# The environmentSlug property
|
|
33
|
+
@environment_slug
|
|
34
|
+
##
|
|
35
|
+
# The failureCategory property
|
|
36
|
+
@failure_category
|
|
37
|
+
##
|
|
38
|
+
# The failureDetail property
|
|
39
|
+
@failure_detail
|
|
40
|
+
##
|
|
41
|
+
# The hostsFailed property
|
|
42
|
+
@hosts_failed
|
|
43
|
+
##
|
|
44
|
+
# The hostsSucceeded property
|
|
45
|
+
@hosts_succeeded
|
|
46
|
+
##
|
|
47
|
+
# The missedReason property
|
|
48
|
+
@missed_reason
|
|
49
|
+
##
|
|
50
|
+
# The notAfter property
|
|
51
|
+
@not_after
|
|
52
|
+
##
|
|
53
|
+
# The occurredAt property
|
|
54
|
+
@occurred_at
|
|
55
|
+
##
|
|
56
|
+
# The occurrenceDueAt property
|
|
57
|
+
@occurrence_due_at
|
|
58
|
+
##
|
|
59
|
+
# The outcome property
|
|
60
|
+
@outcome
|
|
61
|
+
##
|
|
62
|
+
# The primaryDomain property
|
|
63
|
+
@primary_domain
|
|
64
|
+
##
|
|
65
|
+
# The projectId property
|
|
66
|
+
@project_id
|
|
67
|
+
##
|
|
68
|
+
# The projectRef property
|
|
69
|
+
@project_ref
|
|
70
|
+
##
|
|
71
|
+
# The rotationId property
|
|
72
|
+
@rotation_id
|
|
73
|
+
##
|
|
74
|
+
# The sanList property
|
|
75
|
+
@san_list
|
|
76
|
+
##
|
|
77
|
+
# The targetId property
|
|
78
|
+
@target_id
|
|
79
|
+
##
|
|
80
|
+
# The tenantId property
|
|
81
|
+
@tenant_id
|
|
82
|
+
##
|
|
83
|
+
# The trigger property
|
|
84
|
+
@trigger
|
|
85
|
+
##
|
|
86
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
87
|
+
## @return a i_dictionary
|
|
88
|
+
##
|
|
89
|
+
def additional_data
|
|
90
|
+
return @additional_data
|
|
91
|
+
end
|
|
92
|
+
##
|
|
93
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
94
|
+
## @param value Value to set for the AdditionalData property.
|
|
95
|
+
## @return a void
|
|
96
|
+
##
|
|
97
|
+
def additional_data=(value)
|
|
98
|
+
@additional_data = value
|
|
99
|
+
end
|
|
100
|
+
##
|
|
101
|
+
## Gets the announcementId property value. The announcementId property
|
|
102
|
+
## @return a guid
|
|
103
|
+
##
|
|
104
|
+
def announcement_id
|
|
105
|
+
return @announcement_id
|
|
106
|
+
end
|
|
107
|
+
##
|
|
108
|
+
## Sets the announcementId property value. The announcementId property
|
|
109
|
+
## @param value Value to set for the announcementId property.
|
|
110
|
+
## @return a void
|
|
111
|
+
##
|
|
112
|
+
def announcement_id=(value)
|
|
113
|
+
@announcement_id = value
|
|
114
|
+
end
|
|
115
|
+
##
|
|
116
|
+
## Gets the certificatesDeployed property value. The certificatesDeployed property
|
|
117
|
+
## @return a integer
|
|
118
|
+
##
|
|
119
|
+
def certificates_deployed
|
|
120
|
+
return @certificates_deployed
|
|
121
|
+
end
|
|
122
|
+
##
|
|
123
|
+
## Sets the certificatesDeployed property value. The certificatesDeployed property
|
|
124
|
+
## @param value Value to set for the certificatesDeployed property.
|
|
125
|
+
## @return a void
|
|
126
|
+
##
|
|
127
|
+
def certificates_deployed=(value)
|
|
128
|
+
@certificates_deployed = value
|
|
129
|
+
end
|
|
130
|
+
##
|
|
131
|
+
## Gets the certificatesEvaluated property value. The certificatesEvaluated property
|
|
132
|
+
## @return a integer
|
|
133
|
+
##
|
|
134
|
+
def certificates_evaluated
|
|
135
|
+
return @certificates_evaluated
|
|
136
|
+
end
|
|
137
|
+
##
|
|
138
|
+
## Sets the certificatesEvaluated property value. The certificatesEvaluated property
|
|
139
|
+
## @param value Value to set for the certificatesEvaluated property.
|
|
140
|
+
## @return a void
|
|
141
|
+
##
|
|
142
|
+
def certificates_evaluated=(value)
|
|
143
|
+
@certificates_evaluated = value
|
|
144
|
+
end
|
|
145
|
+
##
|
|
146
|
+
## Gets the certificatesFailed property value. The certificatesFailed property
|
|
147
|
+
## @return a integer
|
|
148
|
+
##
|
|
149
|
+
def certificates_failed
|
|
150
|
+
return @certificates_failed
|
|
151
|
+
end
|
|
152
|
+
##
|
|
153
|
+
## Sets the certificatesFailed property value. The certificatesFailed property
|
|
154
|
+
## @param value Value to set for the certificatesFailed property.
|
|
155
|
+
## @return a void
|
|
156
|
+
##
|
|
157
|
+
def certificates_failed=(value)
|
|
158
|
+
@certificates_failed = value
|
|
159
|
+
end
|
|
160
|
+
##
|
|
161
|
+
## Gets the certificatesUnchanged property value. The certificatesUnchanged property
|
|
162
|
+
## @return a integer
|
|
163
|
+
##
|
|
164
|
+
def certificates_unchanged
|
|
165
|
+
return @certificates_unchanged
|
|
166
|
+
end
|
|
167
|
+
##
|
|
168
|
+
## Sets the certificatesUnchanged property value. The certificatesUnchanged property
|
|
169
|
+
## @param value Value to set for the certificatesUnchanged property.
|
|
170
|
+
## @return a void
|
|
171
|
+
##
|
|
172
|
+
def certificates_unchanged=(value)
|
|
173
|
+
@certificates_unchanged = value
|
|
174
|
+
end
|
|
175
|
+
##
|
|
176
|
+
## Instantiates a new RecordRotationOutcomeCommand and sets the default values.
|
|
177
|
+
## @return a void
|
|
178
|
+
##
|
|
179
|
+
def initialize()
|
|
180
|
+
@additional_data = Hash.new
|
|
181
|
+
end
|
|
182
|
+
##
|
|
183
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
184
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
185
|
+
## @return a record_rotation_outcome_command
|
|
186
|
+
##
|
|
187
|
+
def self.create_from_discriminator_value(parse_node)
|
|
188
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
189
|
+
return RecordRotationOutcomeCommand.new
|
|
190
|
+
end
|
|
191
|
+
##
|
|
192
|
+
## Gets the environmentId property value. The environmentId property
|
|
193
|
+
## @return a guid
|
|
194
|
+
##
|
|
195
|
+
def environment_id
|
|
196
|
+
return @environment_id
|
|
197
|
+
end
|
|
198
|
+
##
|
|
199
|
+
## Sets the environmentId property value. The environmentId property
|
|
200
|
+
## @param value Value to set for the environmentId property.
|
|
201
|
+
## @return a void
|
|
202
|
+
##
|
|
203
|
+
def environment_id=(value)
|
|
204
|
+
@environment_id = value
|
|
205
|
+
end
|
|
206
|
+
##
|
|
207
|
+
## Gets the environmentSlug property value. The environmentSlug property
|
|
208
|
+
## @return a string
|
|
209
|
+
##
|
|
210
|
+
def environment_slug
|
|
211
|
+
return @environment_slug
|
|
212
|
+
end
|
|
213
|
+
##
|
|
214
|
+
## Sets the environmentSlug property value. The environmentSlug property
|
|
215
|
+
## @param value Value to set for the environmentSlug property.
|
|
216
|
+
## @return a void
|
|
217
|
+
##
|
|
218
|
+
def environment_slug=(value)
|
|
219
|
+
@environment_slug = value
|
|
220
|
+
end
|
|
221
|
+
##
|
|
222
|
+
## Gets the failureCategory property value. The failureCategory property
|
|
223
|
+
## @return a string
|
|
224
|
+
##
|
|
225
|
+
def failure_category
|
|
226
|
+
return @failure_category
|
|
227
|
+
end
|
|
228
|
+
##
|
|
229
|
+
## Sets the failureCategory property value. The failureCategory property
|
|
230
|
+
## @param value Value to set for the failureCategory property.
|
|
231
|
+
## @return a void
|
|
232
|
+
##
|
|
233
|
+
def failure_category=(value)
|
|
234
|
+
@failure_category = value
|
|
235
|
+
end
|
|
236
|
+
##
|
|
237
|
+
## Gets the failureDetail property value. The failureDetail property
|
|
238
|
+
## @return a string
|
|
239
|
+
##
|
|
240
|
+
def failure_detail
|
|
241
|
+
return @failure_detail
|
|
242
|
+
end
|
|
243
|
+
##
|
|
244
|
+
## Sets the failureDetail property value. The failureDetail property
|
|
245
|
+
## @param value Value to set for the failureDetail property.
|
|
246
|
+
## @return a void
|
|
247
|
+
##
|
|
248
|
+
def failure_detail=(value)
|
|
249
|
+
@failure_detail = value
|
|
250
|
+
end
|
|
251
|
+
##
|
|
252
|
+
## The deserialization information for the current model
|
|
253
|
+
## @return a i_dictionary
|
|
254
|
+
##
|
|
255
|
+
def get_field_deserializers()
|
|
256
|
+
return {
|
|
257
|
+
"announcementId" => lambda {|n| @announcement_id = n.get_guid_value() },
|
|
258
|
+
"certificatesDeployed" => lambda {|n| @certificates_deployed = n.get_number_value() },
|
|
259
|
+
"certificatesEvaluated" => lambda {|n| @certificates_evaluated = n.get_number_value() },
|
|
260
|
+
"certificatesFailed" => lambda {|n| @certificates_failed = n.get_number_value() },
|
|
261
|
+
"certificatesUnchanged" => lambda {|n| @certificates_unchanged = n.get_number_value() },
|
|
262
|
+
"environmentId" => lambda {|n| @environment_id = n.get_guid_value() },
|
|
263
|
+
"environmentSlug" => lambda {|n| @environment_slug = n.get_string_value() },
|
|
264
|
+
"failureCategory" => lambda {|n| @failure_category = n.get_string_value() },
|
|
265
|
+
"failureDetail" => lambda {|n| @failure_detail = n.get_string_value() },
|
|
266
|
+
"hostsFailed" => lambda {|n| @hosts_failed = n.get_number_value() },
|
|
267
|
+
"hostsSucceeded" => lambda {|n| @hosts_succeeded = n.get_number_value() },
|
|
268
|
+
"missedReason" => lambda {|n| @missed_reason = n.get_string_value() },
|
|
269
|
+
"notAfter" => lambda {|n| @not_after = n.get_date_time_value() },
|
|
270
|
+
"occurredAt" => lambda {|n| @occurred_at = n.get_date_time_value() },
|
|
271
|
+
"occurrenceDueAt" => lambda {|n| @occurrence_due_at = n.get_date_time_value() },
|
|
272
|
+
"outcome" => lambda {|n| @outcome = n.get_string_value() },
|
|
273
|
+
"primaryDomain" => lambda {|n| @primary_domain = n.get_string_value() },
|
|
274
|
+
"projectId" => lambda {|n| @project_id = n.get_guid_value() },
|
|
275
|
+
"projectRef" => lambda {|n| @project_ref = n.get_string_value() },
|
|
276
|
+
"rotationId" => lambda {|n| @rotation_id = n.get_guid_value() },
|
|
277
|
+
"sanList" => lambda {|n| @san_list = n.get_collection_of_primitive_values(String) },
|
|
278
|
+
"targetId" => lambda {|n| @target_id = n.get_guid_value() },
|
|
279
|
+
"tenantId" => lambda {|n| @tenant_id = n.get_guid_value() },
|
|
280
|
+
"trigger" => lambda {|n| @trigger = n.get_string_value() },
|
|
281
|
+
}
|
|
282
|
+
end
|
|
283
|
+
##
|
|
284
|
+
## Gets the hostsFailed property value. The hostsFailed property
|
|
285
|
+
## @return a integer
|
|
286
|
+
##
|
|
287
|
+
def hosts_failed
|
|
288
|
+
return @hosts_failed
|
|
289
|
+
end
|
|
290
|
+
##
|
|
291
|
+
## Sets the hostsFailed property value. The hostsFailed property
|
|
292
|
+
## @param value Value to set for the hostsFailed property.
|
|
293
|
+
## @return a void
|
|
294
|
+
##
|
|
295
|
+
def hosts_failed=(value)
|
|
296
|
+
@hosts_failed = value
|
|
297
|
+
end
|
|
298
|
+
##
|
|
299
|
+
## Gets the hostsSucceeded property value. The hostsSucceeded property
|
|
300
|
+
## @return a integer
|
|
301
|
+
##
|
|
302
|
+
def hosts_succeeded
|
|
303
|
+
return @hosts_succeeded
|
|
304
|
+
end
|
|
305
|
+
##
|
|
306
|
+
## Sets the hostsSucceeded property value. The hostsSucceeded property
|
|
307
|
+
## @param value Value to set for the hostsSucceeded property.
|
|
308
|
+
## @return a void
|
|
309
|
+
##
|
|
310
|
+
def hosts_succeeded=(value)
|
|
311
|
+
@hosts_succeeded = value
|
|
312
|
+
end
|
|
313
|
+
##
|
|
314
|
+
## Gets the missedReason property value. The missedReason property
|
|
315
|
+
## @return a string
|
|
316
|
+
##
|
|
317
|
+
def missed_reason
|
|
318
|
+
return @missed_reason
|
|
319
|
+
end
|
|
320
|
+
##
|
|
321
|
+
## Sets the missedReason property value. The missedReason property
|
|
322
|
+
## @param value Value to set for the missedReason property.
|
|
323
|
+
## @return a void
|
|
324
|
+
##
|
|
325
|
+
def missed_reason=(value)
|
|
326
|
+
@missed_reason = value
|
|
327
|
+
end
|
|
328
|
+
##
|
|
329
|
+
## Gets the notAfter property value. The notAfter property
|
|
330
|
+
## @return a date_time
|
|
331
|
+
##
|
|
332
|
+
def not_after
|
|
333
|
+
return @not_after
|
|
334
|
+
end
|
|
335
|
+
##
|
|
336
|
+
## Sets the notAfter property value. The notAfter property
|
|
337
|
+
## @param value Value to set for the notAfter property.
|
|
338
|
+
## @return a void
|
|
339
|
+
##
|
|
340
|
+
def not_after=(value)
|
|
341
|
+
@not_after = value
|
|
342
|
+
end
|
|
343
|
+
##
|
|
344
|
+
## Gets the occurredAt property value. The occurredAt property
|
|
345
|
+
## @return a date_time
|
|
346
|
+
##
|
|
347
|
+
def occurred_at
|
|
348
|
+
return @occurred_at
|
|
349
|
+
end
|
|
350
|
+
##
|
|
351
|
+
## Sets the occurredAt property value. The occurredAt property
|
|
352
|
+
## @param value Value to set for the occurredAt property.
|
|
353
|
+
## @return a void
|
|
354
|
+
##
|
|
355
|
+
def occurred_at=(value)
|
|
356
|
+
@occurred_at = value
|
|
357
|
+
end
|
|
358
|
+
##
|
|
359
|
+
## Gets the occurrenceDueAt property value. The occurrenceDueAt property
|
|
360
|
+
## @return a date_time
|
|
361
|
+
##
|
|
362
|
+
def occurrence_due_at
|
|
363
|
+
return @occurrence_due_at
|
|
364
|
+
end
|
|
365
|
+
##
|
|
366
|
+
## Sets the occurrenceDueAt property value. The occurrenceDueAt property
|
|
367
|
+
## @param value Value to set for the occurrenceDueAt property.
|
|
368
|
+
## @return a void
|
|
369
|
+
##
|
|
370
|
+
def occurrence_due_at=(value)
|
|
371
|
+
@occurrence_due_at = value
|
|
372
|
+
end
|
|
373
|
+
##
|
|
374
|
+
## Gets the outcome property value. The outcome property
|
|
375
|
+
## @return a string
|
|
376
|
+
##
|
|
377
|
+
def outcome
|
|
378
|
+
return @outcome
|
|
379
|
+
end
|
|
380
|
+
##
|
|
381
|
+
## Sets the outcome property value. The outcome property
|
|
382
|
+
## @param value Value to set for the outcome property.
|
|
383
|
+
## @return a void
|
|
384
|
+
##
|
|
385
|
+
def outcome=(value)
|
|
386
|
+
@outcome = value
|
|
387
|
+
end
|
|
388
|
+
##
|
|
389
|
+
## Gets the primaryDomain property value. The primaryDomain property
|
|
390
|
+
## @return a string
|
|
391
|
+
##
|
|
392
|
+
def primary_domain
|
|
393
|
+
return @primary_domain
|
|
394
|
+
end
|
|
395
|
+
##
|
|
396
|
+
## Sets the primaryDomain property value. The primaryDomain property
|
|
397
|
+
## @param value Value to set for the primaryDomain property.
|
|
398
|
+
## @return a void
|
|
399
|
+
##
|
|
400
|
+
def primary_domain=(value)
|
|
401
|
+
@primary_domain = value
|
|
402
|
+
end
|
|
403
|
+
##
|
|
404
|
+
## Gets the projectId property value. The projectId property
|
|
405
|
+
## @return a guid
|
|
406
|
+
##
|
|
407
|
+
def project_id
|
|
408
|
+
return @project_id
|
|
409
|
+
end
|
|
410
|
+
##
|
|
411
|
+
## Sets the projectId property value. The projectId property
|
|
412
|
+
## @param value Value to set for the projectId property.
|
|
413
|
+
## @return a void
|
|
414
|
+
##
|
|
415
|
+
def project_id=(value)
|
|
416
|
+
@project_id = value
|
|
417
|
+
end
|
|
418
|
+
##
|
|
419
|
+
## Gets the projectRef property value. The projectRef property
|
|
420
|
+
## @return a string
|
|
421
|
+
##
|
|
422
|
+
def project_ref
|
|
423
|
+
return @project_ref
|
|
424
|
+
end
|
|
425
|
+
##
|
|
426
|
+
## Sets the projectRef property value. The projectRef property
|
|
427
|
+
## @param value Value to set for the projectRef property.
|
|
428
|
+
## @return a void
|
|
429
|
+
##
|
|
430
|
+
def project_ref=(value)
|
|
431
|
+
@project_ref = value
|
|
432
|
+
end
|
|
433
|
+
##
|
|
434
|
+
## Gets the rotationId property value. The rotationId property
|
|
435
|
+
## @return a guid
|
|
436
|
+
##
|
|
437
|
+
def rotation_id
|
|
438
|
+
return @rotation_id
|
|
439
|
+
end
|
|
440
|
+
##
|
|
441
|
+
## Sets the rotationId property value. The rotationId property
|
|
442
|
+
## @param value Value to set for the rotationId property.
|
|
443
|
+
## @return a void
|
|
444
|
+
##
|
|
445
|
+
def rotation_id=(value)
|
|
446
|
+
@rotation_id = value
|
|
447
|
+
end
|
|
448
|
+
##
|
|
449
|
+
## Gets the sanList property value. The sanList property
|
|
450
|
+
## @return a string
|
|
451
|
+
##
|
|
452
|
+
def san_list
|
|
453
|
+
return @san_list
|
|
454
|
+
end
|
|
455
|
+
##
|
|
456
|
+
## Sets the sanList property value. The sanList property
|
|
457
|
+
## @param value Value to set for the sanList property.
|
|
458
|
+
## @return a void
|
|
459
|
+
##
|
|
460
|
+
def san_list=(value)
|
|
461
|
+
@san_list = value
|
|
462
|
+
end
|
|
463
|
+
##
|
|
464
|
+
## Serializes information the current object
|
|
465
|
+
## @param writer Serialization writer to use to serialize this model
|
|
466
|
+
## @return a void
|
|
467
|
+
##
|
|
468
|
+
def serialize(writer)
|
|
469
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
470
|
+
writer.write_guid_value("announcementId", @announcement_id)
|
|
471
|
+
writer.write_number_value("certificatesDeployed", @certificates_deployed)
|
|
472
|
+
writer.write_number_value("certificatesEvaluated", @certificates_evaluated)
|
|
473
|
+
writer.write_number_value("certificatesFailed", @certificates_failed)
|
|
474
|
+
writer.write_number_value("certificatesUnchanged", @certificates_unchanged)
|
|
475
|
+
writer.write_guid_value("environmentId", @environment_id)
|
|
476
|
+
writer.write_string_value("environmentSlug", @environment_slug)
|
|
477
|
+
writer.write_string_value("failureCategory", @failure_category)
|
|
478
|
+
writer.write_string_value("failureDetail", @failure_detail)
|
|
479
|
+
writer.write_number_value("hostsFailed", @hosts_failed)
|
|
480
|
+
writer.write_number_value("hostsSucceeded", @hosts_succeeded)
|
|
481
|
+
writer.write_string_value("missedReason", @missed_reason)
|
|
482
|
+
writer.write_date_time_value("notAfter", @not_after)
|
|
483
|
+
writer.write_date_time_value("occurredAt", @occurred_at)
|
|
484
|
+
writer.write_date_time_value("occurrenceDueAt", @occurrence_due_at)
|
|
485
|
+
writer.write_string_value("outcome", @outcome)
|
|
486
|
+
writer.write_string_value("primaryDomain", @primary_domain)
|
|
487
|
+
writer.write_guid_value("projectId", @project_id)
|
|
488
|
+
writer.write_string_value("projectRef", @project_ref)
|
|
489
|
+
writer.write_guid_value("rotationId", @rotation_id)
|
|
490
|
+
writer.write_collection_of_primitive_values("sanList", @san_list)
|
|
491
|
+
writer.write_guid_value("targetId", @target_id)
|
|
492
|
+
writer.write_guid_value("tenantId", @tenant_id)
|
|
493
|
+
writer.write_string_value("trigger", @trigger)
|
|
494
|
+
writer.write_additional_data(@additional_data)
|
|
495
|
+
end
|
|
496
|
+
##
|
|
497
|
+
## Gets the targetId property value. The targetId property
|
|
498
|
+
## @return a guid
|
|
499
|
+
##
|
|
500
|
+
def target_id
|
|
501
|
+
return @target_id
|
|
502
|
+
end
|
|
503
|
+
##
|
|
504
|
+
## Sets the targetId property value. The targetId property
|
|
505
|
+
## @param value Value to set for the targetId property.
|
|
506
|
+
## @return a void
|
|
507
|
+
##
|
|
508
|
+
def target_id=(value)
|
|
509
|
+
@target_id = value
|
|
510
|
+
end
|
|
511
|
+
##
|
|
512
|
+
## Gets the tenantId property value. The tenantId property
|
|
513
|
+
## @return a guid
|
|
514
|
+
##
|
|
515
|
+
def tenant_id
|
|
516
|
+
return @tenant_id
|
|
517
|
+
end
|
|
518
|
+
##
|
|
519
|
+
## Sets the tenantId property value. The tenantId property
|
|
520
|
+
## @param value Value to set for the tenantId property.
|
|
521
|
+
## @return a void
|
|
522
|
+
##
|
|
523
|
+
def tenant_id=(value)
|
|
524
|
+
@tenant_id = value
|
|
525
|
+
end
|
|
526
|
+
##
|
|
527
|
+
## Gets the trigger property value. The trigger property
|
|
528
|
+
## @return a string
|
|
529
|
+
##
|
|
530
|
+
def trigger
|
|
531
|
+
return @trigger
|
|
532
|
+
end
|
|
533
|
+
##
|
|
534
|
+
## Sets the trigger property value. The trigger property
|
|
535
|
+
## @param value Value to set for the trigger property.
|
|
536
|
+
## @return a void
|
|
537
|
+
##
|
|
538
|
+
def trigger=(value)
|
|
539
|
+
@trigger = value
|
|
540
|
+
end
|
|
541
|
+
end
|
|
542
|
+
end
|
|
543
|
+
end
|
data/lib/bella_baxter/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bella_baxter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.1.pre.preview.
|
|
4
|
+
version: 0.1.1.pre.preview.106
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cosmic Chimps
|
|
@@ -657,6 +657,8 @@ files:
|
|
|
657
657
|
- lib/bella_baxter/generated/internal/v1/cert_rotation/audit/audit_request_builder.rb
|
|
658
658
|
- lib/bella_baxter/generated/internal/v1/cert_rotation/cert_rotation.rb
|
|
659
659
|
- lib/bella_baxter/generated/internal/v1/cert_rotation/cert_rotation_request_builder.rb
|
|
660
|
+
- lib/bella_baxter/generated/internal/v1/cert_rotation/outcome/outcome.rb
|
|
661
|
+
- lib/bella_baxter/generated/internal/v1/cert_rotation/outcome/outcome_request_builder.rb
|
|
660
662
|
- lib/bella_baxter/generated/internal/v1/delegation_namespace/delegation_namespace.rb
|
|
661
663
|
- lib/bella_baxter/generated/internal/v1/delegation_namespace/delegation_namespace_request_builder.rb
|
|
662
664
|
- lib/bella_baxter/generated/internal/v1/environments/environments.rb
|
|
@@ -892,6 +894,7 @@ files:
|
|
|
892
894
|
- lib/bella_baxter/generated/models/provider_response_configuration.rb
|
|
893
895
|
- lib/bella_baxter/generated/models/provision_project_dek_response.rb
|
|
894
896
|
- lib/bella_baxter/generated/models/record_cert_rotation_audit_command.rb
|
|
897
|
+
- lib/bella_baxter/generated/models/record_rotation_outcome_command.rb
|
|
895
898
|
- lib/bella_baxter/generated/models/recover_encryption_key_request.rb
|
|
896
899
|
- lib/bella_baxter/generated/models/recover_encryption_key_response.rb
|
|
897
900
|
- lib/bella_baxter/generated/models/recovery_challenge_response.rb
|