From c50fa1e777b05ccdf5cbe744c137dae726970e37 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Thu, 12 Dec 2024 17:17:47 +0000 Subject: [PATCH] Generate runcommand --- services/runcommand/model_create_command_payload.go | 2 +- services/runcommand/model_error_response.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/runcommand/model_create_command_payload.go b/services/runcommand/model_create_command_payload.go index d7effe79b..a7451afdf 100644 --- a/services/runcommand/model_create_command_payload.go +++ b/services/runcommand/model_create_command_payload.go @@ -46,7 +46,7 @@ func NewCreateCommandPayloadWithDefaults() *CreateCommandPayload { // GetCommandTemplateName returns the CommandTemplateName field value func (o *CreateCommandPayload) GetCommandTemplateName() *string { - if o == nil { + if o == nil || IsNil(o.CommandTemplateName) { var ret *string return ret } diff --git a/services/runcommand/model_error_response.go b/services/runcommand/model_error_response.go index 5c85b11fb..92ae87e8e 100644 --- a/services/runcommand/model_error_response.go +++ b/services/runcommand/model_error_response.go @@ -50,7 +50,7 @@ func NewErrorResponseWithDefaults() *ErrorResponse { // GetMessage returns the Message field value func (o *ErrorResponse) GetMessage() *string { - if o == nil { + if o == nil || IsNil(o.Message) { var ret *string return ret } @@ -74,7 +74,7 @@ func (o *ErrorResponse) SetMessage(v *string) { // GetStatus returns the Status field value func (o *ErrorResponse) GetStatus() *string { - if o == nil { + if o == nil || IsNil(o.Status) { var ret *string return ret }