-
Notifications
You must be signed in to change notification settings - Fork 31
/
method_list.go
43 lines (33 loc) · 1.08 KB
/
method_list.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
Copyright © 2023 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: MPL-2.0
*/
package models
import (
"github.com/go-openapi/swag"
)
// VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse Response from listing EksClusters.
//
// swagger:model vmware.tanzu.manage.v1alpha1.ekscluster.ListEksClustersResponse
type VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse struct {
// List of eksclusters.
EksClusters []*VmwareTanzuManageV1alpha1EksclusterEksCluster `json:"eksClusters"`
// Total count.
TotalCount string `json:"totalCount,omitempty"`
}
// MarshalBinary interface implementation.
func (m *VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation.
func (m *VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse) UnmarshalBinary(b []byte) error {
var res VmwareTanzuManageV1alpha1EksclusterListEksClustersResponse
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}