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

package operations

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

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

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

type V3GlobaldataScansGetRequest 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"`
	// The unique identifier of the tracked scan
	ScanID string `pathParam:"style=simple,explode=false,name=scan_id"`
}

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

func (o *V3GlobaldataScansGetRequest) GetScanID() string {
	if o == nil {
		return ""
	}
	return o.ScanID
}

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

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

func (o *V3GlobaldataScansGetResponse) GetResponseEnvelopeTrackedScan() *components.ResponseEnvelopeTrackedScan {
	if o == nil {
		return nil
	}
	return o.ResponseEnvelopeTrackedScan
}

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