Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
fix: adjust warning definitions within templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-ezhao committed Jun 27, 2024
1 parent 6c56b43 commit 3d16134
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions sdk/template_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ import (

// TemplateVersion is a Sendgrid transactional template version.
type TemplateVersion struct {
ID string `json:"id,omitempty"`
TemplateID string `json:"template_id,omitempty"` //nolint:tagliatelle
UpdatedAt string `json:"updated_at,omitempty"` //nolint:tagliatelle
ThumbnailURL string `json:"thumbnail_url,omitempty"` //nolint:tagliatelle
Warning Warning `json:"warning,omitempty"`
Active int `json:"active,omitempty"`
Name string `json:"name,omitempty"`
HTMLContent string `json:"html_content,omitempty"` //nolint:tagliatelle
PlainContent string `json:"plain_content,omitempty"` //nolint:tagliatelle
GeneratePlainContent bool `json:"generate_plain_content,omitempty"` //nolint:tagliatelle
Subject string `json:"subject,omitempty"`
Editor string `json:"editor,omitempty"`
TestData string `json:"test_data,omitempty"` //nolint:tagliatelle
ID string `json:"id,omitempty"`
TemplateID string `json:"template_id,omitempty"` //nolint:tagliatelle
UpdatedAt string `json:"updated_at,omitempty"` //nolint:tagliatelle
ThumbnailURL string `json:"thumbnail_url,omitempty"` //nolint:tagliatelle
Warnings []Warning `json:"warning,omitempty"`
Active int `json:"active,omitempty"`
Name string `json:"name,omitempty"`
HTMLContent string `json:"html_content,omitempty"` //nolint:tagliatelle
PlainContent string `json:"plain_content,omitempty"` //nolint:tagliatelle
GeneratePlainContent bool `json:"generate_plain_content,omitempty"` //nolint:tagliatelle
Subject string `json:"subject,omitempty"`
Editor string `json:"editor,omitempty"`
TestData string `json:"test_data,omitempty"` //nolint:tagliatelle
}

type Warning struct {
Expand Down

0 comments on commit 3d16134

Please sign in to comment.