bella_baxter 0.1.1.pre.preview.38 → 0.1.1.pre.preview.39

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 367e02f87ad84de0d92978a5e5cb43cdaa7885d991ac7ba876f6e72986aabb01
4
- data.tar.gz: 76df79dfa865fc87332496832eb07f4592da22d13196db5efa930090b41a803d
3
+ metadata.gz: ca2086fe2a6666f3246cc5974517b8056eafcf5543922dd9e1c6f2ba76e9f36d
4
+ data.tar.gz: 45a3b7d4e60124075bb239364b6e060798256ee4cb2e588b51f06e0e0102bc1d
5
5
  SHA512:
6
- metadata.gz: 63905d2c3068364f0fbb6fc2e3a822707a84f6ae86d81cc722848419c9bd8b9c90eedb20bde0dcb07054cdb80a4862b6bd9a6b8dcd9669bcc6f4b66d5c7cd8a7
7
- data.tar.gz: ac59157ff02c69fd3e026d378518e83334b3c579ef375334f66abcac6f4f84e9fe6a6c5ff2a96755e386e6b156a44e14379777a9f52e63b1969bfc6c2a6abf90
6
+ metadata.gz: 32869b53f072dd636705382633bada9e96f96d7414d92b65b90be009be65fd8860a727aae4862e5e463c3884794bbc3bc967789bc82965cfcdf6270f20693c14
7
+ data.tar.gz: 4b615e9ef854acd52ae07cd9ddb24ef68488ddaef8bdcf746e5ea5081d29fc108d701b60c1e5f674d5232dfae14594495d80441566ef9b4c84d98423c111e106
@@ -1,6 +1,6 @@
1
1
  require 'microsoft_kiota_abstractions'
2
2
  require_relative '../../../../../../bella_baxter/generated'
3
- require_relative '../../../../../../models/i_result'
3
+ require_relative '../../../../../../models/emergency_kit'
4
4
  require_relative '../../../../../api'
5
5
  require_relative '../../../../v1'
6
6
  require_relative '../../../tenants'
@@ -31,13 +31,13 @@ module Bella_baxter/generated
31
31
  ##
32
32
  ## GET_api_v1_tenants_me_encryption_key_emergency_kit
33
33
  ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options.
34
- ## @return a Fiber of i_result
34
+ ## @return a Fiber of emergency_kit
35
35
  ##
36
36
  def get(request_configuration=nil)
37
37
  request_info = self.to_get_request_information(
38
38
  request_configuration
39
39
  )
40
- return @request_adapter.send_async(request_info, lambda {|pn| Bella_baxter/generated::Models::IResult.create_from_discriminator_value(pn) }, nil)
40
+ return @request_adapter.send_async(request_info, lambda {|pn| Bella_baxter/generated::Models::EmergencyKit.create_from_discriminator_value(pn) }, nil)
41
41
  end
42
42
  ##
43
43
  ## GET_api_v1_tenants_me_encryption_key_emergency_kit
@@ -0,0 +1,182 @@
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 EmergencyKit
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 generatedAt property
14
+ @generated_at
15
+ ##
16
+ # The instructions property
17
+ @instructions
18
+ ##
19
+ # The masterKeyFingerprint property
20
+ @master_key_fingerprint
21
+ ##
22
+ # The recoveryKeyFingerprint property
23
+ @recovery_key_fingerprint
24
+ ##
25
+ # The tenantId property
26
+ @tenant_id
27
+ ##
28
+ # The tenantSlug property
29
+ @tenant_slug
30
+ ##
31
+ ## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
32
+ ## @return a i_dictionary
33
+ ##
34
+ def additional_data
35
+ return @additional_data
36
+ end
37
+ ##
38
+ ## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
39
+ ## @param value Value to set for the AdditionalData property.
40
+ ## @return a void
41
+ ##
42
+ def additional_data=(value)
43
+ @additional_data = value
44
+ end
45
+ ##
46
+ ## Instantiates a new EmergencyKit 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 emergency_kit
56
+ ##
57
+ def self.create_from_discriminator_value(parse_node)
58
+ raise StandardError, 'parse_node cannot be null' if parse_node.nil?
59
+ return EmergencyKit.new
60
+ end
61
+ ##
62
+ ## Gets the generatedAt property value. The generatedAt property
63
+ ## @return a string
64
+ ##
65
+ def generated_at
66
+ return @generated_at
67
+ end
68
+ ##
69
+ ## Sets the generatedAt property value. The generatedAt property
70
+ ## @param value Value to set for the generatedAt property.
71
+ ## @return a void
72
+ ##
73
+ def generated_at=(value)
74
+ @generated_at = value
75
+ end
76
+ ##
77
+ ## The deserialization information for the current model
78
+ ## @return a i_dictionary
79
+ ##
80
+ def get_field_deserializers()
81
+ return {
82
+ "generatedAt" => lambda {|n| @generated_at = n.get_string_value() },
83
+ "instructions" => lambda {|n| @instructions = n.get_object_value(lambda {|pn| Bella_baxter/generated::Models::EmergencyKitInstructions.create_from_discriminator_value(pn) }) },
84
+ "masterKeyFingerprint" => lambda {|n| @master_key_fingerprint = n.get_string_value() },
85
+ "recoveryKeyFingerprint" => lambda {|n| @recovery_key_fingerprint = n.get_string_value() },
86
+ "tenantId" => lambda {|n| @tenant_id = n.get_string_value() },
87
+ "tenantSlug" => lambda {|n| @tenant_slug = n.get_string_value() },
88
+ }
89
+ end
90
+ ##
91
+ ## Gets the instructions property value. The instructions property
92
+ ## @return a emergency_kit_instructions
93
+ ##
94
+ def instructions
95
+ return @instructions
96
+ end
97
+ ##
98
+ ## Sets the instructions property value. The instructions property
99
+ ## @param value Value to set for the instructions property.
100
+ ## @return a void
101
+ ##
102
+ def instructions=(value)
103
+ @instructions = value
104
+ end
105
+ ##
106
+ ## Gets the masterKeyFingerprint property value. The masterKeyFingerprint property
107
+ ## @return a string
108
+ ##
109
+ def master_key_fingerprint
110
+ return @master_key_fingerprint
111
+ end
112
+ ##
113
+ ## Sets the masterKeyFingerprint property value. The masterKeyFingerprint property
114
+ ## @param value Value to set for the masterKeyFingerprint property.
115
+ ## @return a void
116
+ ##
117
+ def master_key_fingerprint=(value)
118
+ @master_key_fingerprint = value
119
+ end
120
+ ##
121
+ ## Gets the recoveryKeyFingerprint property value. The recoveryKeyFingerprint property
122
+ ## @return a string
123
+ ##
124
+ def recovery_key_fingerprint
125
+ return @recovery_key_fingerprint
126
+ end
127
+ ##
128
+ ## Sets the recoveryKeyFingerprint property value. The recoveryKeyFingerprint property
129
+ ## @param value Value to set for the recoveryKeyFingerprint property.
130
+ ## @return a void
131
+ ##
132
+ def recovery_key_fingerprint=(value)
133
+ @recovery_key_fingerprint = value
134
+ end
135
+ ##
136
+ ## Serializes information the current object
137
+ ## @param writer Serialization writer to use to serialize this model
138
+ ## @return a void
139
+ ##
140
+ def serialize(writer)
141
+ raise StandardError, 'writer cannot be null' if writer.nil?
142
+ writer.write_string_value("generatedAt", @generated_at)
143
+ writer.write_object_value("instructions", @instructions)
144
+ writer.write_string_value("masterKeyFingerprint", @master_key_fingerprint)
145
+ writer.write_string_value("recoveryKeyFingerprint", @recovery_key_fingerprint)
146
+ writer.write_string_value("tenantId", @tenant_id)
147
+ writer.write_string_value("tenantSlug", @tenant_slug)
148
+ writer.write_additional_data(@additional_data)
149
+ end
150
+ ##
151
+ ## Gets the tenantId property value. The tenantId property
152
+ ## @return a string
153
+ ##
154
+ def tenant_id
155
+ return @tenant_id
156
+ end
157
+ ##
158
+ ## Sets the tenantId property value. The tenantId property
159
+ ## @param value Value to set for the tenantId property.
160
+ ## @return a void
161
+ ##
162
+ def tenant_id=(value)
163
+ @tenant_id = value
164
+ end
165
+ ##
166
+ ## Gets the tenantSlug property value. The tenantSlug property
167
+ ## @return a string
168
+ ##
169
+ def tenant_slug
170
+ return @tenant_slug
171
+ end
172
+ ##
173
+ ## Sets the tenantSlug property value. The tenantSlug property
174
+ ## @param value Value to set for the tenantSlug property.
175
+ ## @return a void
176
+ ##
177
+ def tenant_slug=(value)
178
+ @tenant_slug = value
179
+ end
180
+ end
181
+ end
182
+ 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 EmergencyKitInstructions
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 step1 property
14
+ @step1
15
+ ##
16
+ # The step2 property
17
+ @step2
18
+ ##
19
+ # The step3 property
20
+ @step3
21
+ ##
22
+ # The warning property
23
+ @warning
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
+ ## Instantiates a new EmergencyKitInstructions and sets the default values.
41
+ ## @return a void
42
+ ##
43
+ def initialize()
44
+ @additional_data = Hash.new
45
+ end
46
+ ##
47
+ ## Creates a new instance of the appropriate class based on discriminator value
48
+ ## @param parse_node The parse node to use to read the discriminator value and create the object
49
+ ## @return a emergency_kit_instructions
50
+ ##
51
+ def self.create_from_discriminator_value(parse_node)
52
+ raise StandardError, 'parse_node cannot be null' if parse_node.nil?
53
+ return EmergencyKitInstructions.new
54
+ end
55
+ ##
56
+ ## The deserialization information for the current model
57
+ ## @return a i_dictionary
58
+ ##
59
+ def get_field_deserializers()
60
+ return {
61
+ "step1" => lambda {|n| @step1 = n.get_string_value() },
62
+ "step2" => lambda {|n| @step2 = n.get_string_value() },
63
+ "step3" => lambda {|n| @step3 = n.get_string_value() },
64
+ "warning" => lambda {|n| @warning = n.get_string_value() },
65
+ }
66
+ end
67
+ ##
68
+ ## Serializes information the current object
69
+ ## @param writer Serialization writer to use to serialize this model
70
+ ## @return a void
71
+ ##
72
+ def serialize(writer)
73
+ raise StandardError, 'writer cannot be null' if writer.nil?
74
+ writer.write_string_value("step1", @step1)
75
+ writer.write_string_value("step2", @step2)
76
+ writer.write_string_value("step3", @step3)
77
+ writer.write_string_value("warning", @warning)
78
+ writer.write_additional_data(@additional_data)
79
+ end
80
+ ##
81
+ ## Gets the step1 property value. The step1 property
82
+ ## @return a string
83
+ ##
84
+ def step1
85
+ return @step1
86
+ end
87
+ ##
88
+ ## Sets the step1 property value. The step1 property
89
+ ## @param value Value to set for the step1 property.
90
+ ## @return a void
91
+ ##
92
+ def step1=(value)
93
+ @step1 = value
94
+ end
95
+ ##
96
+ ## Gets the step2 property value. The step2 property
97
+ ## @return a string
98
+ ##
99
+ def step2
100
+ return @step2
101
+ end
102
+ ##
103
+ ## Sets the step2 property value. The step2 property
104
+ ## @param value Value to set for the step2 property.
105
+ ## @return a void
106
+ ##
107
+ def step2=(value)
108
+ @step2 = value
109
+ end
110
+ ##
111
+ ## Gets the step3 property value. The step3 property
112
+ ## @return a string
113
+ ##
114
+ def step3
115
+ return @step3
116
+ end
117
+ ##
118
+ ## Sets the step3 property value. The step3 property
119
+ ## @param value Value to set for the step3 property.
120
+ ## @return a void
121
+ ##
122
+ def step3=(value)
123
+ @step3 = value
124
+ end
125
+ ##
126
+ ## Gets the warning property value. The warning property
127
+ ## @return a string
128
+ ##
129
+ def warning
130
+ return @warning
131
+ end
132
+ ##
133
+ ## Sets the warning property value. The warning property
134
+ ## @param value Value to set for the warning property.
135
+ ## @return a void
136
+ ##
137
+ def warning=(value)
138
+ @warning = value
139
+ end
140
+ end
141
+ end
142
+ end
@@ -66,6 +66,8 @@ require_relative 'drift_item'
66
66
  require_relative 'drift_response'
67
67
  require_relative 'drift_summary'
68
68
  require_relative 'e2_e_encrypted_payload'
69
+ require_relative 'emergency_kit'
70
+ require_relative 'emergency_kit_instructions'
69
71
  require_relative 'environment_drift_item'
70
72
  require_relative 'environment_drift_response'
71
73
  require_relative 'environment_drift_summary'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BellaBaxter
4
- VERSION = "0.1.1-preview.38"
4
+ VERSION = "0.1.1-preview.39"
5
5
  end
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.38
4
+ version: 0.1.1.pre.preview.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cosmic Chimps
@@ -583,6 +583,8 @@ files:
583
583
  - lib/bella_baxter/generated/models/drift_response.rb
584
584
  - lib/bella_baxter/generated/models/drift_summary.rb
585
585
  - lib/bella_baxter/generated/models/e2_e_encrypted_payload.rb
586
+ - lib/bella_baxter/generated/models/emergency_kit.rb
587
+ - lib/bella_baxter/generated/models/emergency_kit_instructions.rb
586
588
  - lib/bella_baxter/generated/models/environment_drift_item.rb
587
589
  - lib/bella_baxter/generated/models/environment_drift_response.rb
588
590
  - lib/bella_baxter/generated/models/environment_drift_summary.rb