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

package operations

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

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

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

type V3ThreathuntingValueCountsRequest 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"`
	SearchValueCountsInputBody components.SearchValueCountsInputBody `request:"mediaType=application/json"`
}

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

func (o *V3ThreathuntingValueCountsRequest) GetSearchValueCountsInputBody() components.SearchValueCountsInputBody {
	if o == nil {
		return components.SearchValueCountsInputBody{}
	}
	return o.SearchValueCountsInputBody
}

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

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

func (o *V3ThreathuntingValueCountsResponse) GetResponseEnvelopeValueCountsResponse() *components.ResponseEnvelopeValueCountsResponse {
	if o == nil {
		return nil
	}
	return o.ResponseEnvelopeValueCountsResponse
}

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