fix: add yaml tags to models so we can unmarshal camelCase (#148)

This commit is contained in:
Daniel Moran
2021-06-28 10:18:41 -04:00
committed by GitHub
parent a1921e1e59
commit 7ea63d6a96
153 changed files with 1142 additions and 678 deletions

View File

@ -16,10 +16,10 @@ import (
// TemplateSummaryNotificationEndpointAllOf struct for TemplateSummaryNotificationEndpointAllOf
type TemplateSummaryNotificationEndpointAllOf struct {
Id string `json:"id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Status string `json:"status"`
Id string `json:"id" yaml:"id"`
Name string `json:"name" yaml:"name"`
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
Status string `json:"status" yaml:"status"`
}
// NewTemplateSummaryNotificationEndpointAllOf instantiates a new TemplateSummaryNotificationEndpointAllOf object