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 Oct 7, 2024
1 parent f577ac0 commit 47e98e1
Show file tree
Hide file tree
Showing 44 changed files with 6,348 additions and 1,068 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"`
}
2 changes: 1 addition & 1 deletion pkg/agent/agent_api.go

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

3 changes: 2 additions & 1 deletion pkg/agent/agent_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ package agent
import (
"testing"

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

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

func newAgentIntegrationTestClient(t *testing.T) Agent {
Expand Down
1 change: 0 additions & 1 deletion pkg/agent/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ type AgentReleasesAgentRelease struct {
Version string `json:"version,omitempty"`
}

// DocumentationFields -
type DocumentationFields struct {
// View a list of all releases for the provided Agent
AgentReleases []AgentReleasesAgentRelease `json:"agentReleases,omitempty"`
Expand Down
Loading

0 comments on commit 47e98e1

Please sign in to comment.