// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package operations

import (
	"github.com/censys/censys-sdk-go/models/components"
)

type V3GlobaldataAssetCertificateListGlobals struct {
	OrganizationID *string `queryParam:"style=form,explode=true,name=organization_id"`
}

func (o *V3GlobaldataAssetCertificateListGlobals) GetOrganizationID() *string {
	if o == nil {
		return nil
	}
	return o.OrganizationID
}

type V3GlobaldataAssetCertificateListRequest struct {
	// The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-set-your-organization-id) for more information.
	OrganizationID *string `queryParam:"style=form,explode=false,name=organization_id"`
	// A list of SHA-256 certificate fingerprints.
	CertificateIds []string `queryParam:"style=form,explode=false,name=certificate_ids"`
}

func (o *V3GlobaldataAssetCertificateListRequest) GetOrganizationID() *string {
	if o == nil {
		return nil
	}
	return o.OrganizationID
}

func (o *V3GlobaldataAssetCertificateListRequest) GetCertificateIds() []string {
	if o == nil {
		return nil
	}
	return o.CertificateIds
}

type V3GlobaldataAssetCertificateListResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// OK
	ResponseEnvelopeListCertificateAsset *components.ResponseEnvelopeListCertificateAsset
	Headers                              map[string][]string
}

func (o *V3GlobaldataAssetCertificateListResponse) GetHTTPMeta() components.HTTPMetadata {
	if o == nil {
		return components.HTTPMetadata{}
	}
	return o.HTTPMeta
}

func (o *V3GlobaldataAssetCertificateListResponse) GetResponseEnvelopeListCertificateAsset() *components.ResponseEnvelopeListCertificateAsset {
	if o == nil {
		return nil
	}
	return o.ResponseEnvelopeListCertificateAsset
}

func (o *V3GlobaldataAssetCertificateListResponse) GetHeaders() map[string][]string {
	if o == nil {
		return map[string][]string{}
	}
	return o.Headers
}
