func NewGetCertificateArgs(origin string) *GetCertificateArgs {
	args := new(GetCertificateArgs)
	args.Origin = origin
	return args
}
NewGetCertificateArgs initializes GetCertificateArgs with the required arguments.
package network
import (
	"github.com/mafredri/cdp/protocol/debugger"
	"github.com/mafredri/cdp/protocol/io"
)
type CanClearBrowserCacheReply struct {
	Result bool `json:"result"`  
}
type CanClearBrowserCookiesReply struct {
	Result bool `json:"result"`  
}
type CanEmulateNetworkConditionsReply struct {
	Result bool `json:"result"`  
}
type ContinueInterceptedRequestArgs struct {
	InterceptionID        InterceptionID         `json:"interceptionId"`                   
	ErrorReason           ErrorReason            `json:"errorReason,omitempty"`            
	RawResponse           *string                `json:"rawResponse,omitempty"`            
	URL                   *string                `json:"url,omitempty"`                    
	Method                *string                `json:"method,omitempty"`                 
	PostData              *string                `json:"postData,omitempty"`               
	Headers               Headers                `json:"headers,omitempty"`                
	AuthChallengeResponse *AuthChallengeResponse `json:"authChallengeResponse,omitempty"`  
}
func NewContinueInterceptedRequestArgs(interceptionID InterceptionID) *ContinueInterceptedRequestArgs {
	args := new(ContinueInterceptedRequestArgs)
	args.InterceptionID = interceptionID
	return args
}
func (a *ContinueInterceptedRequestArgs) SetErrorReason(errorReason ErrorReason) *ContinueInterceptedRequestArgs {
	a.ErrorReason = errorReason
	return a
}
func (a *ContinueInterceptedRequestArgs) SetRawResponse(rawResponse string) *ContinueInterceptedRequestArgs {
	a.RawResponse = &rawResponse
	return a
}
func (a *ContinueInterceptedRequestArgs) SetURL(url string) *ContinueInterceptedRequestArgs {
	a.URL = &url
	return a
}
func (a *ContinueInterceptedRequestArgs) SetMethod(method string) *ContinueInterceptedRequestArgs {
	a.Method = &method
	return a
}
func (a *ContinueInterceptedRequestArgs) SetPostData(postData string) *ContinueInterceptedRequestArgs {
	a.PostData = &postData
	return a
}
func (a *ContinueInterceptedRequestArgs) SetHeaders(headers Headers) *ContinueInterceptedRequestArgs {
	a.Headers = headers
	return a
}
func (a *ContinueInterceptedRequestArgs) SetAuthChallengeResponse(authChallengeResponse AuthChallengeResponse) *ContinueInterceptedRequestArgs {
	a.AuthChallengeResponse = &authChallengeResponse
	return a
}
type DeleteCookiesArgs struct {
	Name   string  `json:"name"`              
	URL    *string `json:"url,omitempty"`     
	Domain *string `json:"domain,omitempty"`  
	Path   *string `json:"path,omitempty"`    
}
func NewDeleteCookiesArgs(name string) *DeleteCookiesArgs {
	args := new(DeleteCookiesArgs)
	args.Name = name
	return args
}
func (a *DeleteCookiesArgs) SetURL(url string) *DeleteCookiesArgs {
	a.URL = &url
	return a
}
func (a *DeleteCookiesArgs) SetDomain(domain string) *DeleteCookiesArgs {
	a.Domain = &domain
	return a
}
func (a *DeleteCookiesArgs) SetPath(path string) *DeleteCookiesArgs {
	a.Path = &path
	return a
}
type EmulateNetworkConditionsArgs struct {
	Offline            bool           `json:"offline"`                   
	Latency            float64        `json:"latency"`                   
	DownloadThroughput float64        `json:"downloadThroughput"`        
	UploadThroughput   float64        `json:"uploadThroughput"`          
	ConnectionType     ConnectionType `json:"connectionType,omitempty"`  
}
func NewEmulateNetworkConditionsArgs(offline bool, latency float64, downloadThroughput float64, uploadThroughput float64) *EmulateNetworkConditionsArgs {
	args := new(EmulateNetworkConditionsArgs)
	args.Offline = offline
	args.Latency = latency
	args.DownloadThroughput = downloadThroughput
	args.UploadThroughput = uploadThroughput
	return args
}
func (a *EmulateNetworkConditionsArgs) SetConnectionType(connectionType ConnectionType) *EmulateNetworkConditionsArgs {
	a.ConnectionType = connectionType
	return a
}
type EnableArgs struct {
	MaxTotalBufferSize *int `json:"maxTotalBufferSize,omitempty"`
	MaxResourceBufferSize *int `json:"maxResourceBufferSize,omitempty"`
	MaxPostDataSize       *int `json:"maxPostDataSize,omitempty"`  
}
func NewEnableArgs() *EnableArgs {
	args := new(EnableArgs)
	return args
}
func (a *EnableArgs) SetMaxTotalBufferSize(maxTotalBufferSize int) *EnableArgs {
	a.MaxTotalBufferSize = &maxTotalBufferSize
	return a
}
func (a *EnableArgs) SetMaxResourceBufferSize(maxResourceBufferSize int) *EnableArgs {
	a.MaxResourceBufferSize = &maxResourceBufferSize
	return a
}
func (a *EnableArgs) SetMaxPostDataSize(maxPostDataSize int) *EnableArgs {
	a.MaxPostDataSize = &maxPostDataSize
	return a
}
type GetAllCookiesReply struct {
	Cookies []Cookie `json:"cookies"`  
}
type GetCertificateArgs struct {
	Origin string `json:"origin"`  
}