github.com/opentofu/opentofu@v1.7.1/internal/registry/response/module_list.go (about) 1 // Copyright (c) The OpenTofu Authors 2 // SPDX-License-Identifier: MPL-2.0 3 // Copyright (c) 2023 HashiCorp, Inc. 4 // SPDX-License-Identifier: MPL-2.0 5 6 package response 7 8 // ModuleList is the response structure for a pageable list of modules. 9 type ModuleList struct { 10 Meta PaginationMeta `json:"meta"` 11 Modules []*Module `json:"modules"` 12 }