Skip to content

Commit

Permalink
chore(deps): updated workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
NSSPKrishna committed Aug 22, 2022
1 parent 04046e0 commit bb61350
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .tutone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -995,13 +995,13 @@ packages:
- github.com/newrelic/newrelic-client-go/pkg/users
mutations:
- name: workloadCreate
max_query_field_depth: 3
max_query_field_depth: 6
- name: workloadDelete
max_query_field_depth: 3
max_query_field_depth: 6
- name: workloadDuplicate
max_query_field_depth: 3
max_query_field_depth: 6
- name: workloadUpdate
max_query_field_depth: 3
max_query_field_depth: 6
types:
- name: WorkloadCreateInput
- name: WorkloadDuplicateInput
Expand Down
4 changes: 2 additions & 2 deletions pkg/workloads/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ type WorkloadCollection struct {
// The moment when the object was created, represented in milliseconds since the Unix epoch.
CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"`
// The user who created the workload.
CreatedBy users.UserReference `json:"createdBy"`
CreatedBy users.UserReference `json:"createdBy,omitempty"`
// Relevant information about the workload.
Description string `json:"description,omitempty"`
// A list of entity GUIDs. These entities will belong to the collection as long as their accounts are included in the scope accounts of the collection.
Expand Down Expand Up @@ -225,7 +225,7 @@ type WorkloadEntitySearchQuery struct {
// The moment when the object was created, represented in milliseconds since the Unix epoch.
CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"`
// The user who created the entity search query.
CreatedBy users.UserReference `json:"createdBy"`
CreatedBy users.UserReference `json:"createdBy,omitempty"`
// The unique identifier of the entity search query.
ID int `json:"id"`
// The entity search query that is used to perform the search of a group of entities.
Expand Down
148 changes: 148 additions & 0 deletions pkg/workloads/workloads_api.go

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

0 comments on commit bb61350

Please sign in to comment.