diff --git a/services/serviceaccount/model_access_token.go b/services/serviceaccount/model_access_token.go index 2c2a84af..9907b213 100644 --- a/services/serviceaccount/model_access_token.go +++ b/services/serviceaccount/model_access_token.go @@ -63,7 +63,7 @@ func NewAccessTokenWithDefaults() *AccessToken { // GetActive returns the Active field value func (o *AccessToken) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -87,7 +87,7 @@ func (o *AccessToken) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *AccessToken) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -111,7 +111,7 @@ func (o *AccessToken) SetCreatedAt(v *time.Time) { // GetId returns the Id field value func (o *AccessToken) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -135,7 +135,7 @@ func (o *AccessToken) SetId(v *string) { // GetToken returns the Token field value func (o *AccessToken) GetToken() *string { - if o == nil { + if o == nil || IsNil(o.Token) { var ret *string return ret } @@ -159,7 +159,7 @@ func (o *AccessToken) SetToken(v *string) { // GetValidUntil returns the ValidUntil field value func (o *AccessToken) GetValidUntil() *time.Time { - if o == nil { + if o == nil || IsNil(o.ValidUntil) { var ret *time.Time return ret } diff --git a/services/serviceaccount/model_access_token_metadata.go b/services/serviceaccount/model_access_token_metadata.go index 2cadb1eb..9cd0c692 100644 --- a/services/serviceaccount/model_access_token_metadata.go +++ b/services/serviceaccount/model_access_token_metadata.go @@ -59,7 +59,7 @@ func NewAccessTokenMetadataWithDefaults() *AccessTokenMetadata { // GetActive returns the Active field value func (o *AccessTokenMetadata) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -83,7 +83,7 @@ func (o *AccessTokenMetadata) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *AccessTokenMetadata) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -107,7 +107,7 @@ func (o *AccessTokenMetadata) SetCreatedAt(v *time.Time) { // GetId returns the Id field value func (o *AccessTokenMetadata) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -131,7 +131,7 @@ func (o *AccessTokenMetadata) SetId(v *string) { // GetValidUntil returns the ValidUntil field value func (o *AccessTokenMetadata) GetValidUntil() *time.Time { - if o == nil { + if o == nil || IsNil(o.ValidUntil) { var ret *time.Time return ret } diff --git a/services/serviceaccount/model_auth_error.go b/services/serviceaccount/model_auth_error.go index db64f831..0e54106b 100644 --- a/services/serviceaccount/model_auth_error.go +++ b/services/serviceaccount/model_auth_error.go @@ -45,7 +45,7 @@ func NewAuthErrorWithDefaults() *AuthError { // GetError returns the Error field value func (o *AuthError) GetError() *AuthErrorError { - if o == nil { + if o == nil || IsNil(o.Error) { var ret *AuthErrorError return ret } diff --git a/services/serviceaccount/model_auth_error_error.go b/services/serviceaccount/model_auth_error_error.go index c6b91e74..d1a8768d 100644 --- a/services/serviceaccount/model_auth_error_error.go +++ b/services/serviceaccount/model_auth_error_error.go @@ -51,7 +51,7 @@ func NewAuthErrorErrorWithDefaults() *AuthErrorError { // GetCode returns the Code field value func (o *AuthErrorError) GetCode() *int64 { - if o == nil { + if o == nil || IsNil(o.Code) { var ret *int64 return ret } @@ -75,7 +75,7 @@ func (o *AuthErrorError) SetCode(v *int64) { // GetMessage returns the Message field value func (o *AuthErrorError) GetMessage() *string { - if o == nil { + if o == nil || IsNil(o.Message) { var ret *string return ret } @@ -99,7 +99,7 @@ func (o *AuthErrorError) SetMessage(v *string) { // GetStatus returns the Status field value func (o *AuthErrorError) GetStatus() *string { - if o == nil { + if o == nil || IsNil(o.Status) { var ret *string return ret } diff --git a/services/serviceaccount/model_create_access_token_payload.go b/services/serviceaccount/model_create_access_token_payload.go index fcfb40a9..4a5d0b3c 100644 --- a/services/serviceaccount/model_create_access_token_payload.go +++ b/services/serviceaccount/model_create_access_token_payload.go @@ -46,7 +46,7 @@ func NewCreateAccessTokenPayloadWithDefaults() *CreateAccessTokenPayload { // GetTtlDays returns the TtlDays field value func (o *CreateAccessTokenPayload) GetTtlDays() *int64 { - if o == nil { + if o == nil || IsNil(o.TtlDays) { var ret *int64 return ret } diff --git a/services/serviceaccount/model_create_service_account_key_response.go b/services/serviceaccount/model_create_service_account_key_response.go index 130def2b..ce1e42ed 100644 --- a/services/serviceaccount/model_create_service_account_key_response.go +++ b/services/serviceaccount/model_create_service_account_key_response.go @@ -72,7 +72,7 @@ func NewCreateServiceAccountKeyResponseWithDefaults() *CreateServiceAccountKeyRe // GetActive returns the Active field value func (o *CreateServiceAccountKeyResponse) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -96,7 +96,7 @@ func (o *CreateServiceAccountKeyResponse) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *CreateServiceAccountKeyResponse) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -120,7 +120,7 @@ func (o *CreateServiceAccountKeyResponse) SetCreatedAt(v *time.Time) { // GetCredentials returns the Credentials field value func (o *CreateServiceAccountKeyResponse) GetCredentials() *CreateServiceAccountKeyResponseCredentials { - if o == nil { + if o == nil || IsNil(o.Credentials) { var ret *CreateServiceAccountKeyResponseCredentials return ret } @@ -144,7 +144,7 @@ func (o *CreateServiceAccountKeyResponse) SetCredentials(v *CreateServiceAccount // GetId returns the Id field value func (o *CreateServiceAccountKeyResponse) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -168,7 +168,7 @@ func (o *CreateServiceAccountKeyResponse) SetId(v *string) { // GetKeyAlgorithm returns the KeyAlgorithm field value func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithm() *string { - if o == nil { + if o == nil || IsNil(o.KeyAlgorithm) { var ret *string return ret } @@ -192,7 +192,7 @@ func (o *CreateServiceAccountKeyResponse) SetKeyAlgorithm(v *string) { // GetKeyOrigin returns the KeyOrigin field value func (o *CreateServiceAccountKeyResponse) GetKeyOrigin() *string { - if o == nil { + if o == nil || IsNil(o.KeyOrigin) { var ret *string return ret } @@ -216,7 +216,7 @@ func (o *CreateServiceAccountKeyResponse) SetKeyOrigin(v *string) { // GetKeyType returns the KeyType field value func (o *CreateServiceAccountKeyResponse) GetKeyType() *string { - if o == nil { + if o == nil || IsNil(o.KeyType) { var ret *string return ret } @@ -240,7 +240,7 @@ func (o *CreateServiceAccountKeyResponse) SetKeyType(v *string) { // GetPublicKey returns the PublicKey field value func (o *CreateServiceAccountKeyResponse) GetPublicKey() *string { - if o == nil { + if o == nil || IsNil(o.PublicKey) { var ret *string return ret } diff --git a/services/serviceaccount/model_create_service_account_key_response_credentials.go b/services/serviceaccount/model_create_service_account_key_response_credentials.go index 752dd641..a754f218 100644 --- a/services/serviceaccount/model_create_service_account_key_response_credentials.go +++ b/services/serviceaccount/model_create_service_account_key_response_credentials.go @@ -60,7 +60,7 @@ func NewCreateServiceAccountKeyResponseCredentialsWithDefaults() *CreateServiceA // GetAud returns the Aud field value func (o *CreateServiceAccountKeyResponseCredentials) GetAud() *string { - if o == nil { + if o == nil || IsNil(o.Aud) { var ret *string return ret } @@ -84,7 +84,7 @@ func (o *CreateServiceAccountKeyResponseCredentials) SetAud(v *string) { // GetIss returns the Iss field value func (o *CreateServiceAccountKeyResponseCredentials) GetIss() *string { - if o == nil { + if o == nil || IsNil(o.Iss) { var ret *string return ret } @@ -108,7 +108,7 @@ func (o *CreateServiceAccountKeyResponseCredentials) SetIss(v *string) { // GetKid returns the Kid field value func (o *CreateServiceAccountKeyResponseCredentials) GetKid() *string { - if o == nil { + if o == nil || IsNil(o.Kid) { var ret *string return ret } @@ -164,7 +164,7 @@ func (o *CreateServiceAccountKeyResponseCredentials) SetPrivateKey(v *string) { // GetSub returns the Sub field value func (o *CreateServiceAccountKeyResponseCredentials) GetSub() *string { - if o == nil { + if o == nil || IsNil(o.Sub) { var ret *string return ret } diff --git a/services/serviceaccount/model_create_service_account_payload.go b/services/serviceaccount/model_create_service_account_payload.go index 2f497737..8169451a 100644 --- a/services/serviceaccount/model_create_service_account_payload.go +++ b/services/serviceaccount/model_create_service_account_payload.go @@ -46,7 +46,7 @@ func NewCreateServiceAccountPayloadWithDefaults() *CreateServiceAccountPayload { // GetName returns the Name field value func (o *CreateServiceAccountPayload) GetName() *string { - if o == nil { + if o == nil || IsNil(o.Name) { var ret *string return ret } diff --git a/services/serviceaccount/model_create_short_lived_access_token_response.go b/services/serviceaccount/model_create_short_lived_access_token_response.go index 3b39e93a..8e7457fd 100644 --- a/services/serviceaccount/model_create_short_lived_access_token_response.go +++ b/services/serviceaccount/model_create_short_lived_access_token_response.go @@ -60,7 +60,7 @@ func NewCreateShortLivedAccessTokenResponseWithDefaults() *CreateShortLivedAcces // GetAccessToken returns the AccessToken field value func (o *CreateShortLivedAccessTokenResponse) GetAccessToken() *string { - if o == nil { + if o == nil || IsNil(o.AccessToken) { var ret *string return ret } @@ -84,7 +84,7 @@ func (o *CreateShortLivedAccessTokenResponse) SetAccessToken(v *string) { // GetExpiresIn returns the ExpiresIn field value func (o *CreateShortLivedAccessTokenResponse) GetExpiresIn() *int64 { - if o == nil { + if o == nil || IsNil(o.ExpiresIn) { var ret *int64 return ret } @@ -108,7 +108,7 @@ func (o *CreateShortLivedAccessTokenResponse) SetExpiresIn(v *int64) { // GetRefreshToken returns the RefreshToken field value func (o *CreateShortLivedAccessTokenResponse) GetRefreshToken() *string { - if o == nil { + if o == nil || IsNil(o.RefreshToken) { var ret *string return ret } @@ -132,7 +132,7 @@ func (o *CreateShortLivedAccessTokenResponse) SetRefreshToken(v *string) { // GetScope returns the Scope field value func (o *CreateShortLivedAccessTokenResponse) GetScope() *string { - if o == nil { + if o == nil || IsNil(o.Scope) { var ret *string return ret } @@ -156,7 +156,7 @@ func (o *CreateShortLivedAccessTokenResponse) SetScope(v *string) { // GetTokenType returns the TokenType field value func (o *CreateShortLivedAccessTokenResponse) GetTokenType() *string { - if o == nil { + if o == nil || IsNil(o.TokenType) { var ret *string return ret } diff --git a/services/serviceaccount/model_error.go b/services/serviceaccount/model_error.go index dce3b130..1427ea17 100644 --- a/services/serviceaccount/model_error.go +++ b/services/serviceaccount/model_error.go @@ -58,7 +58,7 @@ func NewErrorWithDefaults() *Error { // GetError returns the Error field value func (o *Error) GetError() *string { - if o == nil { + if o == nil || IsNil(o.Error) { var ret *string return ret } @@ -82,7 +82,7 @@ func (o *Error) SetError(v *string) { // GetMessage returns the Message field value func (o *Error) GetMessage() *string { - if o == nil { + if o == nil || IsNil(o.Message) { var ret *string return ret } @@ -106,7 +106,7 @@ func (o *Error) SetMessage(v *string) { // GetPath returns the Path field value func (o *Error) GetPath() *string { - if o == nil { + if o == nil || IsNil(o.Path) { var ret *string return ret } @@ -130,7 +130,7 @@ func (o *Error) SetPath(v *string) { // GetStatus returns the Status field value func (o *Error) GetStatus() *int64 { - if o == nil { + if o == nil || IsNil(o.Status) { var ret *int64 return ret } @@ -154,7 +154,7 @@ func (o *Error) SetStatus(v *int64) { // GetTimeStamp returns the TimeStamp field value func (o *Error) GetTimeStamp() *time.Time { - if o == nil { + if o == nil || IsNil(o.TimeStamp) { var ret *time.Time return ret } diff --git a/services/serviceaccount/model_get_service_account_key_response.go b/services/serviceaccount/model_get_service_account_key_response.go index 1cf85d27..5b1f003c 100644 --- a/services/serviceaccount/model_get_service_account_key_response.go +++ b/services/serviceaccount/model_get_service_account_key_response.go @@ -70,7 +70,7 @@ func NewGetServiceAccountKeyResponseWithDefaults() *GetServiceAccountKeyResponse // GetActive returns the Active field value func (o *GetServiceAccountKeyResponse) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -94,7 +94,7 @@ func (o *GetServiceAccountKeyResponse) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *GetServiceAccountKeyResponse) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -118,7 +118,7 @@ func (o *GetServiceAccountKeyResponse) SetCreatedAt(v *time.Time) { // GetCredentials returns the Credentials field value func (o *GetServiceAccountKeyResponse) GetCredentials() *GetServiceAccountKeyResponseCredentials { - if o == nil { + if o == nil || IsNil(o.Credentials) { var ret *GetServiceAccountKeyResponseCredentials return ret } @@ -142,7 +142,7 @@ func (o *GetServiceAccountKeyResponse) SetCredentials(v *GetServiceAccountKeyRes // GetId returns the Id field value func (o *GetServiceAccountKeyResponse) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -166,7 +166,7 @@ func (o *GetServiceAccountKeyResponse) SetId(v *string) { // GetKeyAlgorithm returns the KeyAlgorithm field value func (o *GetServiceAccountKeyResponse) GetKeyAlgorithm() *string { - if o == nil { + if o == nil || IsNil(o.KeyAlgorithm) { var ret *string return ret } @@ -190,7 +190,7 @@ func (o *GetServiceAccountKeyResponse) SetKeyAlgorithm(v *string) { // GetKeyOrigin returns the KeyOrigin field value func (o *GetServiceAccountKeyResponse) GetKeyOrigin() *string { - if o == nil { + if o == nil || IsNil(o.KeyOrigin) { var ret *string return ret } @@ -214,7 +214,7 @@ func (o *GetServiceAccountKeyResponse) SetKeyOrigin(v *string) { // GetKeyType returns the KeyType field value func (o *GetServiceAccountKeyResponse) GetKeyType() *string { - if o == nil { + if o == nil || IsNil(o.KeyType) { var ret *string return ret } diff --git a/services/serviceaccount/model_get_service_account_key_response_credentials.go b/services/serviceaccount/model_get_service_account_key_response_credentials.go index d6274d24..d841182a 100644 --- a/services/serviceaccount/model_get_service_account_key_response_credentials.go +++ b/services/serviceaccount/model_get_service_account_key_response_credentials.go @@ -58,7 +58,7 @@ func NewGetServiceAccountKeyResponseCredentialsWithDefaults() *GetServiceAccount // GetAud returns the Aud field value func (o *GetServiceAccountKeyResponseCredentials) GetAud() *string { - if o == nil { + if o == nil || IsNil(o.Aud) { var ret *string return ret } @@ -82,7 +82,7 @@ func (o *GetServiceAccountKeyResponseCredentials) SetAud(v *string) { // GetIss returns the Iss field value func (o *GetServiceAccountKeyResponseCredentials) GetIss() *string { - if o == nil { + if o == nil || IsNil(o.Iss) { var ret *string return ret } @@ -106,7 +106,7 @@ func (o *GetServiceAccountKeyResponseCredentials) SetIss(v *string) { // GetKid returns the Kid field value func (o *GetServiceAccountKeyResponseCredentials) GetKid() *string { - if o == nil { + if o == nil || IsNil(o.Kid) { var ret *string return ret } @@ -130,7 +130,7 @@ func (o *GetServiceAccountKeyResponseCredentials) SetKid(v *string) { // GetSub returns the Sub field value func (o *GetServiceAccountKeyResponseCredentials) GetSub() *string { - if o == nil { + if o == nil || IsNil(o.Sub) { var ret *string return ret } diff --git a/services/serviceaccount/model_jwk.go b/services/serviceaccount/model_jwk.go index c976ed85..ced812b8 100644 --- a/services/serviceaccount/model_jwk.go +++ b/services/serviceaccount/model_jwk.go @@ -89,7 +89,7 @@ func (o *JWK) SetAlg(v *string) { // GetE returns the E field value func (o *JWK) GetE() *string { - if o == nil { + if o == nil || IsNil(o.E) { var ret *string return ret } @@ -177,7 +177,7 @@ func (o *JWK) SetKs(v *string) { // GetN returns the N field value func (o *JWK) GetN() *string { - if o == nil { + if o == nil || IsNil(o.N) { var ret *string return ret } diff --git a/services/serviceaccount/model_jwks.go b/services/serviceaccount/model_jwks.go index e3c3901f..e6ee232a 100644 --- a/services/serviceaccount/model_jwks.go +++ b/services/serviceaccount/model_jwks.go @@ -45,7 +45,7 @@ func NewJWKSWithDefaults() *JWKS { // GetKeys returns the Keys field value func (o *JWKS) GetKeys() *[]JWK { - if o == nil { + if o == nil || IsNil(o.Keys) { var ret *[]JWK return ret } diff --git a/services/serviceaccount/model_list_service_account_keys_response.go b/services/serviceaccount/model_list_service_account_keys_response.go index 925e9887..688382be 100644 --- a/services/serviceaccount/model_list_service_account_keys_response.go +++ b/services/serviceaccount/model_list_service_account_keys_response.go @@ -45,7 +45,7 @@ func NewListServiceAccountKeysResponseWithDefaults() *ListServiceAccountKeysResp // GetItems returns the Items field value func (o *ListServiceAccountKeysResponse) GetItems() *[]ServiceAccountKeyListResponse { - if o == nil { + if o == nil || IsNil(o.Items) { var ret *[]ServiceAccountKeyListResponse return ret } diff --git a/services/serviceaccount/model_list_service_accounts_response.go b/services/serviceaccount/model_list_service_accounts_response.go index c1ba34ce..82195124 100644 --- a/services/serviceaccount/model_list_service_accounts_response.go +++ b/services/serviceaccount/model_list_service_accounts_response.go @@ -45,7 +45,7 @@ func NewListServiceAccountsResponseWithDefaults() *ListServiceAccountsResponse { // GetItems returns the Items field value func (o *ListServiceAccountsResponse) GetItems() *[]ServiceAccount { - if o == nil { + if o == nil || IsNil(o.Items) { var ret *[]ServiceAccount return ret } diff --git a/services/serviceaccount/model_partial_update_service_account_key_response.go b/services/serviceaccount/model_partial_update_service_account_key_response.go index e26278ef..034a9792 100644 --- a/services/serviceaccount/model_partial_update_service_account_key_response.go +++ b/services/serviceaccount/model_partial_update_service_account_key_response.go @@ -65,7 +65,7 @@ func NewPartialUpdateServiceAccountKeyResponseWithDefaults() *PartialUpdateServi // GetActive returns the Active field value func (o *PartialUpdateServiceAccountKeyResponse) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -89,7 +89,7 @@ func (o *PartialUpdateServiceAccountKeyResponse) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -113,7 +113,7 @@ func (o *PartialUpdateServiceAccountKeyResponse) SetCreatedAt(v *time.Time) { // GetId returns the Id field value func (o *PartialUpdateServiceAccountKeyResponse) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -137,7 +137,7 @@ func (o *PartialUpdateServiceAccountKeyResponse) SetId(v *string) { // GetKeyAlgorithm returns the KeyAlgorithm field value func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm() *string { - if o == nil { + if o == nil || IsNil(o.KeyAlgorithm) { var ret *string return ret } @@ -161,7 +161,7 @@ func (o *PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm(v *string) { // GetKeyOrigin returns the KeyOrigin field value func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOrigin() *string { - if o == nil { + if o == nil || IsNil(o.KeyOrigin) { var ret *string return ret } @@ -185,7 +185,7 @@ func (o *PartialUpdateServiceAccountKeyResponse) SetKeyOrigin(v *string) { // GetKeyType returns the KeyType field value func (o *PartialUpdateServiceAccountKeyResponse) GetKeyType() *string { - if o == nil { + if o == nil || IsNil(o.KeyType) { var ret *string return ret } diff --git a/services/serviceaccount/model_service_account.go b/services/serviceaccount/model_service_account.go index c98329b6..d26cc03d 100644 --- a/services/serviceaccount/model_service_account.go +++ b/services/serviceaccount/model_service_account.go @@ -58,7 +58,7 @@ func NewServiceAccountWithDefaults() *ServiceAccount { // GetEmail returns the Email field value func (o *ServiceAccount) GetEmail() *string { - if o == nil { + if o == nil || IsNil(o.Email) { var ret *string return ret } @@ -82,7 +82,7 @@ func (o *ServiceAccount) SetEmail(v *string) { // GetId returns the Id field value func (o *ServiceAccount) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -106,7 +106,7 @@ func (o *ServiceAccount) SetId(v *string) { // GetInternal returns the Internal field value func (o *ServiceAccount) GetInternal() *bool { - if o == nil { + if o == nil || IsNil(o.Internal) { var ret *bool return ret } @@ -130,7 +130,7 @@ func (o *ServiceAccount) SetInternal(v *bool) { // GetProjectId returns the ProjectId field value func (o *ServiceAccount) GetProjectId() *string { - if o == nil { + if o == nil || IsNil(o.ProjectId) { var ret *string return ret } diff --git a/services/serviceaccount/model_service_account_key_list_response.go b/services/serviceaccount/model_service_account_key_list_response.go index b2b53faf..eaf2460d 100644 --- a/services/serviceaccount/model_service_account_key_list_response.go +++ b/services/serviceaccount/model_service_account_key_list_response.go @@ -65,7 +65,7 @@ func NewServiceAccountKeyListResponseWithDefaults() *ServiceAccountKeyListRespon // GetActive returns the Active field value func (o *ServiceAccountKeyListResponse) GetActive() *bool { - if o == nil { + if o == nil || IsNil(o.Active) { var ret *bool return ret } @@ -89,7 +89,7 @@ func (o *ServiceAccountKeyListResponse) SetActive(v *bool) { // GetCreatedAt returns the CreatedAt field value func (o *ServiceAccountKeyListResponse) GetCreatedAt() *time.Time { - if o == nil { + if o == nil || IsNil(o.CreatedAt) { var ret *time.Time return ret } @@ -113,7 +113,7 @@ func (o *ServiceAccountKeyListResponse) SetCreatedAt(v *time.Time) { // GetId returns the Id field value func (o *ServiceAccountKeyListResponse) GetId() *string { - if o == nil { + if o == nil || IsNil(o.Id) { var ret *string return ret } @@ -137,7 +137,7 @@ func (o *ServiceAccountKeyListResponse) SetId(v *string) { // GetKeyAlgorithm returns the KeyAlgorithm field value func (o *ServiceAccountKeyListResponse) GetKeyAlgorithm() *string { - if o == nil { + if o == nil || IsNil(o.KeyAlgorithm) { var ret *string return ret } @@ -161,7 +161,7 @@ func (o *ServiceAccountKeyListResponse) SetKeyAlgorithm(v *string) { // GetKeyOrigin returns the KeyOrigin field value func (o *ServiceAccountKeyListResponse) GetKeyOrigin() *string { - if o == nil { + if o == nil || IsNil(o.KeyOrigin) { var ret *string return ret } @@ -185,7 +185,7 @@ func (o *ServiceAccountKeyListResponse) SetKeyOrigin(v *string) { // GetKeyType returns the KeyType field value func (o *ServiceAccountKeyListResponse) GetKeyType() *string { - if o == nil { + if o == nil || IsNil(o.KeyType) { var ret *string return ret }