Skip to content

Commit

Permalink
Removed comment description for forceSendFields and nullFields
Browse files Browse the repository at this point in the history
Removed comment description for forceSendFields and nullFields
  • Loading branch information
sharadkesarwani committed Sep 27, 2023
1 parent 5686571 commit 47fe200
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
12 changes: 0 additions & 12 deletions service/account/providers/aws/awscredential.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,8 @@ type Credential struct {
IamRole *string `json:"iamRole,omitempty"`
AccountId *string `json:"accountId,omitempty"`

// forceSendFields is a list of field names (e.g. "Keys") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
forceSendFields []string

// nullFields is a list of field names (e.g. "Keys") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
nullFields []string
}

Expand Down
14 changes: 1 addition & 13 deletions service/account/providers/aws/awsexternalId.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,8 @@ type AwsAccountExternalId struct {
AccountId *string `json:"accountId,omitempty"`
ExternalId *string `json:"externalId,omitempty"`

// forceSendFields is a list of field names (e.g. "Keys") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
forceSendFields []string

// nullFields is a list of field names (e.g. "Keys") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.

nullFields []string
}

Expand Down

0 comments on commit 47fe200

Please sign in to comment.