bella_baxter 0.1.1.pre.preview.128 → 0.1.1.pre.preview.130
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/api/v1/projects/import/import_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/authority.rb +0 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/authority_request_builder.rb +46 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/reestablish/reestablish.rb +0 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/reestablish/reestablish_request_builder.rb +92 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/pki/roles/item/with_role_name_item_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/providers/item/credentials/generate/generate_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/providers/item/secrets/import/preview/preview_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/providers/providers_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/ssh/ca_public_key/ca_public_key_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/ssh/configure/configure_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/ssh/roles/item/with_role_name_item_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/totp/item/code/code_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/users/item/with_user_item_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/users/users_request_builder.rb +1 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/with_env_slug_item_request_builder.rb +6 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/providers/providers_request_builder.rb +2 -2
- data/lib/bella_baxter/generated/models/environment_response.rb +122 -0
- data/lib/bella_baxter/generated/models/models.rb +2 -0
- data/lib/bella_baxter/generated/models/pki_authority_response.rb +122 -0
- data/lib/bella_baxter/generated/models/reestablish_environment_authority_command.rb +82 -0
- data/lib/bella_baxter/generated/models/reestablish_environment_authority_response.rb +123 -0
- data/lib/bella_baxter/generated/models/ssh_authority_response.rb +82 -0
- data/lib/bella_baxter/version.rb +1 -1
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ba524178e243ccff92c903bc04e93cb28ef904271a4c7f2461ea9ac1143b888
|
|
4
|
+
data.tar.gz: 1c136d920e8a0e2170f4f7d653be687505f33c12d5c47a75568a35a8d0a21d7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cfbfb45fbd40c0bc348989447cb1e146822cc9302ff773692fe604c075da311de139037349ce7f0671a9e589338e395f4300f8b40e566a9ea962d23f8c0e1fd
|
|
7
|
+
data.tar.gz: 11b8429e704af6e50c39c650370fa31e211e4c855c0ab7f24f20636ce9499a22962118388ff4acf1c18358aa753690d3f148aa14f97efaa7a4a562ea9e568890
|
|
@@ -40,6 +40,7 @@ module BellaBaxterGenerated
|
|
|
40
40
|
error_mapping = Hash.new
|
|
41
41
|
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
42
42
|
error_mapping["402"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
43
|
+
error_mapping["503"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
43
44
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::ProjectImportResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
44
45
|
end
|
|
45
46
|
##
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../../../../../../../bella_baxter_generated'
|
|
3
|
+
require_relative '../../../../../../api'
|
|
4
|
+
require_relative '../../../../../v1'
|
|
5
|
+
require_relative '../../../../projects'
|
|
6
|
+
require_relative '../../../item'
|
|
7
|
+
require_relative '../../environments'
|
|
8
|
+
require_relative '../item'
|
|
9
|
+
require_relative './authority'
|
|
10
|
+
require_relative './reestablish/reestablish_request_builder'
|
|
11
|
+
|
|
12
|
+
module BellaBaxterGenerated
|
|
13
|
+
module Api
|
|
14
|
+
module V1
|
|
15
|
+
module Projects
|
|
16
|
+
module Item
|
|
17
|
+
module Environments
|
|
18
|
+
module Item
|
|
19
|
+
module Authority
|
|
20
|
+
##
|
|
21
|
+
# Builds and executes requests for operations under \api\v1\projects\{-id}\environments\{envSlug}\authority
|
|
22
|
+
class AuthorityRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
23
|
+
|
|
24
|
+
##
|
|
25
|
+
# The reestablish property
|
|
26
|
+
def reestablish()
|
|
27
|
+
return BellaBaxterGenerated::Api::V1::Projects::Item::Environments::Item::Authority::Reestablish::ReestablishRequestBuilder.new(@path_parameters, @request_adapter)
|
|
28
|
+
end
|
|
29
|
+
##
|
|
30
|
+
## Instantiates a new AuthorityRequestBuilder and sets the default values.
|
|
31
|
+
## @param path_parameters Path parameters for the request
|
|
32
|
+
## @param request_adapter The request adapter to use to execute the requests.
|
|
33
|
+
## @return a void
|
|
34
|
+
##
|
|
35
|
+
def initialize(path_parameters, request_adapter)
|
|
36
|
+
super(path_parameters, request_adapter, "{+baseurl}/api/v1/projects/{%2Did}/environments/{envSlug}/authority")
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../../../../../../../../bella_baxter_generated'
|
|
3
|
+
require_relative '../../../../../../../../models/problem_details'
|
|
4
|
+
require_relative '../../../../../../../../models/reestablish_environment_authority_command'
|
|
5
|
+
require_relative '../../../../../../../../models/reestablish_environment_authority_response'
|
|
6
|
+
require_relative '../../../../../../../api'
|
|
7
|
+
require_relative '../../../../../../v1'
|
|
8
|
+
require_relative '../../../../../projects'
|
|
9
|
+
require_relative '../../../../item'
|
|
10
|
+
require_relative '../../../environments'
|
|
11
|
+
require_relative '../../item'
|
|
12
|
+
require_relative '../authority'
|
|
13
|
+
require_relative './reestablish'
|
|
14
|
+
|
|
15
|
+
module BellaBaxterGenerated
|
|
16
|
+
module Api
|
|
17
|
+
module V1
|
|
18
|
+
module Projects
|
|
19
|
+
module Item
|
|
20
|
+
module Environments
|
|
21
|
+
module Item
|
|
22
|
+
module Authority
|
|
23
|
+
module Reestablish
|
|
24
|
+
##
|
|
25
|
+
# Builds and executes requests for operations under \api\v1\projects\{-id}\environments\{envSlug}\authority\reestablish
|
|
26
|
+
class ReestablishRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
27
|
+
|
|
28
|
+
##
|
|
29
|
+
## Instantiates a new ReestablishRequestBuilder and sets the default values.
|
|
30
|
+
## @param path_parameters Path parameters for the request
|
|
31
|
+
## @param request_adapter The request adapter to use to execute the requests.
|
|
32
|
+
## @return a void
|
|
33
|
+
##
|
|
34
|
+
def initialize(path_parameters, request_adapter)
|
|
35
|
+
super(path_parameters, request_adapter, "{+baseurl}/api/v1/projects/{%2Did}/environments/{envSlug}/authority/reestablish")
|
|
36
|
+
end
|
|
37
|
+
##
|
|
38
|
+
## POST_api_v1_projects_projectRef_environments_envSlug_authority_reestablish
|
|
39
|
+
## @param body The request body
|
|
40
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
## @return a Fiber of reestablish_environment_authority_response
|
|
42
|
+
##
|
|
43
|
+
def post(body, request_configuration=nil)
|
|
44
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
45
|
+
request_info = self.to_post_request_information(
|
|
46
|
+
body, request_configuration
|
|
47
|
+
)
|
|
48
|
+
error_mapping = Hash.new
|
|
49
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
50
|
+
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
51
|
+
error_mapping["409"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
52
|
+
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::ReestablishEnvironmentAuthorityResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
53
|
+
end
|
|
54
|
+
##
|
|
55
|
+
## POST_api_v1_projects_projectRef_environments_envSlug_authority_reestablish
|
|
56
|
+
## @param body The request body
|
|
57
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
|
+
## @return a request_information
|
|
59
|
+
##
|
|
60
|
+
def to_post_request_information(body, request_configuration=nil)
|
|
61
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
62
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
|
63
|
+
unless request_configuration.nil?
|
|
64
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
|
65
|
+
request_info.add_request_options(request_configuration.options)
|
|
66
|
+
end
|
|
67
|
+
request_info.set_content_from_parsable(@request_adapter, 'application/json', body)
|
|
68
|
+
request_info.url_template = @url_template
|
|
69
|
+
request_info.path_parameters = @path_parameters
|
|
70
|
+
request_info.http_method = :POST
|
|
71
|
+
request_info.headers.try_add('Accept', 'application/json')
|
|
72
|
+
return request_info
|
|
73
|
+
end
|
|
74
|
+
##
|
|
75
|
+
## Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
76
|
+
## @param raw_url The raw URL to use for the request builder.
|
|
77
|
+
## @return a reestablish_request_builder
|
|
78
|
+
##
|
|
79
|
+
def with_url(raw_url)
|
|
80
|
+
raise StandardError, 'raw_url cannot be null' if raw_url.nil?
|
|
81
|
+
return ReestablishRequestBuilder.new(raw_url, @request_adapter)
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
@@ -44,6 +44,7 @@ module BellaBaxterGenerated
|
|
|
44
44
|
request_configuration
|
|
45
45
|
)
|
|
46
46
|
error_mapping = Hash.new
|
|
47
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
47
48
|
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
49
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
49
50
|
return @request_adapter.send_async(request_info, nil, error_mapping)
|
|
@@ -51,6 +51,7 @@ module BellaBaxterGenerated
|
|
|
51
51
|
)
|
|
52
52
|
error_mapping = Hash.new
|
|
53
53
|
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
54
|
+
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
54
55
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
55
56
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::GenerateCredentialsResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
56
57
|
end
|
|
@@ -50,6 +50,7 @@ module BellaBaxterGenerated
|
|
|
50
50
|
)
|
|
51
51
|
error_mapping = Hash.new
|
|
52
52
|
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
53
|
+
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
53
54
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
54
55
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::ImportPreviewResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
55
56
|
end
|
|
@@ -72,6 +72,7 @@ module BellaBaxterGenerated
|
|
|
72
72
|
error_mapping = Hash.new
|
|
73
73
|
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::OperationResponse.create_from_discriminator_value(pn) }
|
|
74
74
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
75
|
+
error_mapping["503"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
75
76
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::OperationResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
76
77
|
end
|
|
77
78
|
##
|
|
@@ -45,6 +45,7 @@ module BellaBaxterGenerated
|
|
|
45
45
|
error_mapping = Hash.new
|
|
46
46
|
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
47
47
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
|
+
error_mapping["409"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
49
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::SshCaPublicKeyResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
49
50
|
end
|
|
50
51
|
##
|
|
@@ -45,6 +45,7 @@ module BellaBaxterGenerated
|
|
|
45
45
|
error_mapping = Hash.new
|
|
46
46
|
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
47
47
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
|
+
error_mapping["409"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
49
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::SshConfigureResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
49
50
|
end
|
|
50
51
|
##
|
|
@@ -44,6 +44,7 @@ module BellaBaxterGenerated
|
|
|
44
44
|
request_configuration
|
|
45
45
|
)
|
|
46
46
|
error_mapping = Hash.new
|
|
47
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
47
48
|
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
49
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
49
50
|
return @request_adapter.send_async(request_info, nil, error_mapping)
|
|
@@ -45,6 +45,7 @@ module BellaBaxterGenerated
|
|
|
45
45
|
request_configuration
|
|
46
46
|
)
|
|
47
47
|
error_mapping = Hash.new
|
|
48
|
+
error_mapping["403"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
48
49
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
49
50
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::TotpCodeResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
50
51
|
end
|
|
@@ -60,6 +60,7 @@ module BellaBaxterGenerated
|
|
|
60
60
|
body, request_configuration
|
|
61
61
|
)
|
|
62
62
|
error_mapping = Hash.new
|
|
63
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
63
64
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
64
65
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::OperationResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
65
66
|
end
|
|
@@ -70,6 +70,7 @@ module BellaBaxterGenerated
|
|
|
70
70
|
body, request_configuration
|
|
71
71
|
)
|
|
72
72
|
error_mapping = Hash.new
|
|
73
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
73
74
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
74
75
|
return @request_adapter.send_async(request_info, lambda {|pn| BellaBaxterGenerated::Models::OperationResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
75
76
|
end
|
|
@@ -11,6 +11,7 @@ require_relative '../../../projects'
|
|
|
11
11
|
require_relative '../../item'
|
|
12
12
|
require_relative '../environments'
|
|
13
13
|
require_relative './audience_readiness/audience_readiness_request_builder'
|
|
14
|
+
require_relative './authority/authority_request_builder'
|
|
14
15
|
require_relative './cert_rotation/cert_rotation_request_builder'
|
|
15
16
|
require_relative './copy/copy_request_builder'
|
|
16
17
|
require_relative './groups/groups_request_builder'
|
|
@@ -45,6 +46,11 @@ module BellaBaxterGenerated
|
|
|
45
46
|
return BellaBaxterGenerated::Api::V1::Projects::Item::Environments::Item::AudienceReadiness::AudienceReadinessRequestBuilder.new(@path_parameters, @request_adapter)
|
|
46
47
|
end
|
|
47
48
|
##
|
|
49
|
+
# The authority property
|
|
50
|
+
def authority()
|
|
51
|
+
return BellaBaxterGenerated::Api::V1::Projects::Item::Environments::Item::Authority::AuthorityRequestBuilder.new(@path_parameters, @request_adapter)
|
|
52
|
+
end
|
|
53
|
+
##
|
|
48
54
|
# The certRotation property
|
|
49
55
|
def cert_rotation()
|
|
50
56
|
return BellaBaxterGenerated::Api::V1::Projects::Item::Environments::Item::CertRotation::CertRotationRequestBuilder.new(@path_parameters, @request_adapter)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
require 'microsoft_kiota_abstractions'
|
|
2
2
|
require_relative '../../../../../bella_baxter_generated'
|
|
3
3
|
require_relative '../../../../../models/assign_providers_command'
|
|
4
|
-
require_relative '../../../../../models/http_validation_problem_details'
|
|
5
4
|
require_relative '../../../../../models/problem_details'
|
|
6
5
|
require_relative '../../../../../models/provider_response'
|
|
7
6
|
require_relative '../../../../api'
|
|
@@ -66,8 +65,9 @@ module BellaBaxterGenerated
|
|
|
66
65
|
body, request_configuration
|
|
67
66
|
)
|
|
68
67
|
error_mapping = Hash.new
|
|
69
|
-
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::
|
|
68
|
+
error_mapping["400"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
70
69
|
error_mapping["404"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
70
|
+
error_mapping["503"] = lambda {|pn| BellaBaxterGenerated::Models::ProblemDetails.create_from_discriminator_value(pn) }
|
|
71
71
|
return @request_adapter.send_async(request_info, nil, error_mapping)
|
|
72
72
|
end
|
|
73
73
|
##
|
|
@@ -11,6 +11,24 @@ module BellaBaxterGenerated
|
|
|
11
11
|
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
12
12
|
@additional_data
|
|
13
13
|
##
|
|
14
|
+
# The authorityDestroyAfter property
|
|
15
|
+
@authority_destroy_after
|
|
16
|
+
##
|
|
17
|
+
# The authorityDestroyedAt property
|
|
18
|
+
@authority_destroyed_at
|
|
19
|
+
##
|
|
20
|
+
# The authorityRetentionReason property
|
|
21
|
+
@authority_retention_reason
|
|
22
|
+
##
|
|
23
|
+
# The authorityRetentionState property
|
|
24
|
+
@authority_retention_state
|
|
25
|
+
##
|
|
26
|
+
# The authorityStoreReason property
|
|
27
|
+
@authority_store_reason
|
|
28
|
+
##
|
|
29
|
+
# The authorityStoreState property
|
|
30
|
+
@authority_store_state
|
|
31
|
+
##
|
|
14
32
|
# The createdAt property
|
|
15
33
|
@created_at
|
|
16
34
|
##
|
|
@@ -77,11 +95,103 @@ module BellaBaxterGenerated
|
|
|
77
95
|
@additional_data = value
|
|
78
96
|
end
|
|
79
97
|
##
|
|
98
|
+
## Gets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
99
|
+
## @return a date_time
|
|
100
|
+
##
|
|
101
|
+
def authority_destroy_after
|
|
102
|
+
return @authority_destroy_after
|
|
103
|
+
end
|
|
104
|
+
##
|
|
105
|
+
## Sets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
106
|
+
## @param value Value to set for the authorityDestroyAfter property.
|
|
107
|
+
## @return a void
|
|
108
|
+
##
|
|
109
|
+
def authority_destroy_after=(value)
|
|
110
|
+
@authority_destroy_after = value
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Gets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
114
|
+
## @return a date_time
|
|
115
|
+
##
|
|
116
|
+
def authority_destroyed_at
|
|
117
|
+
return @authority_destroyed_at
|
|
118
|
+
end
|
|
119
|
+
##
|
|
120
|
+
## Sets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
121
|
+
## @param value Value to set for the authorityDestroyedAt property.
|
|
122
|
+
## @return a void
|
|
123
|
+
##
|
|
124
|
+
def authority_destroyed_at=(value)
|
|
125
|
+
@authority_destroyed_at = value
|
|
126
|
+
end
|
|
127
|
+
##
|
|
128
|
+
## Gets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
129
|
+
## @return a string
|
|
130
|
+
##
|
|
131
|
+
def authority_retention_reason
|
|
132
|
+
return @authority_retention_reason
|
|
133
|
+
end
|
|
134
|
+
##
|
|
135
|
+
## Sets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
136
|
+
## @param value Value to set for the authorityRetentionReason property.
|
|
137
|
+
## @return a void
|
|
138
|
+
##
|
|
139
|
+
def authority_retention_reason=(value)
|
|
140
|
+
@authority_retention_reason = value
|
|
141
|
+
end
|
|
142
|
+
##
|
|
143
|
+
## Gets the authorityRetentionState property value. The authorityRetentionState property
|
|
144
|
+
## @return a string
|
|
145
|
+
##
|
|
146
|
+
def authority_retention_state
|
|
147
|
+
return @authority_retention_state
|
|
148
|
+
end
|
|
149
|
+
##
|
|
150
|
+
## Sets the authorityRetentionState property value. The authorityRetentionState property
|
|
151
|
+
## @param value Value to set for the authorityRetentionState property.
|
|
152
|
+
## @return a void
|
|
153
|
+
##
|
|
154
|
+
def authority_retention_state=(value)
|
|
155
|
+
@authority_retention_state = value
|
|
156
|
+
end
|
|
157
|
+
##
|
|
158
|
+
## Gets the authorityStoreReason property value. The authorityStoreReason property
|
|
159
|
+
## @return a string
|
|
160
|
+
##
|
|
161
|
+
def authority_store_reason
|
|
162
|
+
return @authority_store_reason
|
|
163
|
+
end
|
|
164
|
+
##
|
|
165
|
+
## Sets the authorityStoreReason property value. The authorityStoreReason property
|
|
166
|
+
## @param value Value to set for the authorityStoreReason property.
|
|
167
|
+
## @return a void
|
|
168
|
+
##
|
|
169
|
+
def authority_store_reason=(value)
|
|
170
|
+
@authority_store_reason = value
|
|
171
|
+
end
|
|
172
|
+
##
|
|
173
|
+
## Gets the authorityStoreState property value. The authorityStoreState property
|
|
174
|
+
## @return a string
|
|
175
|
+
##
|
|
176
|
+
def authority_store_state
|
|
177
|
+
return @authority_store_state
|
|
178
|
+
end
|
|
179
|
+
##
|
|
180
|
+
## Sets the authorityStoreState property value. The authorityStoreState property
|
|
181
|
+
## @param value Value to set for the authorityStoreState property.
|
|
182
|
+
## @return a void
|
|
183
|
+
##
|
|
184
|
+
def authority_store_state=(value)
|
|
185
|
+
@authority_store_state = value
|
|
186
|
+
end
|
|
187
|
+
##
|
|
80
188
|
## Instantiates a new EnvironmentResponse and sets the default values.
|
|
81
189
|
## @return a void
|
|
82
190
|
##
|
|
83
191
|
def initialize()
|
|
84
192
|
@additional_data = Hash.new
|
|
193
|
+
@authority_retention_state = "not-deleted"
|
|
194
|
+
@authority_store_state = "in-sync"
|
|
85
195
|
@status = "Active"
|
|
86
196
|
end
|
|
87
197
|
##
|
|
@@ -174,6 +284,12 @@ module BellaBaxterGenerated
|
|
|
174
284
|
##
|
|
175
285
|
def get_field_deserializers()
|
|
176
286
|
return {
|
|
287
|
+
"authorityDestroyAfter" => lambda {|n| @authority_destroy_after = n.get_date_time_value() },
|
|
288
|
+
"authorityDestroyedAt" => lambda {|n| @authority_destroyed_at = n.get_date_time_value() },
|
|
289
|
+
"authorityRetentionReason" => lambda {|n| @authority_retention_reason = n.get_string_value() },
|
|
290
|
+
"authorityRetentionState" => lambda {|n| @authority_retention_state = n.get_string_value() },
|
|
291
|
+
"authorityStoreReason" => lambda {|n| @authority_store_reason = n.get_string_value() },
|
|
292
|
+
"authorityStoreState" => lambda {|n| @authority_store_state = n.get_string_value() },
|
|
177
293
|
"createdAt" => lambda {|n| @created_at = n.get_date_time_value() },
|
|
178
294
|
"creatorId" => lambda {|n| @creator_id = n.get_string_value() },
|
|
179
295
|
"creatorUsername" => lambda {|n| @creator_username = n.get_string_value() },
|
|
@@ -320,6 +436,12 @@ module BellaBaxterGenerated
|
|
|
320
436
|
##
|
|
321
437
|
def serialize(writer)
|
|
322
438
|
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
439
|
+
writer.write_date_time_value("authorityDestroyAfter", @authority_destroy_after)
|
|
440
|
+
writer.write_date_time_value("authorityDestroyedAt", @authority_destroyed_at)
|
|
441
|
+
writer.write_string_value("authorityRetentionReason", @authority_retention_reason)
|
|
442
|
+
writer.write_string_value("authorityRetentionState", @authority_retention_state)
|
|
443
|
+
writer.write_string_value("authorityStoreReason", @authority_store_reason)
|
|
444
|
+
writer.write_string_value("authorityStoreState", @authority_store_state)
|
|
323
445
|
writer.write_date_time_value("createdAt", @created_at)
|
|
324
446
|
writer.write_string_value("creatorId", @creator_id)
|
|
325
447
|
writer.write_string_value("creatorUsername", @creator_username)
|
|
@@ -237,6 +237,8 @@ require_relative 'provision_project_dek_response'
|
|
|
237
237
|
require_relative 'recover_encryption_key_request'
|
|
238
238
|
require_relative 'recover_encryption_key_response'
|
|
239
239
|
require_relative 'recovery_challenge_response'
|
|
240
|
+
require_relative 'reestablish_environment_authority_command'
|
|
241
|
+
require_relative 'reestablish_environment_authority_response'
|
|
240
242
|
require_relative 'region_info'
|
|
241
243
|
require_relative 'register_tenant_encryption_key_request'
|
|
242
244
|
require_relative 'register_tenant_encryption_key_response'
|
|
@@ -14,6 +14,24 @@ module BellaBaxterGenerated
|
|
|
14
14
|
# The adopted property
|
|
15
15
|
@adopted
|
|
16
16
|
##
|
|
17
|
+
# The authorityDestroyAfter property
|
|
18
|
+
@authority_destroy_after
|
|
19
|
+
##
|
|
20
|
+
# The authorityDestroyedAt property
|
|
21
|
+
@authority_destroyed_at
|
|
22
|
+
##
|
|
23
|
+
# The authorityRetentionReason property
|
|
24
|
+
@authority_retention_reason
|
|
25
|
+
##
|
|
26
|
+
# The authorityRetentionState property
|
|
27
|
+
@authority_retention_state
|
|
28
|
+
##
|
|
29
|
+
# The authorityStoreReason property
|
|
30
|
+
@authority_store_reason
|
|
31
|
+
##
|
|
32
|
+
# The authorityStoreState property
|
|
33
|
+
@authority_store_state
|
|
34
|
+
##
|
|
17
35
|
# The detail property
|
|
18
36
|
@detail
|
|
19
37
|
##
|
|
@@ -62,11 +80,103 @@ module BellaBaxterGenerated
|
|
|
62
80
|
@adopted = value
|
|
63
81
|
end
|
|
64
82
|
##
|
|
83
|
+
## Gets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
84
|
+
## @return a date_time
|
|
85
|
+
##
|
|
86
|
+
def authority_destroy_after
|
|
87
|
+
return @authority_destroy_after
|
|
88
|
+
end
|
|
89
|
+
##
|
|
90
|
+
## Sets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
91
|
+
## @param value Value to set for the authorityDestroyAfter property.
|
|
92
|
+
## @return a void
|
|
93
|
+
##
|
|
94
|
+
def authority_destroy_after=(value)
|
|
95
|
+
@authority_destroy_after = value
|
|
96
|
+
end
|
|
97
|
+
##
|
|
98
|
+
## Gets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
99
|
+
## @return a date_time
|
|
100
|
+
##
|
|
101
|
+
def authority_destroyed_at
|
|
102
|
+
return @authority_destroyed_at
|
|
103
|
+
end
|
|
104
|
+
##
|
|
105
|
+
## Sets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
106
|
+
## @param value Value to set for the authorityDestroyedAt property.
|
|
107
|
+
## @return a void
|
|
108
|
+
##
|
|
109
|
+
def authority_destroyed_at=(value)
|
|
110
|
+
@authority_destroyed_at = value
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Gets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
114
|
+
## @return a string
|
|
115
|
+
##
|
|
116
|
+
def authority_retention_reason
|
|
117
|
+
return @authority_retention_reason
|
|
118
|
+
end
|
|
119
|
+
##
|
|
120
|
+
## Sets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
121
|
+
## @param value Value to set for the authorityRetentionReason property.
|
|
122
|
+
## @return a void
|
|
123
|
+
##
|
|
124
|
+
def authority_retention_reason=(value)
|
|
125
|
+
@authority_retention_reason = value
|
|
126
|
+
end
|
|
127
|
+
##
|
|
128
|
+
## Gets the authorityRetentionState property value. The authorityRetentionState property
|
|
129
|
+
## @return a string
|
|
130
|
+
##
|
|
131
|
+
def authority_retention_state
|
|
132
|
+
return @authority_retention_state
|
|
133
|
+
end
|
|
134
|
+
##
|
|
135
|
+
## Sets the authorityRetentionState property value. The authorityRetentionState property
|
|
136
|
+
## @param value Value to set for the authorityRetentionState property.
|
|
137
|
+
## @return a void
|
|
138
|
+
##
|
|
139
|
+
def authority_retention_state=(value)
|
|
140
|
+
@authority_retention_state = value
|
|
141
|
+
end
|
|
142
|
+
##
|
|
143
|
+
## Gets the authorityStoreReason property value. The authorityStoreReason property
|
|
144
|
+
## @return a string
|
|
145
|
+
##
|
|
146
|
+
def authority_store_reason
|
|
147
|
+
return @authority_store_reason
|
|
148
|
+
end
|
|
149
|
+
##
|
|
150
|
+
## Sets the authorityStoreReason property value. The authorityStoreReason property
|
|
151
|
+
## @param value Value to set for the authorityStoreReason property.
|
|
152
|
+
## @return a void
|
|
153
|
+
##
|
|
154
|
+
def authority_store_reason=(value)
|
|
155
|
+
@authority_store_reason = value
|
|
156
|
+
end
|
|
157
|
+
##
|
|
158
|
+
## Gets the authorityStoreState property value. The authorityStoreState property
|
|
159
|
+
## @return a string
|
|
160
|
+
##
|
|
161
|
+
def authority_store_state
|
|
162
|
+
return @authority_store_state
|
|
163
|
+
end
|
|
164
|
+
##
|
|
165
|
+
## Sets the authorityStoreState property value. The authorityStoreState property
|
|
166
|
+
## @param value Value to set for the authorityStoreState property.
|
|
167
|
+
## @return a void
|
|
168
|
+
##
|
|
169
|
+
def authority_store_state=(value)
|
|
170
|
+
@authority_store_state = value
|
|
171
|
+
end
|
|
172
|
+
##
|
|
65
173
|
## Instantiates a new PkiAuthorityResponse and sets the default values.
|
|
66
174
|
## @return a void
|
|
67
175
|
##
|
|
68
176
|
def initialize()
|
|
69
177
|
@additional_data = Hash.new
|
|
178
|
+
@authority_retention_state = "not-deleted"
|
|
179
|
+
@authority_store_state = "in-sync"
|
|
70
180
|
@token_signing_status = "tenant"
|
|
71
181
|
end
|
|
72
182
|
##
|
|
@@ -100,6 +210,12 @@ module BellaBaxterGenerated
|
|
|
100
210
|
def get_field_deserializers()
|
|
101
211
|
return {
|
|
102
212
|
"adopted" => lambda {|n| @adopted = n.get_boolean_value() },
|
|
213
|
+
"authorityDestroyAfter" => lambda {|n| @authority_destroy_after = n.get_date_time_value() },
|
|
214
|
+
"authorityDestroyedAt" => lambda {|n| @authority_destroyed_at = n.get_date_time_value() },
|
|
215
|
+
"authorityRetentionReason" => lambda {|n| @authority_retention_reason = n.get_string_value() },
|
|
216
|
+
"authorityRetentionState" => lambda {|n| @authority_retention_state = n.get_string_value() },
|
|
217
|
+
"authorityStoreReason" => lambda {|n| @authority_store_reason = n.get_string_value() },
|
|
218
|
+
"authorityStoreState" => lambda {|n| @authority_store_state = n.get_string_value() },
|
|
103
219
|
"detail" => lambda {|n| @detail = n.get_string_value() },
|
|
104
220
|
"mountPath" => lambda {|n| @mount_path = n.get_string_value() },
|
|
105
221
|
"status" => lambda {|n| @status = n.get_string_value() },
|
|
@@ -131,6 +247,12 @@ module BellaBaxterGenerated
|
|
|
131
247
|
def serialize(writer)
|
|
132
248
|
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
133
249
|
writer.write_boolean_value("adopted", @adopted)
|
|
250
|
+
writer.write_date_time_value("authorityDestroyAfter", @authority_destroy_after)
|
|
251
|
+
writer.write_date_time_value("authorityDestroyedAt", @authority_destroyed_at)
|
|
252
|
+
writer.write_string_value("authorityRetentionReason", @authority_retention_reason)
|
|
253
|
+
writer.write_string_value("authorityRetentionState", @authority_retention_state)
|
|
254
|
+
writer.write_string_value("authorityStoreReason", @authority_store_reason)
|
|
255
|
+
writer.write_string_value("authorityStoreState", @authority_store_state)
|
|
134
256
|
writer.write_string_value("detail", @detail)
|
|
135
257
|
writer.write_string_value("mountPath", @mount_path)
|
|
136
258
|
writer.write_string_value("status", @status)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../bella_baxter_generated'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module BellaBaxterGenerated
|
|
6
|
+
module Models
|
|
7
|
+
class ReestablishEnvironmentAuthorityCommand
|
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
9
|
+
##
|
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
11
|
+
@additional_data
|
|
12
|
+
##
|
|
13
|
+
# The confirmTrustReset property
|
|
14
|
+
@confirm_trust_reset
|
|
15
|
+
##
|
|
16
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
## @return a i_dictionary
|
|
18
|
+
##
|
|
19
|
+
def additional_data
|
|
20
|
+
return @additional_data
|
|
21
|
+
end
|
|
22
|
+
##
|
|
23
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
24
|
+
## @param value Value to set for the AdditionalData property.
|
|
25
|
+
## @return a void
|
|
26
|
+
##
|
|
27
|
+
def additional_data=(value)
|
|
28
|
+
@additional_data = value
|
|
29
|
+
end
|
|
30
|
+
##
|
|
31
|
+
## Gets the confirmTrustReset property value. The confirmTrustReset property
|
|
32
|
+
## @return a boolean
|
|
33
|
+
##
|
|
34
|
+
def confirm_trust_reset
|
|
35
|
+
return @confirm_trust_reset
|
|
36
|
+
end
|
|
37
|
+
##
|
|
38
|
+
## Sets the confirmTrustReset property value. The confirmTrustReset property
|
|
39
|
+
## @param value Value to set for the confirmTrustReset property.
|
|
40
|
+
## @return a void
|
|
41
|
+
##
|
|
42
|
+
def confirm_trust_reset=(value)
|
|
43
|
+
@confirm_trust_reset = value
|
|
44
|
+
end
|
|
45
|
+
##
|
|
46
|
+
## Instantiates a new ReestablishEnvironmentAuthorityCommand and sets the default values.
|
|
47
|
+
## @return a void
|
|
48
|
+
##
|
|
49
|
+
def initialize()
|
|
50
|
+
@additional_data = Hash.new
|
|
51
|
+
end
|
|
52
|
+
##
|
|
53
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
54
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
55
|
+
## @return a reestablish_environment_authority_command
|
|
56
|
+
##
|
|
57
|
+
def self.create_from_discriminator_value(parse_node)
|
|
58
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
59
|
+
return ReestablishEnvironmentAuthorityCommand.new
|
|
60
|
+
end
|
|
61
|
+
##
|
|
62
|
+
## The deserialization information for the current model
|
|
63
|
+
## @return a i_dictionary
|
|
64
|
+
##
|
|
65
|
+
def get_field_deserializers()
|
|
66
|
+
return {
|
|
67
|
+
"confirmTrustReset" => lambda {|n| @confirm_trust_reset = n.get_boolean_value() },
|
|
68
|
+
}
|
|
69
|
+
end
|
|
70
|
+
##
|
|
71
|
+
## Serializes information the current object
|
|
72
|
+
## @param writer Serialization writer to use to serialize this model
|
|
73
|
+
## @return a void
|
|
74
|
+
##
|
|
75
|
+
def serialize(writer)
|
|
76
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
77
|
+
writer.write_boolean_value("confirmTrustReset", @confirm_trust_reset)
|
|
78
|
+
writer.write_additional_data(@additional_data)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
require 'date'
|
|
2
|
+
require 'microsoft_kiota_abstractions'
|
|
3
|
+
require_relative '../bella_baxter_generated'
|
|
4
|
+
require_relative './models'
|
|
5
|
+
|
|
6
|
+
module BellaBaxterGenerated
|
|
7
|
+
module Models
|
|
8
|
+
class ReestablishEnvironmentAuthorityResponse
|
|
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 pki property
|
|
15
|
+
@pki
|
|
16
|
+
##
|
|
17
|
+
# The reestablishedAt property
|
|
18
|
+
@reestablished_at
|
|
19
|
+
##
|
|
20
|
+
# The ssh property
|
|
21
|
+
@ssh
|
|
22
|
+
##
|
|
23
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
24
|
+
## @return a i_dictionary
|
|
25
|
+
##
|
|
26
|
+
def additional_data
|
|
27
|
+
return @additional_data
|
|
28
|
+
end
|
|
29
|
+
##
|
|
30
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
31
|
+
## @param value Value to set for the AdditionalData property.
|
|
32
|
+
## @return a void
|
|
33
|
+
##
|
|
34
|
+
def additional_data=(value)
|
|
35
|
+
@additional_data = value
|
|
36
|
+
end
|
|
37
|
+
##
|
|
38
|
+
## Instantiates a new ReestablishEnvironmentAuthorityResponse and sets the default values.
|
|
39
|
+
## @return a void
|
|
40
|
+
##
|
|
41
|
+
def initialize()
|
|
42
|
+
@additional_data = Hash.new
|
|
43
|
+
end
|
|
44
|
+
##
|
|
45
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
46
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
47
|
+
## @return a reestablish_environment_authority_response
|
|
48
|
+
##
|
|
49
|
+
def self.create_from_discriminator_value(parse_node)
|
|
50
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
51
|
+
return ReestablishEnvironmentAuthorityResponse.new
|
|
52
|
+
end
|
|
53
|
+
##
|
|
54
|
+
## The deserialization information for the current model
|
|
55
|
+
## @return a i_dictionary
|
|
56
|
+
##
|
|
57
|
+
def get_field_deserializers()
|
|
58
|
+
return {
|
|
59
|
+
"pki" => lambda {|n| @pki = n.get_boolean_value() },
|
|
60
|
+
"reestablishedAt" => lambda {|n| @reestablished_at = n.get_date_time_value() },
|
|
61
|
+
"ssh" => lambda {|n| @ssh = n.get_boolean_value() },
|
|
62
|
+
}
|
|
63
|
+
end
|
|
64
|
+
##
|
|
65
|
+
## Gets the pki property value. The pki property
|
|
66
|
+
## @return a boolean
|
|
67
|
+
##
|
|
68
|
+
def pki
|
|
69
|
+
return @pki
|
|
70
|
+
end
|
|
71
|
+
##
|
|
72
|
+
## Sets the pki property value. The pki property
|
|
73
|
+
## @param value Value to set for the pki property.
|
|
74
|
+
## @return a void
|
|
75
|
+
##
|
|
76
|
+
def pki=(value)
|
|
77
|
+
@pki = value
|
|
78
|
+
end
|
|
79
|
+
##
|
|
80
|
+
## Gets the reestablishedAt property value. The reestablishedAt property
|
|
81
|
+
## @return a date_time
|
|
82
|
+
##
|
|
83
|
+
def reestablished_at
|
|
84
|
+
return @reestablished_at
|
|
85
|
+
end
|
|
86
|
+
##
|
|
87
|
+
## Sets the reestablishedAt property value. The reestablishedAt property
|
|
88
|
+
## @param value Value to set for the reestablishedAt property.
|
|
89
|
+
## @return a void
|
|
90
|
+
##
|
|
91
|
+
def reestablished_at=(value)
|
|
92
|
+
@reestablished_at = value
|
|
93
|
+
end
|
|
94
|
+
##
|
|
95
|
+
## Serializes information the current object
|
|
96
|
+
## @param writer Serialization writer to use to serialize this model
|
|
97
|
+
## @return a void
|
|
98
|
+
##
|
|
99
|
+
def serialize(writer)
|
|
100
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
101
|
+
writer.write_boolean_value("pki", @pki)
|
|
102
|
+
writer.write_date_time_value("reestablishedAt", @reestablished_at)
|
|
103
|
+
writer.write_boolean_value("ssh", @ssh)
|
|
104
|
+
writer.write_additional_data(@additional_data)
|
|
105
|
+
end
|
|
106
|
+
##
|
|
107
|
+
## Gets the ssh property value. The ssh property
|
|
108
|
+
## @return a boolean
|
|
109
|
+
##
|
|
110
|
+
def ssh
|
|
111
|
+
return @ssh
|
|
112
|
+
end
|
|
113
|
+
##
|
|
114
|
+
## Sets the ssh property value. The ssh property
|
|
115
|
+
## @param value Value to set for the ssh property.
|
|
116
|
+
## @return a void
|
|
117
|
+
##
|
|
118
|
+
def ssh=(value)
|
|
119
|
+
@ssh = value
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require 'date'
|
|
1
2
|
require 'microsoft_kiota_abstractions'
|
|
2
3
|
require_relative '../bella_baxter_generated'
|
|
3
4
|
require_relative './models'
|
|
@@ -13,6 +14,18 @@ module BellaBaxterGenerated
|
|
|
13
14
|
# The adopted property
|
|
14
15
|
@adopted
|
|
15
16
|
##
|
|
17
|
+
# The authorityDestroyAfter property
|
|
18
|
+
@authority_destroy_after
|
|
19
|
+
##
|
|
20
|
+
# The authorityDestroyedAt property
|
|
21
|
+
@authority_destroyed_at
|
|
22
|
+
##
|
|
23
|
+
# The authorityRetentionReason property
|
|
24
|
+
@authority_retention_reason
|
|
25
|
+
##
|
|
26
|
+
# The authorityRetentionState property
|
|
27
|
+
@authority_retention_state
|
|
28
|
+
##
|
|
16
29
|
# The detail property
|
|
17
30
|
@detail
|
|
18
31
|
##
|
|
@@ -52,11 +65,72 @@ module BellaBaxterGenerated
|
|
|
52
65
|
@adopted = value
|
|
53
66
|
end
|
|
54
67
|
##
|
|
68
|
+
## Gets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
69
|
+
## @return a date_time
|
|
70
|
+
##
|
|
71
|
+
def authority_destroy_after
|
|
72
|
+
return @authority_destroy_after
|
|
73
|
+
end
|
|
74
|
+
##
|
|
75
|
+
## Sets the authorityDestroyAfter property value. The authorityDestroyAfter property
|
|
76
|
+
## @param value Value to set for the authorityDestroyAfter property.
|
|
77
|
+
## @return a void
|
|
78
|
+
##
|
|
79
|
+
def authority_destroy_after=(value)
|
|
80
|
+
@authority_destroy_after = value
|
|
81
|
+
end
|
|
82
|
+
##
|
|
83
|
+
## Gets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
84
|
+
## @return a date_time
|
|
85
|
+
##
|
|
86
|
+
def authority_destroyed_at
|
|
87
|
+
return @authority_destroyed_at
|
|
88
|
+
end
|
|
89
|
+
##
|
|
90
|
+
## Sets the authorityDestroyedAt property value. The authorityDestroyedAt property
|
|
91
|
+
## @param value Value to set for the authorityDestroyedAt property.
|
|
92
|
+
## @return a void
|
|
93
|
+
##
|
|
94
|
+
def authority_destroyed_at=(value)
|
|
95
|
+
@authority_destroyed_at = value
|
|
96
|
+
end
|
|
97
|
+
##
|
|
98
|
+
## Gets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
99
|
+
## @return a string
|
|
100
|
+
##
|
|
101
|
+
def authority_retention_reason
|
|
102
|
+
return @authority_retention_reason
|
|
103
|
+
end
|
|
104
|
+
##
|
|
105
|
+
## Sets the authorityRetentionReason property value. The authorityRetentionReason property
|
|
106
|
+
## @param value Value to set for the authorityRetentionReason property.
|
|
107
|
+
## @return a void
|
|
108
|
+
##
|
|
109
|
+
def authority_retention_reason=(value)
|
|
110
|
+
@authority_retention_reason = value
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Gets the authorityRetentionState property value. The authorityRetentionState property
|
|
114
|
+
## @return a string
|
|
115
|
+
##
|
|
116
|
+
def authority_retention_state
|
|
117
|
+
return @authority_retention_state
|
|
118
|
+
end
|
|
119
|
+
##
|
|
120
|
+
## Sets the authorityRetentionState property value. The authorityRetentionState property
|
|
121
|
+
## @param value Value to set for the authorityRetentionState property.
|
|
122
|
+
## @return a void
|
|
123
|
+
##
|
|
124
|
+
def authority_retention_state=(value)
|
|
125
|
+
@authority_retention_state = value
|
|
126
|
+
end
|
|
127
|
+
##
|
|
55
128
|
## Instantiates a new SshAuthorityResponse and sets the default values.
|
|
56
129
|
## @return a void
|
|
57
130
|
##
|
|
58
131
|
def initialize()
|
|
59
132
|
@additional_data = Hash.new
|
|
133
|
+
@authority_retention_state = "not-deleted"
|
|
60
134
|
end
|
|
61
135
|
##
|
|
62
136
|
## Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -89,6 +163,10 @@ module BellaBaxterGenerated
|
|
|
89
163
|
def get_field_deserializers()
|
|
90
164
|
return {
|
|
91
165
|
"adopted" => lambda {|n| @adopted = n.get_boolean_value() },
|
|
166
|
+
"authorityDestroyAfter" => lambda {|n| @authority_destroy_after = n.get_date_time_value() },
|
|
167
|
+
"authorityDestroyedAt" => lambda {|n| @authority_destroyed_at = n.get_date_time_value() },
|
|
168
|
+
"authorityRetentionReason" => lambda {|n| @authority_retention_reason = n.get_string_value() },
|
|
169
|
+
"authorityRetentionState" => lambda {|n| @authority_retention_state = n.get_string_value() },
|
|
92
170
|
"detail" => lambda {|n| @detail = n.get_string_value() },
|
|
93
171
|
"mountPath" => lambda {|n| @mount_path = n.get_string_value() },
|
|
94
172
|
"status" => lambda {|n| @status = n.get_string_value() },
|
|
@@ -117,6 +195,10 @@ module BellaBaxterGenerated
|
|
|
117
195
|
def serialize(writer)
|
|
118
196
|
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
119
197
|
writer.write_boolean_value("adopted", @adopted)
|
|
198
|
+
writer.write_date_time_value("authorityDestroyAfter", @authority_destroy_after)
|
|
199
|
+
writer.write_date_time_value("authorityDestroyedAt", @authority_destroyed_at)
|
|
200
|
+
writer.write_string_value("authorityRetentionReason", @authority_retention_reason)
|
|
201
|
+
writer.write_string_value("authorityRetentionState", @authority_retention_state)
|
|
120
202
|
writer.write_string_value("detail", @detail)
|
|
121
203
|
writer.write_string_value("mountPath", @mount_path)
|
|
122
204
|
writer.write_string_value("status", @status)
|
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.130
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cosmic Chimps
|
|
@@ -332,6 +332,10 @@ files:
|
|
|
332
332
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/environments_request_builder.rb
|
|
333
333
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/audience_readiness/audience_readiness.rb
|
|
334
334
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/audience_readiness/audience_readiness_request_builder.rb
|
|
335
|
+
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/authority.rb
|
|
336
|
+
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/authority_request_builder.rb
|
|
337
|
+
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/reestablish/reestablish.rb
|
|
338
|
+
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/authority/reestablish/reestablish_request_builder.rb
|
|
335
339
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/cert_rotation/cert_rotation.rb
|
|
336
340
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/cert_rotation/cert_rotation_request_builder.rb
|
|
337
341
|
- lib/bella_baxter/generated/api/v1/projects/item/environments/item/cert_rotation/item/cancel/cancel.rb
|
|
@@ -907,6 +911,8 @@ files:
|
|
|
907
911
|
- lib/bella_baxter/generated/models/recover_encryption_key_request.rb
|
|
908
912
|
- lib/bella_baxter/generated/models/recover_encryption_key_response.rb
|
|
909
913
|
- lib/bella_baxter/generated/models/recovery_challenge_response.rb
|
|
914
|
+
- lib/bella_baxter/generated/models/reestablish_environment_authority_command.rb
|
|
915
|
+
- lib/bella_baxter/generated/models/reestablish_environment_authority_response.rb
|
|
910
916
|
- lib/bella_baxter/generated/models/region_info.rb
|
|
911
917
|
- lib/bella_baxter/generated/models/register_tenant_encryption_key_request.rb
|
|
912
918
|
- lib/bella_baxter/generated/models/register_tenant_encryption_key_response.rb
|