Skip to content

Commit

Permalink
Updated assets for go models and clients
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar <[email protected]>
  • Loading branch information
sagarpsalvi committed Feb 7, 2024
1 parent 61df0d7 commit 982c361
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go/examples/test/create_cloud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestCreateCloud(t *testing.T) {
cloudobj.LicenseType = &lt
ltier := "ENTERPRISE_18"
cloudobj.LicenseTier = &ltier
mtu := (int32)(1300)
mtu := (uint32)(1300)
cloudobj.Mtu = &mtu

tobj, err := aviClient.Cloud.Create(&cloudobj)
Expand Down
2 changes: 1 addition & 1 deletion go/examples/test/create_profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestCreateProfiles(t *testing.T) {
sslobj.TenantRef = &tr
essr := true
sslobj.EnableSslSessionReuse = &essr
sst := (int32)(86400)
sst := (uint32)(86400)
sslobj.SslSessionTimeout = &sst
pcco := false
sslobj.PreferClientCipherOrdering = &pcco
Expand Down
4 changes: 2 additions & 2 deletions go/examples/test/create_virtualservice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func TestCreateVirtualservice(t *testing.T) {
vsobj.TenantRef = &tr
vsobj.PoolRef = npobj.UUID
vsobj.CloudRef = &cuuid
port := (int32)(80)
port := (uint32)(80)
vsobj.Services = append(vsobj.Services, &models.Service{Port: &port})

nvsobj, err := aviClient.VirtualService.Create(&vsobj)
Expand All @@ -139,7 +139,7 @@ func TestCreateVirtualservice(t *testing.T) {
if err == nil {
vsname := "Test-vs"
vservice.Name = &vsname
port := (int32)(443)
port := (uint32)(443)
vservice.Services = append(vsobj.Services, &models.Service{Port: &port})
upObj, err := aviClient.VirtualService.Update(&vservice)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go/models/c_c_vnic_info.go

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion go/models/must_checks_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type MustChecksInfo struct {
// Reason for must check failure. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Description *string `json:"description,omitempty"`

// Additional details of the must check failure. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Additional details of the must check. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Details []string `json:"details,omitempty"`

// Time taken to complete must check in seconds. Field introduced in 22.1.3. Unit is SEC. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Expand All @@ -23,6 +23,9 @@ type MustChecksInfo struct {
// Time at which execution of must check was completed. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
EndTime *string `json:"end_time,omitempty"`

// Error/Failure details of the must check. Field introduced in 22.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
ErrorDetails []string `json:"error_details,omitempty"`

// Time at which execution of must check was started. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
StartTime *string `json:"start_time,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion go/models/server_auto_scale_failed_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_in_complete_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_in_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_out_complete_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_out_info.go

Large diffs are not rendered by default.

0 comments on commit 982c361

Please sign in to comment.