2022-09-08 13:19:21 -04:00
|
|
|
// Code generated by "make api"; DO NOT EDIT.
|
2023-05-09 12:03:54 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2022-09-08 13:19:21 -04:00
|
|
|
package workers
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/hashicorp/boundary/api"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type CertificateAuthority struct {
|
|
|
|
|
Certs []*Certificate `json:"certs,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CertificateAuthorityReadResult struct {
|
|
|
|
|
Item *CertificateAuthority
|
2024-04-17 11:13:08 -07:00
|
|
|
Response *api.Response
|
2022-09-08 13:19:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (n CertificateAuthorityReadResult) GetItem() *CertificateAuthority {
|
|
|
|
|
return n.Item
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (n CertificateAuthorityReadResult) GetResponse() *api.Response {
|
2024-04-17 11:13:08 -07:00
|
|
|
return n.Response
|
2022-09-08 13:19:21 -04:00
|
|
|
}
|