/
model_action_config_property.go
812 lines (694 loc) · 22.5 KB
/
model_action_config_property.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
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
/*
SORACOM API
SORACOM API v1
API version: VERSION_PLACEHOLDER
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package api
import (
"encoding/json"
)
// ActionConfigProperty struct for ActionConfigProperty
type ActionConfigProperty struct {
// InvokeAWSLambdaAction の時のみ有効
AccessKey *string `json:"accessKey,omitempty"`
// ExecuteWebRequestAction の時のみ有効(任意)
Body *string `json:"body,omitempty"`
// ExecuteWebRequestAction の時のみ有効
ContentType *string `json:"contentType,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Endpoint *string `json:"endpoint,omitempty"`
// executionDateTimeConst で指定したタイミングから指定分後に実行
ExecutionDateTimeConst string `json:"executionDateTimeConst"`
// Run in the minutes after the timing of executionDateTimeConst
ExecutionOffsetMinutes *string `json:"executionOffsetMinutes,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
FunctionName *string `json:"functionName,omitempty"`
// ExecuteWebRequestAction の時のみ有効(任意)
Headers map[string]interface{} `json:"headers,omitempty"`
// ExecuteWebRequestAction の時のみ有効
HttpMethod *string `json:"httpMethod,omitempty"`
// SendMailAction, SendMailToOperatorAction の時のみ有効
Message *string `json:"message,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Parameter1 *string `json:"parameter1,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Parameter2 *string `json:"parameter2,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Parameter3 *string `json:"parameter3,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Parameter4 *string `json:"parameter4,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
Parameter5 *string `json:"parameter5,omitempty"`
// InvokeAWSLambdaAction の時のみ有効
SecretAccessKey *string `json:"secretAccessKey,omitempty"`
// ChangeSpeedClassAction の時のみ有効
SpeedClass *string `json:"speedClass,omitempty"`
// SendMailAction, SendMailToOperatorAction の時のみ有効
Title *string `json:"title,omitempty"`
// SendMailAction の時のみ有効
To *string `json:"to,omitempty"`
// 接続先 URL とパラメーター ExecuteWebRequestAction の時のみ有効
Url *string `json:"url,omitempty"`
}
// NewActionConfigProperty instantiates a new ActionConfigProperty 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 NewActionConfigProperty(executionDateTimeConst string) *ActionConfigProperty {
this := ActionConfigProperty{}
this.ExecutionDateTimeConst = executionDateTimeConst
return &this
}
// NewActionConfigPropertyWithDefaults instantiates a new ActionConfigProperty 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 NewActionConfigPropertyWithDefaults() *ActionConfigProperty {
this := ActionConfigProperty{}
return &this
}
// GetAccessKey returns the AccessKey field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetAccessKey() string {
if o == nil || o.AccessKey == nil {
var ret string
return ret
}
return *o.AccessKey
}
// GetAccessKeyOk returns a tuple with the AccessKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetAccessKeyOk() (*string, bool) {
if o == nil || o.AccessKey == nil {
return nil, false
}
return o.AccessKey, true
}
// HasAccessKey returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasAccessKey() bool {
if o != nil && o.AccessKey != nil {
return true
}
return false
}
// SetAccessKey gets a reference to the given string and assigns it to the AccessKey field.
func (o *ActionConfigProperty) SetAccessKey(v string) {
o.AccessKey = &v
}
// GetBody returns the Body field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetBody() string {
if o == nil || o.Body == nil {
var ret string
return ret
}
return *o.Body
}
// GetBodyOk returns a tuple with the Body field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetBodyOk() (*string, bool) {
if o == nil || o.Body == nil {
return nil, false
}
return o.Body, true
}
// HasBody returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasBody() bool {
if o != nil && o.Body != nil {
return true
}
return false
}
// SetBody gets a reference to the given string and assigns it to the Body field.
func (o *ActionConfigProperty) SetBody(v string) {
o.Body = &v
}
// GetContentType returns the ContentType field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetContentType() string {
if o == nil || o.ContentType == nil {
var ret string
return ret
}
return *o.ContentType
}
// GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetContentTypeOk() (*string, bool) {
if o == nil || o.ContentType == nil {
return nil, false
}
return o.ContentType, true
}
// HasContentType returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasContentType() bool {
if o != nil && o.ContentType != nil {
return true
}
return false
}
// SetContentType gets a reference to the given string and assigns it to the ContentType field.
func (o *ActionConfigProperty) SetContentType(v string) {
o.ContentType = &v
}
// GetEndpoint returns the Endpoint field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetEndpoint() string {
if o == nil || o.Endpoint == nil {
var ret string
return ret
}
return *o.Endpoint
}
// GetEndpointOk returns a tuple with the Endpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetEndpointOk() (*string, bool) {
if o == nil || o.Endpoint == nil {
return nil, false
}
return o.Endpoint, true
}
// HasEndpoint returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasEndpoint() bool {
if o != nil && o.Endpoint != nil {
return true
}
return false
}
// SetEndpoint gets a reference to the given string and assigns it to the Endpoint field.
func (o *ActionConfigProperty) SetEndpoint(v string) {
o.Endpoint = &v
}
// GetExecutionDateTimeConst returns the ExecutionDateTimeConst field value
func (o *ActionConfigProperty) GetExecutionDateTimeConst() string {
if o == nil {
var ret string
return ret
}
return o.ExecutionDateTimeConst
}
// GetExecutionDateTimeConstOk returns a tuple with the ExecutionDateTimeConst field value
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetExecutionDateTimeConstOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ExecutionDateTimeConst, true
}
// SetExecutionDateTimeConst sets field value
func (o *ActionConfigProperty) SetExecutionDateTimeConst(v string) {
o.ExecutionDateTimeConst = v
}
// GetExecutionOffsetMinutes returns the ExecutionOffsetMinutes field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetExecutionOffsetMinutes() string {
if o == nil || o.ExecutionOffsetMinutes == nil {
var ret string
return ret
}
return *o.ExecutionOffsetMinutes
}
// GetExecutionOffsetMinutesOk returns a tuple with the ExecutionOffsetMinutes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetExecutionOffsetMinutesOk() (*string, bool) {
if o == nil || o.ExecutionOffsetMinutes == nil {
return nil, false
}
return o.ExecutionOffsetMinutes, true
}
// HasExecutionOffsetMinutes returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasExecutionOffsetMinutes() bool {
if o != nil && o.ExecutionOffsetMinutes != nil {
return true
}
return false
}
// SetExecutionOffsetMinutes gets a reference to the given string and assigns it to the ExecutionOffsetMinutes field.
func (o *ActionConfigProperty) SetExecutionOffsetMinutes(v string) {
o.ExecutionOffsetMinutes = &v
}
// GetFunctionName returns the FunctionName field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetFunctionName() string {
if o == nil || o.FunctionName == nil {
var ret string
return ret
}
return *o.FunctionName
}
// GetFunctionNameOk returns a tuple with the FunctionName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetFunctionNameOk() (*string, bool) {
if o == nil || o.FunctionName == nil {
return nil, false
}
return o.FunctionName, true
}
// HasFunctionName returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasFunctionName() bool {
if o != nil && o.FunctionName != nil {
return true
}
return false
}
// SetFunctionName gets a reference to the given string and assigns it to the FunctionName field.
func (o *ActionConfigProperty) SetFunctionName(v string) {
o.FunctionName = &v
}
// GetHeaders returns the Headers field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetHeaders() map[string]interface{} {
if o == nil || o.Headers == nil {
var ret map[string]interface{}
return ret
}
return o.Headers
}
// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetHeadersOk() (map[string]interface{}, bool) {
if o == nil || o.Headers == nil {
return nil, false
}
return o.Headers, true
}
// HasHeaders returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasHeaders() bool {
if o != nil && o.Headers != nil {
return true
}
return false
}
// SetHeaders gets a reference to the given map[string]interface{} and assigns it to the Headers field.
func (o *ActionConfigProperty) SetHeaders(v map[string]interface{}) {
o.Headers = v
}
// GetHttpMethod returns the HttpMethod field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetHttpMethod() string {
if o == nil || o.HttpMethod == nil {
var ret string
return ret
}
return *o.HttpMethod
}
// GetHttpMethodOk returns a tuple with the HttpMethod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetHttpMethodOk() (*string, bool) {
if o == nil || o.HttpMethod == nil {
return nil, false
}
return o.HttpMethod, true
}
// HasHttpMethod returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasHttpMethod() bool {
if o != nil && o.HttpMethod != nil {
return true
}
return false
}
// SetHttpMethod gets a reference to the given string and assigns it to the HttpMethod field.
func (o *ActionConfigProperty) SetHttpMethod(v string) {
o.HttpMethod = &v
}
// GetMessage returns the Message field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetMessage() string {
if o == nil || o.Message == nil {
var ret string
return ret
}
return *o.Message
}
// GetMessageOk returns a tuple with the Message field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetMessageOk() (*string, bool) {
if o == nil || o.Message == nil {
return nil, false
}
return o.Message, true
}
// HasMessage returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasMessage() bool {
if o != nil && o.Message != nil {
return true
}
return false
}
// SetMessage gets a reference to the given string and assigns it to the Message field.
func (o *ActionConfigProperty) SetMessage(v string) {
o.Message = &v
}
// GetParameter1 returns the Parameter1 field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetParameter1() string {
if o == nil || o.Parameter1 == nil {
var ret string
return ret
}
return *o.Parameter1
}
// GetParameter1Ok returns a tuple with the Parameter1 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetParameter1Ok() (*string, bool) {
if o == nil || o.Parameter1 == nil {
return nil, false
}
return o.Parameter1, true
}
// HasParameter1 returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasParameter1() bool {
if o != nil && o.Parameter1 != nil {
return true
}
return false
}
// SetParameter1 gets a reference to the given string and assigns it to the Parameter1 field.
func (o *ActionConfigProperty) SetParameter1(v string) {
o.Parameter1 = &v
}
// GetParameter2 returns the Parameter2 field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetParameter2() string {
if o == nil || o.Parameter2 == nil {
var ret string
return ret
}
return *o.Parameter2
}
// GetParameter2Ok returns a tuple with the Parameter2 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetParameter2Ok() (*string, bool) {
if o == nil || o.Parameter2 == nil {
return nil, false
}
return o.Parameter2, true
}
// HasParameter2 returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasParameter2() bool {
if o != nil && o.Parameter2 != nil {
return true
}
return false
}
// SetParameter2 gets a reference to the given string and assigns it to the Parameter2 field.
func (o *ActionConfigProperty) SetParameter2(v string) {
o.Parameter2 = &v
}
// GetParameter3 returns the Parameter3 field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetParameter3() string {
if o == nil || o.Parameter3 == nil {
var ret string
return ret
}
return *o.Parameter3
}
// GetParameter3Ok returns a tuple with the Parameter3 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetParameter3Ok() (*string, bool) {
if o == nil || o.Parameter3 == nil {
return nil, false
}
return o.Parameter3, true
}
// HasParameter3 returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasParameter3() bool {
if o != nil && o.Parameter3 != nil {
return true
}
return false
}
// SetParameter3 gets a reference to the given string and assigns it to the Parameter3 field.
func (o *ActionConfigProperty) SetParameter3(v string) {
o.Parameter3 = &v
}
// GetParameter4 returns the Parameter4 field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetParameter4() string {
if o == nil || o.Parameter4 == nil {
var ret string
return ret
}
return *o.Parameter4
}
// GetParameter4Ok returns a tuple with the Parameter4 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetParameter4Ok() (*string, bool) {
if o == nil || o.Parameter4 == nil {
return nil, false
}
return o.Parameter4, true
}
// HasParameter4 returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasParameter4() bool {
if o != nil && o.Parameter4 != nil {
return true
}
return false
}
// SetParameter4 gets a reference to the given string and assigns it to the Parameter4 field.
func (o *ActionConfigProperty) SetParameter4(v string) {
o.Parameter4 = &v
}
// GetParameter5 returns the Parameter5 field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetParameter5() string {
if o == nil || o.Parameter5 == nil {
var ret string
return ret
}
return *o.Parameter5
}
// GetParameter5Ok returns a tuple with the Parameter5 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetParameter5Ok() (*string, bool) {
if o == nil || o.Parameter5 == nil {
return nil, false
}
return o.Parameter5, true
}
// HasParameter5 returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasParameter5() bool {
if o != nil && o.Parameter5 != nil {
return true
}
return false
}
// SetParameter5 gets a reference to the given string and assigns it to the Parameter5 field.
func (o *ActionConfigProperty) SetParameter5(v string) {
o.Parameter5 = &v
}
// GetSecretAccessKey returns the SecretAccessKey field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetSecretAccessKey() string {
if o == nil || o.SecretAccessKey == nil {
var ret string
return ret
}
return *o.SecretAccessKey
}
// GetSecretAccessKeyOk returns a tuple with the SecretAccessKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetSecretAccessKeyOk() (*string, bool) {
if o == nil || o.SecretAccessKey == nil {
return nil, false
}
return o.SecretAccessKey, true
}
// HasSecretAccessKey returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasSecretAccessKey() bool {
if o != nil && o.SecretAccessKey != nil {
return true
}
return false
}
// SetSecretAccessKey gets a reference to the given string and assigns it to the SecretAccessKey field.
func (o *ActionConfigProperty) SetSecretAccessKey(v string) {
o.SecretAccessKey = &v
}
// GetSpeedClass returns the SpeedClass field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetSpeedClass() string {
if o == nil || o.SpeedClass == nil {
var ret string
return ret
}
return *o.SpeedClass
}
// GetSpeedClassOk returns a tuple with the SpeedClass field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetSpeedClassOk() (*string, bool) {
if o == nil || o.SpeedClass == nil {
return nil, false
}
return o.SpeedClass, true
}
// HasSpeedClass returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasSpeedClass() bool {
if o != nil && o.SpeedClass != nil {
return true
}
return false
}
// SetSpeedClass gets a reference to the given string and assigns it to the SpeedClass field.
func (o *ActionConfigProperty) SetSpeedClass(v string) {
o.SpeedClass = &v
}
// GetTitle returns the Title field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetTitle() string {
if o == nil || o.Title == nil {
var ret string
return ret
}
return *o.Title
}
// GetTitleOk returns a tuple with the Title field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetTitleOk() (*string, bool) {
if o == nil || o.Title == nil {
return nil, false
}
return o.Title, true
}
// HasTitle returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasTitle() bool {
if o != nil && o.Title != nil {
return true
}
return false
}
// SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *ActionConfigProperty) SetTitle(v string) {
o.Title = &v
}
// GetTo returns the To field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetTo() string {
if o == nil || o.To == nil {
var ret string
return ret
}
return *o.To
}
// GetToOk returns a tuple with the To field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetToOk() (*string, bool) {
if o == nil || o.To == nil {
return nil, false
}
return o.To, true
}
// HasTo returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasTo() bool {
if o != nil && o.To != nil {
return true
}
return false
}
// SetTo gets a reference to the given string and assigns it to the To field.
func (o *ActionConfigProperty) SetTo(v string) {
o.To = &v
}
// GetUrl returns the Url field value if set, zero value otherwise.
func (o *ActionConfigProperty) GetUrl() string {
if o == nil || o.Url == nil {
var ret string
return ret
}
return *o.Url
}
// GetUrlOk returns a tuple with the Url field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ActionConfigProperty) GetUrlOk() (*string, bool) {
if o == nil || o.Url == nil {
return nil, false
}
return o.Url, true
}
// HasUrl returns a boolean if a field has been set.
func (o *ActionConfigProperty) HasUrl() bool {
if o != nil && o.Url != nil {
return true
}
return false
}
// SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *ActionConfigProperty) SetUrl(v string) {
o.Url = &v
}
func (o ActionConfigProperty) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.AccessKey != nil {
toSerialize["accessKey"] = o.AccessKey
}
if o.Body != nil {
toSerialize["body"] = o.Body
}
if o.ContentType != nil {
toSerialize["contentType"] = o.ContentType
}
if o.Endpoint != nil {
toSerialize["endpoint"] = o.Endpoint
}
if true {
toSerialize["executionDateTimeConst"] = o.ExecutionDateTimeConst
}
if o.ExecutionOffsetMinutes != nil {
toSerialize["executionOffsetMinutes"] = o.ExecutionOffsetMinutes
}
if o.FunctionName != nil {
toSerialize["functionName"] = o.FunctionName
}
if o.Headers != nil {
toSerialize["headers"] = o.Headers
}
if o.HttpMethod != nil {
toSerialize["httpMethod"] = o.HttpMethod
}
if o.Message != nil {
toSerialize["message"] = o.Message
}
if o.Parameter1 != nil {
toSerialize["parameter1"] = o.Parameter1
}
if o.Parameter2 != nil {
toSerialize["parameter2"] = o.Parameter2
}
if o.Parameter3 != nil {
toSerialize["parameter3"] = o.Parameter3
}
if o.Parameter4 != nil {
toSerialize["parameter4"] = o.Parameter4
}
if o.Parameter5 != nil {
toSerialize["parameter5"] = o.Parameter5
}
if o.SecretAccessKey != nil {
toSerialize["secretAccessKey"] = o.SecretAccessKey
}
if o.SpeedClass != nil {
toSerialize["speedClass"] = o.SpeedClass
}
if o.Title != nil {
toSerialize["title"] = o.Title
}
if o.To != nil {
toSerialize["to"] = o.To
}
if o.Url != nil {
toSerialize["url"] = o.Url
}
return json.Marshal(toSerialize)
}
type NullableActionConfigProperty struct {
value *ActionConfigProperty
isSet bool
}
func (v NullableActionConfigProperty) Get() *ActionConfigProperty {
return v.value
}
func (v *NullableActionConfigProperty) Set(val *ActionConfigProperty) {
v.value = val
v.isSet = true
}
func (v NullableActionConfigProperty) IsSet() bool {
return v.isSet
}
func (v *NullableActionConfigProperty) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableActionConfigProperty(val *ActionConfigProperty) *NullableActionConfigProperty {
return &NullableActionConfigProperty{value: val, isSet: true}
}
func (v NullableActionConfigProperty) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableActionConfigProperty) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}