diff --git a/services/serviceenablement/model_action_error.go b/services/serviceenablement/model_action_error.go index 30e5789b2..5233d02a6 100644 --- a/services/serviceenablement/model_action_error.go +++ b/services/serviceenablement/model_action_error.go @@ -64,7 +64,7 @@ func (o *ActionError) GetActionOk() (*string, bool) { // HasAction returns a boolean if a field has been set. func (o *ActionError) HasAction() bool { - if o != nil && !IsNil(o.Action) { + if o != nil && !IsNil(o.Action) && !IsNil(o.Action) { return true } @@ -96,7 +96,7 @@ func (o *ActionError) GetCodeOk() (*string, bool) { // HasCode returns a boolean if a field has been set. func (o *ActionError) HasCode() bool { - if o != nil && !IsNil(o.Code) { + if o != nil && !IsNil(o.Code) && !IsNil(o.Code) { return true } @@ -128,7 +128,7 @@ func (o *ActionError) GetReasonOk() (*string, bool) { // HasReason returns a boolean if a field has been set. func (o *ActionError) HasReason() bool { - if o != nil && !IsNil(o.Reason) { + if o != nil && !IsNil(o.Reason) && !IsNil(o.Reason) { return true } diff --git a/services/serviceenablement/model_cloud_service.go b/services/serviceenablement/model_cloud_service.go index a28e1a609..09a341d87 100644 --- a/services/serviceenablement/model_cloud_service.go +++ b/services/serviceenablement/model_cloud_service.go @@ -67,7 +67,7 @@ func (o *CloudService) GetDependenciesOk() (*Dependencies, bool) { // HasDependencies returns a boolean if a field has been set. func (o *CloudService) HasDependencies() bool { - if o != nil && !IsNil(o.Dependencies) { + if o != nil && !IsNil(o.Dependencies) && !IsNil(o.Dependencies) { return true } @@ -99,7 +99,7 @@ func (o *CloudService) GetLabelsOk() (*map[string]string, bool) { // HasLabels returns a boolean if a field has been set. func (o *CloudService) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -131,7 +131,7 @@ func (o *CloudService) GetScopeOk() (*string, bool) { // HasScope returns a boolean if a field has been set. func (o *CloudService) HasScope() bool { - if o != nil && !IsNil(o.Scope) { + if o != nil && !IsNil(o.Scope) && !IsNil(o.Scope) { return true } @@ -163,7 +163,7 @@ func (o *CloudService) GetServiceIdOk() (*string, bool) { // HasServiceId returns a boolean if a field has been set. func (o *CloudService) HasServiceId() bool { - if o != nil && !IsNil(o.ServiceId) { + if o != nil && !IsNil(o.ServiceId) && !IsNil(o.ServiceId) { return true } diff --git a/services/serviceenablement/model_dependencies.go b/services/serviceenablement/model_dependencies.go index 4562b5b57..f40917485 100644 --- a/services/serviceenablement/model_dependencies.go +++ b/services/serviceenablement/model_dependencies.go @@ -62,7 +62,7 @@ func (o *Dependencies) GetHardOk() (*[]string, bool) { // HasHard returns a boolean if a field has been set. func (o *Dependencies) HasHard() bool { - if o != nil && !IsNil(o.Hard) { + if o != nil && !IsNil(o.Hard) && !IsNil(o.Hard) { return true } @@ -94,7 +94,7 @@ func (o *Dependencies) GetSoftOk() (*[]string, bool) { // HasSoft returns a boolean if a field has been set. func (o *Dependencies) HasSoft() bool { - if o != nil && !IsNil(o.Soft) { + if o != nil && !IsNil(o.Soft) && !IsNil(o.Soft) { return true } diff --git a/services/serviceenablement/model_list_service_status_200_response.go b/services/serviceenablement/model_list_service_status_200_response.go index d0816ce4a..a4a301dc1 100644 --- a/services/serviceenablement/model_list_service_status_200_response.go +++ b/services/serviceenablement/model_list_service_status_200_response.go @@ -60,7 +60,7 @@ func (o *ListServiceStatus200Response) GetItemsOk() (*[]ServiceStatus, bool) { // HasItems returns a boolean if a field has been set. func (o *ListServiceStatus200Response) HasItems() bool { - if o != nil && !IsNil(o.Items) { + if o != nil && !IsNil(o.Items) && !IsNil(o.Items) { return true } @@ -92,7 +92,7 @@ func (o *ListServiceStatus200Response) GetNextCursorOk() (*string, bool) { // HasNextCursor returns a boolean if a field has been set. func (o *ListServiceStatus200Response) HasNextCursor() bool { - if o != nil && !IsNil(o.NextCursor) { + if o != nil && !IsNil(o.NextCursor) && !IsNil(o.NextCursor) { return true } diff --git a/services/serviceenablement/model_parameters.go b/services/serviceenablement/model_parameters.go index 26a3cbeab..28df2bc04 100644 --- a/services/serviceenablement/model_parameters.go +++ b/services/serviceenablement/model_parameters.go @@ -59,7 +59,7 @@ func (o *Parameters) GetGeneralOk() (*ParametersGeneral, bool) { // HasGeneral returns a boolean if a field has been set. func (o *Parameters) HasGeneral() bool { - if o != nil && !IsNil(o.General) { + if o != nil && !IsNil(o.General) && !IsNil(o.General) { return true } diff --git a/services/serviceenablement/model_parameters_general.go b/services/serviceenablement/model_parameters_general.go index d43164922..181f1ae73 100644 --- a/services/serviceenablement/model_parameters_general.go +++ b/services/serviceenablement/model_parameters_general.go @@ -65,7 +65,7 @@ func (o *ParametersGeneral) GetOrganizationIdOk() (*string, bool) { // HasOrganizationId returns a boolean if a field has been set. func (o *ParametersGeneral) HasOrganizationId() bool { - if o != nil && !IsNil(o.OrganizationId) { + if o != nil && !IsNil(o.OrganizationId) && !IsNil(o.OrganizationId) { return true } @@ -97,7 +97,7 @@ func (o *ParametersGeneral) GetProjectNameOk() (*string, bool) { // HasProjectName returns a boolean if a field has been set. func (o *ParametersGeneral) HasProjectName() bool { - if o != nil && !IsNil(o.ProjectName) { + if o != nil && !IsNil(o.ProjectName) && !IsNil(o.ProjectName) { return true } @@ -129,7 +129,7 @@ func (o *ParametersGeneral) GetProjectScopeOk() (*string, bool) { // HasProjectScope returns a boolean if a field has been set. func (o *ParametersGeneral) HasProjectScope() bool { - if o != nil && !IsNil(o.ProjectScope) { + if o != nil && !IsNil(o.ProjectScope) && !IsNil(o.ProjectScope) { return true } diff --git a/services/serviceenablement/model_service_status.go b/services/serviceenablement/model_service_status.go index 44a632cb0..e388fec78 100644 --- a/services/serviceenablement/model_service_status.go +++ b/services/serviceenablement/model_service_status.go @@ -85,7 +85,7 @@ func (o *ServiceStatus) GetDependenciesOk() (*Dependencies, bool) { // HasDependencies returns a boolean if a field has been set. func (o *ServiceStatus) HasDependencies() bool { - if o != nil && !IsNil(o.Dependencies) { + if o != nil && !IsNil(o.Dependencies) && !IsNil(o.Dependencies) { return true } @@ -117,7 +117,7 @@ func (o *ServiceStatus) GetEnablementOk() (*string, bool) { // HasEnablement returns a boolean if a field has been set. func (o *ServiceStatus) HasEnablement() bool { - if o != nil && !IsNil(o.Enablement) { + if o != nil && !IsNil(o.Enablement) && !IsNil(o.Enablement) { return true } @@ -149,7 +149,7 @@ func (o *ServiceStatus) GetErrorOk() (*ActionError, bool) { // HasError returns a boolean if a field has been set. func (o *ServiceStatus) HasError() bool { - if o != nil && !IsNil(o.Error) { + if o != nil && !IsNil(o.Error) && !IsNil(o.Error) { return true } @@ -181,7 +181,7 @@ func (o *ServiceStatus) GetLabelsOk() (*map[string]string, bool) { // HasLabels returns a boolean if a field has been set. func (o *ServiceStatus) HasLabels() bool { - if o != nil && !IsNil(o.Labels) { + if o != nil && !IsNil(o.Labels) && !IsNil(o.Labels) { return true } @@ -213,7 +213,7 @@ func (o *ServiceStatus) GetLifecycleOk() (*string, bool) { // HasLifecycle returns a boolean if a field has been set. func (o *ServiceStatus) HasLifecycle() bool { - if o != nil && !IsNil(o.Lifecycle) { + if o != nil && !IsNil(o.Lifecycle) && !IsNil(o.Lifecycle) { return true } @@ -245,7 +245,7 @@ func (o *ServiceStatus) GetParametersOk() (*Parameters, bool) { // HasParameters returns a boolean if a field has been set. func (o *ServiceStatus) HasParameters() bool { - if o != nil && !IsNil(o.Parameters) { + if o != nil && !IsNil(o.Parameters) && !IsNil(o.Parameters) { return true } @@ -277,7 +277,7 @@ func (o *ServiceStatus) GetScopeOk() (*string, bool) { // HasScope returns a boolean if a field has been set. func (o *ServiceStatus) HasScope() bool { - if o != nil && !IsNil(o.Scope) { + if o != nil && !IsNil(o.Scope) && !IsNil(o.Scope) { return true } @@ -309,7 +309,7 @@ func (o *ServiceStatus) GetServiceIdOk() (*string, bool) { // HasServiceId returns a boolean if a field has been set. func (o *ServiceStatus) HasServiceId() bool { - if o != nil && !IsNil(o.ServiceId) { + if o != nil && !IsNil(o.ServiceId) && !IsNil(o.ServiceId) { return true } @@ -341,7 +341,7 @@ func (o *ServiceStatus) GetStateOk() (*string, bool) { // HasState returns a boolean if a field has been set. func (o *ServiceStatus) HasState() bool { - if o != nil && !IsNil(o.State) { + if o != nil && !IsNil(o.State) && !IsNil(o.State) { return true }