Skip to content

Commit a52468c

Browse files
committed
chore: fmt
1 parent d806e71 commit a52468c

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

service/databases/model.go

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ type CreateDatabase struct {
2323
AverageItemSizeInBytes *int `json:"averageItemSizeInBytes,omitempty"`
2424
ReplicaOf []*string `json:"replicaOf,omitempty"`
2525
// Deprecated: Use RemoteBackup instead
26-
PeriodicBackupPath *string `json:"periodicBackupPath,omitempty"`
27-
SourceIP []*string `json:"sourceIp,omitempty"`
28-
ClientSSLCertificate *string `json:"clientSslCertificate,omitempty"`
29-
ClientTLSCertificates *[]*string `json:"clientTlsCertificates,omitempty"`
30-
Password *string `json:"password,omitempty"`
31-
Alerts []*Alert `json:"alerts,omitempty"`
32-
Modules []*Module `json:"modules,omitempty"`
33-
EnableTls *bool `json:"enableTls,omitempty"`
34-
PortNumber *int `json:"port,omitempty"`
35-
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
36-
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
37-
RedisVersion *string `json:"redisVersion,omitempty"`
38-
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
26+
PeriodicBackupPath *string `json:"periodicBackupPath,omitempty"`
27+
SourceIP []*string `json:"sourceIp,omitempty"`
28+
ClientSSLCertificate *string `json:"clientSslCertificate,omitempty"`
29+
ClientTLSCertificates *[]*string `json:"clientTlsCertificates,omitempty"`
30+
Password *string `json:"password,omitempty"`
31+
Alerts []*Alert `json:"alerts,omitempty"`
32+
Modules []*Module `json:"modules,omitempty"`
33+
EnableTls *bool `json:"enableTls,omitempty"`
34+
PortNumber *int `json:"port,omitempty"`
35+
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
36+
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
37+
RedisVersion *string `json:"redisVersion,omitempty"`
38+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
3939
}
4040

4141
func (o CreateDatabase) String() string {
@@ -56,34 +56,34 @@ type Database struct {
5656
Name *string `json:"name,omitempty"`
5757
Protocol *string `json:"protocol,omitempty"`
5858
// For filtering out active-active entries, this property should not be present in the JSON response
59-
ActiveActiveRedis *bool `json:"activeActiveRedis,omitempty"`
60-
Provider *string `json:"provider,omitempty"`
61-
Region *string `json:"region,omitempty"`
62-
Status *string `json:"status,omitempty"`
63-
MemoryLimitInGB *float64 `json:"memoryLimitInGb,omitempty"`
64-
DatasetSizeInGB *float64 `json:"datasetSizeInGb,omitempty"`
65-
MemoryUsedInMB *float64 `json:"memoryUsedInMb,omitempty"`
66-
SupportOSSClusterAPI *bool `json:"supportOSSClusterApi,omitempty"`
67-
RespVersion *string `json:"respVersion,omitempty"`
68-
DataPersistence *string `json:"dataPersistence,omitempty"`
69-
Replication *bool `json:"replication,omitempty"`
70-
DataEvictionPolicy *string `json:"dataEvictionPolicy,omitempty"`
71-
ThroughputMeasurement *Throughput `json:"throughputMeasurement,omitempty"`
72-
ReplicaOf *ReplicaOf `json:"replicaOf,omitempty"`
73-
Clustering *Clustering `json:"clustering,omitempty"`
74-
Security *Security `json:"security,omitempty"`
75-
Modules []*Module `json:"modules,omitempty"`
76-
Alerts []*Alert `json:"alerts,omitempty"`
77-
ActivatedOn *time.Time `json:"activatedOn,omitempty"`
78-
LastModified *time.Time `json:"lastModified,omitempty"`
79-
MemoryStorage *string `json:"memoryStorage,omitempty"`
80-
PrivateEndpoint *string `json:"privateEndpoint,omitempty"`
81-
PublicEndpoint *string `json:"publicEndpoint,omitempty"`
82-
RedisVersionCompliance *string `json:"redisVersionCompliance,omitempty"`
83-
Backup *Backup `json:"backup,omitempty"`
84-
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
85-
RedisVersion *string `json:"redisVersion,omitempty"`
86-
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
59+
ActiveActiveRedis *bool `json:"activeActiveRedis,omitempty"`
60+
Provider *string `json:"provider,omitempty"`
61+
Region *string `json:"region,omitempty"`
62+
Status *string `json:"status,omitempty"`
63+
MemoryLimitInGB *float64 `json:"memoryLimitInGb,omitempty"`
64+
DatasetSizeInGB *float64 `json:"datasetSizeInGb,omitempty"`
65+
MemoryUsedInMB *float64 `json:"memoryUsedInMb,omitempty"`
66+
SupportOSSClusterAPI *bool `json:"supportOSSClusterApi,omitempty"`
67+
RespVersion *string `json:"respVersion,omitempty"`
68+
DataPersistence *string `json:"dataPersistence,omitempty"`
69+
Replication *bool `json:"replication,omitempty"`
70+
DataEvictionPolicy *string `json:"dataEvictionPolicy,omitempty"`
71+
ThroughputMeasurement *Throughput `json:"throughputMeasurement,omitempty"`
72+
ReplicaOf *ReplicaOf `json:"replicaOf,omitempty"`
73+
Clustering *Clustering `json:"clustering,omitempty"`
74+
Security *Security `json:"security,omitempty"`
75+
Modules []*Module `json:"modules,omitempty"`
76+
Alerts []*Alert `json:"alerts,omitempty"`
77+
ActivatedOn *time.Time `json:"activatedOn,omitempty"`
78+
LastModified *time.Time `json:"lastModified,omitempty"`
79+
MemoryStorage *string `json:"memoryStorage,omitempty"`
80+
PrivateEndpoint *string `json:"privateEndpoint,omitempty"`
81+
PublicEndpoint *string `json:"publicEndpoint,omitempty"`
82+
RedisVersionCompliance *string `json:"redisVersionCompliance,omitempty"`
83+
Backup *Backup `json:"backup,omitempty"`
84+
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
85+
RedisVersion *string `json:"redisVersion,omitempty"`
86+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
8787
}
8888

8989
func (o Database) String() string {
@@ -175,12 +175,12 @@ type UpdateDatabase struct {
175175
// It's important to use a pointer here, because the terraform user may want to send an empty list.
176176
// In that case, the developer must pass a (pointer to a) non-nil, zero-length slice
177177
// If the developer really wants to omit this value, passing a nil slice value would work
178-
Alerts *[]*Alert `json:"alerts,omitempty"`
179-
EnableTls *bool `json:"enableTls,omitempty"`
180-
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
181-
EnableDefaultUser *bool `json:"enableDefaultUser,omitempty"`
182-
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
183-
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
178+
Alerts *[]*Alert `json:"alerts,omitempty"`
179+
EnableTls *bool `json:"enableTls,omitempty"`
180+
RemoteBackup *DatabaseBackupConfig `json:"remoteBackup,omitempty"`
181+
EnableDefaultUser *bool `json:"enableDefaultUser,omitempty"`
182+
QueryPerformanceFactor *string `json:"queryPerformanceFactor,omitempty"`
183+
AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty"`
184184
}
185185

186186
func (o UpdateDatabase) String() string {

0 commit comments

Comments
 (0)