-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodel_log_forwarding_config_part.go
620 lines (528 loc) · 19.7 KB
/
model_log_forwarding_config_part.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
/*
* Akeyless API
*
* The purpose of this application is to provide access to Akeyless API.
*
* API version: 2.0
* Contact: [email protected]
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package akeyless
import (
"encoding/json"
)
// LogForwardingConfigPart struct for LogForwardingConfigPart
type LogForwardingConfigPart struct {
AwsS3Config *AwsS3LogForwardingConfig `json:"aws_s3_config,omitempty"`
AzureAnalyticsConfig *AzureLogAnalyticsForwardingConfig `json:"azure_analytics_config,omitempty"`
DatadogConfig *DatadogForwardingConfig `json:"datadog_config,omitempty"`
ElasticsearchConfig *ElasticsearchLogForwardingConfig `json:"elasticsearch_config,omitempty"`
GoogleChronicleConfig *GoogleChronicleForwardingConfig `json:"google_chronicle_config,omitempty"`
JsonOutput *bool `json:"json_output,omitempty"`
LoganEnable *bool `json:"logan_enable,omitempty"`
LoganUrl *string `json:"logan_url,omitempty"`
LogstashConfig *LogstashLogForwardingConfig `json:"logstash_config,omitempty"`
LogzIoConfig *LogzIoLogForwardingConfig `json:"logz_io_config,omitempty"`
PullIntervalSec *string `json:"pull_interval_sec,omitempty"`
SplunkConfig *SplunkLogForwardingConfig `json:"splunk_config,omitempty"`
SumoLogicConfig *SumologicLogForwardingConfig `json:"sumo_logic_config,omitempty"`
SyslogConfig *SyslogLogForwardingConfig `json:"syslog_config,omitempty"`
TargetLogType *string `json:"target_log_type,omitempty"`
}
// NewLogForwardingConfigPart instantiates a new LogForwardingConfigPart object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewLogForwardingConfigPart() *LogForwardingConfigPart {
this := LogForwardingConfigPart{}
return &this
}
// NewLogForwardingConfigPartWithDefaults instantiates a new LogForwardingConfigPart object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewLogForwardingConfigPartWithDefaults() *LogForwardingConfigPart {
this := LogForwardingConfigPart{}
return &this
}
// GetAwsS3Config returns the AwsS3Config field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetAwsS3Config() AwsS3LogForwardingConfig {
if o == nil || o.AwsS3Config == nil {
var ret AwsS3LogForwardingConfig
return ret
}
return *o.AwsS3Config
}
// GetAwsS3ConfigOk returns a tuple with the AwsS3Config field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetAwsS3ConfigOk() (*AwsS3LogForwardingConfig, bool) {
if o == nil || o.AwsS3Config == nil {
return nil, false
}
return o.AwsS3Config, true
}
// HasAwsS3Config returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasAwsS3Config() bool {
if o != nil && o.AwsS3Config != nil {
return true
}
return false
}
// SetAwsS3Config gets a reference to the given AwsS3LogForwardingConfig and assigns it to the AwsS3Config field.
func (o *LogForwardingConfigPart) SetAwsS3Config(v AwsS3LogForwardingConfig) {
o.AwsS3Config = &v
}
// GetAzureAnalyticsConfig returns the AzureAnalyticsConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetAzureAnalyticsConfig() AzureLogAnalyticsForwardingConfig {
if o == nil || o.AzureAnalyticsConfig == nil {
var ret AzureLogAnalyticsForwardingConfig
return ret
}
return *o.AzureAnalyticsConfig
}
// GetAzureAnalyticsConfigOk returns a tuple with the AzureAnalyticsConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetAzureAnalyticsConfigOk() (*AzureLogAnalyticsForwardingConfig, bool) {
if o == nil || o.AzureAnalyticsConfig == nil {
return nil, false
}
return o.AzureAnalyticsConfig, true
}
// HasAzureAnalyticsConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasAzureAnalyticsConfig() bool {
if o != nil && o.AzureAnalyticsConfig != nil {
return true
}
return false
}
// SetAzureAnalyticsConfig gets a reference to the given AzureLogAnalyticsForwardingConfig and assigns it to the AzureAnalyticsConfig field.
func (o *LogForwardingConfigPart) SetAzureAnalyticsConfig(v AzureLogAnalyticsForwardingConfig) {
o.AzureAnalyticsConfig = &v
}
// GetDatadogConfig returns the DatadogConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetDatadogConfig() DatadogForwardingConfig {
if o == nil || o.DatadogConfig == nil {
var ret DatadogForwardingConfig
return ret
}
return *o.DatadogConfig
}
// GetDatadogConfigOk returns a tuple with the DatadogConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetDatadogConfigOk() (*DatadogForwardingConfig, bool) {
if o == nil || o.DatadogConfig == nil {
return nil, false
}
return o.DatadogConfig, true
}
// HasDatadogConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasDatadogConfig() bool {
if o != nil && o.DatadogConfig != nil {
return true
}
return false
}
// SetDatadogConfig gets a reference to the given DatadogForwardingConfig and assigns it to the DatadogConfig field.
func (o *LogForwardingConfigPart) SetDatadogConfig(v DatadogForwardingConfig) {
o.DatadogConfig = &v
}
// GetElasticsearchConfig returns the ElasticsearchConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetElasticsearchConfig() ElasticsearchLogForwardingConfig {
if o == nil || o.ElasticsearchConfig == nil {
var ret ElasticsearchLogForwardingConfig
return ret
}
return *o.ElasticsearchConfig
}
// GetElasticsearchConfigOk returns a tuple with the ElasticsearchConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetElasticsearchConfigOk() (*ElasticsearchLogForwardingConfig, bool) {
if o == nil || o.ElasticsearchConfig == nil {
return nil, false
}
return o.ElasticsearchConfig, true
}
// HasElasticsearchConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasElasticsearchConfig() bool {
if o != nil && o.ElasticsearchConfig != nil {
return true
}
return false
}
// SetElasticsearchConfig gets a reference to the given ElasticsearchLogForwardingConfig and assigns it to the ElasticsearchConfig field.
func (o *LogForwardingConfigPart) SetElasticsearchConfig(v ElasticsearchLogForwardingConfig) {
o.ElasticsearchConfig = &v
}
// GetGoogleChronicleConfig returns the GoogleChronicleConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetGoogleChronicleConfig() GoogleChronicleForwardingConfig {
if o == nil || o.GoogleChronicleConfig == nil {
var ret GoogleChronicleForwardingConfig
return ret
}
return *o.GoogleChronicleConfig
}
// GetGoogleChronicleConfigOk returns a tuple with the GoogleChronicleConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetGoogleChronicleConfigOk() (*GoogleChronicleForwardingConfig, bool) {
if o == nil || o.GoogleChronicleConfig == nil {
return nil, false
}
return o.GoogleChronicleConfig, true
}
// HasGoogleChronicleConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasGoogleChronicleConfig() bool {
if o != nil && o.GoogleChronicleConfig != nil {
return true
}
return false
}
// SetGoogleChronicleConfig gets a reference to the given GoogleChronicleForwardingConfig and assigns it to the GoogleChronicleConfig field.
func (o *LogForwardingConfigPart) SetGoogleChronicleConfig(v GoogleChronicleForwardingConfig) {
o.GoogleChronicleConfig = &v
}
// GetJsonOutput returns the JsonOutput field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetJsonOutput() bool {
if o == nil || o.JsonOutput == nil {
var ret bool
return ret
}
return *o.JsonOutput
}
// GetJsonOutputOk returns a tuple with the JsonOutput field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetJsonOutputOk() (*bool, bool) {
if o == nil || o.JsonOutput == nil {
return nil, false
}
return o.JsonOutput, true
}
// HasJsonOutput returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasJsonOutput() bool {
if o != nil && o.JsonOutput != nil {
return true
}
return false
}
// SetJsonOutput gets a reference to the given bool and assigns it to the JsonOutput field.
func (o *LogForwardingConfigPart) SetJsonOutput(v bool) {
o.JsonOutput = &v
}
// GetLoganEnable returns the LoganEnable field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetLoganEnable() bool {
if o == nil || o.LoganEnable == nil {
var ret bool
return ret
}
return *o.LoganEnable
}
// GetLoganEnableOk returns a tuple with the LoganEnable field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetLoganEnableOk() (*bool, bool) {
if o == nil || o.LoganEnable == nil {
return nil, false
}
return o.LoganEnable, true
}
// HasLoganEnable returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasLoganEnable() bool {
if o != nil && o.LoganEnable != nil {
return true
}
return false
}
// SetLoganEnable gets a reference to the given bool and assigns it to the LoganEnable field.
func (o *LogForwardingConfigPart) SetLoganEnable(v bool) {
o.LoganEnable = &v
}
// GetLoganUrl returns the LoganUrl field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetLoganUrl() string {
if o == nil || o.LoganUrl == nil {
var ret string
return ret
}
return *o.LoganUrl
}
// GetLoganUrlOk returns a tuple with the LoganUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetLoganUrlOk() (*string, bool) {
if o == nil || o.LoganUrl == nil {
return nil, false
}
return o.LoganUrl, true
}
// HasLoganUrl returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasLoganUrl() bool {
if o != nil && o.LoganUrl != nil {
return true
}
return false
}
// SetLoganUrl gets a reference to the given string and assigns it to the LoganUrl field.
func (o *LogForwardingConfigPart) SetLoganUrl(v string) {
o.LoganUrl = &v
}
// GetLogstashConfig returns the LogstashConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetLogstashConfig() LogstashLogForwardingConfig {
if o == nil || o.LogstashConfig == nil {
var ret LogstashLogForwardingConfig
return ret
}
return *o.LogstashConfig
}
// GetLogstashConfigOk returns a tuple with the LogstashConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetLogstashConfigOk() (*LogstashLogForwardingConfig, bool) {
if o == nil || o.LogstashConfig == nil {
return nil, false
}
return o.LogstashConfig, true
}
// HasLogstashConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasLogstashConfig() bool {
if o != nil && o.LogstashConfig != nil {
return true
}
return false
}
// SetLogstashConfig gets a reference to the given LogstashLogForwardingConfig and assigns it to the LogstashConfig field.
func (o *LogForwardingConfigPart) SetLogstashConfig(v LogstashLogForwardingConfig) {
o.LogstashConfig = &v
}
// GetLogzIoConfig returns the LogzIoConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetLogzIoConfig() LogzIoLogForwardingConfig {
if o == nil || o.LogzIoConfig == nil {
var ret LogzIoLogForwardingConfig
return ret
}
return *o.LogzIoConfig
}
// GetLogzIoConfigOk returns a tuple with the LogzIoConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetLogzIoConfigOk() (*LogzIoLogForwardingConfig, bool) {
if o == nil || o.LogzIoConfig == nil {
return nil, false
}
return o.LogzIoConfig, true
}
// HasLogzIoConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasLogzIoConfig() bool {
if o != nil && o.LogzIoConfig != nil {
return true
}
return false
}
// SetLogzIoConfig gets a reference to the given LogzIoLogForwardingConfig and assigns it to the LogzIoConfig field.
func (o *LogForwardingConfigPart) SetLogzIoConfig(v LogzIoLogForwardingConfig) {
o.LogzIoConfig = &v
}
// GetPullIntervalSec returns the PullIntervalSec field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetPullIntervalSec() string {
if o == nil || o.PullIntervalSec == nil {
var ret string
return ret
}
return *o.PullIntervalSec
}
// GetPullIntervalSecOk returns a tuple with the PullIntervalSec field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetPullIntervalSecOk() (*string, bool) {
if o == nil || o.PullIntervalSec == nil {
return nil, false
}
return o.PullIntervalSec, true
}
// HasPullIntervalSec returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasPullIntervalSec() bool {
if o != nil && o.PullIntervalSec != nil {
return true
}
return false
}
// SetPullIntervalSec gets a reference to the given string and assigns it to the PullIntervalSec field.
func (o *LogForwardingConfigPart) SetPullIntervalSec(v string) {
o.PullIntervalSec = &v
}
// GetSplunkConfig returns the SplunkConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetSplunkConfig() SplunkLogForwardingConfig {
if o == nil || o.SplunkConfig == nil {
var ret SplunkLogForwardingConfig
return ret
}
return *o.SplunkConfig
}
// GetSplunkConfigOk returns a tuple with the SplunkConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetSplunkConfigOk() (*SplunkLogForwardingConfig, bool) {
if o == nil || o.SplunkConfig == nil {
return nil, false
}
return o.SplunkConfig, true
}
// HasSplunkConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasSplunkConfig() bool {
if o != nil && o.SplunkConfig != nil {
return true
}
return false
}
// SetSplunkConfig gets a reference to the given SplunkLogForwardingConfig and assigns it to the SplunkConfig field.
func (o *LogForwardingConfigPart) SetSplunkConfig(v SplunkLogForwardingConfig) {
o.SplunkConfig = &v
}
// GetSumoLogicConfig returns the SumoLogicConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetSumoLogicConfig() SumologicLogForwardingConfig {
if o == nil || o.SumoLogicConfig == nil {
var ret SumologicLogForwardingConfig
return ret
}
return *o.SumoLogicConfig
}
// GetSumoLogicConfigOk returns a tuple with the SumoLogicConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetSumoLogicConfigOk() (*SumologicLogForwardingConfig, bool) {
if o == nil || o.SumoLogicConfig == nil {
return nil, false
}
return o.SumoLogicConfig, true
}
// HasSumoLogicConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasSumoLogicConfig() bool {
if o != nil && o.SumoLogicConfig != nil {
return true
}
return false
}
// SetSumoLogicConfig gets a reference to the given SumologicLogForwardingConfig and assigns it to the SumoLogicConfig field.
func (o *LogForwardingConfigPart) SetSumoLogicConfig(v SumologicLogForwardingConfig) {
o.SumoLogicConfig = &v
}
// GetSyslogConfig returns the SyslogConfig field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetSyslogConfig() SyslogLogForwardingConfig {
if o == nil || o.SyslogConfig == nil {
var ret SyslogLogForwardingConfig
return ret
}
return *o.SyslogConfig
}
// GetSyslogConfigOk returns a tuple with the SyslogConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetSyslogConfigOk() (*SyslogLogForwardingConfig, bool) {
if o == nil || o.SyslogConfig == nil {
return nil, false
}
return o.SyslogConfig, true
}
// HasSyslogConfig returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasSyslogConfig() bool {
if o != nil && o.SyslogConfig != nil {
return true
}
return false
}
// SetSyslogConfig gets a reference to the given SyslogLogForwardingConfig and assigns it to the SyslogConfig field.
func (o *LogForwardingConfigPart) SetSyslogConfig(v SyslogLogForwardingConfig) {
o.SyslogConfig = &v
}
// GetTargetLogType returns the TargetLogType field value if set, zero value otherwise.
func (o *LogForwardingConfigPart) GetTargetLogType() string {
if o == nil || o.TargetLogType == nil {
var ret string
return ret
}
return *o.TargetLogType
}
// GetTargetLogTypeOk returns a tuple with the TargetLogType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *LogForwardingConfigPart) GetTargetLogTypeOk() (*string, bool) {
if o == nil || o.TargetLogType == nil {
return nil, false
}
return o.TargetLogType, true
}
// HasTargetLogType returns a boolean if a field has been set.
func (o *LogForwardingConfigPart) HasTargetLogType() bool {
if o != nil && o.TargetLogType != nil {
return true
}
return false
}
// SetTargetLogType gets a reference to the given string and assigns it to the TargetLogType field.
func (o *LogForwardingConfigPart) SetTargetLogType(v string) {
o.TargetLogType = &v
}
func (o LogForwardingConfigPart) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.AwsS3Config != nil {
toSerialize["aws_s3_config"] = o.AwsS3Config
}
if o.AzureAnalyticsConfig != nil {
toSerialize["azure_analytics_config"] = o.AzureAnalyticsConfig
}
if o.DatadogConfig != nil {
toSerialize["datadog_config"] = o.DatadogConfig
}
if o.ElasticsearchConfig != nil {
toSerialize["elasticsearch_config"] = o.ElasticsearchConfig
}
if o.GoogleChronicleConfig != nil {
toSerialize["google_chronicle_config"] = o.GoogleChronicleConfig
}
if o.JsonOutput != nil {
toSerialize["json_output"] = o.JsonOutput
}
if o.LoganEnable != nil {
toSerialize["logan_enable"] = o.LoganEnable
}
if o.LoganUrl != nil {
toSerialize["logan_url"] = o.LoganUrl
}
if o.LogstashConfig != nil {
toSerialize["logstash_config"] = o.LogstashConfig
}
if o.LogzIoConfig != nil {
toSerialize["logz_io_config"] = o.LogzIoConfig
}
if o.PullIntervalSec != nil {
toSerialize["pull_interval_sec"] = o.PullIntervalSec
}
if o.SplunkConfig != nil {
toSerialize["splunk_config"] = o.SplunkConfig
}
if o.SumoLogicConfig != nil {
toSerialize["sumo_logic_config"] = o.SumoLogicConfig
}
if o.SyslogConfig != nil {
toSerialize["syslog_config"] = o.SyslogConfig
}
if o.TargetLogType != nil {
toSerialize["target_log_type"] = o.TargetLogType
}
return json.Marshal(toSerialize)
}
type NullableLogForwardingConfigPart struct {
value *LogForwardingConfigPart
isSet bool
}
func (v NullableLogForwardingConfigPart) Get() *LogForwardingConfigPart {
return v.value
}
func (v *NullableLogForwardingConfigPart) Set(val *LogForwardingConfigPart) {
v.value = val
v.isSet = true
}
func (v NullableLogForwardingConfigPart) IsSet() bool {
return v.isSet
}
func (v *NullableLogForwardingConfigPart) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableLogForwardingConfigPart(val *LogForwardingConfigPart) *NullableLogForwardingConfigPart {
return &NullableLogForwardingConfigPart{value: val, isSet: true}
}
func (v NullableLogForwardingConfigPart) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableLogForwardingConfigPart) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}