bella_baxter 0.1.1.pre.preview.109 → 0.1.1.pre.preview.111
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/api_keys/item/api_keys_item_request_builder.rb +6 -0
- data/lib/bella_baxter/generated/api/v1/api_keys/item/device/device.rb +0 -0
- data/lib/bella_baxter/generated/api/v1/api_keys/item/device/device_request_builder.rb +78 -0
- data/lib/bella_baxter/generated/api/v1/projects/item/environments/item/providers/providers_request_builder.rb +4 -1
- data/lib/bella_baxter/generated/api/v1/users/item/deactivation_impact/deactivation_impact.rb +0 -0
- data/lib/bella_baxter/generated/api/v1/users/item/deactivation_impact/deactivation_impact_request_builder.rb +72 -0
- data/lib/bella_baxter/generated/api/v1/users/item/with_user_item_request_builder.rb +6 -0
- data/lib/bella_baxter/generated/models/attach_api_key_device_request.rb +82 -0
- data/lib/bella_baxter/generated/models/create_personal_api_key_request.rb +20 -0
- data/lib/bella_baxter/generated/models/deactivation_impact_key.rb +142 -0
- data/lib/bella_baxter/generated/models/models.rb +3 -0
- data/lib/bella_baxter/generated/models/user_deactivation_impact_response.rb +102 -0
- data/lib/bella_baxter/version.rb +1 -1
- metadata +8 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba7549fba9c524f753a03d445edfc87c447167ba219dbc6fe8fb48b5bd927a08
|
|
4
|
+
data.tar.gz: 00cf3a26c3b32ed306b16114b5a44de8fc077180c7718a0b648710019b27d349
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 722842c6cdf368dee540aaf1baaa08e5b7bda60d769ccd0605c5949668d4c2ae53373c10fb237e3358b0e846d7aebe267fcad865c5b76e2c1f88182675cd6e8b
|
|
7
|
+
data.tar.gz: fde4bd36f2913db9242b8f45bcad6ddf867c3b0d8fc77fb10b3150729b7cdfe24a70db915504785e15fa825f872378d15179b5a6fcd6a0dadc9ab0f93507f2dc
|
|
@@ -7,6 +7,7 @@ require_relative '../../../../models/update_api_key_request'
|
|
|
7
7
|
require_relative '../../../api'
|
|
8
8
|
require_relative '../../v1'
|
|
9
9
|
require_relative '../api_keys'
|
|
10
|
+
require_relative './device/device_request_builder'
|
|
10
11
|
require_relative './item'
|
|
11
12
|
require_relative './toggle_status/toggle_status_request_builder'
|
|
12
13
|
|
|
@@ -19,6 +20,11 @@ module Bella_baxter/generated
|
|
|
19
20
|
# Builds and executes requests for operations under \api\v1\api-keys\{id}
|
|
20
21
|
class ApiKeysItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
21
22
|
|
|
23
|
+
##
|
|
24
|
+
# The device property
|
|
25
|
+
def device()
|
|
26
|
+
return Bella_baxter/generated::Api::V1::ApiKeys::Item::Device::DeviceRequestBuilder.new(@path_parameters, @request_adapter)
|
|
27
|
+
end
|
|
22
28
|
##
|
|
23
29
|
# The toggleStatus property
|
|
24
30
|
def toggle_status()
|
|
File without changes
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../../../../../bella_baxter/generated'
|
|
3
|
+
require_relative '../../../../../models/api_key_operation_response'
|
|
4
|
+
require_relative '../../../../../models/attach_api_key_device_request'
|
|
5
|
+
require_relative '../../../../api'
|
|
6
|
+
require_relative '../../../v1'
|
|
7
|
+
require_relative '../../api_keys'
|
|
8
|
+
require_relative '../item'
|
|
9
|
+
require_relative './device'
|
|
10
|
+
|
|
11
|
+
module Bella_baxter/generated
|
|
12
|
+
module Api
|
|
13
|
+
module V1
|
|
14
|
+
module ApiKeys
|
|
15
|
+
module Item
|
|
16
|
+
module Device
|
|
17
|
+
##
|
|
18
|
+
# Builds and executes requests for operations under \api\v1\api-keys\{id}\device
|
|
19
|
+
class DeviceRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
20
|
+
|
|
21
|
+
##
|
|
22
|
+
## Instantiates a new DeviceRequestBuilder and sets the default values.
|
|
23
|
+
## @param path_parameters Path parameters for the request
|
|
24
|
+
## @param request_adapter The request adapter to use to execute the requests.
|
|
25
|
+
## @return a void
|
|
26
|
+
##
|
|
27
|
+
def initialize(path_parameters, request_adapter)
|
|
28
|
+
super(path_parameters, request_adapter, "{+baseurl}/api/v1/api-keys/{id}/device")
|
|
29
|
+
end
|
|
30
|
+
##
|
|
31
|
+
## POST_api_v1_api_keys_id_device
|
|
32
|
+
## @param body The request body
|
|
33
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
## @return a Fiber of api_key_operation_response
|
|
35
|
+
##
|
|
36
|
+
def post(body, request_configuration=nil)
|
|
37
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
38
|
+
request_info = self.to_post_request_information(
|
|
39
|
+
body, request_configuration
|
|
40
|
+
)
|
|
41
|
+
return @request_adapter.send_async(request_info, lambda {|pn| Bella_baxter/generated::Models::ApiKeyOperationResponse.create_from_discriminator_value(pn) }, nil)
|
|
42
|
+
end
|
|
43
|
+
##
|
|
44
|
+
## POST_api_v1_api_keys_id_device
|
|
45
|
+
## @param body The request body
|
|
46
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
## @return a request_information
|
|
48
|
+
##
|
|
49
|
+
def to_post_request_information(body, request_configuration=nil)
|
|
50
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
|
51
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
|
52
|
+
unless request_configuration.nil?
|
|
53
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
|
54
|
+
request_info.add_request_options(request_configuration.options)
|
|
55
|
+
end
|
|
56
|
+
request_info.set_content_from_parsable(@request_adapter, 'application/json', body)
|
|
57
|
+
request_info.url_template = @url_template
|
|
58
|
+
request_info.path_parameters = @path_parameters
|
|
59
|
+
request_info.http_method = :POST
|
|
60
|
+
request_info.headers.try_add('Accept', 'application/json')
|
|
61
|
+
return request_info
|
|
62
|
+
end
|
|
63
|
+
##
|
|
64
|
+
## Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
65
|
+
## @param raw_url The raw URL to use for the request builder.
|
|
66
|
+
## @return a device_request_builder
|
|
67
|
+
##
|
|
68
|
+
def with_url(raw_url)
|
|
69
|
+
raise StandardError, 'raw_url cannot be null' if raw_url.nil?
|
|
70
|
+
return DeviceRequestBuilder.new(raw_url, @request_adapter)
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -2,6 +2,7 @@ require 'microsoft_kiota_abstractions'
|
|
|
2
2
|
require_relative '../../../../../../../bella_baxter/generated'
|
|
3
3
|
require_relative '../../../../../../../models/assign_providers_command'
|
|
4
4
|
require_relative '../../../../../../../models/environment_provider_response'
|
|
5
|
+
require_relative '../../../../../../../models/http_validation_problem_details'
|
|
5
6
|
require_relative '../../../../../../../models/operation_response'
|
|
6
7
|
require_relative '../../../../../../api'
|
|
7
8
|
require_relative '../../../../../v1'
|
|
@@ -66,7 +67,9 @@ module Bella_baxter/generated
|
|
|
66
67
|
request_info = self.to_post_request_information(
|
|
67
68
|
body, request_configuration
|
|
68
69
|
)
|
|
69
|
-
|
|
70
|
+
error_mapping = Hash.new
|
|
71
|
+
error_mapping["400"] = lambda {|pn| Bella_baxter/generated::Models::HttpValidationProblemDetails.create_from_discriminator_value(pn) }
|
|
72
|
+
return @request_adapter.send_async(request_info, lambda {|pn| Bella_baxter/generated::Models::OperationResponse.create_from_discriminator_value(pn) }, error_mapping)
|
|
70
73
|
end
|
|
71
74
|
##
|
|
72
75
|
## GET_api_v1_projects_projectRef_environments_envSlug_providers
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../../../../../bella_baxter/generated'
|
|
3
|
+
require_relative '../../../../../models/user_deactivation_impact_response'
|
|
4
|
+
require_relative '../../../../api'
|
|
5
|
+
require_relative '../../../v1'
|
|
6
|
+
require_relative '../../users'
|
|
7
|
+
require_relative '../item'
|
|
8
|
+
require_relative './deactivation_impact'
|
|
9
|
+
|
|
10
|
+
module Bella_baxter/generated
|
|
11
|
+
module Api
|
|
12
|
+
module V1
|
|
13
|
+
module Users
|
|
14
|
+
module Item
|
|
15
|
+
module DeactivationImpact
|
|
16
|
+
##
|
|
17
|
+
# Builds and executes requests for operations under \api\v1\users\{userId}\deactivation-impact
|
|
18
|
+
class DeactivationImpactRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
19
|
+
|
|
20
|
+
##
|
|
21
|
+
## Instantiates a new DeactivationImpactRequestBuilder and sets the default values.
|
|
22
|
+
## @param path_parameters Path parameters for the request
|
|
23
|
+
## @param request_adapter The request adapter to use to execute the requests.
|
|
24
|
+
## @return a void
|
|
25
|
+
##
|
|
26
|
+
def initialize(path_parameters, request_adapter)
|
|
27
|
+
super(path_parameters, request_adapter, "{+baseurl}/api/v1/users/{userId}/deactivation-impact")
|
|
28
|
+
end
|
|
29
|
+
##
|
|
30
|
+
## GET_api_v1_users_userId_deactivation_impact
|
|
31
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
## @return a Fiber of user_deactivation_impact_response
|
|
33
|
+
##
|
|
34
|
+
def get(request_configuration=nil)
|
|
35
|
+
request_info = self.to_get_request_information(
|
|
36
|
+
request_configuration
|
|
37
|
+
)
|
|
38
|
+
return @request_adapter.send_async(request_info, lambda {|pn| Bella_baxter/generated::Models::UserDeactivationImpactResponse.create_from_discriminator_value(pn) }, nil)
|
|
39
|
+
end
|
|
40
|
+
##
|
|
41
|
+
## GET_api_v1_users_userId_deactivation_impact
|
|
42
|
+
## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
## @return a request_information
|
|
44
|
+
##
|
|
45
|
+
def to_get_request_information(request_configuration=nil)
|
|
46
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
|
47
|
+
unless request_configuration.nil?
|
|
48
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
|
49
|
+
request_info.add_request_options(request_configuration.options)
|
|
50
|
+
end
|
|
51
|
+
request_info.url_template = @url_template
|
|
52
|
+
request_info.path_parameters = @path_parameters
|
|
53
|
+
request_info.http_method = :GET
|
|
54
|
+
request_info.headers.try_add('Accept', 'application/json')
|
|
55
|
+
return request_info
|
|
56
|
+
end
|
|
57
|
+
##
|
|
58
|
+
## Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
|
|
59
|
+
## @param raw_url The raw URL to use for the request builder.
|
|
60
|
+
## @return a deactivation_impact_request_builder
|
|
61
|
+
##
|
|
62
|
+
def with_url(raw_url)
|
|
63
|
+
raise StandardError, 'raw_url cannot be null' if raw_url.nil?
|
|
64
|
+
return DeactivationImpactRequestBuilder.new(raw_url, @request_adapter)
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -5,6 +5,7 @@ require_relative '../../../../models/user_response'
|
|
|
5
5
|
require_relative '../../../api'
|
|
6
6
|
require_relative '../../v1'
|
|
7
7
|
require_relative '../users'
|
|
8
|
+
require_relative './deactivation_impact/deactivation_impact_request_builder'
|
|
8
9
|
require_relative './item'
|
|
9
10
|
require_relative './reactivate/reactivate_request_builder'
|
|
10
11
|
|
|
@@ -17,6 +18,11 @@ module Bella_baxter/generated
|
|
|
17
18
|
# Builds and executes requests for operations under \api\v1\users\{userId}
|
|
18
19
|
class WithUserItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder
|
|
19
20
|
|
|
21
|
+
##
|
|
22
|
+
# The deactivationImpact property
|
|
23
|
+
def deactivation_impact()
|
|
24
|
+
return Bella_baxter/generated::Api::V1::Users::Item::DeactivationImpact::DeactivationImpactRequestBuilder.new(@path_parameters, @request_adapter)
|
|
25
|
+
end
|
|
20
26
|
##
|
|
21
27
|
# The reactivate property
|
|
22
28
|
def reactivate()
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../bella_baxter/generated'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Bella_baxter/generated
|
|
6
|
+
module Models
|
|
7
|
+
class AttachApiKeyDeviceRequest
|
|
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 publicKey property
|
|
14
|
+
@public_key
|
|
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
|
+
## Instantiates a new AttachApiKeyDeviceRequest and sets the default values.
|
|
32
|
+
## @return a void
|
|
33
|
+
##
|
|
34
|
+
def initialize()
|
|
35
|
+
@additional_data = Hash.new
|
|
36
|
+
end
|
|
37
|
+
##
|
|
38
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
39
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
40
|
+
## @return a attach_api_key_device_request
|
|
41
|
+
##
|
|
42
|
+
def self.create_from_discriminator_value(parse_node)
|
|
43
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
44
|
+
return AttachApiKeyDeviceRequest.new
|
|
45
|
+
end
|
|
46
|
+
##
|
|
47
|
+
## The deserialization information for the current model
|
|
48
|
+
## @return a i_dictionary
|
|
49
|
+
##
|
|
50
|
+
def get_field_deserializers()
|
|
51
|
+
return {
|
|
52
|
+
"publicKey" => lambda {|n| @public_key = n.get_string_value() },
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
##
|
|
56
|
+
## Gets the publicKey property value. The publicKey property
|
|
57
|
+
## @return a string
|
|
58
|
+
##
|
|
59
|
+
def public_key
|
|
60
|
+
return @public_key
|
|
61
|
+
end
|
|
62
|
+
##
|
|
63
|
+
## Sets the publicKey property value. The publicKey property
|
|
64
|
+
## @param value Value to set for the publicKey property.
|
|
65
|
+
## @return a void
|
|
66
|
+
##
|
|
67
|
+
def public_key=(value)
|
|
68
|
+
@public_key = value
|
|
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_string_value("publicKey", @public_key)
|
|
78
|
+
writer.write_additional_data(@additional_data)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -19,6 +19,9 @@ module Bella_baxter/generated
|
|
|
19
19
|
# The expiresInDays property
|
|
20
20
|
@expires_in_days
|
|
21
21
|
##
|
|
22
|
+
# The publicKey property
|
|
23
|
+
@public_key
|
|
24
|
+
##
|
|
22
25
|
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
23
26
|
## @return a i_dictionary
|
|
24
27
|
##
|
|
@@ -103,9 +106,25 @@ module Bella_baxter/generated
|
|
|
103
106
|
"clientName" => lambda {|n| @client_name = n.get_string_value() },
|
|
104
107
|
"description" => lambda {|n| @description = n.get_string_value() },
|
|
105
108
|
"expiresInDays" => lambda {|n| @expires_in_days = n.get_number_value() },
|
|
109
|
+
"publicKey" => lambda {|n| @public_key = n.get_string_value() },
|
|
106
110
|
}
|
|
107
111
|
end
|
|
108
112
|
##
|
|
113
|
+
## Gets the publicKey property value. The publicKey property
|
|
114
|
+
## @return a string
|
|
115
|
+
##
|
|
116
|
+
def public_key
|
|
117
|
+
return @public_key
|
|
118
|
+
end
|
|
119
|
+
##
|
|
120
|
+
## Sets the publicKey property value. The publicKey property
|
|
121
|
+
## @param value Value to set for the publicKey property.
|
|
122
|
+
## @return a void
|
|
123
|
+
##
|
|
124
|
+
def public_key=(value)
|
|
125
|
+
@public_key = value
|
|
126
|
+
end
|
|
127
|
+
##
|
|
109
128
|
## Serializes information the current object
|
|
110
129
|
## @param writer Serialization writer to use to serialize this model
|
|
111
130
|
## @return a void
|
|
@@ -115,6 +134,7 @@ module Bella_baxter/generated
|
|
|
115
134
|
writer.write_string_value("clientName", @client_name)
|
|
116
135
|
writer.write_string_value("description", @description)
|
|
117
136
|
writer.write_number_value("expiresInDays", @expires_in_days)
|
|
137
|
+
writer.write_string_value("publicKey", @public_key)
|
|
118
138
|
writer.write_additional_data(@additional_data)
|
|
119
139
|
end
|
|
120
140
|
end
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../bella_baxter/generated'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Bella_baxter/generated
|
|
6
|
+
module Models
|
|
7
|
+
class DeactivationImpactKey
|
|
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 apiKeyId property
|
|
14
|
+
@api_key_id
|
|
15
|
+
##
|
|
16
|
+
# The clientName property
|
|
17
|
+
@client_name
|
|
18
|
+
##
|
|
19
|
+
# The role property
|
|
20
|
+
@role
|
|
21
|
+
##
|
|
22
|
+
# The tenantId property
|
|
23
|
+
@tenant_id
|
|
24
|
+
##
|
|
25
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
26
|
+
## @return a i_dictionary
|
|
27
|
+
##
|
|
28
|
+
def additional_data
|
|
29
|
+
return @additional_data
|
|
30
|
+
end
|
|
31
|
+
##
|
|
32
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
33
|
+
## @param value Value to set for the AdditionalData property.
|
|
34
|
+
## @return a void
|
|
35
|
+
##
|
|
36
|
+
def additional_data=(value)
|
|
37
|
+
@additional_data = value
|
|
38
|
+
end
|
|
39
|
+
##
|
|
40
|
+
## Gets the apiKeyId property value. The apiKeyId property
|
|
41
|
+
## @return a string
|
|
42
|
+
##
|
|
43
|
+
def api_key_id
|
|
44
|
+
return @api_key_id
|
|
45
|
+
end
|
|
46
|
+
##
|
|
47
|
+
## Sets the apiKeyId property value. The apiKeyId property
|
|
48
|
+
## @param value Value to set for the apiKeyId property.
|
|
49
|
+
## @return a void
|
|
50
|
+
##
|
|
51
|
+
def api_key_id=(value)
|
|
52
|
+
@api_key_id = value
|
|
53
|
+
end
|
|
54
|
+
##
|
|
55
|
+
## Gets the clientName property value. The clientName property
|
|
56
|
+
## @return a string
|
|
57
|
+
##
|
|
58
|
+
def client_name
|
|
59
|
+
return @client_name
|
|
60
|
+
end
|
|
61
|
+
##
|
|
62
|
+
## Sets the clientName property value. The clientName property
|
|
63
|
+
## @param value Value to set for the clientName property.
|
|
64
|
+
## @return a void
|
|
65
|
+
##
|
|
66
|
+
def client_name=(value)
|
|
67
|
+
@client_name = value
|
|
68
|
+
end
|
|
69
|
+
##
|
|
70
|
+
## Instantiates a new DeactivationImpactKey and sets the default values.
|
|
71
|
+
## @return a void
|
|
72
|
+
##
|
|
73
|
+
def initialize()
|
|
74
|
+
@additional_data = Hash.new
|
|
75
|
+
end
|
|
76
|
+
##
|
|
77
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
78
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
79
|
+
## @return a deactivation_impact_key
|
|
80
|
+
##
|
|
81
|
+
def self.create_from_discriminator_value(parse_node)
|
|
82
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
83
|
+
return DeactivationImpactKey.new
|
|
84
|
+
end
|
|
85
|
+
##
|
|
86
|
+
## The deserialization information for the current model
|
|
87
|
+
## @return a i_dictionary
|
|
88
|
+
##
|
|
89
|
+
def get_field_deserializers()
|
|
90
|
+
return {
|
|
91
|
+
"apiKeyId" => lambda {|n| @api_key_id = n.get_string_value() },
|
|
92
|
+
"clientName" => lambda {|n| @client_name = n.get_string_value() },
|
|
93
|
+
"role" => lambda {|n| @role = n.get_string_value() },
|
|
94
|
+
"tenantId" => lambda {|n| @tenant_id = n.get_string_value() },
|
|
95
|
+
}
|
|
96
|
+
end
|
|
97
|
+
##
|
|
98
|
+
## Gets the role property value. The role property
|
|
99
|
+
## @return a string
|
|
100
|
+
##
|
|
101
|
+
def role
|
|
102
|
+
return @role
|
|
103
|
+
end
|
|
104
|
+
##
|
|
105
|
+
## Sets the role property value. The role property
|
|
106
|
+
## @param value Value to set for the role property.
|
|
107
|
+
## @return a void
|
|
108
|
+
##
|
|
109
|
+
def role=(value)
|
|
110
|
+
@role = value
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Serializes information the current object
|
|
114
|
+
## @param writer Serialization writer to use to serialize this model
|
|
115
|
+
## @return a void
|
|
116
|
+
##
|
|
117
|
+
def serialize(writer)
|
|
118
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
119
|
+
writer.write_string_value("apiKeyId", @api_key_id)
|
|
120
|
+
writer.write_string_value("clientName", @client_name)
|
|
121
|
+
writer.write_string_value("role", @role)
|
|
122
|
+
writer.write_string_value("tenantId", @tenant_id)
|
|
123
|
+
writer.write_additional_data(@additional_data)
|
|
124
|
+
end
|
|
125
|
+
##
|
|
126
|
+
## Gets the tenantId property value. The tenantId property
|
|
127
|
+
## @return a string
|
|
128
|
+
##
|
|
129
|
+
def tenant_id
|
|
130
|
+
return @tenant_id
|
|
131
|
+
end
|
|
132
|
+
##
|
|
133
|
+
## Sets the tenantId property value. The tenantId property
|
|
134
|
+
## @param value Value to set for the tenantId property.
|
|
135
|
+
## @return a void
|
|
136
|
+
##
|
|
137
|
+
def tenant_id=(value)
|
|
138
|
+
@tenant_id = value
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
@@ -23,6 +23,7 @@ require_relative 'assign_group_to_project_request'
|
|
|
23
23
|
require_relative 'assign_providers_command'
|
|
24
24
|
require_relative 'assign_users_request'
|
|
25
25
|
require_relative 'assign_users_to_environment_request'
|
|
26
|
+
require_relative 'attach_api_key_device_request'
|
|
26
27
|
require_relative 'attestation_selector_dto'
|
|
27
28
|
require_relative 'attestation_vocabulary_entry'
|
|
28
29
|
require_relative 'attestation_vocabulary_response'
|
|
@@ -98,6 +99,7 @@ require_relative 'create_workload_identity_command'
|
|
|
98
99
|
require_relative 'current_user_response'
|
|
99
100
|
require_relative 'dashboard_count_pair'
|
|
100
101
|
require_relative 'dashboard_response'
|
|
102
|
+
require_relative 'deactivation_impact_key'
|
|
101
103
|
require_relative 'drift_item'
|
|
102
104
|
require_relative 'drift_response'
|
|
103
105
|
require_relative 'drift_summary'
|
|
@@ -336,6 +338,7 @@ require_relative 'update_webhook_request'
|
|
|
336
338
|
require_relative 'update_workload_identity_command'
|
|
337
339
|
require_relative 'upload_failure'
|
|
338
340
|
require_relative 'upload_secrets_file_response'
|
|
341
|
+
require_relative 'user_deactivation_impact_response'
|
|
339
342
|
require_relative 'user_response'
|
|
340
343
|
require_relative 'user_role_assignment'
|
|
341
344
|
require_relative 'user_tenant_item'
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../bella_baxter/generated'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Bella_baxter/generated
|
|
6
|
+
module Models
|
|
7
|
+
class UserDeactivationImpactResponse
|
|
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 apiKeyCount property
|
|
14
|
+
@api_key_count
|
|
15
|
+
##
|
|
16
|
+
# The apiKeys property
|
|
17
|
+
@api_keys
|
|
18
|
+
##
|
|
19
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
20
|
+
## @return a i_dictionary
|
|
21
|
+
##
|
|
22
|
+
def additional_data
|
|
23
|
+
return @additional_data
|
|
24
|
+
end
|
|
25
|
+
##
|
|
26
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
27
|
+
## @param value Value to set for the AdditionalData property.
|
|
28
|
+
## @return a void
|
|
29
|
+
##
|
|
30
|
+
def additional_data=(value)
|
|
31
|
+
@additional_data = value
|
|
32
|
+
end
|
|
33
|
+
##
|
|
34
|
+
## Gets the apiKeyCount property value. The apiKeyCount property
|
|
35
|
+
## @return a integer
|
|
36
|
+
##
|
|
37
|
+
def api_key_count
|
|
38
|
+
return @api_key_count
|
|
39
|
+
end
|
|
40
|
+
##
|
|
41
|
+
## Sets the apiKeyCount property value. The apiKeyCount property
|
|
42
|
+
## @param value Value to set for the apiKeyCount property.
|
|
43
|
+
## @return a void
|
|
44
|
+
##
|
|
45
|
+
def api_key_count=(value)
|
|
46
|
+
@api_key_count = value
|
|
47
|
+
end
|
|
48
|
+
##
|
|
49
|
+
## Gets the apiKeys property value. The apiKeys property
|
|
50
|
+
## @return a deactivation_impact_key
|
|
51
|
+
##
|
|
52
|
+
def api_keys
|
|
53
|
+
return @api_keys
|
|
54
|
+
end
|
|
55
|
+
##
|
|
56
|
+
## Sets the apiKeys property value. The apiKeys property
|
|
57
|
+
## @param value Value to set for the apiKeys property.
|
|
58
|
+
## @return a void
|
|
59
|
+
##
|
|
60
|
+
def api_keys=(value)
|
|
61
|
+
@api_keys = value
|
|
62
|
+
end
|
|
63
|
+
##
|
|
64
|
+
## Instantiates a new UserDeactivationImpactResponse and sets the default values.
|
|
65
|
+
## @return a void
|
|
66
|
+
##
|
|
67
|
+
def initialize()
|
|
68
|
+
@additional_data = Hash.new
|
|
69
|
+
end
|
|
70
|
+
##
|
|
71
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
72
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
73
|
+
## @return a user_deactivation_impact_response
|
|
74
|
+
##
|
|
75
|
+
def self.create_from_discriminator_value(parse_node)
|
|
76
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
77
|
+
return UserDeactivationImpactResponse.new
|
|
78
|
+
end
|
|
79
|
+
##
|
|
80
|
+
## The deserialization information for the current model
|
|
81
|
+
## @return a i_dictionary
|
|
82
|
+
##
|
|
83
|
+
def get_field_deserializers()
|
|
84
|
+
return {
|
|
85
|
+
"apiKeyCount" => lambda {|n| @api_key_count = n.get_number_value() },
|
|
86
|
+
"apiKeys" => lambda {|n| @api_keys = n.get_collection_of_object_values(lambda {|pn| Bella_baxter/generated::Models::DeactivationImpactKey.create_from_discriminator_value(pn) }) },
|
|
87
|
+
}
|
|
88
|
+
end
|
|
89
|
+
##
|
|
90
|
+
## Serializes information the current object
|
|
91
|
+
## @param writer Serialization writer to use to serialize this model
|
|
92
|
+
## @return a void
|
|
93
|
+
##
|
|
94
|
+
def serialize(writer)
|
|
95
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
96
|
+
writer.write_number_value("apiKeyCount", @api_key_count)
|
|
97
|
+
writer.write_collection_of_object_values("apiKeys", @api_keys)
|
|
98
|
+
writer.write_additional_data(@additional_data)
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
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.111
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cosmic Chimps
|
|
@@ -205,6 +205,8 @@ files:
|
|
|
205
205
|
- lib/bella_baxter/generated/api/v1/api_keys/api_keys.rb
|
|
206
206
|
- lib/bella_baxter/generated/api/v1/api_keys/api_keys_request_builder.rb
|
|
207
207
|
- lib/bella_baxter/generated/api/v1/api_keys/item/api_keys_item_request_builder.rb
|
|
208
|
+
- lib/bella_baxter/generated/api/v1/api_keys/item/device/device.rb
|
|
209
|
+
- lib/bella_baxter/generated/api/v1/api_keys/item/device/device_request_builder.rb
|
|
208
210
|
- lib/bella_baxter/generated/api/v1/api_keys/item/item.rb
|
|
209
211
|
- lib/bella_baxter/generated/api/v1/api_keys/item/toggle_status/toggle_status.rb
|
|
210
212
|
- lib/bella_baxter/generated/api/v1/api_keys/item/toggle_status/toggle_status_request_builder.rb
|
|
@@ -635,6 +637,8 @@ files:
|
|
|
635
637
|
- lib/bella_baxter/generated/api/v1/token/token_request_builder.rb
|
|
636
638
|
- lib/bella_baxter/generated/api/v1/users/change_password/change_password.rb
|
|
637
639
|
- lib/bella_baxter/generated/api/v1/users/change_password/change_password_request_builder.rb
|
|
640
|
+
- lib/bella_baxter/generated/api/v1/users/item/deactivation_impact/deactivation_impact.rb
|
|
641
|
+
- lib/bella_baxter/generated/api/v1/users/item/deactivation_impact/deactivation_impact_request_builder.rb
|
|
638
642
|
- lib/bella_baxter/generated/api/v1/users/item/item.rb
|
|
639
643
|
- lib/bella_baxter/generated/api/v1/users/item/reactivate/reactivate.rb
|
|
640
644
|
- lib/bella_baxter/generated/api/v1/users/item/reactivate/reactivate_request_builder.rb
|
|
@@ -711,6 +715,7 @@ files:
|
|
|
711
715
|
- lib/bella_baxter/generated/models/assign_providers_command.rb
|
|
712
716
|
- lib/bella_baxter/generated/models/assign_users_request.rb
|
|
713
717
|
- lib/bella_baxter/generated/models/assign_users_to_environment_request.rb
|
|
718
|
+
- lib/bella_baxter/generated/models/attach_api_key_device_request.rb
|
|
714
719
|
- lib/bella_baxter/generated/models/attest_workload_identity_command.rb
|
|
715
720
|
- lib/bella_baxter/generated/models/attest_workload_identity_command_attestation_claims.rb
|
|
716
721
|
- lib/bella_baxter/generated/models/attest_workload_identity_response.rb
|
|
@@ -787,6 +792,7 @@ files:
|
|
|
787
792
|
- lib/bella_baxter/generated/models/current_user_response.rb
|
|
788
793
|
- lib/bella_baxter/generated/models/dashboard_count_pair.rb
|
|
789
794
|
- lib/bella_baxter/generated/models/dashboard_response.rb
|
|
795
|
+
- lib/bella_baxter/generated/models/deactivation_impact_key.rb
|
|
790
796
|
- lib/bella_baxter/generated/models/drift_item.rb
|
|
791
797
|
- lib/bella_baxter/generated/models/drift_response.rb
|
|
792
798
|
- lib/bella_baxter/generated/models/drift_summary.rb
|
|
@@ -1032,6 +1038,7 @@ files:
|
|
|
1032
1038
|
- lib/bella_baxter/generated/models/update_workload_identity_command.rb
|
|
1033
1039
|
- lib/bella_baxter/generated/models/upload_failure.rb
|
|
1034
1040
|
- lib/bella_baxter/generated/models/upload_secrets_file_response.rb
|
|
1041
|
+
- lib/bella_baxter/generated/models/user_deactivation_impact_response.rb
|
|
1035
1042
|
- lib/bella_baxter/generated/models/user_response.rb
|
|
1036
1043
|
- lib/bella_baxter/generated/models/user_role_assignment.rb
|
|
1037
1044
|
- lib/bella_baxter/generated/models/user_tenant_item.rb
|