From e26871bd7c0c56c8b6c01aa2d4dedbc7c1357a55 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 11 Dec 2024 15:02:32 +0000 Subject: [PATCH] Generate sqlserverflex --- services/sqlserverflex/model_acl.go | 2 +- services/sqlserverflex/model_backup.go | 16 +++++++-------- ...el_backup_list_backups_response_grouped.go | 4 ++-- .../model_create_database_payload.go | 4 ++-- .../model_create_database_response.go | 2 +- .../model_create_instance_payload.go | 16 +++++++-------- .../model_create_instance_payload_acl.go | 2 +- .../model_create_instance_payload_options.go | 4 ++-- .../model_create_instance_payload_storage.go | 4 ++-- .../model_create_instance_response.go | 2 +- .../model_create_user_payload.go | 6 +++--- .../model_create_user_response.go | 2 +- services/sqlserverflex/model_database.go | 6 +++--- ...ntation_create_database_request_options.go | 6 +++--- .../sqlserverflex/model_database_options.go | 6 +++--- services/sqlserverflex/model_flavor.go | 8 ++++---- .../model_get_backup_response.go | 16 +++++++-------- .../model_get_database_response.go | 2 +- .../model_get_instance_response.go | 2 +- .../sqlserverflex/model_get_user_response.go | 2 +- services/sqlserverflex/model_instance.go | 20 +++++++++---------- .../model_instance_documentation_acl.go | 2 +- .../model_instance_documentation_options.go | 4 ++-- .../model_instance_documentation_storage.go | 4 ++-- .../sqlserverflex/model_instance_error.go | 8 ++++---- .../model_instance_flavor_entry.go | 10 +++++----- .../model_instance_list_instance.go | 6 +++--- .../sqlserverflex/model_instance_list_user.go | 4 ++-- .../model_list_backups_response.go | 2 +- .../model_list_collations_response.go | 2 +- .../model_list_compatibility_response.go | 2 +- .../model_list_databases_response.go | 2 +- .../model_list_flavors_response.go | 2 +- .../model_list_instances_response.go | 4 ++-- .../model_list_restore_jobs_response.go | 2 +- .../model_list_roles_response.go | 2 +- .../model_list_storages_response.go | 4 ++-- .../model_list_users_response.go | 4 ++-- .../model_list_versions_response.go | 2 +- .../model_mssql_database_collation.go | 4 ++-- .../model_mssql_database_compatibility.go | 4 ++-- .../model_partial_update_instance_payload.go | 12 +++++------ .../model_reset_user_response.go | 2 +- .../model_restore_running_restore.go | 10 +++++----- .../sqlserverflex/model_single_database.go | 6 +++--- .../model_single_database_options.go | 6 +++--- services/sqlserverflex/model_single_user.go | 16 +++++++-------- services/sqlserverflex/model_storage.go | 4 ++-- services/sqlserverflex/model_storage_range.go | 4 ++-- .../model_trigger_database_restore_payload.go | 4 ++-- .../model_update_instance_payload.go | 12 +++++------ .../model_update_instance_response.go | 2 +- services/sqlserverflex/model_user.go | 16 +++++++-------- .../sqlserverflex/model_user_response_user.go | 12 +++++------ 54 files changed, 156 insertions(+), 156 deletions(-) diff --git a/services/sqlserverflex/model_acl.go b/services/sqlserverflex/model_acl.go index 31083b826..acf340e35 100644 --- a/services/sqlserverflex/model_acl.go +++ b/services/sqlserverflex/model_acl.go @@ -59,7 +59,7 @@ func (o *ACL) GetItemsOk() (*[]string, bool) { // HasItems returns a boolean if a field has been set. func (o *ACL) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } diff --git a/services/sqlserverflex/model_backup.go b/services/sqlserverflex/model_backup.go index 3696f0db4..54e1b321a 100644 --- a/services/sqlserverflex/model_backup.go +++ b/services/sqlserverflex/model_backup.go @@ -66,7 +66,7 @@ func (o *Backup) GetEndTimeOk() (*string, bool) { // HasEndTime returns a boolean if a field has been set. func (o *Backup) HasEndTime() bool { - if o != nil && !IsNil(o.EndTime) { + if o != nil && !IsNil(o.EndTime) && !IsNil(o.EndTime) { return true } @@ -98,7 +98,7 @@ func (o *Backup) GetErrorOk() (*string, bool) { // HasError returns a boolean if a field has been set. func (o *Backup) HasError() bool { - if o != nil && !IsNil(o.Error) { + if o != nil && !IsNil(o.Error) && !IsNil(o.Error) { return true } @@ -130,7 +130,7 @@ func (o *Backup) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *Backup) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -162,7 +162,7 @@ func (o *Backup) GetLabelsOk() (*[]string, bool) { // HasLabels returns a boolean if a field has been set. func (o *Backup) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -194,7 +194,7 @@ func (o *Backup) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *Backup) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -226,7 +226,7 @@ func (o *Backup) GetOptionsOk() (*map[string]string, bool) { // HasOptions returns a boolean if a field has been set. func (o *Backup) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } @@ -258,7 +258,7 @@ func (o *Backup) GetSizeOk() (*int64, bool) { // HasSize returns a boolean if a field has been set. func (o *Backup) HasSize() bool { - if o != nil && !IsNil(o.Size) { + if o != nil && !IsNil(o.Size) && !IsNil(o.Size) { return true } @@ -290,7 +290,7 @@ func (o *Backup) GetStartTimeOk() (*string, bool) { // HasStartTime returns a boolean if a field has been set. func (o *Backup) HasStartTime() bool { - if o != nil && !IsNil(o.StartTime) { + if o != nil && !IsNil(o.StartTime) && !IsNil(o.StartTime) { return true } diff --git a/services/sqlserverflex/model_backup_list_backups_response_grouped.go b/services/sqlserverflex/model_backup_list_backups_response_grouped.go index cfffef328..b728255e1 100644 --- a/services/sqlserverflex/model_backup_list_backups_response_grouped.go +++ b/services/sqlserverflex/model_backup_list_backups_response_grouped.go @@ -60,7 +60,7 @@ func (o *BackupListBackupsResponseGrouped) GetBackupsOk() (*[]Backup, bool) { // HasBackups returns a boolean if a field has been set. func (o *BackupListBackupsResponseGrouped) HasBackups() bool { - if o != nil && !IsNil(o.Backups) { + if o != nil && !IsNil(o.Backups) && !IsNil(o.Backups) { return true } @@ -92,7 +92,7 @@ func (o *BackupListBackupsResponseGrouped) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *BackupListBackupsResponseGrouped) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } diff --git a/services/sqlserverflex/model_create_database_payload.go b/services/sqlserverflex/model_create_database_payload.go index 6c3ba8df1..8df357eb6 100644 --- a/services/sqlserverflex/model_create_database_payload.go +++ b/services/sqlserverflex/model_create_database_payload.go @@ -48,7 +48,7 @@ func NewCreateDatabasePayloadWithDefaults() *CreateDatabasePayload { // GetName returns the Name field value func (o *CreateDatabasePayload) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } @@ -72,7 +72,7 @@ func (o *CreateDatabasePayload) SetName(v *string) { // GetOptions returns the Options field value func (o *CreateDatabasePayload) GetOptions() *DatabaseDocumentationCreateDatabaseRequestOptions { - if o == nil { + if o == nil || IsNil(o.Options) { var ret *DatabaseDocumentationCreateDatabaseRequestOptions return ret } diff --git a/services/sqlserverflex/model_create_database_response.go b/services/sqlserverflex/model_create_database_response.go index 72740e725..276f8d47a 100644 --- a/services/sqlserverflex/model_create_database_response.go +++ b/services/sqlserverflex/model_create_database_response.go @@ -59,7 +59,7 @@ func (o *CreateDatabaseResponse) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *CreateDatabaseResponse) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } diff --git a/services/sqlserverflex/model_create_instance_payload.go b/services/sqlserverflex/model_create_instance_payload.go index db9502da4..4ae2ca1a7 100644 --- a/services/sqlserverflex/model_create_instance_payload.go +++ b/services/sqlserverflex/model_create_instance_payload.go @@ -80,7 +80,7 @@ func (o *CreateInstancePayload) GetAclOk() (*CreateInstancePayloadAcl, bool) { // HasAcl returns a boolean if a field has been set. func (o *CreateInstancePayload) HasAcl() bool { - if o != nil && !IsNil(o.Acl) { + if o != nil && !IsNil(o.Acl) && !IsNil(o.Acl) { return true } @@ -112,7 +112,7 @@ func (o *CreateInstancePayload) GetBackupScheduleOk() (*string, bool) { // HasBackupSchedule returns a boolean if a field has been set. func (o *CreateInstancePayload) HasBackupSchedule() bool { - if o != nil && !IsNil(o.BackupSchedule) { + if o != nil && !IsNil(o.BackupSchedule) && !IsNil(o.BackupSchedule) { return true } @@ -126,7 +126,7 @@ func (o *CreateInstancePayload) SetBackupSchedule(v *string) { // GetFlavorId returns the FlavorId field value func (o *CreateInstancePayload) GetFlavorId() *string { - if o == nil { + if o == nil || IsNil(o.FlavorId) { var ret *string return ret } @@ -168,7 +168,7 @@ func (o *CreateInstancePayload) GetLabelsOk() (*map[string]interface{}, bool) { // HasLabels returns a boolean if a field has been set. func (o *CreateInstancePayload) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -182,7 +182,7 @@ func (o *CreateInstancePayload) SetLabels(v *map[string]interface{}) { // GetName returns the Name field value func (o *CreateInstancePayload) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } @@ -224,7 +224,7 @@ func (o *CreateInstancePayload) GetOptionsOk() (*CreateInstancePayloadOptions, b // HasOptions returns a boolean if a field has been set. func (o *CreateInstancePayload) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } @@ -256,7 +256,7 @@ func (o *CreateInstancePayload) GetStorageOk() (*CreateInstancePayloadStorage, b // HasStorage returns a boolean if a field has been set. func (o *CreateInstancePayload) HasStorage() bool { - if o != nil && !IsNil(o.Storage) { + if o != nil && !IsNil(o.Storage) && !IsNil(o.Storage) { return true } @@ -288,7 +288,7 @@ func (o *CreateInstancePayload) GetVersionOk() (*string, bool) { // HasVersion returns a boolean if a field has been set. func (o *CreateInstancePayload) HasVersion() bool { - if o != nil && !IsNil(o.Version) { + if o != nil && !IsNil(o.Version) && !IsNil(o.Version) { return true } diff --git a/services/sqlserverflex/model_create_instance_payload_acl.go b/services/sqlserverflex/model_create_instance_payload_acl.go index 312816fdf..a5ef14c63 100644 --- a/services/sqlserverflex/model_create_instance_payload_acl.go +++ b/services/sqlserverflex/model_create_instance_payload_acl.go @@ -60,7 +60,7 @@ func (o *CreateInstancePayloadAcl) GetItemsOk() (*[]string, bool) { // HasItems returns a boolean if a field has been set. func (o *CreateInstancePayloadAcl) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } diff --git a/services/sqlserverflex/model_create_instance_payload_options.go b/services/sqlserverflex/model_create_instance_payload_options.go index 5f1235e15..669ddbc67 100644 --- a/services/sqlserverflex/model_create_instance_payload_options.go +++ b/services/sqlserverflex/model_create_instance_payload_options.go @@ -70,7 +70,7 @@ func (o *CreateInstancePayloadOptions) GetEditionOk() (*string, bool) { // HasEdition returns a boolean if a field has been set. func (o *CreateInstancePayloadOptions) HasEdition() bool { - if o != nil && !IsNil(o.Edition) { + if o != nil && !IsNil(o.Edition) && !IsNil(o.Edition) { return true } @@ -102,7 +102,7 @@ func (o *CreateInstancePayloadOptions) GetRetentionDaysOk() (*string, bool) { // HasRetentionDays returns a boolean if a field has been set. func (o *CreateInstancePayloadOptions) HasRetentionDays() bool { - if o != nil && !IsNil(o.RetentionDays) { + if o != nil && !IsNil(o.RetentionDays) && !IsNil(o.RetentionDays) { return true } diff --git a/services/sqlserverflex/model_create_instance_payload_storage.go b/services/sqlserverflex/model_create_instance_payload_storage.go index 113065809..4ad0d7be7 100644 --- a/services/sqlserverflex/model_create_instance_payload_storage.go +++ b/services/sqlserverflex/model_create_instance_payload_storage.go @@ -66,7 +66,7 @@ func (o *CreateInstancePayloadStorage) GetClassOk() (*string, bool) { // HasClass returns a boolean if a field has been set. func (o *CreateInstancePayloadStorage) HasClass() bool { - if o != nil && !IsNil(o.Class) { + if o != nil && !IsNil(o.Class) && !IsNil(o.Class) { return true } @@ -98,7 +98,7 @@ func (o *CreateInstancePayloadStorage) GetSizeOk() (*int64, bool) { // HasSize returns a boolean if a field has been set. func (o *CreateInstancePayloadStorage) HasSize() bool { - if o != nil && !IsNil(o.Size) { + if o != nil && !IsNil(o.Size) && !IsNil(o.Size) { return true } diff --git a/services/sqlserverflex/model_create_instance_response.go b/services/sqlserverflex/model_create_instance_response.go index dcc0877be..8f3db3535 100644 --- a/services/sqlserverflex/model_create_instance_response.go +++ b/services/sqlserverflex/model_create_instance_response.go @@ -59,7 +59,7 @@ func (o *CreateInstanceResponse) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *CreateInstanceResponse) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } diff --git a/services/sqlserverflex/model_create_user_payload.go b/services/sqlserverflex/model_create_user_payload.go index 3b35e00f7..594562e51 100644 --- a/services/sqlserverflex/model_create_user_payload.go +++ b/services/sqlserverflex/model_create_user_payload.go @@ -67,7 +67,7 @@ func (o *CreateUserPayload) GetDefaultDatabaseOk() (*string, bool) { // HasDefaultDatabase returns a boolean if a field has been set. func (o *CreateUserPayload) HasDefaultDatabase() bool { - if o != nil && !IsNil(o.DefaultDatabase) { + if o != nil && !IsNil(o.DefaultDatabase) && !IsNil(o.DefaultDatabase) { return true } @@ -81,7 +81,7 @@ func (o *CreateUserPayload) SetDefaultDatabase(v *string) { // GetRoles returns the Roles field value func (o *CreateUserPayload) GetRoles() *[]string { - if o == nil { + if o == nil || IsNil(o.Roles) { var ret *[]string return ret } @@ -105,7 +105,7 @@ func (o *CreateUserPayload) SetRoles(v *[]string) { // GetUsername returns the Username field value func (o *CreateUserPayload) GetUsername() *string { - if o == nil { + if o == nil || IsNil(o.Username) { var ret *string return ret } diff --git a/services/sqlserverflex/model_create_user_response.go b/services/sqlserverflex/model_create_user_response.go index eab53af6e..49f1b93a0 100644 --- a/services/sqlserverflex/model_create_user_response.go +++ b/services/sqlserverflex/model_create_user_response.go @@ -59,7 +59,7 @@ func (o *CreateUserResponse) GetItemOk() (*SingleUser, bool) { // HasItem returns a boolean if a field has been set. func (o *CreateUserResponse) HasItem() bool { - if o != nil && !IsNil(o.Item) { + if o != nil && !IsNil(o.Item) && !IsNil(o.Item) { return true } diff --git a/services/sqlserverflex/model_database.go b/services/sqlserverflex/model_database.go index 8b3db5c50..26109bbd4 100644 --- a/services/sqlserverflex/model_database.go +++ b/services/sqlserverflex/model_database.go @@ -62,7 +62,7 @@ func (o *Database) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *Database) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -94,7 +94,7 @@ func (o *Database) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *Database) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -126,7 +126,7 @@ func (o *Database) GetOptionsOk() (*map[string]interface{}, bool) { // HasOptions returns a boolean if a field has been set. func (o *Database) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } diff --git a/services/sqlserverflex/model_database_documentation_create_database_request_options.go b/services/sqlserverflex/model_database_documentation_create_database_request_options.go index d2eceb9d7..c648d1748 100644 --- a/services/sqlserverflex/model_database_documentation_create_database_request_options.go +++ b/services/sqlserverflex/model_database_documentation_create_database_request_options.go @@ -68,7 +68,7 @@ func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCollationOk() (*s // HasCollation returns a boolean if a field has been set. func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCollation() bool { - if o != nil && !IsNil(o.Collation) { + if o != nil && !IsNil(o.Collation) && !IsNil(o.Collation) { return true } @@ -100,7 +100,7 @@ func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetCompatibilityLeve // HasCompatibilityLevel returns a boolean if a field has been set. func (o *DatabaseDocumentationCreateDatabaseRequestOptions) HasCompatibilityLevel() bool { - if o != nil && !IsNil(o.CompatibilityLevel) { + if o != nil && !IsNil(o.CompatibilityLevel) && !IsNil(o.CompatibilityLevel) { return true } @@ -114,7 +114,7 @@ func (o *DatabaseDocumentationCreateDatabaseRequestOptions) SetCompatibilityLeve // GetOwner returns the Owner field value func (o *DatabaseDocumentationCreateDatabaseRequestOptions) GetOwner() *string { - if o == nil { + if o == nil || IsNil(o.Owner) { var ret *string return ret } diff --git a/services/sqlserverflex/model_database_options.go b/services/sqlserverflex/model_database_options.go index 59fd664f8..a133b834c 100644 --- a/services/sqlserverflex/model_database_options.go +++ b/services/sqlserverflex/model_database_options.go @@ -64,7 +64,7 @@ func (o *DatabaseOptions) GetCollationNameOk() (*string, bool) { // HasCollationName returns a boolean if a field has been set. func (o *DatabaseOptions) HasCollationName() bool { - if o != nil && !IsNil(o.CollationName) { + if o != nil && !IsNil(o.CollationName) && !IsNil(o.CollationName) { return true } @@ -96,7 +96,7 @@ func (o *DatabaseOptions) GetCompatibilityLevelOk() (*int64, bool) { // HasCompatibilityLevel returns a boolean if a field has been set. func (o *DatabaseOptions) HasCompatibilityLevel() bool { - if o != nil && !IsNil(o.CompatibilityLevel) { + if o != nil && !IsNil(o.CompatibilityLevel) && !IsNil(o.CompatibilityLevel) { return true } @@ -128,7 +128,7 @@ func (o *DatabaseOptions) GetOwnerOk() (*string, bool) { // HasOwner returns a boolean if a field has been set. func (o *DatabaseOptions) HasOwner() bool { - if o != nil && !IsNil(o.Owner) { + if o != nil && !IsNil(o.Owner) && !IsNil(o.Owner) { return true } diff --git a/services/sqlserverflex/model_flavor.go b/services/sqlserverflex/model_flavor.go index ff88385d7..87188d089 100644 --- a/services/sqlserverflex/model_flavor.go +++ b/services/sqlserverflex/model_flavor.go @@ -62,7 +62,7 @@ func (o *Flavor) GetCpuOk() (*int64, bool) { // HasCpu returns a boolean if a field has been set. func (o *Flavor) HasCpu() bool { - if o != nil && !IsNil(o.Cpu) { + if o != nil && !IsNil(o.Cpu) && !IsNil(o.Cpu) { return true } @@ -94,7 +94,7 @@ func (o *Flavor) GetDescriptionOk() (*string, bool) { // HasDescription returns a boolean if a field has been set. func (o *Flavor) HasDescription() bool { - if o != nil && !IsNil(o.Description) { + if o != nil && !IsNil(o.Description) && !IsNil(o.Description) { return true } @@ -126,7 +126,7 @@ func (o *Flavor) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *Flavor) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -158,7 +158,7 @@ func (o *Flavor) GetMemoryOk() (*int64, bool) { // HasMemory returns a boolean if a field has been set. func (o *Flavor) HasMemory() bool { - if o != nil && !IsNil(o.Memory) { + if o != nil && !IsNil(o.Memory) && !IsNil(o.Memory) { return true } diff --git a/services/sqlserverflex/model_get_backup_response.go b/services/sqlserverflex/model_get_backup_response.go index 4f4dc110a..9d75ea76b 100644 --- a/services/sqlserverflex/model_get_backup_response.go +++ b/services/sqlserverflex/model_get_backup_response.go @@ -74,7 +74,7 @@ func (o *GetBackupResponse) GetEndTimeOk() (*string, bool) { // HasEndTime returns a boolean if a field has been set. func (o *GetBackupResponse) HasEndTime() bool { - if o != nil && !IsNil(o.EndTime) { + if o != nil && !IsNil(o.EndTime) && !IsNil(o.EndTime) { return true } @@ -106,7 +106,7 @@ func (o *GetBackupResponse) GetErrorOk() (*string, bool) { // HasError returns a boolean if a field has been set. func (o *GetBackupResponse) HasError() bool { - if o != nil && !IsNil(o.Error) { + if o != nil && !IsNil(o.Error) && !IsNil(o.Error) { return true } @@ -138,7 +138,7 @@ func (o *GetBackupResponse) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *GetBackupResponse) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -170,7 +170,7 @@ func (o *GetBackupResponse) GetLabelsOk() (*[]string, bool) { // HasLabels returns a boolean if a field has been set. func (o *GetBackupResponse) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -202,7 +202,7 @@ func (o *GetBackupResponse) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *GetBackupResponse) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -234,7 +234,7 @@ func (o *GetBackupResponse) GetOptionsOk() (*map[string]string, bool) { // HasOptions returns a boolean if a field has been set. func (o *GetBackupResponse) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } @@ -266,7 +266,7 @@ func (o *GetBackupResponse) GetSizeOk() (*int64, bool) { // HasSize returns a boolean if a field has been set. func (o *GetBackupResponse) HasSize() bool { - if o != nil && !IsNil(o.Size) { + if o != nil && !IsNil(o.Size) && !IsNil(o.Size) { return true } @@ -298,7 +298,7 @@ func (o *GetBackupResponse) GetStartTimeOk() (*string, bool) { // HasStartTime returns a boolean if a field has been set. func (o *GetBackupResponse) HasStartTime() bool { - if o != nil && !IsNil(o.StartTime) { + if o != nil && !IsNil(o.StartTime) && !IsNil(o.StartTime) { return true } diff --git a/services/sqlserverflex/model_get_database_response.go b/services/sqlserverflex/model_get_database_response.go index e0e5030b9..646ed2620 100644 --- a/services/sqlserverflex/model_get_database_response.go +++ b/services/sqlserverflex/model_get_database_response.go @@ -59,7 +59,7 @@ func (o *GetDatabaseResponse) GetDatabaseOk() (*SingleDatabase, bool) { // HasDatabase returns a boolean if a field has been set. func (o *GetDatabaseResponse) HasDatabase() bool { - if o != nil && !IsNil(o.Database) { + if o != nil && !IsNil(o.Database) && !IsNil(o.Database) { return true } diff --git a/services/sqlserverflex/model_get_instance_response.go b/services/sqlserverflex/model_get_instance_response.go index 31e51a9f0..c65f3ca39 100644 --- a/services/sqlserverflex/model_get_instance_response.go +++ b/services/sqlserverflex/model_get_instance_response.go @@ -59,7 +59,7 @@ func (o *GetInstanceResponse) GetItemOk() (*Instance, bool) { // HasItem returns a boolean if a field has been set. func (o *GetInstanceResponse) HasItem() bool { - if o != nil && !IsNil(o.Item) { + if o != nil && !IsNil(o.Item) && !IsNil(o.Item) { return true } diff --git a/services/sqlserverflex/model_get_user_response.go b/services/sqlserverflex/model_get_user_response.go index 892144630..dc192399c 100644 --- a/services/sqlserverflex/model_get_user_response.go +++ b/services/sqlserverflex/model_get_user_response.go @@ -59,7 +59,7 @@ func (o *GetUserResponse) GetItemOk() (*UserResponseUser, bool) { // HasItem returns a boolean if a field has been set. func (o *GetUserResponse) HasItem() bool { - if o != nil && !IsNil(o.Item) { + if o != nil && !IsNil(o.Item) && !IsNil(o.Item) { return true } diff --git a/services/sqlserverflex/model_instance.go b/services/sqlserverflex/model_instance.go index 8ba3e995f..298ac89b2 100644 --- a/services/sqlserverflex/model_instance.go +++ b/services/sqlserverflex/model_instance.go @@ -68,7 +68,7 @@ func (o *Instance) GetAclOk() (*ACL, bool) { // HasAcl returns a boolean if a field has been set. func (o *Instance) HasAcl() bool { - if o != nil && !IsNil(o.Acl) { + if o != nil && !IsNil(o.Acl) && !IsNil(o.Acl) { return true } @@ -100,7 +100,7 @@ func (o *Instance) GetBackupScheduleOk() (*string, bool) { // HasBackupSchedule returns a boolean if a field has been set. func (o *Instance) HasBackupSchedule() bool { - if o != nil && !IsNil(o.BackupSchedule) { + if o != nil && !IsNil(o.BackupSchedule) && !IsNil(o.BackupSchedule) { return true } @@ -132,7 +132,7 @@ func (o *Instance) GetFlavorOk() (*Flavor, bool) { // HasFlavor returns a boolean if a field has been set. func (o *Instance) HasFlavor() bool { - if o != nil && !IsNil(o.Flavor) { + if o != nil && !IsNil(o.Flavor) && !IsNil(o.Flavor) { return true } @@ -164,7 +164,7 @@ func (o *Instance) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *Instance) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -196,7 +196,7 @@ func (o *Instance) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *Instance) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -228,7 +228,7 @@ func (o *Instance) GetOptionsOk() (*map[string]string, bool) { // HasOptions returns a boolean if a field has been set. func (o *Instance) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } @@ -260,7 +260,7 @@ func (o *Instance) GetReplicasOk() (*int64, bool) { // HasReplicas returns a boolean if a field has been set. func (o *Instance) HasReplicas() bool { - if o != nil && !IsNil(o.Replicas) { + if o != nil && !IsNil(o.Replicas) && !IsNil(o.Replicas) { return true } @@ -292,7 +292,7 @@ func (o *Instance) GetStatusOk() (*string, bool) { // HasStatus returns a boolean if a field has been set. func (o *Instance) HasStatus() bool { - if o != nil && !IsNil(o.Status) { + if o != nil && !IsNil(o.Status) && !IsNil(o.Status) { return true } @@ -324,7 +324,7 @@ func (o *Instance) GetStorageOk() (*Storage, bool) { // HasStorage returns a boolean if a field has been set. func (o *Instance) HasStorage() bool { - if o != nil && !IsNil(o.Storage) { + if o != nil && !IsNil(o.Storage) && !IsNil(o.Storage) { return true } @@ -356,7 +356,7 @@ func (o *Instance) GetVersionOk() (*string, bool) { // HasVersion returns a boolean if a field has been set. func (o *Instance) HasVersion() bool { - if o != nil && !IsNil(o.Version) { + if o != nil && !IsNil(o.Version) && !IsNil(o.Version) { return true } diff --git a/services/sqlserverflex/model_instance_documentation_acl.go b/services/sqlserverflex/model_instance_documentation_acl.go index c04b580cc..6d480ee7a 100644 --- a/services/sqlserverflex/model_instance_documentation_acl.go +++ b/services/sqlserverflex/model_instance_documentation_acl.go @@ -60,7 +60,7 @@ func (o *InstanceDocumentationACL) GetItemsOk() (*[]string, bool) { // HasItems returns a boolean if a field has been set. func (o *InstanceDocumentationACL) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } diff --git a/services/sqlserverflex/model_instance_documentation_options.go b/services/sqlserverflex/model_instance_documentation_options.go index 256c4c39e..5aaf70931 100644 --- a/services/sqlserverflex/model_instance_documentation_options.go +++ b/services/sqlserverflex/model_instance_documentation_options.go @@ -70,7 +70,7 @@ func (o *InstanceDocumentationOptions) GetEditionOk() (*string, bool) { // HasEdition returns a boolean if a field has been set. func (o *InstanceDocumentationOptions) HasEdition() bool { - if o != nil && !IsNil(o.Edition) { + if o != nil && !IsNil(o.Edition) && !IsNil(o.Edition) { return true } @@ -102,7 +102,7 @@ func (o *InstanceDocumentationOptions) GetRetentionDaysOk() (*string, bool) { // HasRetentionDays returns a boolean if a field has been set. func (o *InstanceDocumentationOptions) HasRetentionDays() bool { - if o != nil && !IsNil(o.RetentionDays) { + if o != nil && !IsNil(o.RetentionDays) && !IsNil(o.RetentionDays) { return true } diff --git a/services/sqlserverflex/model_instance_documentation_storage.go b/services/sqlserverflex/model_instance_documentation_storage.go index d9685977e..9bbea90dc 100644 --- a/services/sqlserverflex/model_instance_documentation_storage.go +++ b/services/sqlserverflex/model_instance_documentation_storage.go @@ -66,7 +66,7 @@ func (o *InstanceDocumentationStorage) GetClassOk() (*string, bool) { // HasClass returns a boolean if a field has been set. func (o *InstanceDocumentationStorage) HasClass() bool { - if o != nil && !IsNil(o.Class) { + if o != nil && !IsNil(o.Class) && !IsNil(o.Class) { return true } @@ -98,7 +98,7 @@ func (o *InstanceDocumentationStorage) GetSizeOk() (*int64, bool) { // HasSize returns a boolean if a field has been set. func (o *InstanceDocumentationStorage) HasSize() bool { - if o != nil && !IsNil(o.Size) { + if o != nil && !IsNil(o.Size) && !IsNil(o.Size) { return true } diff --git a/services/sqlserverflex/model_instance_error.go b/services/sqlserverflex/model_instance_error.go index 05e47fcd9..279225297 100644 --- a/services/sqlserverflex/model_instance_error.go +++ b/services/sqlserverflex/model_instance_error.go @@ -62,7 +62,7 @@ func (o *InstanceError) GetCodeOk() (*int64, bool) { // HasCode returns a boolean if a field has been set. func (o *InstanceError) HasCode() bool { - if o != nil && !IsNil(o.Code) { + if o != nil && !IsNil(o.Code) && !IsNil(o.Code) { return true } @@ -94,7 +94,7 @@ func (o *InstanceError) GetFieldsOk() (*map[string][]string, bool) { // HasFields returns a boolean if a field has been set. func (o *InstanceError) HasFields() bool { - if o != nil && !IsNil(o.Fields) { + if o != nil && !IsNil(o.Fields) && !IsNil(o.Fields) { return true } @@ -126,7 +126,7 @@ func (o *InstanceError) GetMessageOk() (*string, bool) { // HasMessage returns a boolean if a field has been set. func (o *InstanceError) HasMessage() bool { - if o != nil && !IsNil(o.Message) { + if o != nil && !IsNil(o.Message) && !IsNil(o.Message) { return true } @@ -158,7 +158,7 @@ func (o *InstanceError) GetTypeOk() (*Type, bool) { // HasType returns a boolean if a field has been set. func (o *InstanceError) HasType() bool { - if o != nil && !IsNil(o.Type) { + if o != nil && !IsNil(o.Type) && !IsNil(o.Type) { return true } diff --git a/services/sqlserverflex/model_instance_flavor_entry.go b/services/sqlserverflex/model_instance_flavor_entry.go index 10cc8c6c1..5f9d934ad 100644 --- a/services/sqlserverflex/model_instance_flavor_entry.go +++ b/services/sqlserverflex/model_instance_flavor_entry.go @@ -63,7 +63,7 @@ func (o *InstanceFlavorEntry) GetCategoriesOk() (*string, bool) { // HasCategories returns a boolean if a field has been set. func (o *InstanceFlavorEntry) HasCategories() bool { - if o != nil && !IsNil(o.Categories) { + if o != nil && !IsNil(o.Categories) && !IsNil(o.Categories) { return true } @@ -95,7 +95,7 @@ func (o *InstanceFlavorEntry) GetCpuOk() (*int64, bool) { // HasCpu returns a boolean if a field has been set. func (o *InstanceFlavorEntry) HasCpu() bool { - if o != nil && !IsNil(o.Cpu) { + if o != nil && !IsNil(o.Cpu) && !IsNil(o.Cpu) { return true } @@ -127,7 +127,7 @@ func (o *InstanceFlavorEntry) GetDescriptionOk() (*string, bool) { // HasDescription returns a boolean if a field has been set. func (o *InstanceFlavorEntry) HasDescription() bool { - if o != nil && !IsNil(o.Description) { + if o != nil && !IsNil(o.Description) && !IsNil(o.Description) { return true } @@ -159,7 +159,7 @@ func (o *InstanceFlavorEntry) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *InstanceFlavorEntry) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -191,7 +191,7 @@ func (o *InstanceFlavorEntry) GetMemoryOk() (*int64, bool) { // HasMemory returns a boolean if a field has been set. func (o *InstanceFlavorEntry) HasMemory() bool { - if o != nil && !IsNil(o.Memory) { + if o != nil && !IsNil(o.Memory) && !IsNil(o.Memory) { return true } diff --git a/services/sqlserverflex/model_instance_list_instance.go b/services/sqlserverflex/model_instance_list_instance.go index 0a6e5abec..a5eededd3 100644 --- a/services/sqlserverflex/model_instance_list_instance.go +++ b/services/sqlserverflex/model_instance_list_instance.go @@ -61,7 +61,7 @@ func (o *InstanceListInstance) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *InstanceListInstance) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -93,7 +93,7 @@ func (o *InstanceListInstance) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *InstanceListInstance) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -125,7 +125,7 @@ func (o *InstanceListInstance) GetStatusOk() (*string, bool) { // HasStatus returns a boolean if a field has been set. func (o *InstanceListInstance) HasStatus() bool { - if o != nil && !IsNil(o.Status) { + if o != nil && !IsNil(o.Status) && !IsNil(o.Status) { return true } diff --git a/services/sqlserverflex/model_instance_list_user.go b/services/sqlserverflex/model_instance_list_user.go index d0aa817a7..53e30b7ed 100644 --- a/services/sqlserverflex/model_instance_list_user.go +++ b/services/sqlserverflex/model_instance_list_user.go @@ -60,7 +60,7 @@ func (o *InstanceListUser) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *InstanceListUser) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -92,7 +92,7 @@ func (o *InstanceListUser) GetUsernameOk() (*string, bool) { // HasUsername returns a boolean if a field has been set. func (o *InstanceListUser) HasUsername() bool { - if o != nil && !IsNil(o.Username) { + if o != nil && !IsNil(o.Username) && !IsNil(o.Username) { return true } diff --git a/services/sqlserverflex/model_list_backups_response.go b/services/sqlserverflex/model_list_backups_response.go index 00b1acea3..3648bfad0 100644 --- a/services/sqlserverflex/model_list_backups_response.go +++ b/services/sqlserverflex/model_list_backups_response.go @@ -59,7 +59,7 @@ func (o *ListBackupsResponse) GetDatabasesOk() (*[]BackupListBackupsResponseGrou // HasDatabases returns a boolean if a field has been set. func (o *ListBackupsResponse) HasDatabases() bool { - if o != nil && !IsNil(o.Databases) { + if o != nil && !IsNil(o.Databases) && !IsNil(o.Databases) { return true } diff --git a/services/sqlserverflex/model_list_collations_response.go b/services/sqlserverflex/model_list_collations_response.go index 68bb9bbb2..6edf52269 100644 --- a/services/sqlserverflex/model_list_collations_response.go +++ b/services/sqlserverflex/model_list_collations_response.go @@ -59,7 +59,7 @@ func (o *ListCollationsResponse) GetCollationsOk() (*[]MssqlDatabaseCollation, b // HasCollations returns a boolean if a field has been set. func (o *ListCollationsResponse) HasCollations() bool { - if o != nil && !IsNil(o.Collations) { + if o != nil && !IsNil(o.Collations) && !IsNil(o.Collations) { return true } diff --git a/services/sqlserverflex/model_list_compatibility_response.go b/services/sqlserverflex/model_list_compatibility_response.go index 12d2de1ea..2415ec6cd 100644 --- a/services/sqlserverflex/model_list_compatibility_response.go +++ b/services/sqlserverflex/model_list_compatibility_response.go @@ -59,7 +59,7 @@ func (o *ListCompatibilityResponse) GetCompatibilitiesOk() (*[]MssqlDatabaseComp // HasCompatibilities returns a boolean if a field has been set. func (o *ListCompatibilityResponse) HasCompatibilities() bool { - if o != nil && !IsNil(o.Compatibilities) { + if o != nil && !IsNil(o.Compatibilities) && !IsNil(o.Compatibilities) { return true } diff --git a/services/sqlserverflex/model_list_databases_response.go b/services/sqlserverflex/model_list_databases_response.go index a3da66777..84754a92e 100644 --- a/services/sqlserverflex/model_list_databases_response.go +++ b/services/sqlserverflex/model_list_databases_response.go @@ -59,7 +59,7 @@ func (o *ListDatabasesResponse) GetDatabasesOk() (*[]Database, bool) { // HasDatabases returns a boolean if a field has been set. func (o *ListDatabasesResponse) HasDatabases() bool { - if o != nil && !IsNil(o.Databases) { + if o != nil && !IsNil(o.Databases) && !IsNil(o.Databases) { return true } diff --git a/services/sqlserverflex/model_list_flavors_response.go b/services/sqlserverflex/model_list_flavors_response.go index 4beea690e..35aad26f2 100644 --- a/services/sqlserverflex/model_list_flavors_response.go +++ b/services/sqlserverflex/model_list_flavors_response.go @@ -59,7 +59,7 @@ func (o *ListFlavorsResponse) GetFlavorsOk() (*[]InstanceFlavorEntry, bool) { // HasFlavors returns a boolean if a field has been set. func (o *ListFlavorsResponse) HasFlavors() bool { - if o != nil && !IsNil(o.Flavors) { + if o != nil && !IsNil(o.Flavors) && !IsNil(o.Flavors) { return true } diff --git a/services/sqlserverflex/model_list_instances_response.go b/services/sqlserverflex/model_list_instances_response.go index 3f95e9f87..00b81b706 100644 --- a/services/sqlserverflex/model_list_instances_response.go +++ b/services/sqlserverflex/model_list_instances_response.go @@ -60,7 +60,7 @@ func (o *ListInstancesResponse) GetCountOk() (*int64, bool) { // HasCount returns a boolean if a field has been set. func (o *ListInstancesResponse) HasCount() bool { - if o != nil && !IsNil(o.Count) { + if o != nil && !IsNil(o.Count) && !IsNil(o.Count) { return true } @@ -92,7 +92,7 @@ func (o *ListInstancesResponse) GetItemsOk() (*[]InstanceListInstance, bool) { // HasItems returns a boolean if a field has been set. func (o *ListInstancesResponse) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } diff --git a/services/sqlserverflex/model_list_restore_jobs_response.go b/services/sqlserverflex/model_list_restore_jobs_response.go index 5e5ff5d9d..f834b3a43 100644 --- a/services/sqlserverflex/model_list_restore_jobs_response.go +++ b/services/sqlserverflex/model_list_restore_jobs_response.go @@ -59,7 +59,7 @@ func (o *ListRestoreJobsResponse) GetRunningRestoresOk() (*[]RestoreRunningResto // HasRunningRestores returns a boolean if a field has been set. func (o *ListRestoreJobsResponse) HasRunningRestores() bool { - if o != nil && !IsNil(o.RunningRestores) { + if o != nil && !IsNil(o.RunningRestores) && !IsNil(o.RunningRestores) { return true } diff --git a/services/sqlserverflex/model_list_roles_response.go b/services/sqlserverflex/model_list_roles_response.go index d9a7dcc2a..085e0875f 100644 --- a/services/sqlserverflex/model_list_roles_response.go +++ b/services/sqlserverflex/model_list_roles_response.go @@ -59,7 +59,7 @@ func (o *ListRolesResponse) GetRolesOk() (*[]string, bool) { // HasRoles returns a boolean if a field has been set. func (o *ListRolesResponse) HasRoles() bool { - if o != nil && !IsNil(o.Roles) { + if o != nil && !IsNil(o.Roles) && !IsNil(o.Roles) { return true } diff --git a/services/sqlserverflex/model_list_storages_response.go b/services/sqlserverflex/model_list_storages_response.go index 2e4d7e678..68bb79a22 100644 --- a/services/sqlserverflex/model_list_storages_response.go +++ b/services/sqlserverflex/model_list_storages_response.go @@ -60,7 +60,7 @@ func (o *ListStoragesResponse) GetStorageClassesOk() (*[]string, bool) { // HasStorageClasses returns a boolean if a field has been set. func (o *ListStoragesResponse) HasStorageClasses() bool { - if o != nil && !IsNil(o.StorageClasses) { + if o != nil && !IsNil(o.StorageClasses) && !IsNil(o.StorageClasses) { return true } @@ -92,7 +92,7 @@ func (o *ListStoragesResponse) GetStorageRangeOk() (*StorageRange, bool) { // HasStorageRange returns a boolean if a field has been set. func (o *ListStoragesResponse) HasStorageRange() bool { - if o != nil && !IsNil(o.StorageRange) { + if o != nil && !IsNil(o.StorageRange) && !IsNil(o.StorageRange) { return true } diff --git a/services/sqlserverflex/model_list_users_response.go b/services/sqlserverflex/model_list_users_response.go index ea8e357dd..7989fe4e5 100644 --- a/services/sqlserverflex/model_list_users_response.go +++ b/services/sqlserverflex/model_list_users_response.go @@ -60,7 +60,7 @@ func (o *ListUsersResponse) GetCountOk() (*int64, bool) { // HasCount returns a boolean if a field has been set. func (o *ListUsersResponse) HasCount() bool { - if o != nil && !IsNil(o.Count) { + if o != nil && !IsNil(o.Count) && !IsNil(o.Count) { return true } @@ -92,7 +92,7 @@ func (o *ListUsersResponse) GetItemsOk() (*[]InstanceListUser, bool) { // HasItems returns a boolean if a field has been set. func (o *ListUsersResponse) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } diff --git a/services/sqlserverflex/model_list_versions_response.go b/services/sqlserverflex/model_list_versions_response.go index 7fb02db4c..fdef92bc3 100644 --- a/services/sqlserverflex/model_list_versions_response.go +++ b/services/sqlserverflex/model_list_versions_response.go @@ -59,7 +59,7 @@ func (o *ListVersionsResponse) GetVersionsOk() (*[]string, bool) { // HasVersions returns a boolean if a field has been set. func (o *ListVersionsResponse) HasVersions() bool { - if o != nil && !IsNil(o.Versions) { + if o != nil && !IsNil(o.Versions) && !IsNil(o.Versions) { return true } diff --git a/services/sqlserverflex/model_mssql_database_collation.go b/services/sqlserverflex/model_mssql_database_collation.go index d9047fc89..618060613 100644 --- a/services/sqlserverflex/model_mssql_database_collation.go +++ b/services/sqlserverflex/model_mssql_database_collation.go @@ -60,7 +60,7 @@ func (o *MssqlDatabaseCollation) GetCollationNameOk() (*string, bool) { // HasCollationName returns a boolean if a field has been set. func (o *MssqlDatabaseCollation) HasCollationName() bool { - if o != nil && !IsNil(o.CollationName) { + if o != nil && !IsNil(o.CollationName) && !IsNil(o.CollationName) { return true } @@ -92,7 +92,7 @@ func (o *MssqlDatabaseCollation) GetDescriptionOk() (*string, bool) { // HasDescription returns a boolean if a field has been set. func (o *MssqlDatabaseCollation) HasDescription() bool { - if o != nil && !IsNil(o.Description) { + if o != nil && !IsNil(o.Description) && !IsNil(o.Description) { return true } diff --git a/services/sqlserverflex/model_mssql_database_compatibility.go b/services/sqlserverflex/model_mssql_database_compatibility.go index 500d98bd4..1d7499a17 100644 --- a/services/sqlserverflex/model_mssql_database_compatibility.go +++ b/services/sqlserverflex/model_mssql_database_compatibility.go @@ -60,7 +60,7 @@ func (o *MssqlDatabaseCompatibility) GetCompatibilityLevelOk() (*int64, bool) { // HasCompatibilityLevel returns a boolean if a field has been set. func (o *MssqlDatabaseCompatibility) HasCompatibilityLevel() bool { - if o != nil && !IsNil(o.CompatibilityLevel) { + if o != nil && !IsNil(o.CompatibilityLevel) && !IsNil(o.CompatibilityLevel) { return true } @@ -92,7 +92,7 @@ func (o *MssqlDatabaseCompatibility) GetDescriptionOk() (*string, bool) { // HasDescription returns a boolean if a field has been set. func (o *MssqlDatabaseCompatibility) HasDescription() bool { - if o != nil && !IsNil(o.Description) { + if o != nil && !IsNil(o.Description) && !IsNil(o.Description) { return true } diff --git a/services/sqlserverflex/model_partial_update_instance_payload.go b/services/sqlserverflex/model_partial_update_instance_payload.go index b41ed4007..db831d91e 100644 --- a/services/sqlserverflex/model_partial_update_instance_payload.go +++ b/services/sqlserverflex/model_partial_update_instance_payload.go @@ -72,7 +72,7 @@ func (o *PartialUpdateInstancePayload) GetAclOk() (*CreateInstancePayloadAcl, bo // HasAcl returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasAcl() bool { - if o != nil && !IsNil(o.Acl) { + if o != nil && !IsNil(o.Acl) && !IsNil(o.Acl) { return true } @@ -104,7 +104,7 @@ func (o *PartialUpdateInstancePayload) GetBackupScheduleOk() (*string, bool) { // HasBackupSchedule returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasBackupSchedule() bool { - if o != nil && !IsNil(o.BackupSchedule) { + if o != nil && !IsNil(o.BackupSchedule) && !IsNil(o.BackupSchedule) { return true } @@ -136,7 +136,7 @@ func (o *PartialUpdateInstancePayload) GetFlavorIdOk() (*string, bool) { // HasFlavorId returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasFlavorId() bool { - if o != nil && !IsNil(o.FlavorId) { + if o != nil && !IsNil(o.FlavorId) && !IsNil(o.FlavorId) { return true } @@ -168,7 +168,7 @@ func (o *PartialUpdateInstancePayload) GetLabelsOk() (*map[string]interface{}, b // HasLabels returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -200,7 +200,7 @@ func (o *PartialUpdateInstancePayload) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -232,7 +232,7 @@ func (o *PartialUpdateInstancePayload) GetVersionOk() (*string, bool) { // HasVersion returns a boolean if a field has been set. func (o *PartialUpdateInstancePayload) HasVersion() bool { - if o != nil && !IsNil(o.Version) { + if o != nil && !IsNil(o.Version) && !IsNil(o.Version) { return true } diff --git a/services/sqlserverflex/model_reset_user_response.go b/services/sqlserverflex/model_reset_user_response.go index fc281c25c..c64e9d1a1 100644 --- a/services/sqlserverflex/model_reset_user_response.go +++ b/services/sqlserverflex/model_reset_user_response.go @@ -59,7 +59,7 @@ func (o *ResetUserResponse) GetItemOk() (*SingleUser, bool) { // HasItem returns a boolean if a field has been set. func (o *ResetUserResponse) HasItem() bool { - if o != nil && !IsNil(o.Item) { + if o != nil && !IsNil(o.Item) && !IsNil(o.Item) { return true } diff --git a/services/sqlserverflex/model_restore_running_restore.go b/services/sqlserverflex/model_restore_running_restore.go index e99d0f9a3..4808985e0 100644 --- a/services/sqlserverflex/model_restore_running_restore.go +++ b/services/sqlserverflex/model_restore_running_restore.go @@ -63,7 +63,7 @@ func (o *RestoreRunningRestore) GetCommandOk() (*string, bool) { // HasCommand returns a boolean if a field has been set. func (o *RestoreRunningRestore) HasCommand() bool { - if o != nil && !IsNil(o.Command) { + if o != nil && !IsNil(o.Command) && !IsNil(o.Command) { return true } @@ -95,7 +95,7 @@ func (o *RestoreRunningRestore) GetDatabaseNameOk() (*string, bool) { // HasDatabaseName returns a boolean if a field has been set. func (o *RestoreRunningRestore) HasDatabaseName() bool { - if o != nil && !IsNil(o.DatabaseName) { + if o != nil && !IsNil(o.DatabaseName) && !IsNil(o.DatabaseName) { return true } @@ -127,7 +127,7 @@ func (o *RestoreRunningRestore) GetEstimatedCompletionTimeOk() (*string, bool) { // HasEstimatedCompletionTime returns a boolean if a field has been set. func (o *RestoreRunningRestore) HasEstimatedCompletionTime() bool { - if o != nil && !IsNil(o.EstimatedCompletionTime) { + if o != nil && !IsNil(o.EstimatedCompletionTime) && !IsNil(o.EstimatedCompletionTime) { return true } @@ -159,7 +159,7 @@ func (o *RestoreRunningRestore) GetPercentCompleteOk() (*int64, bool) { // HasPercentComplete returns a boolean if a field has been set. func (o *RestoreRunningRestore) HasPercentComplete() bool { - if o != nil && !IsNil(o.PercentComplete) { + if o != nil && !IsNil(o.PercentComplete) && !IsNil(o.PercentComplete) { return true } @@ -191,7 +191,7 @@ func (o *RestoreRunningRestore) GetStartTimeOk() (*string, bool) { // HasStartTime returns a boolean if a field has been set. func (o *RestoreRunningRestore) HasStartTime() bool { - if o != nil && !IsNil(o.StartTime) { + if o != nil && !IsNil(o.StartTime) && !IsNil(o.StartTime) { return true } diff --git a/services/sqlserverflex/model_single_database.go b/services/sqlserverflex/model_single_database.go index 38dd8ce16..207eafe02 100644 --- a/services/sqlserverflex/model_single_database.go +++ b/services/sqlserverflex/model_single_database.go @@ -63,7 +63,7 @@ func (o *SingleDatabase) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *SingleDatabase) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -95,7 +95,7 @@ func (o *SingleDatabase) GetNameOk() (*string, bool) { // HasName returns a boolean if a field has been set. func (o *SingleDatabase) HasName() bool { - if o != nil && !IsNil(o.Name) { + if o != nil && !IsNil(o.Name) && !IsNil(o.Name) { return true } @@ -127,7 +127,7 @@ func (o *SingleDatabase) GetOptionsOk() (*SingleDatabaseOptions, bool) { // HasOptions returns a boolean if a field has been set. func (o *SingleDatabase) HasOptions() bool { - if o != nil && !IsNil(o.Options) { + if o != nil && !IsNil(o.Options) && !IsNil(o.Options) { return true } diff --git a/services/sqlserverflex/model_single_database_options.go b/services/sqlserverflex/model_single_database_options.go index e29473c88..1c61f9c84 100644 --- a/services/sqlserverflex/model_single_database_options.go +++ b/services/sqlserverflex/model_single_database_options.go @@ -64,7 +64,7 @@ func (o *SingleDatabaseOptions) GetCollationNameOk() (*string, bool) { // HasCollationName returns a boolean if a field has been set. func (o *SingleDatabaseOptions) HasCollationName() bool { - if o != nil && !IsNil(o.CollationName) { + if o != nil && !IsNil(o.CollationName) && !IsNil(o.CollationName) { return true } @@ -96,7 +96,7 @@ func (o *SingleDatabaseOptions) GetCompatibilityLevelOk() (*int64, bool) { // HasCompatibilityLevel returns a boolean if a field has been set. func (o *SingleDatabaseOptions) HasCompatibilityLevel() bool { - if o != nil && !IsNil(o.CompatibilityLevel) { + if o != nil && !IsNil(o.CompatibilityLevel) && !IsNil(o.CompatibilityLevel) { return true } @@ -128,7 +128,7 @@ func (o *SingleDatabaseOptions) GetOwnerOk() (*string, bool) { // HasOwner returns a boolean if a field has been set. func (o *SingleDatabaseOptions) HasOwner() bool { - if o != nil && !IsNil(o.Owner) { + if o != nil && !IsNil(o.Owner) && !IsNil(o.Owner) { return true } diff --git a/services/sqlserverflex/model_single_user.go b/services/sqlserverflex/model_single_user.go index a058298f0..e138fcc63 100644 --- a/services/sqlserverflex/model_single_user.go +++ b/services/sqlserverflex/model_single_user.go @@ -66,7 +66,7 @@ func (o *SingleUser) GetDefaultDatabaseOk() (*string, bool) { // HasDefaultDatabase returns a boolean if a field has been set. func (o *SingleUser) HasDefaultDatabase() bool { - if o != nil && !IsNil(o.DefaultDatabase) { + if o != nil && !IsNil(o.DefaultDatabase) && !IsNil(o.DefaultDatabase) { return true } @@ -98,7 +98,7 @@ func (o *SingleUser) GetHostOk() (*string, bool) { // HasHost returns a boolean if a field has been set. func (o *SingleUser) HasHost() bool { - if o != nil && !IsNil(o.Host) { + if o != nil && !IsNil(o.Host) && !IsNil(o.Host) { return true } @@ -130,7 +130,7 @@ func (o *SingleUser) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *SingleUser) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -162,7 +162,7 @@ func (o *SingleUser) GetPasswordOk() (*string, bool) { // HasPassword returns a boolean if a field has been set. func (o *SingleUser) HasPassword() bool { - if o != nil && !IsNil(o.Password) { + if o != nil && !IsNil(o.Password) && !IsNil(o.Password) { return true } @@ -194,7 +194,7 @@ func (o *SingleUser) GetPortOk() (*int64, bool) { // HasPort returns a boolean if a field has been set. func (o *SingleUser) HasPort() bool { - if o != nil && !IsNil(o.Port) { + if o != nil && !IsNil(o.Port) && !IsNil(o.Port) { return true } @@ -226,7 +226,7 @@ func (o *SingleUser) GetRolesOk() (*[]string, bool) { // HasRoles returns a boolean if a field has been set. func (o *SingleUser) HasRoles() bool { - if o != nil && !IsNil(o.Roles) { + if o != nil && !IsNil(o.Roles) && !IsNil(o.Roles) { return true } @@ -258,7 +258,7 @@ func (o *SingleUser) GetUriOk() (*string, bool) { // HasUri returns a boolean if a field has been set. func (o *SingleUser) HasUri() bool { - if o != nil && !IsNil(o.Uri) { + if o != nil && !IsNil(o.Uri) && !IsNil(o.Uri) { return true } @@ -290,7 +290,7 @@ func (o *SingleUser) GetUsernameOk() (*string, bool) { // HasUsername returns a boolean if a field has been set. func (o *SingleUser) HasUsername() bool { - if o != nil && !IsNil(o.Username) { + if o != nil && !IsNil(o.Username) && !IsNil(o.Username) { return true } diff --git a/services/sqlserverflex/model_storage.go b/services/sqlserverflex/model_storage.go index e9c4eafe5..28067e8ac 100644 --- a/services/sqlserverflex/model_storage.go +++ b/services/sqlserverflex/model_storage.go @@ -60,7 +60,7 @@ func (o *Storage) GetClassOk() (*string, bool) { // HasClass returns a boolean if a field has been set. func (o *Storage) HasClass() bool { - if o != nil && !IsNil(o.Class) { + if o != nil && !IsNil(o.Class) && !IsNil(o.Class) { return true } @@ -92,7 +92,7 @@ func (o *Storage) GetSizeOk() (*int64, bool) { // HasSize returns a boolean if a field has been set. func (o *Storage) HasSize() bool { - if o != nil && !IsNil(o.Size) { + if o != nil && !IsNil(o.Size) && !IsNil(o.Size) { return true } diff --git a/services/sqlserverflex/model_storage_range.go b/services/sqlserverflex/model_storage_range.go index 5c896808b..44b1d0ac7 100644 --- a/services/sqlserverflex/model_storage_range.go +++ b/services/sqlserverflex/model_storage_range.go @@ -60,7 +60,7 @@ func (o *StorageRange) GetMaxOk() (*int64, bool) { // HasMax returns a boolean if a field has been set. func (o *StorageRange) HasMax() bool { - if o != nil && !IsNil(o.Max) { + if o != nil && !IsNil(o.Max) && !IsNil(o.Max) { return true } @@ -92,7 +92,7 @@ func (o *StorageRange) GetMinOk() (*int64, bool) { // HasMin returns a boolean if a field has been set. func (o *StorageRange) HasMin() bool { - if o != nil && !IsNil(o.Min) { + if o != nil && !IsNil(o.Min) && !IsNil(o.Min) { return true } diff --git a/services/sqlserverflex/model_trigger_database_restore_payload.go b/services/sqlserverflex/model_trigger_database_restore_payload.go index d26710b0c..6b5d0b08e 100644 --- a/services/sqlserverflex/model_trigger_database_restore_payload.go +++ b/services/sqlserverflex/model_trigger_database_restore_payload.go @@ -50,7 +50,7 @@ func NewTriggerDatabaseRestorePayloadWithDefaults() *TriggerDatabaseRestorePaylo // GetName returns the Name field value func (o *TriggerDatabaseRestorePayload) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *TriggerDatabaseRestorePayload) SetName(v *string) { // GetRestoreDateTime returns the RestoreDateTime field value func (o *TriggerDatabaseRestorePayload) GetRestoreDateTime() *string { - if o == nil { + if o == nil || IsNil(o.RestoreDateTime) { var ret *string return ret } diff --git a/services/sqlserverflex/model_update_instance_payload.go b/services/sqlserverflex/model_update_instance_payload.go index 50731c576..03599b56b 100644 --- a/services/sqlserverflex/model_update_instance_payload.go +++ b/services/sqlserverflex/model_update_instance_payload.go @@ -66,7 +66,7 @@ func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload { // GetAcl returns the Acl field value func (o *UpdateInstancePayload) GetAcl() *CreateInstancePayloadAcl { - if o == nil { + if o == nil || IsNil(o.Acl) { var ret *CreateInstancePayloadAcl return ret } @@ -90,7 +90,7 @@ func (o *UpdateInstancePayload) SetAcl(v *CreateInstancePayloadAcl) { // GetBackupSchedule returns the BackupSchedule field value func (o *UpdateInstancePayload) GetBackupSchedule() *string { - if o == nil { + if o == nil || IsNil(o.BackupSchedule) { var ret *string return ret } @@ -114,7 +114,7 @@ func (o *UpdateInstancePayload) SetBackupSchedule(v *string) { // GetFlavorId returns the FlavorId field value func (o *UpdateInstancePayload) GetFlavorId() *string { - if o == nil { + if o == nil || IsNil(o.FlavorId) { var ret *string return ret } @@ -138,7 +138,7 @@ func (o *UpdateInstancePayload) SetFlavorId(v *string) { // GetLabels returns the Labels field value func (o *UpdateInstancePayload) GetLabels() *map[string]interface{} { - if o == nil { + if o == nil || IsNil(o.Labels) { var ret *map[string]interface{} return ret } @@ -162,7 +162,7 @@ func (o *UpdateInstancePayload) SetLabels(v *map[string]interface{}) { // GetName returns the Name field value func (o *UpdateInstancePayload) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } @@ -186,7 +186,7 @@ func (o *UpdateInstancePayload) SetName(v *string) { // GetVersion returns the Version field value func (o *UpdateInstancePayload) GetVersion() *string { - if o == nil { + if o == nil || IsNil(o.Version) { var ret *string return ret } diff --git a/services/sqlserverflex/model_update_instance_response.go b/services/sqlserverflex/model_update_instance_response.go index 05036dd73..73269520c 100644 --- a/services/sqlserverflex/model_update_instance_response.go +++ b/services/sqlserverflex/model_update_instance_response.go @@ -59,7 +59,7 @@ func (o *UpdateInstanceResponse) GetItemOk() (*Instance, bool) { // HasItem returns a boolean if a field has been set. func (o *UpdateInstanceResponse) HasItem() bool { - if o != nil && !IsNil(o.Item) { + if o != nil && !IsNil(o.Item) && !IsNil(o.Item) { return true } diff --git a/services/sqlserverflex/model_user.go b/services/sqlserverflex/model_user.go index 6fa459c10..b75b47f7a 100644 --- a/services/sqlserverflex/model_user.go +++ b/services/sqlserverflex/model_user.go @@ -66,7 +66,7 @@ func (o *User) GetDatabaseOk() (*string, bool) { // HasDatabase returns a boolean if a field has been set. func (o *User) HasDatabase() bool { - if o != nil && !IsNil(o.Database) { + if o != nil && !IsNil(o.Database) && !IsNil(o.Database) { return true } @@ -98,7 +98,7 @@ func (o *User) GetHostOk() (*string, bool) { // HasHost returns a boolean if a field has been set. func (o *User) HasHost() bool { - if o != nil && !IsNil(o.Host) { + if o != nil && !IsNil(o.Host) && !IsNil(o.Host) { return true } @@ -130,7 +130,7 @@ func (o *User) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *User) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -162,7 +162,7 @@ func (o *User) GetPasswordOk() (*string, bool) { // HasPassword returns a boolean if a field has been set. func (o *User) HasPassword() bool { - if o != nil && !IsNil(o.Password) { + if o != nil && !IsNil(o.Password) && !IsNil(o.Password) { return true } @@ -194,7 +194,7 @@ func (o *User) GetPortOk() (*int64, bool) { // HasPort returns a boolean if a field has been set. func (o *User) HasPort() bool { - if o != nil && !IsNil(o.Port) { + if o != nil && !IsNil(o.Port) && !IsNil(o.Port) { return true } @@ -226,7 +226,7 @@ func (o *User) GetRolesOk() (*[]string, bool) { // HasRoles returns a boolean if a field has been set. func (o *User) HasRoles() bool { - if o != nil && !IsNil(o.Roles) { + if o != nil && !IsNil(o.Roles) && !IsNil(o.Roles) { return true } @@ -258,7 +258,7 @@ func (o *User) GetUriOk() (*string, bool) { // HasUri returns a boolean if a field has been set. func (o *User) HasUri() bool { - if o != nil && !IsNil(o.Uri) { + if o != nil && !IsNil(o.Uri) && !IsNil(o.Uri) { return true } @@ -290,7 +290,7 @@ func (o *User) GetUsernameOk() (*string, bool) { // HasUsername returns a boolean if a field has been set. func (o *User) HasUsername() bool { - if o != nil && !IsNil(o.Username) { + if o != nil && !IsNil(o.Username) && !IsNil(o.Username) { return true } diff --git a/services/sqlserverflex/model_user_response_user.go b/services/sqlserverflex/model_user_response_user.go index 6d53b2e80..17fb826b2 100644 --- a/services/sqlserverflex/model_user_response_user.go +++ b/services/sqlserverflex/model_user_response_user.go @@ -64,7 +64,7 @@ func (o *UserResponseUser) GetDefaultDatabaseOk() (*string, bool) { // HasDefaultDatabase returns a boolean if a field has been set. func (o *UserResponseUser) HasDefaultDatabase() bool { - if o != nil && !IsNil(o.DefaultDatabase) { + if o != nil && !IsNil(o.DefaultDatabase) && !IsNil(o.DefaultDatabase) { return true } @@ -96,7 +96,7 @@ func (o *UserResponseUser) GetHostOk() (*string, bool) { // HasHost returns a boolean if a field has been set. func (o *UserResponseUser) HasHost() bool { - if o != nil && !IsNil(o.Host) { + if o != nil && !IsNil(o.Host) && !IsNil(o.Host) { return true } @@ -128,7 +128,7 @@ func (o *UserResponseUser) GetIdOk() (*string, bool) { // HasId returns a boolean if a field has been set. func (o *UserResponseUser) HasId() bool { - if o != nil && !IsNil(o.Id) { + if o != nil && !IsNil(o.Id) && !IsNil(o.Id) { return true } @@ -160,7 +160,7 @@ func (o *UserResponseUser) GetPortOk() (*int64, bool) { // HasPort returns a boolean if a field has been set. func (o *UserResponseUser) HasPort() bool { - if o != nil && !IsNil(o.Port) { + if o != nil && !IsNil(o.Port) && !IsNil(o.Port) { return true } @@ -192,7 +192,7 @@ func (o *UserResponseUser) GetRolesOk() (*[]string, bool) { // HasRoles returns a boolean if a field has been set. func (o *UserResponseUser) HasRoles() bool { - if o != nil && !IsNil(o.Roles) { + if o != nil && !IsNil(o.Roles) && !IsNil(o.Roles) { return true } @@ -224,7 +224,7 @@ func (o *UserResponseUser) GetUsernameOk() (*string, bool) { // HasUsername returns a boolean if a field has been set. func (o *UserResponseUser) HasUsername() bool { - if o != nil && !IsNil(o.Username) { + if o != nil && !IsNil(o.Username) && !IsNil(o.Username) { return true }