Skip to content

Commit

Permalink
chore(tutone): update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
zlesnr authored Jul 15, 2024
1 parent 488ace7 commit cec5a7d
Show file tree
Hide file tree
Showing 40 changed files with 6,261 additions and 1,073 deletions.
3 changes: 2 additions & 1 deletion internal/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import (
"testing"
"time"

"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
)

func TestIntArrayToString(t *testing.T) {
Expand Down
18 changes: 11 additions & 7 deletions pkg/accountmanagement/accountmanagement_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions pkg/accounts/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Code generated by tutone: DO NOT EDIT
package accounts

// RegionScope -
type RegionScope string

var RegionScopeTypes = struct {
Expand All @@ -18,18 +17,14 @@ var RegionScopeTypes = struct {

// AccountOutline - The `AccountOutline` object provides basic data about an account.
type AccountOutline struct {
//
ID int `json:"id,omitempty"`
//
ID int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
// Returns event types that are currently reporting in the account.
ReportingEventTypes []string `json:"reportingEventTypes,omitempty"`
}

// AccountReference - The `AccountReference` object provides basic identifying information about the account.
type AccountReference struct {
//
ID int `json:"id,omitempty"`
//
ID int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
}
Loading

0 comments on commit cec5a7d

Please sign in to comment.