/
model_processor_definition.go
1596 lines (1371 loc) · 53.9 KB
/
model_processor_definition.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
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
NiFi Rest API
The Rest API provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, definitions of the expected input and output, potential response codes, and the authorizations required to invoke each service.
API version: 2.0.0
Contact: dev@nifi.apache.org
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package nifiapi
import (
"encoding/json"
)
// checks if the ProcessorDefinition type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ProcessorDefinition{}
// ProcessorDefinition struct for ProcessorDefinition
type ProcessorDefinition struct {
// The group name of the bundle that provides the referenced type.
Group *string `json:"group,omitempty"`
// The artifact name of the bundle that provides the referenced type.
Artifact *string `json:"artifact,omitempty"`
// The version of the bundle that provides the referenced type.
Version *string `json:"version,omitempty"`
// The fully-qualified class type
Type string `json:"type"`
// The description of the type.
TypeDescription *string `json:"typeDescription,omitempty"`
BuildInfo *BuildInfo `json:"buildInfo,omitempty"`
// If this type represents a provider for an interface, this lists the APIs it implements
ProvidedApiImplementations []DefinedType `json:"providedApiImplementations,omitempty"`
// The tags associated with this type
Tags []string `json:"tags,omitempty"`
// The names of other component types that may be related
SeeAlso []string `json:"seeAlso,omitempty"`
// Whether or not the component has been deprecated
Deprecated *bool `json:"deprecated,omitempty"`
// If this component has been deprecated, this optional field can be used to provide an explanation
DeprecationReason *string `json:"deprecationReason,omitempty"`
// If this component has been deprecated, this optional field provides alternatives to use
DeprecationAlternatives []string `json:"deprecationAlternatives,omitempty"`
// Whether or not the component has a general restriction
Restricted *bool `json:"restricted,omitempty"`
// An optional description of the general restriction
RestrictedExplanation *string `json:"restrictedExplanation,omitempty"`
// Explicit restrictions that indicate a require permission to use the component
ExplicitRestrictions []Restriction `json:"explicitRestrictions,omitempty"`
Stateful *Stateful `json:"stateful,omitempty"`
// The system resource considerations for the given component
SystemResourceConsiderations []SystemResourceConsideration `json:"systemResourceConsiderations,omitempty"`
// Indicates if the component has additional details documentation
AdditionalDetails *bool `json:"additionalDetails,omitempty"`
// Descriptions of configuration properties applicable to this component.
PropertyDescriptors *map[string]PropertyDescriptor `json:"propertyDescriptors,omitempty"`
// Whether or not this component makes use of dynamic (user-set) properties.
SupportsDynamicProperties *bool `json:"supportsDynamicProperties,omitempty"`
// Describes the dynamic properties supported by this component
DynamicProperties []DynamicProperty `json:"dynamicProperties,omitempty"`
// Any input requirements this processor has.
InputRequirement *string `json:"inputRequirement,omitempty"`
// The supported relationships for this processor.
SupportedRelationships []Relationship `json:"supportedRelationships,omitempty"`
// Whether or not this processor supports dynamic relationships.
SupportsDynamicRelationships *bool `json:"supportsDynamicRelationships,omitempty"`
DynamicRelationship *DynamicRelationship `json:"dynamicRelationship,omitempty"`
// Whether or not this processor should be triggered serially (i.e. no concurrent execution).
TriggerSerially *bool `json:"triggerSerially,omitempty"`
// Whether or not this processor should be triggered when incoming queues are empty.
TriggerWhenEmpty *bool `json:"triggerWhenEmpty,omitempty"`
// Whether or not this processor should be triggered when any destination queue has room.
TriggerWhenAnyDestinationAvailable *bool `json:"triggerWhenAnyDestinationAvailable,omitempty"`
// Whether or not this processor supports batching. If a Processor uses this annotation, it allows the Framework to batch calls to session commits, as well as allowing the Framework to return the same session multiple times.
SupportsBatching *bool `json:"supportsBatching,omitempty"`
// Whether or not this processor supports event driven scheduling. Indicates to the framework that the Processor is eligible to be scheduled to run based on the occurrence of an \"Event\" (e.g., when a FlowFile is enqueued in an incoming Connection), rather than being triggered periodically.
SupportsEventDriven *bool `json:"supportsEventDriven,omitempty"`
// Whether or not this processor should be scheduled only on the primary node in a cluster.
PrimaryNodeOnly *bool `json:"primaryNodeOnly,omitempty"`
// Whether or not this processor is considered side-effect free. Side-effect free indicate that the processor's operations on FlowFiles can be safely repeated across process sessions.
SideEffectFree *bool `json:"sideEffectFree,omitempty"`
// The supported scheduling strategies, such as TIME_DRIVER, CRON, or EVENT_DRIVEN.
SupportedSchedulingStrategies []string `json:"supportedSchedulingStrategies,omitempty"`
// The default scheduling strategy for the processor.
DefaultSchedulingStrategy *string `json:"defaultSchedulingStrategy,omitempty"`
// The default concurrent tasks for each scheduling strategy.
DefaultConcurrentTasksBySchedulingStrategy *map[string]int32 `json:"defaultConcurrentTasksBySchedulingStrategy,omitempty"`
// The default scheduling period for each scheduling strategy. The scheduling period is expected to be a time period, such as \"30 sec\".
DefaultSchedulingPeriodBySchedulingStrategy *map[string]string `json:"defaultSchedulingPeriodBySchedulingStrategy,omitempty"`
// The default penalty duration as a time period, such as \"30 sec\".
DefaultPenaltyDuration *string `json:"defaultPenaltyDuration,omitempty"`
// The default yield duration as a time period, such as \"1 sec\".
DefaultYieldDuration *string `json:"defaultYieldDuration,omitempty"`
// The default bulletin level, such as WARN, INFO, DEBUG, etc.
DefaultBulletinLevel *string `json:"defaultBulletinLevel,omitempty"`
// The FlowFile attributes this processor reads
ReadsAttributes []Attribute `json:"readsAttributes,omitempty"`
// The FlowFile attributes this processor writes/updates
WritesAttributes []Attribute `json:"writesAttributes,omitempty"`
}
// NewProcessorDefinition instantiates a new ProcessorDefinition 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 NewProcessorDefinition(type_ string) *ProcessorDefinition {
this := ProcessorDefinition{}
this.Type = type_
return &this
}
// NewProcessorDefinitionWithDefaults instantiates a new ProcessorDefinition 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 NewProcessorDefinitionWithDefaults() *ProcessorDefinition {
this := ProcessorDefinition{}
return &this
}
// GetGroup returns the Group field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetGroup() string {
if o == nil || IsNil(o.Group) {
var ret string
return ret
}
return *o.Group
}
// GetGroupOk returns a tuple with the Group field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetGroupOk() (*string, bool) {
if o == nil || IsNil(o.Group) {
return nil, false
}
return o.Group, true
}
// HasGroup returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasGroup() bool {
if o != nil && !IsNil(o.Group) {
return true
}
return false
}
// SetGroup gets a reference to the given string and assigns it to the Group field.
func (o *ProcessorDefinition) SetGroup(v string) {
o.Group = &v
}
// GetArtifact returns the Artifact field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetArtifact() string {
if o == nil || IsNil(o.Artifact) {
var ret string
return ret
}
return *o.Artifact
}
// GetArtifactOk returns a tuple with the Artifact field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetArtifactOk() (*string, bool) {
if o == nil || IsNil(o.Artifact) {
return nil, false
}
return o.Artifact, true
}
// HasArtifact returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasArtifact() bool {
if o != nil && !IsNil(o.Artifact) {
return true
}
return false
}
// SetArtifact gets a reference to the given string and assigns it to the Artifact field.
func (o *ProcessorDefinition) SetArtifact(v string) {
o.Artifact = &v
}
// GetVersion returns the Version field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetVersion() string {
if o == nil || IsNil(o.Version) {
var ret string
return ret
}
return *o.Version
}
// GetVersionOk returns a tuple with the Version field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetVersionOk() (*string, bool) {
if o == nil || IsNil(o.Version) {
return nil, false
}
return o.Version, true
}
// HasVersion returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasVersion() bool {
if o != nil && !IsNil(o.Version) {
return true
}
return false
}
// SetVersion gets a reference to the given string and assigns it to the Version field.
func (o *ProcessorDefinition) SetVersion(v string) {
o.Version = &v
}
// GetType returns the Type field value
func (o *ProcessorDefinition) GetType() string {
if o == nil {
var ret string
return ret
}
return o.Type
}
// GetTypeOk returns a tuple with the Type field value
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Type, true
}
// SetType sets field value
func (o *ProcessorDefinition) SetType(v string) {
o.Type = v
}
// GetTypeDescription returns the TypeDescription field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetTypeDescription() string {
if o == nil || IsNil(o.TypeDescription) {
var ret string
return ret
}
return *o.TypeDescription
}
// GetTypeDescriptionOk returns a tuple with the TypeDescription field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTypeDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.TypeDescription) {
return nil, false
}
return o.TypeDescription, true
}
// HasTypeDescription returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasTypeDescription() bool {
if o != nil && !IsNil(o.TypeDescription) {
return true
}
return false
}
// SetTypeDescription gets a reference to the given string and assigns it to the TypeDescription field.
func (o *ProcessorDefinition) SetTypeDescription(v string) {
o.TypeDescription = &v
}
// GetBuildInfo returns the BuildInfo field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetBuildInfo() BuildInfo {
if o == nil || IsNil(o.BuildInfo) {
var ret BuildInfo
return ret
}
return *o.BuildInfo
}
// GetBuildInfoOk returns a tuple with the BuildInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetBuildInfoOk() (*BuildInfo, bool) {
if o == nil || IsNil(o.BuildInfo) {
return nil, false
}
return o.BuildInfo, true
}
// HasBuildInfo returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasBuildInfo() bool {
if o != nil && !IsNil(o.BuildInfo) {
return true
}
return false
}
// SetBuildInfo gets a reference to the given BuildInfo and assigns it to the BuildInfo field.
func (o *ProcessorDefinition) SetBuildInfo(v BuildInfo) {
o.BuildInfo = &v
}
// GetProvidedApiImplementations returns the ProvidedApiImplementations field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetProvidedApiImplementations() []DefinedType {
if o == nil || IsNil(o.ProvidedApiImplementations) {
var ret []DefinedType
return ret
}
return o.ProvidedApiImplementations
}
// GetProvidedApiImplementationsOk returns a tuple with the ProvidedApiImplementations field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetProvidedApiImplementationsOk() ([]DefinedType, bool) {
if o == nil || IsNil(o.ProvidedApiImplementations) {
return nil, false
}
return o.ProvidedApiImplementations, true
}
// HasProvidedApiImplementations returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasProvidedApiImplementations() bool {
if o != nil && !IsNil(o.ProvidedApiImplementations) {
return true
}
return false
}
// SetProvidedApiImplementations gets a reference to the given []DefinedType and assigns it to the ProvidedApiImplementations field.
func (o *ProcessorDefinition) SetProvidedApiImplementations(v []DefinedType) {
o.ProvidedApiImplementations = v
}
// GetTags returns the Tags field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetTags() []string {
if o == nil || IsNil(o.Tags) {
var ret []string
return ret
}
return o.Tags
}
// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTagsOk() ([]string, bool) {
if o == nil || IsNil(o.Tags) {
return nil, false
}
return o.Tags, true
}
// HasTags returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasTags() bool {
if o != nil && !IsNil(o.Tags) {
return true
}
return false
}
// SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *ProcessorDefinition) SetTags(v []string) {
o.Tags = v
}
// GetSeeAlso returns the SeeAlso field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetSeeAlso() []string {
if o == nil || IsNil(o.SeeAlso) {
var ret []string
return ret
}
return o.SeeAlso
}
// GetSeeAlsoOk returns a tuple with the SeeAlso field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetSeeAlsoOk() ([]string, bool) {
if o == nil || IsNil(o.SeeAlso) {
return nil, false
}
return o.SeeAlso, true
}
// HasSeeAlso returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasSeeAlso() bool {
if o != nil && !IsNil(o.SeeAlso) {
return true
}
return false
}
// SetSeeAlso gets a reference to the given []string and assigns it to the SeeAlso field.
func (o *ProcessorDefinition) SetSeeAlso(v []string) {
o.SeeAlso = v
}
// GetDeprecated returns the Deprecated field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetDeprecated() bool {
if o == nil || IsNil(o.Deprecated) {
var ret bool
return ret
}
return *o.Deprecated
}
// GetDeprecatedOk returns a tuple with the Deprecated field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetDeprecatedOk() (*bool, bool) {
if o == nil || IsNil(o.Deprecated) {
return nil, false
}
return o.Deprecated, true
}
// HasDeprecated returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasDeprecated() bool {
if o != nil && !IsNil(o.Deprecated) {
return true
}
return false
}
// SetDeprecated gets a reference to the given bool and assigns it to the Deprecated field.
func (o *ProcessorDefinition) SetDeprecated(v bool) {
o.Deprecated = &v
}
// GetDeprecationReason returns the DeprecationReason field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetDeprecationReason() string {
if o == nil || IsNil(o.DeprecationReason) {
var ret string
return ret
}
return *o.DeprecationReason
}
// GetDeprecationReasonOk returns a tuple with the DeprecationReason field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetDeprecationReasonOk() (*string, bool) {
if o == nil || IsNil(o.DeprecationReason) {
return nil, false
}
return o.DeprecationReason, true
}
// HasDeprecationReason returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasDeprecationReason() bool {
if o != nil && !IsNil(o.DeprecationReason) {
return true
}
return false
}
// SetDeprecationReason gets a reference to the given string and assigns it to the DeprecationReason field.
func (o *ProcessorDefinition) SetDeprecationReason(v string) {
o.DeprecationReason = &v
}
// GetDeprecationAlternatives returns the DeprecationAlternatives field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetDeprecationAlternatives() []string {
if o == nil || IsNil(o.DeprecationAlternatives) {
var ret []string
return ret
}
return o.DeprecationAlternatives
}
// GetDeprecationAlternativesOk returns a tuple with the DeprecationAlternatives field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetDeprecationAlternativesOk() ([]string, bool) {
if o == nil || IsNil(o.DeprecationAlternatives) {
return nil, false
}
return o.DeprecationAlternatives, true
}
// HasDeprecationAlternatives returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasDeprecationAlternatives() bool {
if o != nil && !IsNil(o.DeprecationAlternatives) {
return true
}
return false
}
// SetDeprecationAlternatives gets a reference to the given []string and assigns it to the DeprecationAlternatives field.
func (o *ProcessorDefinition) SetDeprecationAlternatives(v []string) {
o.DeprecationAlternatives = v
}
// GetRestricted returns the Restricted field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetRestricted() bool {
if o == nil || IsNil(o.Restricted) {
var ret bool
return ret
}
return *o.Restricted
}
// GetRestrictedOk returns a tuple with the Restricted field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetRestrictedOk() (*bool, bool) {
if o == nil || IsNil(o.Restricted) {
return nil, false
}
return o.Restricted, true
}
// HasRestricted returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasRestricted() bool {
if o != nil && !IsNil(o.Restricted) {
return true
}
return false
}
// SetRestricted gets a reference to the given bool and assigns it to the Restricted field.
func (o *ProcessorDefinition) SetRestricted(v bool) {
o.Restricted = &v
}
// GetRestrictedExplanation returns the RestrictedExplanation field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetRestrictedExplanation() string {
if o == nil || IsNil(o.RestrictedExplanation) {
var ret string
return ret
}
return *o.RestrictedExplanation
}
// GetRestrictedExplanationOk returns a tuple with the RestrictedExplanation field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetRestrictedExplanationOk() (*string, bool) {
if o == nil || IsNil(o.RestrictedExplanation) {
return nil, false
}
return o.RestrictedExplanation, true
}
// HasRestrictedExplanation returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasRestrictedExplanation() bool {
if o != nil && !IsNil(o.RestrictedExplanation) {
return true
}
return false
}
// SetRestrictedExplanation gets a reference to the given string and assigns it to the RestrictedExplanation field.
func (o *ProcessorDefinition) SetRestrictedExplanation(v string) {
o.RestrictedExplanation = &v
}
// GetExplicitRestrictions returns the ExplicitRestrictions field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetExplicitRestrictions() []Restriction {
if o == nil || IsNil(o.ExplicitRestrictions) {
var ret []Restriction
return ret
}
return o.ExplicitRestrictions
}
// GetExplicitRestrictionsOk returns a tuple with the ExplicitRestrictions field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetExplicitRestrictionsOk() ([]Restriction, bool) {
if o == nil || IsNil(o.ExplicitRestrictions) {
return nil, false
}
return o.ExplicitRestrictions, true
}
// HasExplicitRestrictions returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasExplicitRestrictions() bool {
if o != nil && !IsNil(o.ExplicitRestrictions) {
return true
}
return false
}
// SetExplicitRestrictions gets a reference to the given []Restriction and assigns it to the ExplicitRestrictions field.
func (o *ProcessorDefinition) SetExplicitRestrictions(v []Restriction) {
o.ExplicitRestrictions = v
}
// GetStateful returns the Stateful field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetStateful() Stateful {
if o == nil || IsNil(o.Stateful) {
var ret Stateful
return ret
}
return *o.Stateful
}
// GetStatefulOk returns a tuple with the Stateful field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetStatefulOk() (*Stateful, bool) {
if o == nil || IsNil(o.Stateful) {
return nil, false
}
return o.Stateful, true
}
// HasStateful returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasStateful() bool {
if o != nil && !IsNil(o.Stateful) {
return true
}
return false
}
// SetStateful gets a reference to the given Stateful and assigns it to the Stateful field.
func (o *ProcessorDefinition) SetStateful(v Stateful) {
o.Stateful = &v
}
// GetSystemResourceConsiderations returns the SystemResourceConsiderations field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetSystemResourceConsiderations() []SystemResourceConsideration {
if o == nil || IsNil(o.SystemResourceConsiderations) {
var ret []SystemResourceConsideration
return ret
}
return o.SystemResourceConsiderations
}
// GetSystemResourceConsiderationsOk returns a tuple with the SystemResourceConsiderations field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetSystemResourceConsiderationsOk() ([]SystemResourceConsideration, bool) {
if o == nil || IsNil(o.SystemResourceConsiderations) {
return nil, false
}
return o.SystemResourceConsiderations, true
}
// HasSystemResourceConsiderations returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasSystemResourceConsiderations() bool {
if o != nil && !IsNil(o.SystemResourceConsiderations) {
return true
}
return false
}
// SetSystemResourceConsiderations gets a reference to the given []SystemResourceConsideration and assigns it to the SystemResourceConsiderations field.
func (o *ProcessorDefinition) SetSystemResourceConsiderations(v []SystemResourceConsideration) {
o.SystemResourceConsiderations = v
}
// GetAdditionalDetails returns the AdditionalDetails field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetAdditionalDetails() bool {
if o == nil || IsNil(o.AdditionalDetails) {
var ret bool
return ret
}
return *o.AdditionalDetails
}
// GetAdditionalDetailsOk returns a tuple with the AdditionalDetails field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetAdditionalDetailsOk() (*bool, bool) {
if o == nil || IsNil(o.AdditionalDetails) {
return nil, false
}
return o.AdditionalDetails, true
}
// HasAdditionalDetails returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasAdditionalDetails() bool {
if o != nil && !IsNil(o.AdditionalDetails) {
return true
}
return false
}
// SetAdditionalDetails gets a reference to the given bool and assigns it to the AdditionalDetails field.
func (o *ProcessorDefinition) SetAdditionalDetails(v bool) {
o.AdditionalDetails = &v
}
// GetPropertyDescriptors returns the PropertyDescriptors field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetPropertyDescriptors() map[string]PropertyDescriptor {
if o == nil || IsNil(o.PropertyDescriptors) {
var ret map[string]PropertyDescriptor
return ret
}
return *o.PropertyDescriptors
}
// GetPropertyDescriptorsOk returns a tuple with the PropertyDescriptors field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetPropertyDescriptorsOk() (*map[string]PropertyDescriptor, bool) {
if o == nil || IsNil(o.PropertyDescriptors) {
return nil, false
}
return o.PropertyDescriptors, true
}
// HasPropertyDescriptors returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasPropertyDescriptors() bool {
if o != nil && !IsNil(o.PropertyDescriptors) {
return true
}
return false
}
// SetPropertyDescriptors gets a reference to the given map[string]PropertyDescriptor and assigns it to the PropertyDescriptors field.
func (o *ProcessorDefinition) SetPropertyDescriptors(v map[string]PropertyDescriptor) {
o.PropertyDescriptors = &v
}
// GetSupportsDynamicProperties returns the SupportsDynamicProperties field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetSupportsDynamicProperties() bool {
if o == nil || IsNil(o.SupportsDynamicProperties) {
var ret bool
return ret
}
return *o.SupportsDynamicProperties
}
// GetSupportsDynamicPropertiesOk returns a tuple with the SupportsDynamicProperties field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetSupportsDynamicPropertiesOk() (*bool, bool) {
if o == nil || IsNil(o.SupportsDynamicProperties) {
return nil, false
}
return o.SupportsDynamicProperties, true
}
// HasSupportsDynamicProperties returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasSupportsDynamicProperties() bool {
if o != nil && !IsNil(o.SupportsDynamicProperties) {
return true
}
return false
}
// SetSupportsDynamicProperties gets a reference to the given bool and assigns it to the SupportsDynamicProperties field.
func (o *ProcessorDefinition) SetSupportsDynamicProperties(v bool) {
o.SupportsDynamicProperties = &v
}
// GetDynamicProperties returns the DynamicProperties field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetDynamicProperties() []DynamicProperty {
if o == nil || IsNil(o.DynamicProperties) {
var ret []DynamicProperty
return ret
}
return o.DynamicProperties
}
// GetDynamicPropertiesOk returns a tuple with the DynamicProperties field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetDynamicPropertiesOk() ([]DynamicProperty, bool) {
if o == nil || IsNil(o.DynamicProperties) {
return nil, false
}
return o.DynamicProperties, true
}
// HasDynamicProperties returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasDynamicProperties() bool {
if o != nil && !IsNil(o.DynamicProperties) {
return true
}
return false
}
// SetDynamicProperties gets a reference to the given []DynamicProperty and assigns it to the DynamicProperties field.
func (o *ProcessorDefinition) SetDynamicProperties(v []DynamicProperty) {
o.DynamicProperties = v
}
// GetInputRequirement returns the InputRequirement field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetInputRequirement() string {
if o == nil || IsNil(o.InputRequirement) {
var ret string
return ret
}
return *o.InputRequirement
}
// GetInputRequirementOk returns a tuple with the InputRequirement field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetInputRequirementOk() (*string, bool) {
if o == nil || IsNil(o.InputRequirement) {
return nil, false
}
return o.InputRequirement, true
}
// HasInputRequirement returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasInputRequirement() bool {
if o != nil && !IsNil(o.InputRequirement) {
return true
}
return false
}
// SetInputRequirement gets a reference to the given string and assigns it to the InputRequirement field.
func (o *ProcessorDefinition) SetInputRequirement(v string) {
o.InputRequirement = &v
}
// GetSupportedRelationships returns the SupportedRelationships field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetSupportedRelationships() []Relationship {
if o == nil || IsNil(o.SupportedRelationships) {
var ret []Relationship
return ret
}
return o.SupportedRelationships
}
// GetSupportedRelationshipsOk returns a tuple with the SupportedRelationships field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetSupportedRelationshipsOk() ([]Relationship, bool) {
if o == nil || IsNil(o.SupportedRelationships) {
return nil, false
}
return o.SupportedRelationships, true
}
// HasSupportedRelationships returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasSupportedRelationships() bool {
if o != nil && !IsNil(o.SupportedRelationships) {
return true
}
return false
}
// SetSupportedRelationships gets a reference to the given []Relationship and assigns it to the SupportedRelationships field.
func (o *ProcessorDefinition) SetSupportedRelationships(v []Relationship) {
o.SupportedRelationships = v
}
// GetSupportsDynamicRelationships returns the SupportsDynamicRelationships field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetSupportsDynamicRelationships() bool {
if o == nil || IsNil(o.SupportsDynamicRelationships) {
var ret bool
return ret
}
return *o.SupportsDynamicRelationships
}
// GetSupportsDynamicRelationshipsOk returns a tuple with the SupportsDynamicRelationships field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetSupportsDynamicRelationshipsOk() (*bool, bool) {
if o == nil || IsNil(o.SupportsDynamicRelationships) {
return nil, false
}
return o.SupportsDynamicRelationships, true
}
// HasSupportsDynamicRelationships returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasSupportsDynamicRelationships() bool {
if o != nil && !IsNil(o.SupportsDynamicRelationships) {
return true
}
return false
}
// SetSupportsDynamicRelationships gets a reference to the given bool and assigns it to the SupportsDynamicRelationships field.
func (o *ProcessorDefinition) SetSupportsDynamicRelationships(v bool) {
o.SupportsDynamicRelationships = &v
}
// GetDynamicRelationship returns the DynamicRelationship field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetDynamicRelationship() DynamicRelationship {
if o == nil || IsNil(o.DynamicRelationship) {
var ret DynamicRelationship
return ret
}
return *o.DynamicRelationship
}
// GetDynamicRelationshipOk returns a tuple with the DynamicRelationship field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetDynamicRelationshipOk() (*DynamicRelationship, bool) {
if o == nil || IsNil(o.DynamicRelationship) {
return nil, false
}
return o.DynamicRelationship, true
}
// HasDynamicRelationship returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasDynamicRelationship() bool {
if o != nil && !IsNil(o.DynamicRelationship) {
return true
}
return false
}
// SetDynamicRelationship gets a reference to the given DynamicRelationship and assigns it to the DynamicRelationship field.
func (o *ProcessorDefinition) SetDynamicRelationship(v DynamicRelationship) {
o.DynamicRelationship = &v
}
// GetTriggerSerially returns the TriggerSerially field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetTriggerSerially() bool {
if o == nil || IsNil(o.TriggerSerially) {
var ret bool
return ret
}
return *o.TriggerSerially
}
// GetTriggerSeriallyOk returns a tuple with the TriggerSerially field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTriggerSeriallyOk() (*bool, bool) {
if o == nil || IsNil(o.TriggerSerially) {
return nil, false
}
return o.TriggerSerially, true
}
// HasTriggerSerially returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasTriggerSerially() bool {
if o != nil && !IsNil(o.TriggerSerially) {
return true
}
return false
}
// SetTriggerSerially gets a reference to the given bool and assigns it to the TriggerSerially field.
func (o *ProcessorDefinition) SetTriggerSerially(v bool) {
o.TriggerSerially = &v
}
// GetTriggerWhenEmpty returns the TriggerWhenEmpty field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetTriggerWhenEmpty() bool {
if o == nil || IsNil(o.TriggerWhenEmpty) {
var ret bool
return ret
}
return *o.TriggerWhenEmpty
}
// GetTriggerWhenEmptyOk returns a tuple with the TriggerWhenEmpty field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTriggerWhenEmptyOk() (*bool, bool) {
if o == nil || IsNil(o.TriggerWhenEmpty) {
return nil, false
}
return o.TriggerWhenEmpty, true
}
// HasTriggerWhenEmpty returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasTriggerWhenEmpty() bool {
if o != nil && !IsNil(o.TriggerWhenEmpty) {
return true
}
return false
}
// SetTriggerWhenEmpty gets a reference to the given bool and assigns it to the TriggerWhenEmpty field.
func (o *ProcessorDefinition) SetTriggerWhenEmpty(v bool) {
o.TriggerWhenEmpty = &v
}
// GetTriggerWhenAnyDestinationAvailable returns the TriggerWhenAnyDestinationAvailable field value if set, zero value otherwise.
func (o *ProcessorDefinition) GetTriggerWhenAnyDestinationAvailable() bool {
if o == nil || IsNil(o.TriggerWhenAnyDestinationAvailable) {
var ret bool
return ret
}
return *o.TriggerWhenAnyDestinationAvailable
}
// GetTriggerWhenAnyDestinationAvailableOk returns a tuple with the TriggerWhenAnyDestinationAvailable field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProcessorDefinition) GetTriggerWhenAnyDestinationAvailableOk() (*bool, bool) {
if o == nil || IsNil(o.TriggerWhenAnyDestinationAvailable) {
return nil, false
}
return o.TriggerWhenAnyDestinationAvailable, true
}
// HasTriggerWhenAnyDestinationAvailable returns a boolean if a field has been set.
func (o *ProcessorDefinition) HasTriggerWhenAnyDestinationAvailable() bool {
if o != nil && !IsNil(o.TriggerWhenAnyDestinationAvailable) {
return true
}