-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_provision_vdbby_timestamp_parameters.go
1776 lines (1528 loc) · 56.5 KB
/
model_provision_vdbby_timestamp_parameters.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
/*
Delphix API Gateway
Delphix API Gateway API
API version: 1.0
Contact: [email protected]
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package delphix_dct_api
import (
"encoding/json"
"time"
)
// ProvisionVDBByTimestampParameters struct for ProvisionVDBByTimestampParameters
type ProvisionVDBByTimestampParameters struct {
// The ID of the source object (dSource or VDB) to provision from. All other objects referenced by the parameters must live on the same engine as the source.
SourceDataId string `json:"source_data_id"`
// The ID of the Engine onto which to provision. If the source ID unambiguously identifies a source object, this parameter is unnecessary and ignored.
EngineId *int64 `json:"engine_id,omitempty"`
// The ID of the group into which the VDB will be provisioned. If unset, a group is selected randomly on the Engine.
TargetGroupId *string `json:"target_group_id,omitempty"`
// The unique name of the provisioned VDB within a group. If unset, a name is randomly generated.
VdbName *string `json:"vdb_name,omitempty"`
// The name of the database on the target environment. Defaults to vdb_name.
DatabaseName *string `json:"database_name,omitempty"`
// Whether to truncate log on checkpoint (ASE only).
TruncateLogOnCheckpoint *bool `json:"truncate_log_on_checkpoint,omitempty"`
// The name of the privileged user to run the provision operation (Oracle Only).
Username *string `json:"username,omitempty"`
// The password of the privileged user to run the provision operation (Oracle Only).
Password *string `json:"password,omitempty"`
// The ID of the target environment where to provision the VDB. If repository_id unambigously identifies a repository, this is unnecessary and ignored. Otherwise, a compatible repository is randomly selected on the environment.
EnvironmentId *string `json:"environment_id,omitempty"`
// The environment user ID to use to connect to the target environment.
EnvironmentUserId *string `json:"environment_user_id,omitempty"`
// The ID of the target repository where to provision the VDB. A repository typically corresponds to a database installation (Oracle home, database instance, ...). Setting this attribute implicitly determines the environment where to provision the VDB.
RepositoryId *string `json:"repository_id,omitempty"`
// Option to automatically select a compatible environment and repository. Mutually exclusive with repository_id.
AutoSelectRepository *bool `json:"auto_select_repository,omitempty"`
// The commands to execute on the target environment before refreshing the VDB.
PreRefresh []Hook `json:"pre_refresh,omitempty"`
// The commands to execute on the target environment after refreshing the VDB.
PostRefresh []Hook `json:"post_refresh,omitempty"`
// The commands to execute on the target environment before rewinding the VDB.
PreRollback []Hook `json:"pre_rollback,omitempty"`
// The commands to execute on the target environment after rewinding the VDB.
PostRollback []Hook `json:"post_rollback,omitempty"`
// The commands to execute on the target environment when the VDB is created or refreshed.
ConfigureClone []Hook `json:"configure_clone,omitempty"`
// The commands to execute on the target environment before snapshotting a virtual source. These commands can quiesce any data prior to snapshotting.
PreSnapshot []Hook `json:"pre_snapshot,omitempty"`
// The commands to execute on the target environment after snapshotting a virtual source.
PostSnapshot []Hook `json:"post_snapshot,omitempty"`
// The commands to execute on the target environment before starting a virtual source.
PreStart []Hook `json:"pre_start,omitempty"`
// The commands to execute on the target environment after starting a virtual source.
PostStart []Hook `json:"post_start,omitempty"`
// The commands to execute on the target environment before stopping a virtual source.
PreStop []Hook `json:"pre_stop,omitempty"`
// The commands to execute on the target environment after stopping a virtual source.
PostStop []Hook `json:"post_stop,omitempty"`
// Indicates whether the Engine should automatically restart this virtual source when target host reboot is detected.
VdbRestart *bool `json:"vdb_restart,omitempty"`
// The ID of the target VDB Template (Oracle Only).
TemplateId *string `json:"template_id,omitempty"`
// Target VDB file mapping rules (Oracle Only). Rules must be line separated (\\n or \\r) and each line must have the format \"pattern:replacement\". Lines are applied in order.
FileMappingRules *string `json:"file_mapping_rules,omitempty"`
// Target VDB SID name (Oracle Only).
OracleInstanceName *string `json:"oracle_instance_name,omitempty"`
// Target VDB db_unique_name (Oracle Only).
UniqueName *string `json:"unique_name,omitempty"`
// Mount point for the VDB (Oracle, ASE Only).
MountPoint *string `json:"mount_point,omitempty"`
// Whether to open the database after provision (Oracle Only).
OpenResetLogs *bool `json:"open_reset_logs,omitempty"`
// The ID of the snapshot policy for the VDB.
SnapshotPolicyId *string `json:"snapshot_policy_id,omitempty"`
// The ID of the retention policy for the VDB.
RetentionPolicyId *string `json:"retention_policy_id,omitempty"`
// Recovery model of the source database (MSSql Only).
RecoveryModel *string `json:"recovery_model,omitempty"`
// PowerShell script or executable to run prior to provisioning (MSSql Only).
PreScript *string `json:"pre_script,omitempty"`
// PowerShell script or executable to run after provisioning (MSSql Only).
PostScript *string `json:"post_script,omitempty"`
// Option to enable change data capture (CDC) on both the provisioned VDB and subsequent snapshot-related operations (e.g. refresh, rewind) (MSSql Only).
CdcOnProvision *bool `json:"cdc_on_provision,omitempty"`
// Online log size in MB (Oracle Only).
OnlineLogSize *int32 `json:"online_log_size,omitempty"`
// Number of online log groups (Oracle Only).
OnlineLogGroups *int32 `json:"online_log_groups,omitempty"`
// Option to create a VDB in archivelog mode (Oracle Only).
ArchiveLog *bool `json:"archive_log,omitempty"`
// Option to generate a new DB ID for the created VDB (Oracle Only).
NewDbid *bool `json:"new_dbid,omitempty"`
// The listener IDs for this provision operation (Oracle Only).
ListenerIds []string `json:"listener_ids,omitempty"`
// Environment variable to be set when the engine creates a VDB. See the Engine documentation for the list of allowed/denied environment variables and rules about substitution.
CustomEnvVars *map[string]string `json:"custom_env_vars,omitempty"`
// Environment files to be sourced when the Engine creates a VDB. This path can be followed by parameters. Paths and parameters are separated by spaces.
CustomEnvFiles []string `json:"custom_env_files,omitempty"`
// The tags to be created for VDB.
Tags []Tag `json:"tags,omitempty"`
// The point in time from which to execute the operation. Mutually exclusive with timestamp_in_database_timezone. If the timestamp is not set, selects the latest point.
Timestamp *time.Time `json:"timestamp,omitempty"`
// The point in time from which to execute the operation, expressed as a date-time in the timezone of the source database. Mutually exclusive with timestamp.
TimestampInDatabaseTimezone *string `json:"timestamp_in_database_timezone,omitempty"`
}
// NewProvisionVDBByTimestampParameters instantiates a new ProvisionVDBByTimestampParameters 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 NewProvisionVDBByTimestampParameters(sourceDataId string) *ProvisionVDBByTimestampParameters {
this := ProvisionVDBByTimestampParameters{}
this.SourceDataId = sourceDataId
return &this
}
// NewProvisionVDBByTimestampParametersWithDefaults instantiates a new ProvisionVDBByTimestampParameters 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 NewProvisionVDBByTimestampParametersWithDefaults() *ProvisionVDBByTimestampParameters {
this := ProvisionVDBByTimestampParameters{}
return &this
}
// GetSourceDataId returns the SourceDataId field value
func (o *ProvisionVDBByTimestampParameters) GetSourceDataId() string {
if o == nil {
var ret string
return ret
}
return o.SourceDataId
}
// GetSourceDataIdOk returns a tuple with the SourceDataId field value
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetSourceDataIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SourceDataId, true
}
// SetSourceDataId sets field value
func (o *ProvisionVDBByTimestampParameters) SetSourceDataId(v string) {
o.SourceDataId = v
}
// GetEngineId returns the EngineId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetEngineId() int64 {
if o == nil || o.EngineId == nil {
var ret int64
return ret
}
return *o.EngineId
}
// GetEngineIdOk returns a tuple with the EngineId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetEngineIdOk() (*int64, bool) {
if o == nil || o.EngineId == nil {
return nil, false
}
return o.EngineId, true
}
// HasEngineId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasEngineId() bool {
if o != nil && o.EngineId != nil {
return true
}
return false
}
// SetEngineId gets a reference to the given int64 and assigns it to the EngineId field.
func (o *ProvisionVDBByTimestampParameters) SetEngineId(v int64) {
o.EngineId = &v
}
// GetTargetGroupId returns the TargetGroupId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetTargetGroupId() string {
if o == nil || o.TargetGroupId == nil {
var ret string
return ret
}
return *o.TargetGroupId
}
// GetTargetGroupIdOk returns a tuple with the TargetGroupId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetTargetGroupIdOk() (*string, bool) {
if o == nil || o.TargetGroupId == nil {
return nil, false
}
return o.TargetGroupId, true
}
// HasTargetGroupId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasTargetGroupId() bool {
if o != nil && o.TargetGroupId != nil {
return true
}
return false
}
// SetTargetGroupId gets a reference to the given string and assigns it to the TargetGroupId field.
func (o *ProvisionVDBByTimestampParameters) SetTargetGroupId(v string) {
o.TargetGroupId = &v
}
// GetVdbName returns the VdbName field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetVdbName() string {
if o == nil || o.VdbName == nil {
var ret string
return ret
}
return *o.VdbName
}
// GetVdbNameOk returns a tuple with the VdbName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetVdbNameOk() (*string, bool) {
if o == nil || o.VdbName == nil {
return nil, false
}
return o.VdbName, true
}
// HasVdbName returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasVdbName() bool {
if o != nil && o.VdbName != nil {
return true
}
return false
}
// SetVdbName gets a reference to the given string and assigns it to the VdbName field.
func (o *ProvisionVDBByTimestampParameters) SetVdbName(v string) {
o.VdbName = &v
}
// GetDatabaseName returns the DatabaseName field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetDatabaseName() string {
if o == nil || o.DatabaseName == nil {
var ret string
return ret
}
return *o.DatabaseName
}
// GetDatabaseNameOk returns a tuple with the DatabaseName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetDatabaseNameOk() (*string, bool) {
if o == nil || o.DatabaseName == nil {
return nil, false
}
return o.DatabaseName, true
}
// HasDatabaseName returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasDatabaseName() bool {
if o != nil && o.DatabaseName != nil {
return true
}
return false
}
// SetDatabaseName gets a reference to the given string and assigns it to the DatabaseName field.
func (o *ProvisionVDBByTimestampParameters) SetDatabaseName(v string) {
o.DatabaseName = &v
}
// GetTruncateLogOnCheckpoint returns the TruncateLogOnCheckpoint field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetTruncateLogOnCheckpoint() bool {
if o == nil || o.TruncateLogOnCheckpoint == nil {
var ret bool
return ret
}
return *o.TruncateLogOnCheckpoint
}
// GetTruncateLogOnCheckpointOk returns a tuple with the TruncateLogOnCheckpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetTruncateLogOnCheckpointOk() (*bool, bool) {
if o == nil || o.TruncateLogOnCheckpoint == nil {
return nil, false
}
return o.TruncateLogOnCheckpoint, true
}
// HasTruncateLogOnCheckpoint returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasTruncateLogOnCheckpoint() bool {
if o != nil && o.TruncateLogOnCheckpoint != nil {
return true
}
return false
}
// SetTruncateLogOnCheckpoint gets a reference to the given bool and assigns it to the TruncateLogOnCheckpoint field.
func (o *ProvisionVDBByTimestampParameters) SetTruncateLogOnCheckpoint(v bool) {
o.TruncateLogOnCheckpoint = &v
}
// GetUsername returns the Username field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetUsername() string {
if o == nil || o.Username == nil {
var ret string
return ret
}
return *o.Username
}
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetUsernameOk() (*string, bool) {
if o == nil || o.Username == nil {
return nil, false
}
return o.Username, true
}
// HasUsername returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasUsername() bool {
if o != nil && o.Username != nil {
return true
}
return false
}
// SetUsername gets a reference to the given string and assigns it to the Username field.
func (o *ProvisionVDBByTimestampParameters) SetUsername(v string) {
o.Username = &v
}
// GetPassword returns the Password field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPassword() string {
if o == nil || o.Password == nil {
var ret string
return ret
}
return *o.Password
}
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPasswordOk() (*string, bool) {
if o == nil || o.Password == nil {
return nil, false
}
return o.Password, true
}
// HasPassword returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPassword() bool {
if o != nil && o.Password != nil {
return true
}
return false
}
// SetPassword gets a reference to the given string and assigns it to the Password field.
func (o *ProvisionVDBByTimestampParameters) SetPassword(v string) {
o.Password = &v
}
// GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetEnvironmentId() string {
if o == nil || o.EnvironmentId == nil {
var ret string
return ret
}
return *o.EnvironmentId
}
// GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetEnvironmentIdOk() (*string, bool) {
if o == nil || o.EnvironmentId == nil {
return nil, false
}
return o.EnvironmentId, true
}
// HasEnvironmentId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasEnvironmentId() bool {
if o != nil && o.EnvironmentId != nil {
return true
}
return false
}
// SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.
func (o *ProvisionVDBByTimestampParameters) SetEnvironmentId(v string) {
o.EnvironmentId = &v
}
// GetEnvironmentUserId returns the EnvironmentUserId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetEnvironmentUserId() string {
if o == nil || o.EnvironmentUserId == nil {
var ret string
return ret
}
return *o.EnvironmentUserId
}
// GetEnvironmentUserIdOk returns a tuple with the EnvironmentUserId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetEnvironmentUserIdOk() (*string, bool) {
if o == nil || o.EnvironmentUserId == nil {
return nil, false
}
return o.EnvironmentUserId, true
}
// HasEnvironmentUserId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasEnvironmentUserId() bool {
if o != nil && o.EnvironmentUserId != nil {
return true
}
return false
}
// SetEnvironmentUserId gets a reference to the given string and assigns it to the EnvironmentUserId field.
func (o *ProvisionVDBByTimestampParameters) SetEnvironmentUserId(v string) {
o.EnvironmentUserId = &v
}
// GetRepositoryId returns the RepositoryId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetRepositoryId() string {
if o == nil || o.RepositoryId == nil {
var ret string
return ret
}
return *o.RepositoryId
}
// GetRepositoryIdOk returns a tuple with the RepositoryId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetRepositoryIdOk() (*string, bool) {
if o == nil || o.RepositoryId == nil {
return nil, false
}
return o.RepositoryId, true
}
// HasRepositoryId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasRepositoryId() bool {
if o != nil && o.RepositoryId != nil {
return true
}
return false
}
// SetRepositoryId gets a reference to the given string and assigns it to the RepositoryId field.
func (o *ProvisionVDBByTimestampParameters) SetRepositoryId(v string) {
o.RepositoryId = &v
}
// GetAutoSelectRepository returns the AutoSelectRepository field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetAutoSelectRepository() bool {
if o == nil || o.AutoSelectRepository == nil {
var ret bool
return ret
}
return *o.AutoSelectRepository
}
// GetAutoSelectRepositoryOk returns a tuple with the AutoSelectRepository field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetAutoSelectRepositoryOk() (*bool, bool) {
if o == nil || o.AutoSelectRepository == nil {
return nil, false
}
return o.AutoSelectRepository, true
}
// HasAutoSelectRepository returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasAutoSelectRepository() bool {
if o != nil && o.AutoSelectRepository != nil {
return true
}
return false
}
// SetAutoSelectRepository gets a reference to the given bool and assigns it to the AutoSelectRepository field.
func (o *ProvisionVDBByTimestampParameters) SetAutoSelectRepository(v bool) {
o.AutoSelectRepository = &v
}
// GetPreRefresh returns the PreRefresh field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPreRefresh() []Hook {
if o == nil || o.PreRefresh == nil {
var ret []Hook
return ret
}
return o.PreRefresh
}
// GetPreRefreshOk returns a tuple with the PreRefresh field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPreRefreshOk() ([]Hook, bool) {
if o == nil || o.PreRefresh == nil {
return nil, false
}
return o.PreRefresh, true
}
// HasPreRefresh returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPreRefresh() bool {
if o != nil && o.PreRefresh != nil {
return true
}
return false
}
// SetPreRefresh gets a reference to the given []Hook and assigns it to the PreRefresh field.
func (o *ProvisionVDBByTimestampParameters) SetPreRefresh(v []Hook) {
o.PreRefresh = v
}
// GetPostRefresh returns the PostRefresh field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPostRefresh() []Hook {
if o == nil || o.PostRefresh == nil {
var ret []Hook
return ret
}
return o.PostRefresh
}
// GetPostRefreshOk returns a tuple with the PostRefresh field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPostRefreshOk() ([]Hook, bool) {
if o == nil || o.PostRefresh == nil {
return nil, false
}
return o.PostRefresh, true
}
// HasPostRefresh returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPostRefresh() bool {
if o != nil && o.PostRefresh != nil {
return true
}
return false
}
// SetPostRefresh gets a reference to the given []Hook and assigns it to the PostRefresh field.
func (o *ProvisionVDBByTimestampParameters) SetPostRefresh(v []Hook) {
o.PostRefresh = v
}
// GetPreRollback returns the PreRollback field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPreRollback() []Hook {
if o == nil || o.PreRollback == nil {
var ret []Hook
return ret
}
return o.PreRollback
}
// GetPreRollbackOk returns a tuple with the PreRollback field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPreRollbackOk() ([]Hook, bool) {
if o == nil || o.PreRollback == nil {
return nil, false
}
return o.PreRollback, true
}
// HasPreRollback returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPreRollback() bool {
if o != nil && o.PreRollback != nil {
return true
}
return false
}
// SetPreRollback gets a reference to the given []Hook and assigns it to the PreRollback field.
func (o *ProvisionVDBByTimestampParameters) SetPreRollback(v []Hook) {
o.PreRollback = v
}
// GetPostRollback returns the PostRollback field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPostRollback() []Hook {
if o == nil || o.PostRollback == nil {
var ret []Hook
return ret
}
return o.PostRollback
}
// GetPostRollbackOk returns a tuple with the PostRollback field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPostRollbackOk() ([]Hook, bool) {
if o == nil || o.PostRollback == nil {
return nil, false
}
return o.PostRollback, true
}
// HasPostRollback returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPostRollback() bool {
if o != nil && o.PostRollback != nil {
return true
}
return false
}
// SetPostRollback gets a reference to the given []Hook and assigns it to the PostRollback field.
func (o *ProvisionVDBByTimestampParameters) SetPostRollback(v []Hook) {
o.PostRollback = v
}
// GetConfigureClone returns the ConfigureClone field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetConfigureClone() []Hook {
if o == nil || o.ConfigureClone == nil {
var ret []Hook
return ret
}
return o.ConfigureClone
}
// GetConfigureCloneOk returns a tuple with the ConfigureClone field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetConfigureCloneOk() ([]Hook, bool) {
if o == nil || o.ConfigureClone == nil {
return nil, false
}
return o.ConfigureClone, true
}
// HasConfigureClone returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasConfigureClone() bool {
if o != nil && o.ConfigureClone != nil {
return true
}
return false
}
// SetConfigureClone gets a reference to the given []Hook and assigns it to the ConfigureClone field.
func (o *ProvisionVDBByTimestampParameters) SetConfigureClone(v []Hook) {
o.ConfigureClone = v
}
// GetPreSnapshot returns the PreSnapshot field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPreSnapshot() []Hook {
if o == nil || o.PreSnapshot == nil {
var ret []Hook
return ret
}
return o.PreSnapshot
}
// GetPreSnapshotOk returns a tuple with the PreSnapshot field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPreSnapshotOk() ([]Hook, bool) {
if o == nil || o.PreSnapshot == nil {
return nil, false
}
return o.PreSnapshot, true
}
// HasPreSnapshot returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPreSnapshot() bool {
if o != nil && o.PreSnapshot != nil {
return true
}
return false
}
// SetPreSnapshot gets a reference to the given []Hook and assigns it to the PreSnapshot field.
func (o *ProvisionVDBByTimestampParameters) SetPreSnapshot(v []Hook) {
o.PreSnapshot = v
}
// GetPostSnapshot returns the PostSnapshot field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPostSnapshot() []Hook {
if o == nil || o.PostSnapshot == nil {
var ret []Hook
return ret
}
return o.PostSnapshot
}
// GetPostSnapshotOk returns a tuple with the PostSnapshot field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPostSnapshotOk() ([]Hook, bool) {
if o == nil || o.PostSnapshot == nil {
return nil, false
}
return o.PostSnapshot, true
}
// HasPostSnapshot returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPostSnapshot() bool {
if o != nil && o.PostSnapshot != nil {
return true
}
return false
}
// SetPostSnapshot gets a reference to the given []Hook and assigns it to the PostSnapshot field.
func (o *ProvisionVDBByTimestampParameters) SetPostSnapshot(v []Hook) {
o.PostSnapshot = v
}
// GetPreStart returns the PreStart field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPreStart() []Hook {
if o == nil || o.PreStart == nil {
var ret []Hook
return ret
}
return o.PreStart
}
// GetPreStartOk returns a tuple with the PreStart field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPreStartOk() ([]Hook, bool) {
if o == nil || o.PreStart == nil {
return nil, false
}
return o.PreStart, true
}
// HasPreStart returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPreStart() bool {
if o != nil && o.PreStart != nil {
return true
}
return false
}
// SetPreStart gets a reference to the given []Hook and assigns it to the PreStart field.
func (o *ProvisionVDBByTimestampParameters) SetPreStart(v []Hook) {
o.PreStart = v
}
// GetPostStart returns the PostStart field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPostStart() []Hook {
if o == nil || o.PostStart == nil {
var ret []Hook
return ret
}
return o.PostStart
}
// GetPostStartOk returns a tuple with the PostStart field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPostStartOk() ([]Hook, bool) {
if o == nil || o.PostStart == nil {
return nil, false
}
return o.PostStart, true
}
// HasPostStart returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPostStart() bool {
if o != nil && o.PostStart != nil {
return true
}
return false
}
// SetPostStart gets a reference to the given []Hook and assigns it to the PostStart field.
func (o *ProvisionVDBByTimestampParameters) SetPostStart(v []Hook) {
o.PostStart = v
}
// GetPreStop returns the PreStop field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPreStop() []Hook {
if o == nil || o.PreStop == nil {
var ret []Hook
return ret
}
return o.PreStop
}
// GetPreStopOk returns a tuple with the PreStop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPreStopOk() ([]Hook, bool) {
if o == nil || o.PreStop == nil {
return nil, false
}
return o.PreStop, true
}
// HasPreStop returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPreStop() bool {
if o != nil && o.PreStop != nil {
return true
}
return false
}
// SetPreStop gets a reference to the given []Hook and assigns it to the PreStop field.
func (o *ProvisionVDBByTimestampParameters) SetPreStop(v []Hook) {
o.PreStop = v
}
// GetPostStop returns the PostStop field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetPostStop() []Hook {
if o == nil || o.PostStop == nil {
var ret []Hook
return ret
}
return o.PostStop
}
// GetPostStopOk returns a tuple with the PostStop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetPostStopOk() ([]Hook, bool) {
if o == nil || o.PostStop == nil {
return nil, false
}
return o.PostStop, true
}
// HasPostStop returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasPostStop() bool {
if o != nil && o.PostStop != nil {
return true
}
return false
}
// SetPostStop gets a reference to the given []Hook and assigns it to the PostStop field.
func (o *ProvisionVDBByTimestampParameters) SetPostStop(v []Hook) {
o.PostStop = v
}
// GetVdbRestart returns the VdbRestart field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetVdbRestart() bool {
if o == nil || o.VdbRestart == nil {
var ret bool
return ret
}
return *o.VdbRestart
}
// GetVdbRestartOk returns a tuple with the VdbRestart field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetVdbRestartOk() (*bool, bool) {
if o == nil || o.VdbRestart == nil {
return nil, false
}
return o.VdbRestart, true
}
// HasVdbRestart returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasVdbRestart() bool {
if o != nil && o.VdbRestart != nil {
return true
}
return false
}
// SetVdbRestart gets a reference to the given bool and assigns it to the VdbRestart field.
func (o *ProvisionVDBByTimestampParameters) SetVdbRestart(v bool) {
o.VdbRestart = &v
}
// GetTemplateId returns the TemplateId field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetTemplateId() string {
if o == nil || o.TemplateId == nil {
var ret string
return ret
}
return *o.TemplateId
}
// GetTemplateIdOk returns a tuple with the TemplateId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetTemplateIdOk() (*string, bool) {
if o == nil || o.TemplateId == nil {
return nil, false
}
return o.TemplateId, true
}
// HasTemplateId returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasTemplateId() bool {
if o != nil && o.TemplateId != nil {
return true
}
return false
}
// SetTemplateId gets a reference to the given string and assigns it to the TemplateId field.
func (o *ProvisionVDBByTimestampParameters) SetTemplateId(v string) {
o.TemplateId = &v
}
// GetFileMappingRules returns the FileMappingRules field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetFileMappingRules() string {
if o == nil || o.FileMappingRules == nil {
var ret string
return ret
}
return *o.FileMappingRules
}
// GetFileMappingRulesOk returns a tuple with the FileMappingRules field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetFileMappingRulesOk() (*string, bool) {
if o == nil || o.FileMappingRules == nil {
return nil, false
}
return o.FileMappingRules, true
}
// HasFileMappingRules returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasFileMappingRules() bool {
if o != nil && o.FileMappingRules != nil {
return true
}
return false
}
// SetFileMappingRules gets a reference to the given string and assigns it to the FileMappingRules field.
func (o *ProvisionVDBByTimestampParameters) SetFileMappingRules(v string) {
o.FileMappingRules = &v
}
// GetOracleInstanceName returns the OracleInstanceName field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetOracleInstanceName() string {
if o == nil || o.OracleInstanceName == nil {
var ret string
return ret
}
return *o.OracleInstanceName
}
// GetOracleInstanceNameOk returns a tuple with the OracleInstanceName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetOracleInstanceNameOk() (*string, bool) {
if o == nil || o.OracleInstanceName == nil {
return nil, false
}
return o.OracleInstanceName, true
}
// HasOracleInstanceName returns a boolean if a field has been set.
func (o *ProvisionVDBByTimestampParameters) HasOracleInstanceName() bool {
if o != nil && o.OracleInstanceName != nil {
return true
}
return false
}
// SetOracleInstanceName gets a reference to the given string and assigns it to the OracleInstanceName field.
func (o *ProvisionVDBByTimestampParameters) SetOracleInstanceName(v string) {
o.OracleInstanceName = &v
}
// GetUniqueName returns the UniqueName field value if set, zero value otherwise.
func (o *ProvisionVDBByTimestampParameters) GetUniqueName() string {
if o == nil || o.UniqueName == nil {
var ret string
return ret
}
return *o.UniqueName
}
// GetUniqueNameOk returns a tuple with the UniqueName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ProvisionVDBByTimestampParameters) GetUniqueNameOk() (*string, bool) {