bella_baxter 0.1.1.pre.preview.110 → 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/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/deactivation_impact_key.rb +142 -0
- data/lib/bella_baxter/generated/models/models.rb +2 -0
- data/lib/bella_baxter/generated/models/user_deactivation_impact_response.rb +102 -0
- data/lib/bella_baxter/version.rb +1 -1
- metadata +5 -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
|
|
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,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
|
|
@@ -99,6 +99,7 @@ require_relative 'create_workload_identity_command'
|
|
|
99
99
|
require_relative 'current_user_response'
|
|
100
100
|
require_relative 'dashboard_count_pair'
|
|
101
101
|
require_relative 'dashboard_response'
|
|
102
|
+
require_relative 'deactivation_impact_key'
|
|
102
103
|
require_relative 'drift_item'
|
|
103
104
|
require_relative 'drift_response'
|
|
104
105
|
require_relative 'drift_summary'
|
|
@@ -337,6 +338,7 @@ require_relative 'update_webhook_request'
|
|
|
337
338
|
require_relative 'update_workload_identity_command'
|
|
338
339
|
require_relative 'upload_failure'
|
|
339
340
|
require_relative 'upload_secrets_file_response'
|
|
341
|
+
require_relative 'user_deactivation_impact_response'
|
|
340
342
|
require_relative 'user_response'
|
|
341
343
|
require_relative 'user_role_assignment'
|
|
342
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
|
|
@@ -637,6 +637,8 @@ files:
|
|
|
637
637
|
- lib/bella_baxter/generated/api/v1/token/token_request_builder.rb
|
|
638
638
|
- lib/bella_baxter/generated/api/v1/users/change_password/change_password.rb
|
|
639
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
|
|
640
642
|
- lib/bella_baxter/generated/api/v1/users/item/item.rb
|
|
641
643
|
- lib/bella_baxter/generated/api/v1/users/item/reactivate/reactivate.rb
|
|
642
644
|
- lib/bella_baxter/generated/api/v1/users/item/reactivate/reactivate_request_builder.rb
|
|
@@ -790,6 +792,7 @@ files:
|
|
|
790
792
|
- lib/bella_baxter/generated/models/current_user_response.rb
|
|
791
793
|
- lib/bella_baxter/generated/models/dashboard_count_pair.rb
|
|
792
794
|
- lib/bella_baxter/generated/models/dashboard_response.rb
|
|
795
|
+
- lib/bella_baxter/generated/models/deactivation_impact_key.rb
|
|
793
796
|
- lib/bella_baxter/generated/models/drift_item.rb
|
|
794
797
|
- lib/bella_baxter/generated/models/drift_response.rb
|
|
795
798
|
- lib/bella_baxter/generated/models/drift_summary.rb
|
|
@@ -1035,6 +1038,7 @@ files:
|
|
|
1035
1038
|
- lib/bella_baxter/generated/models/update_workload_identity_command.rb
|
|
1036
1039
|
- lib/bella_baxter/generated/models/upload_failure.rb
|
|
1037
1040
|
- lib/bella_baxter/generated/models/upload_secrets_file_response.rb
|
|
1041
|
+
- lib/bella_baxter/generated/models/user_deactivation_impact_response.rb
|
|
1038
1042
|
- lib/bella_baxter/generated/models/user_response.rb
|
|
1039
1043
|
- lib/bella_baxter/generated/models/user_role_assignment.rb
|
|
1040
1044
|
- lib/bella_baxter/generated/models/user_tenant_item.rb
|