browserbase

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 18 Imported by: 0

README

BrowserBase Go SDK (Generated)

This repository contains a generated Go client for the BrowserBase API, built on top of an OpenAPI specification and powered by ogen.

How is the code generated?

  • The API surface and type schemas are described in the openapi.yaml (OpenAPI v3) file.

  • Code is generated automatically by ogen using the go generate directive in gen.go:

    go generate ./...
    

    ...which runs:

    go run github.com/ogen-go/ogen/cmd/ogen@latest --target browserbase --clean openapi.yaml
    
  • This generates the strongly-typed Go client and models for all defined endpoints.

  • Example tests in session_test.go show how to authenticate and use the client.

Learn more

For full API documentation and feature guides, see the official BrowserBase documentation.


This SDK is generated and not hand-edited; changes to the client code should be made via OpenAPI spec changes and regeneration.

Documentation

Overview

Example (Google)
apiKey := os.Getenv("X_BB_API_Key")
if apiKey == "" {
	fmt.Println("X_BB_API_Key environment variable not set")
	return
}
projectID := os.Getenv("BB_PROJECT_ID")
if projectID == "" {
	fmt.Println("BB_PROJECT_ID environment variable not set")
	return
}
sec := &EnvAPIKeySource{APIKey: apiKey}
client, err := NewClient("https://api.browserbase.com", sec)
if err != nil {
	fmt.Printf("failed to create client: %s\n", err)
	return
}

ctx := context.Background()
params := &SessionCreateParams{ProjectId: projectID}

session, err := client.CreateSession(ctx, params)
if err != nil {
	fmt.Printf("failed to create session: %s\n", err)
	return
}
connectURL, err := url.Parse(session.ConnectUrl)
if err != nil {
	fmt.Printf("error parsing connect url: %s\n", err)
	return
}
if connectURL == nil {
	fmt.Printf("connectUrl is empty in response: %+v", session)
	return
}
defer func() {
	// Clean up session (delete with REQUEST_RELEASE)
	params := UpdateSessionParams{ID: session.ID}
	delParams := &SessionUpdateParams{ProjectId: projectID, Status: SessionUpdateParamsStatusREQUESTRELEASE}
	_, err := client.UpdateSession(ctx, delParams, params)
	if err != nil {
		fmt.Printf("failed to delete (request release) session: %v", err)
	}
}()

// chromedp requires that the port be specified in the URL.
connectURL = &url.URL{
	Scheme:   connectURL.Scheme,
	Host:     connectURL.Host + ":443",
	RawQuery: connectURL.RawQuery,
}

// Connect to the running Chrome instance in BrowserBase using chromedp Remote Allocator.
allocatorCtx, cancel := chromedp.NewRemoteAllocator(ctx, connectURL.String(), chromedp.NoModifyURL)
defer cancel()

chromeCtx, cancel := chromedp.NewContext(allocatorCtx)
defer cancel()

var pageTitle string
err = chromedp.Run(chromeCtx,
	chromedp.Navigate("https://www.google.com/"),
	// Wait for the page to load by waiting for the input box to become visible
	chromedp.WaitVisible(`body`, chromedp.ByQuery),
	chromedp.Title(&pageTitle),
)
if err != nil {
	fmt.Printf("chromedp navigation failed: %v", err)
	return
}
fmt.Printf("Navigated to google.com. Page title: %q", pageTitle)
Output:

Navigated to google.com. Page title: "Google"

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type BrowserbaseProxyConfig

type BrowserbaseProxyConfig struct {
	Type          BrowserbaseProxyConfigType `json:"type"`
	DomainPattern OptString                  `json:"domainPattern"`
	Geolocation   OptGeolocation             `json:"geolocation"`
}

Ref: #/components/schemas/BrowserbaseProxyConfig

func (*BrowserbaseProxyConfig) Decode

func (s *BrowserbaseProxyConfig) Decode(d *jx.Decoder) error

Decode decodes BrowserbaseProxyConfig from json.

func (*BrowserbaseProxyConfig) Encode

func (s *BrowserbaseProxyConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BrowserbaseProxyConfig) GetDomainPattern

func (s *BrowserbaseProxyConfig) GetDomainPattern() OptString

GetDomainPattern returns the value of DomainPattern.

func (*BrowserbaseProxyConfig) GetGeolocation

func (s *BrowserbaseProxyConfig) GetGeolocation() OptGeolocation

GetGeolocation returns the value of Geolocation.

func (*BrowserbaseProxyConfig) GetType

GetType returns the value of Type.

func (*BrowserbaseProxyConfig) MarshalJSON

func (s *BrowserbaseProxyConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BrowserbaseProxyConfig) SetDomainPattern

func (s *BrowserbaseProxyConfig) SetDomainPattern(val OptString)

SetDomainPattern sets the value of DomainPattern.

func (*BrowserbaseProxyConfig) SetGeolocation

func (s *BrowserbaseProxyConfig) SetGeolocation(val OptGeolocation)

SetGeolocation sets the value of Geolocation.

func (*BrowserbaseProxyConfig) SetType

SetType sets the value of Type.

func (*BrowserbaseProxyConfig) UnmarshalJSON

func (s *BrowserbaseProxyConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BrowserbaseProxyConfig) Validate

func (s *BrowserbaseProxyConfig) Validate() error

type BrowserbaseProxyConfigType

type BrowserbaseProxyConfigType string
const (
	BrowserbaseProxyConfigTypeBrowserbase BrowserbaseProxyConfigType = "browserbase"
)

func (BrowserbaseProxyConfigType) AllValues

AllValues returns all BrowserbaseProxyConfigType values.

func (*BrowserbaseProxyConfigType) Decode

Decode decodes BrowserbaseProxyConfigType from json.

func (BrowserbaseProxyConfigType) Encode

func (s BrowserbaseProxyConfigType) Encode(e *jx.Encoder)

Encode encodes BrowserbaseProxyConfigType as json.

func (BrowserbaseProxyConfigType) MarshalJSON

func (s BrowserbaseProxyConfigType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (BrowserbaseProxyConfigType) MarshalText

func (s BrowserbaseProxyConfigType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*BrowserbaseProxyConfigType) UnmarshalJSON

func (s *BrowserbaseProxyConfigType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BrowserbaseProxyConfigType) UnmarshalText

func (s *BrowserbaseProxyConfigType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (BrowserbaseProxyConfigType) Validate

func (s BrowserbaseProxyConfigType) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) CreateContext

func (c *Client) CreateContext(ctx context.Context, request *ContextCreateParams) (*ContextCreateResponse, error)

CreateContext invokes createContext operation.

Create a Context.

POST /v1/contexts

func (*Client) CreateExtension

func (c *Client) CreateExtension(ctx context.Context, request *ExtensionCreateParamsMultipart) (*Extension, error)

CreateExtension invokes createExtension operation.

Upload an Extension.

POST /v1/extensions

func (*Client) CreateSession

func (c *Client) CreateSession(ctx context.Context, request *SessionCreateParams) (*SessionCreateResponse, error)

CreateSession invokes createSession operation.

Create Session.

POST /v1/sessions

func (*Client) CreateSessionUploads

func (c *Client) CreateSessionUploads(ctx context.Context, request *UploadCreateParamsMultipart, params CreateSessionUploadsParams) (*UploadCreateResponse, error)

CreateSessionUploads invokes createSessionUploads operation.

Create Session Uploads.

POST /v1/sessions/{id}/uploads

func (*Client) DeleteExtension

func (c *Client) DeleteExtension(ctx context.Context, params DeleteExtensionParams) error

DeleteExtension invokes deleteExtension operation.

Delete Extension.

DELETE /v1/extensions/{id}

func (*Client) GetSessionRecording

func (c *Client) GetSessionRecording(ctx context.Context, params GetSessionRecordingParams) (RecordingRetrieveResponse, error)

GetSessionRecording invokes getSessionRecording operation.

Get Session Recording.

GET /v1/sessions/{id}/recording

func (*Client) ListProjects

func (c *Client) ListProjects(ctx context.Context) (ProjectListResponse, error)

ListProjects invokes listProjects operation.

List Projects.

GET /v1/projects

func (*Client) ListSessionDownloads

func (c *Client) ListSessionDownloads(ctx context.Context, params ListSessionDownloadsParams) (ListSessionDownloadsOK, error)

ListSessionDownloads invokes listSessionDownloads operation.

Session Downloads (zip).

GET /v1/sessions/{id}/downloads

func (*Client) ListSessionLogs

func (c *Client) ListSessionLogs(ctx context.Context, params ListSessionLogsParams) (LogListResponse, error)

ListSessionLogs invokes listSessionLogs operation.

Session Logs.

GET /v1/sessions/{id}/logs

func (*Client) ListSessions

func (c *Client) ListSessions(ctx context.Context, params ListSessionsParams) (SessionListResponse, error)

ListSessions invokes listSessions operation.

List Sessions.

GET /v1/sessions

func (*Client) ProjectUsage

func (c *Client) ProjectUsage(ctx context.Context, params ProjectUsageParams) (*ProjectUsage, error)

ProjectUsage invokes projectUsage operation.

Project Usage.

GET /v1/projects/{id}/usage

func (*Client) RetrieveContext

func (c *Client) RetrieveContext(ctx context.Context, params RetrieveContextParams) (*Context, error)

RetrieveContext invokes retrieveContext operation.

Retrieve a Context.

GET /v1/contexts/{id}

func (*Client) RetrieveExtension

func (c *Client) RetrieveExtension(ctx context.Context, params RetrieveExtensionParams) (*Extension, error)

RetrieveExtension invokes retrieveExtension operation.

Retrieve Extension.

GET /v1/extensions/{id}

func (*Client) RetrieveProject

func (c *Client) RetrieveProject(ctx context.Context, params RetrieveProjectParams) (*Project, error)

RetrieveProject invokes retrieveProject operation.

Retrieve Project.

GET /v1/projects/{id}

func (*Client) RetrieveSession

func (c *Client) RetrieveSession(ctx context.Context, params RetrieveSessionParams) (*SessionCreateResponse, error)

RetrieveSession invokes retrieveSession operation.

Retrieve Session.

GET /v1/sessions/{id}

func (*Client) SessionDebug

func (c *Client) SessionDebug(ctx context.Context, params SessionDebugParams) (*SessionLiveURLs, error)

SessionDebug invokes sessionDebug operation.

Get Session Live URLs.

GET /v1/sessions/{id}/debug

func (*Client) UpdateContext

func (c *Client) UpdateContext(ctx context.Context, params UpdateContextParams) (*ContextCreateResponse, error)

UpdateContext invokes updateContext operation.

Update a Context.

PUT /v1/contexts/{id}

func (*Client) UpdateSession

func (c *Client) UpdateSession(ctx context.Context, request *SessionUpdateParams, params UpdateSessionParams) (*Session, error)

UpdateSession invokes updateSession operation.

Update Session.

POST /v1/sessions/{id}

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type Context

type Context struct {
	ID string `json:"id"`
	// The Project ID linked to the uploaded Context.
	ProjectId string `json:"projectId"`
	CreatedAt string `json:"createdAt"`
	UpdatedAt string `json:"updatedAt"`
}

Ref: #/components/schemas/Context

func (*Context) Decode

func (s *Context) Decode(d *jx.Decoder) error

Decode decodes Context from json.

func (*Context) Encode

func (s *Context) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Context) GetCreatedAt

func (s *Context) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*Context) GetID

func (s *Context) GetID() string

GetID returns the value of ID.

func (*Context) GetProjectId

func (s *Context) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*Context) GetUpdatedAt

func (s *Context) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*Context) MarshalJSON

func (s *Context) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Context) SetCreatedAt

func (s *Context) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*Context) SetID

func (s *Context) SetID(val string)

SetID sets the value of ID.

func (*Context) SetProjectId

func (s *Context) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*Context) SetUpdatedAt

func (s *Context) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*Context) UnmarshalJSON

func (s *Context) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ContextCreateParams

type ContextCreateParams struct {
	// The Project ID. Can be found in Settings.
	ProjectId string `json:"projectId"`
}

Ref: #/components/schemas/ContextCreateParams

func (*ContextCreateParams) Decode

func (s *ContextCreateParams) Decode(d *jx.Decoder) error

Decode decodes ContextCreateParams from json.

func (*ContextCreateParams) Encode

func (s *ContextCreateParams) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContextCreateParams) GetProjectId

func (s *ContextCreateParams) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*ContextCreateParams) MarshalJSON

func (s *ContextCreateParams) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContextCreateParams) SetProjectId

func (s *ContextCreateParams) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*ContextCreateParams) UnmarshalJSON

func (s *ContextCreateParams) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ContextCreateResponse

type ContextCreateResponse struct {
	ID string `json:"id"`
	// The cipher algorithm used (AES-256-CBC).
	CipherAlgorithm string `json:"cipherAlgorithm"`
	// Initialization vector size.
	InitializationVectorSize int    `json:"initializationVectorSize"`
	PublicKey                string `json:"publicKey"`
	// Upload URL for custom user-data-directory.
	UploadUrl string `json:"uploadUrl"`
}

Ref: #/components/schemas/ContextCreateResponse

func (*ContextCreateResponse) Decode

func (s *ContextCreateResponse) Decode(d *jx.Decoder) error

Decode decodes ContextCreateResponse from json.

func (*ContextCreateResponse) Encode

func (s *ContextCreateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ContextCreateResponse) GetCipherAlgorithm

func (s *ContextCreateResponse) GetCipherAlgorithm() string

GetCipherAlgorithm returns the value of CipherAlgorithm.

func (*ContextCreateResponse) GetID

func (s *ContextCreateResponse) GetID() string

GetID returns the value of ID.

func (*ContextCreateResponse) GetInitializationVectorSize

func (s *ContextCreateResponse) GetInitializationVectorSize() int

GetInitializationVectorSize returns the value of InitializationVectorSize.

func (*ContextCreateResponse) GetPublicKey

func (s *ContextCreateResponse) GetPublicKey() string

GetPublicKey returns the value of PublicKey.

func (*ContextCreateResponse) GetUploadUrl

func (s *ContextCreateResponse) GetUploadUrl() string

GetUploadUrl returns the value of UploadUrl.

func (*ContextCreateResponse) MarshalJSON

func (s *ContextCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ContextCreateResponse) SetCipherAlgorithm

func (s *ContextCreateResponse) SetCipherAlgorithm(val string)

SetCipherAlgorithm sets the value of CipherAlgorithm.

func (*ContextCreateResponse) SetID

func (s *ContextCreateResponse) SetID(val string)

SetID sets the value of ID.

func (*ContextCreateResponse) SetInitializationVectorSize

func (s *ContextCreateResponse) SetInitializationVectorSize(val int)

SetInitializationVectorSize sets the value of InitializationVectorSize.

func (*ContextCreateResponse) SetPublicKey

func (s *ContextCreateResponse) SetPublicKey(val string)

SetPublicKey sets the value of PublicKey.

func (*ContextCreateResponse) SetUploadUrl

func (s *ContextCreateResponse) SetUploadUrl(val string)

SetUploadUrl sets the value of UploadUrl.

func (*ContextCreateResponse) UnmarshalJSON

func (s *ContextCreateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateSessionUploadsParams

type CreateSessionUploadsParams struct {
	ID string
}

CreateSessionUploadsParams is parameters of createSessionUploads operation.

type DeleteExtensionNoContent

type DeleteExtensionNoContent struct{}

DeleteExtensionNoContent is response for DeleteExtension operation.

type DeleteExtensionParams

type DeleteExtensionParams struct {
	ID string
}

DeleteExtensionParams is parameters of deleteExtension operation.

type EnvAPIKeySource added in v0.1.1

type EnvAPIKeySource struct {
	APIKey string
}

EnvAPIKeySource implements SecuritySource for ogen and reads the API key from memory.

func (*EnvAPIKeySource) XBBAPIKey added in v0.1.1

func (s *EnvAPIKeySource) XBBAPIKey(ctx context.Context, operation OperationName) (XBBAPIKey, error)

XBBAPIKey fulfills the ogen SecuritySource for the X-BB-API-Key header.

type Extension

type Extension struct {
	ID        string `json:"id"`
	CreatedAt string `json:"createdAt"`
	FileName  string `json:"fileName"`
	ProjectId string `json:"projectId"`
	UpdatedAt string `json:"updatedAt"`
}

Ref: #/components/schemas/Extension

func (*Extension) Decode

func (s *Extension) Decode(d *jx.Decoder) error

Decode decodes Extension from json.

func (*Extension) Encode

func (s *Extension) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Extension) GetCreatedAt

func (s *Extension) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*Extension) GetFileName

func (s *Extension) GetFileName() string

GetFileName returns the value of FileName.

func (*Extension) GetID

func (s *Extension) GetID() string

GetID returns the value of ID.

func (*Extension) GetProjectId

func (s *Extension) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*Extension) GetUpdatedAt

func (s *Extension) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*Extension) MarshalJSON

func (s *Extension) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Extension) SetCreatedAt

func (s *Extension) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*Extension) SetFileName

func (s *Extension) SetFileName(val string)

SetFileName sets the value of FileName.

func (*Extension) SetID

func (s *Extension) SetID(val string)

SetID sets the value of ID.

func (*Extension) SetProjectId

func (s *Extension) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*Extension) SetUpdatedAt

func (s *Extension) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*Extension) UnmarshalJSON

func (s *Extension) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExtensionCreateParamsMultipart

type ExtensionCreateParamsMultipart struct {
	File ht.MultipartFile `json:"file"`
}

Ref: #/components/schemas/ExtensionCreateParams

func (*ExtensionCreateParamsMultipart) GetFile

GetFile returns the value of File.

func (*ExtensionCreateParamsMultipart) SetFile

SetFile sets the value of File.

type ExternalProxyConfig

type ExternalProxyConfig struct {
	Type          ExternalProxyConfigType `json:"type"`
	Server        string                  `json:"server"`
	DomainPattern OptString               `json:"domainPattern"`
	Password      OptString               `json:"password"`
	Username      OptString               `json:"username"`
}

Ref: #/components/schemas/ExternalProxyConfig

func (*ExternalProxyConfig) Decode

func (s *ExternalProxyConfig) Decode(d *jx.Decoder) error

Decode decodes ExternalProxyConfig from json.

func (*ExternalProxyConfig) Encode

func (s *ExternalProxyConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ExternalProxyConfig) GetDomainPattern

func (s *ExternalProxyConfig) GetDomainPattern() OptString

GetDomainPattern returns the value of DomainPattern.

func (*ExternalProxyConfig) GetPassword

func (s *ExternalProxyConfig) GetPassword() OptString

GetPassword returns the value of Password.

func (*ExternalProxyConfig) GetServer

func (s *ExternalProxyConfig) GetServer() string

GetServer returns the value of Server.

func (*ExternalProxyConfig) GetType

GetType returns the value of Type.

func (*ExternalProxyConfig) GetUsername

func (s *ExternalProxyConfig) GetUsername() OptString

GetUsername returns the value of Username.

func (*ExternalProxyConfig) MarshalJSON

func (s *ExternalProxyConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExternalProxyConfig) SetDomainPattern

func (s *ExternalProxyConfig) SetDomainPattern(val OptString)

SetDomainPattern sets the value of DomainPattern.

func (*ExternalProxyConfig) SetPassword

func (s *ExternalProxyConfig) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*ExternalProxyConfig) SetServer

func (s *ExternalProxyConfig) SetServer(val string)

SetServer sets the value of Server.

func (*ExternalProxyConfig) SetType

SetType sets the value of Type.

func (*ExternalProxyConfig) SetUsername

func (s *ExternalProxyConfig) SetUsername(val OptString)

SetUsername sets the value of Username.

func (*ExternalProxyConfig) UnmarshalJSON

func (s *ExternalProxyConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalProxyConfig) Validate

func (s *ExternalProxyConfig) Validate() error

type ExternalProxyConfigType

type ExternalProxyConfigType string
const (
	ExternalProxyConfigTypeExternal ExternalProxyConfigType = "external"
)

func (ExternalProxyConfigType) AllValues

AllValues returns all ExternalProxyConfigType values.

func (*ExternalProxyConfigType) Decode

func (s *ExternalProxyConfigType) Decode(d *jx.Decoder) error

Decode decodes ExternalProxyConfigType from json.

func (ExternalProxyConfigType) Encode

func (s ExternalProxyConfigType) Encode(e *jx.Encoder)

Encode encodes ExternalProxyConfigType as json.

func (ExternalProxyConfigType) MarshalJSON

func (s ExternalProxyConfigType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ExternalProxyConfigType) MarshalText

func (s ExternalProxyConfigType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ExternalProxyConfigType) UnmarshalJSON

func (s *ExternalProxyConfigType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExternalProxyConfigType) UnmarshalText

func (s *ExternalProxyConfigType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ExternalProxyConfigType) Validate

func (s ExternalProxyConfigType) Validate() error

type Geolocation

type Geolocation struct {
	Country string    `json:"country"`
	City    OptString `json:"city"`
	State   OptString `json:"state"`
}

Ref: #/components/schemas/Geolocation

func (*Geolocation) Decode

func (s *Geolocation) Decode(d *jx.Decoder) error

Decode decodes Geolocation from json.

func (*Geolocation) Encode

func (s *Geolocation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Geolocation) GetCity

func (s *Geolocation) GetCity() OptString

GetCity returns the value of City.

func (*Geolocation) GetCountry

func (s *Geolocation) GetCountry() string

GetCountry returns the value of Country.

func (*Geolocation) GetState

func (s *Geolocation) GetState() OptString

GetState returns the value of State.

func (*Geolocation) MarshalJSON

func (s *Geolocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Geolocation) SetCity

func (s *Geolocation) SetCity(val OptString)

SetCity sets the value of City.

func (*Geolocation) SetCountry

func (s *Geolocation) SetCountry(val string)

SetCountry sets the value of Country.

func (*Geolocation) SetState

func (s *Geolocation) SetState(val OptString)

SetState sets the value of State.

func (*Geolocation) UnmarshalJSON

func (s *Geolocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSessionRecordingParams

type GetSessionRecordingParams struct {
	ID string
}

GetSessionRecordingParams is parameters of getSessionRecording operation.

type Invoker

type Invoker interface {
	// CreateContext invokes createContext operation.
	//
	// Create a Context.
	//
	// POST /v1/contexts
	CreateContext(ctx context.Context, request *ContextCreateParams) (*ContextCreateResponse, error)
	// CreateExtension invokes createExtension operation.
	//
	// Upload an Extension.
	//
	// POST /v1/extensions
	CreateExtension(ctx context.Context, request *ExtensionCreateParamsMultipart) (*Extension, error)
	// CreateSession invokes createSession operation.
	//
	// Create Session.
	//
	// POST /v1/sessions
	CreateSession(ctx context.Context, request *SessionCreateParams) (*SessionCreateResponse, error)
	// CreateSessionUploads invokes createSessionUploads operation.
	//
	// Create Session Uploads.
	//
	// POST /v1/sessions/{id}/uploads
	CreateSessionUploads(ctx context.Context, request *UploadCreateParamsMultipart, params CreateSessionUploadsParams) (*UploadCreateResponse, error)
	// DeleteExtension invokes deleteExtension operation.
	//
	// Delete Extension.
	//
	// DELETE /v1/extensions/{id}
	DeleteExtension(ctx context.Context, params DeleteExtensionParams) error
	// GetSessionRecording invokes getSessionRecording operation.
	//
	// Get Session Recording.
	//
	// GET /v1/sessions/{id}/recording
	GetSessionRecording(ctx context.Context, params GetSessionRecordingParams) (RecordingRetrieveResponse, error)
	// ListProjects invokes listProjects operation.
	//
	// List Projects.
	//
	// GET /v1/projects
	ListProjects(ctx context.Context) (ProjectListResponse, error)
	// ListSessionDownloads invokes listSessionDownloads operation.
	//
	// Session Downloads (zip).
	//
	// GET /v1/sessions/{id}/downloads
	ListSessionDownloads(ctx context.Context, params ListSessionDownloadsParams) (ListSessionDownloadsOK, error)
	// ListSessionLogs invokes listSessionLogs operation.
	//
	// Session Logs.
	//
	// GET /v1/sessions/{id}/logs
	ListSessionLogs(ctx context.Context, params ListSessionLogsParams) (LogListResponse, error)
	// ListSessions invokes listSessions operation.
	//
	// List Sessions.
	//
	// GET /v1/sessions
	ListSessions(ctx context.Context, params ListSessionsParams) (SessionListResponse, error)
	// ProjectUsage invokes projectUsage operation.
	//
	// Project Usage.
	//
	// GET /v1/projects/{id}/usage
	ProjectUsage(ctx context.Context, params ProjectUsageParams) (*ProjectUsage, error)
	// RetrieveContext invokes retrieveContext operation.
	//
	// Retrieve a Context.
	//
	// GET /v1/contexts/{id}
	RetrieveContext(ctx context.Context, params RetrieveContextParams) (*Context, error)
	// RetrieveExtension invokes retrieveExtension operation.
	//
	// Retrieve Extension.
	//
	// GET /v1/extensions/{id}
	RetrieveExtension(ctx context.Context, params RetrieveExtensionParams) (*Extension, error)
	// RetrieveProject invokes retrieveProject operation.
	//
	// Retrieve Project.
	//
	// GET /v1/projects/{id}
	RetrieveProject(ctx context.Context, params RetrieveProjectParams) (*Project, error)
	// RetrieveSession invokes retrieveSession operation.
	//
	// Retrieve Session.
	//
	// GET /v1/sessions/{id}
	RetrieveSession(ctx context.Context, params RetrieveSessionParams) (*SessionCreateResponse, error)
	// SessionDebug invokes sessionDebug operation.
	//
	// Get Session Live URLs.
	//
	// GET /v1/sessions/{id}/debug
	SessionDebug(ctx context.Context, params SessionDebugParams) (*SessionLiveURLs, error)
	// UpdateContext invokes updateContext operation.
	//
	// Update a Context.
	//
	// PUT /v1/contexts/{id}
	UpdateContext(ctx context.Context, params UpdateContextParams) (*ContextCreateResponse, error)
	// UpdateSession invokes updateSession operation.
	//
	// Update Session.
	//
	// POST /v1/sessions/{id}
	UpdateSession(ctx context.Context, request *SessionUpdateParams, params UpdateSessionParams) (*Session, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type ListSessionDownloadsOK

type ListSessionDownloadsOK struct {
	Data io.Reader
}

func (ListSessionDownloadsOK) Read

func (s ListSessionDownloadsOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ListSessionDownloadsParams

type ListSessionDownloadsParams struct {
	ID string
}

ListSessionDownloadsParams is parameters of listSessionDownloads operation.

type ListSessionLogsParams

type ListSessionLogsParams struct {
	ID string
}

ListSessionLogsParams is parameters of listSessionLogs operation.

type ListSessionsParams

type ListSessionsParams struct {
	// Query sessions by user metadata.
	Q      OptString
	Status OptSessionStatus
}

ListSessionsParams is parameters of listSessions operation.

type LogListResponse

type LogListResponse []SessionLog

func (*LogListResponse) Decode

func (s *LogListResponse) Decode(d *jx.Decoder) error

Decode decodes LogListResponse from json.

func (LogListResponse) Encode

func (s LogListResponse) Encode(e *jx.Encoder)

Encode encodes LogListResponse as json.

func (LogListResponse) MarshalJSON

func (s LogListResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LogListResponse) UnmarshalJSON

func (s *LogListResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (LogListResponse) Validate

func (s LogListResponse) Validate() error

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	CreateContextOperation        OperationName = "CreateContext"
	CreateExtensionOperation      OperationName = "CreateExtension"
	CreateSessionOperation        OperationName = "CreateSession"
	CreateSessionUploadsOperation OperationName = "CreateSessionUploads"
	DeleteExtensionOperation      OperationName = "DeleteExtension"
	GetSessionRecordingOperation  OperationName = "GetSessionRecording"
	ListProjectsOperation         OperationName = "ListProjects"
	ListSessionDownloadsOperation OperationName = "ListSessionDownloads"
	ListSessionLogsOperation      OperationName = "ListSessionLogs"
	ListSessionsOperation         OperationName = "ListSessions"
	ProjectUsageOperation         OperationName = "ProjectUsage"
	RetrieveContextOperation      OperationName = "RetrieveContext"
	RetrieveExtensionOperation    OperationName = "RetrieveExtension"
	RetrieveProjectOperation      OperationName = "RetrieveProject"
	RetrieveSessionOperation      OperationName = "RetrieveSession"
	SessionDebugOperation         OperationName = "SessionDebug"
	UpdateContextOperation        OperationName = "UpdateContext"
	UpdateSessionOperation        OperationName = "UpdateSession"
)

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGeolocation

type OptGeolocation struct {
	Value Geolocation
	Set   bool
}

OptGeolocation is optional Geolocation.

func NewOptGeolocation

func NewOptGeolocation(v Geolocation) OptGeolocation

NewOptGeolocation returns new OptGeolocation with value set to v.

func (*OptGeolocation) Decode

func (o *OptGeolocation) Decode(d *jx.Decoder) error

Decode decodes Geolocation from json.

func (OptGeolocation) Encode

func (o OptGeolocation) Encode(e *jx.Encoder)

Encode encodes Geolocation as json.

func (OptGeolocation) Get

func (o OptGeolocation) Get() (v Geolocation, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptGeolocation) IsSet

func (o OptGeolocation) IsSet() bool

IsSet returns true if OptGeolocation was set.

func (OptGeolocation) MarshalJSON

func (s OptGeolocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGeolocation) Or

Or returns value if set, or given parameter if does not.

func (*OptGeolocation) Reset

func (o *OptGeolocation) Reset()

Reset unsets value.

func (*OptGeolocation) SetTo

func (o *OptGeolocation) SetTo(v Geolocation)

SetTo sets value to v.

func (*OptGeolocation) UnmarshalJSON

func (s *OptGeolocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat64

type OptNilFloat64 struct {
	Value float64
	Set   bool
	Null  bool
}

OptNilFloat64 is optional nullable float64.

func NewOptNilFloat64

func NewOptNilFloat64(v float64) OptNilFloat64

NewOptNilFloat64 returns new OptNilFloat64 with value set to v.

func (*OptNilFloat64) Decode

func (o *OptNilFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptNilFloat64) Encode

func (o OptNilFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptNilFloat64) Get

func (o OptNilFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64) IsNull

func (o OptNilFloat64) IsNull() bool

IsNull returns true if value is Null.

func (OptNilFloat64) IsSet

func (o OptNilFloat64) IsSet() bool

IsSet returns true if OptNilFloat64 was set.

func (OptNilFloat64) MarshalJSON

func (s OptNilFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat64) Or

func (o OptNilFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64) Reset

func (o *OptNilFloat64) Reset()

Reset unsets value.

func (*OptNilFloat64) SetTo

func (o *OptNilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptNilFloat64) SetToNull

func (o *OptNilFloat64) SetToNull()

SetToNull sets value to null.

func (*OptNilFloat64) UnmarshalJSON

func (s *OptNilFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSessionCreateResponseUserMetadata

type OptNilSessionCreateResponseUserMetadata struct {
	Value SessionCreateResponseUserMetadata
	Set   bool
	Null  bool
}

OptNilSessionCreateResponseUserMetadata is optional nullable SessionCreateResponseUserMetadata.

func NewOptNilSessionCreateResponseUserMetadata

func NewOptNilSessionCreateResponseUserMetadata(v SessionCreateResponseUserMetadata) OptNilSessionCreateResponseUserMetadata

NewOptNilSessionCreateResponseUserMetadata returns new OptNilSessionCreateResponseUserMetadata with value set to v.

func (*OptNilSessionCreateResponseUserMetadata) Decode

Decode decodes SessionCreateResponseUserMetadata from json.

func (OptNilSessionCreateResponseUserMetadata) Encode

Encode encodes SessionCreateResponseUserMetadata as json.

func (OptNilSessionCreateResponseUserMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSessionCreateResponseUserMetadata) IsNull

IsNull returns true if value is Null.

func (OptNilSessionCreateResponseUserMetadata) IsSet

IsSet returns true if OptNilSessionCreateResponseUserMetadata was set.

func (OptNilSessionCreateResponseUserMetadata) MarshalJSON

func (s OptNilSessionCreateResponseUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSessionCreateResponseUserMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSessionCreateResponseUserMetadata) Reset

Reset unsets value.

func (*OptNilSessionCreateResponseUserMetadata) SetTo

SetTo sets value to v.

func (*OptNilSessionCreateResponseUserMetadata) SetToNull

SetToNull sets value to null.

func (*OptNilSessionCreateResponseUserMetadata) UnmarshalJSON

func (s *OptNilSessionCreateResponseUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilSessionUserMetadata

type OptNilSessionUserMetadata struct {
	Value SessionUserMetadata
	Set   bool
	Null  bool
}

OptNilSessionUserMetadata is optional nullable SessionUserMetadata.

func NewOptNilSessionUserMetadata

func NewOptNilSessionUserMetadata(v SessionUserMetadata) OptNilSessionUserMetadata

NewOptNilSessionUserMetadata returns new OptNilSessionUserMetadata with value set to v.

func (*OptNilSessionUserMetadata) Decode

func (o *OptNilSessionUserMetadata) Decode(d *jx.Decoder) error

Decode decodes SessionUserMetadata from json.

func (OptNilSessionUserMetadata) Encode

func (o OptNilSessionUserMetadata) Encode(e *jx.Encoder)

Encode encodes SessionUserMetadata as json.

func (OptNilSessionUserMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSessionUserMetadata) IsNull

func (o OptNilSessionUserMetadata) IsNull() bool

IsNull returns true if value is Null.

func (OptNilSessionUserMetadata) IsSet

func (o OptNilSessionUserMetadata) IsSet() bool

IsSet returns true if OptNilSessionUserMetadata was set.

func (OptNilSessionUserMetadata) MarshalJSON

func (s OptNilSessionUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilSessionUserMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSessionUserMetadata) Reset

func (o *OptNilSessionUserMetadata) Reset()

Reset unsets value.

func (*OptNilSessionUserMetadata) SetTo

SetTo sets value to v.

func (*OptNilSessionUserMetadata) SetToNull

func (o *OptNilSessionUserMetadata) SetToNull()

SetToNull sets value to null.

func (*OptNilSessionUserMetadata) UnmarshalJSON

func (s *OptNilSessionUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsNull returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetToNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettings

type OptSessionBrowserSettings struct {
	Value SessionBrowserSettings
	Set   bool
}

OptSessionBrowserSettings is optional SessionBrowserSettings.

func NewOptSessionBrowserSettings

func NewOptSessionBrowserSettings(v SessionBrowserSettings) OptSessionBrowserSettings

NewOptSessionBrowserSettings returns new OptSessionBrowserSettings with value set to v.

func (*OptSessionBrowserSettings) Decode

func (o *OptSessionBrowserSettings) Decode(d *jx.Decoder) error

Decode decodes SessionBrowserSettings from json.

func (OptSessionBrowserSettings) Encode

func (o OptSessionBrowserSettings) Encode(e *jx.Encoder)

Encode encodes SessionBrowserSettings as json.

func (OptSessionBrowserSettings) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettings) IsSet

func (o OptSessionBrowserSettings) IsSet() bool

IsSet returns true if OptSessionBrowserSettings was set.

func (OptSessionBrowserSettings) MarshalJSON

func (s OptSessionBrowserSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettings) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettings) Reset

func (o *OptSessionBrowserSettings) Reset()

Reset unsets value.

func (*OptSessionBrowserSettings) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettings) UnmarshalJSON

func (s *OptSessionBrowserSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettingsContext

type OptSessionBrowserSettingsContext struct {
	Value SessionBrowserSettingsContext
	Set   bool
}

OptSessionBrowserSettingsContext is optional SessionBrowserSettingsContext.

func NewOptSessionBrowserSettingsContext

func NewOptSessionBrowserSettingsContext(v SessionBrowserSettingsContext) OptSessionBrowserSettingsContext

NewOptSessionBrowserSettingsContext returns new OptSessionBrowserSettingsContext with value set to v.

func (*OptSessionBrowserSettingsContext) Decode

Decode decodes SessionBrowserSettingsContext from json.

func (OptSessionBrowserSettingsContext) Encode

Encode encodes SessionBrowserSettingsContext as json.

func (OptSessionBrowserSettingsContext) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettingsContext) IsSet

IsSet returns true if OptSessionBrowserSettingsContext was set.

func (OptSessionBrowserSettingsContext) MarshalJSON

func (s OptSessionBrowserSettingsContext) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettingsContext) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettingsContext) Reset

Reset unsets value.

func (*OptSessionBrowserSettingsContext) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettingsContext) UnmarshalJSON

func (s *OptSessionBrowserSettingsContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettingsFingerprint

type OptSessionBrowserSettingsFingerprint struct {
	Value SessionBrowserSettingsFingerprint
	Set   bool
}

OptSessionBrowserSettingsFingerprint is optional SessionBrowserSettingsFingerprint.

func NewOptSessionBrowserSettingsFingerprint

func NewOptSessionBrowserSettingsFingerprint(v SessionBrowserSettingsFingerprint) OptSessionBrowserSettingsFingerprint

NewOptSessionBrowserSettingsFingerprint returns new OptSessionBrowserSettingsFingerprint with value set to v.

func (*OptSessionBrowserSettingsFingerprint) Decode

Decode decodes SessionBrowserSettingsFingerprint from json.

func (OptSessionBrowserSettingsFingerprint) Encode

Encode encodes SessionBrowserSettingsFingerprint as json.

func (OptSessionBrowserSettingsFingerprint) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettingsFingerprint) IsSet

IsSet returns true if OptSessionBrowserSettingsFingerprint was set.

func (OptSessionBrowserSettingsFingerprint) MarshalJSON

func (s OptSessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettingsFingerprint) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettingsFingerprint) Reset

Reset unsets value.

func (*OptSessionBrowserSettingsFingerprint) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettingsFingerprint) UnmarshalJSON

func (s *OptSessionBrowserSettingsFingerprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettingsFingerprintHttpVersion

type OptSessionBrowserSettingsFingerprintHttpVersion struct {
	Value SessionBrowserSettingsFingerprintHttpVersion
	Set   bool
}

OptSessionBrowserSettingsFingerprintHttpVersion is optional SessionBrowserSettingsFingerprintHttpVersion.

func NewOptSessionBrowserSettingsFingerprintHttpVersion

func NewOptSessionBrowserSettingsFingerprintHttpVersion(v SessionBrowserSettingsFingerprintHttpVersion) OptSessionBrowserSettingsFingerprintHttpVersion

NewOptSessionBrowserSettingsFingerprintHttpVersion returns new OptSessionBrowserSettingsFingerprintHttpVersion with value set to v.

func (*OptSessionBrowserSettingsFingerprintHttpVersion) Decode

Decode decodes SessionBrowserSettingsFingerprintHttpVersion from json.

func (OptSessionBrowserSettingsFingerprintHttpVersion) Encode

Encode encodes SessionBrowserSettingsFingerprintHttpVersion as json.

func (OptSessionBrowserSettingsFingerprintHttpVersion) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettingsFingerprintHttpVersion) IsSet

IsSet returns true if OptSessionBrowserSettingsFingerprintHttpVersion was set.

func (OptSessionBrowserSettingsFingerprintHttpVersion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettingsFingerprintHttpVersion) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettingsFingerprintHttpVersion) Reset

Reset unsets value.

func (*OptSessionBrowserSettingsFingerprintHttpVersion) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettingsFingerprintScreen

type OptSessionBrowserSettingsFingerprintScreen struct {
	Value SessionBrowserSettingsFingerprintScreen
	Set   bool
}

OptSessionBrowserSettingsFingerprintScreen is optional SessionBrowserSettingsFingerprintScreen.

func NewOptSessionBrowserSettingsFingerprintScreen

func NewOptSessionBrowserSettingsFingerprintScreen(v SessionBrowserSettingsFingerprintScreen) OptSessionBrowserSettingsFingerprintScreen

NewOptSessionBrowserSettingsFingerprintScreen returns new OptSessionBrowserSettingsFingerprintScreen with value set to v.

func (*OptSessionBrowserSettingsFingerprintScreen) Decode

Decode decodes SessionBrowserSettingsFingerprintScreen from json.

func (OptSessionBrowserSettingsFingerprintScreen) Encode

Encode encodes SessionBrowserSettingsFingerprintScreen as json.

func (OptSessionBrowserSettingsFingerprintScreen) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettingsFingerprintScreen) IsSet

IsSet returns true if OptSessionBrowserSettingsFingerprintScreen was set.

func (OptSessionBrowserSettingsFingerprintScreen) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettingsFingerprintScreen) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettingsFingerprintScreen) Reset

Reset unsets value.

func (*OptSessionBrowserSettingsFingerprintScreen) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettingsFingerprintScreen) UnmarshalJSON

func (s *OptSessionBrowserSettingsFingerprintScreen) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionBrowserSettingsViewport

type OptSessionBrowserSettingsViewport struct {
	Value SessionBrowserSettingsViewport
	Set   bool
}

OptSessionBrowserSettingsViewport is optional SessionBrowserSettingsViewport.

func NewOptSessionBrowserSettingsViewport

func NewOptSessionBrowserSettingsViewport(v SessionBrowserSettingsViewport) OptSessionBrowserSettingsViewport

NewOptSessionBrowserSettingsViewport returns new OptSessionBrowserSettingsViewport with value set to v.

func (*OptSessionBrowserSettingsViewport) Decode

Decode decodes SessionBrowserSettingsViewport from json.

func (OptSessionBrowserSettingsViewport) Encode

Encode encodes SessionBrowserSettingsViewport as json.

func (OptSessionBrowserSettingsViewport) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionBrowserSettingsViewport) IsSet

IsSet returns true if OptSessionBrowserSettingsViewport was set.

func (OptSessionBrowserSettingsViewport) MarshalJSON

func (s OptSessionBrowserSettingsViewport) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionBrowserSettingsViewport) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionBrowserSettingsViewport) Reset

Reset unsets value.

func (*OptSessionBrowserSettingsViewport) SetTo

SetTo sets value to v.

func (*OptSessionBrowserSettingsViewport) UnmarshalJSON

func (s *OptSessionBrowserSettingsViewport) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionCreateParamsProxies

type OptSessionCreateParamsProxies struct {
	Value SessionCreateParamsProxies
	Set   bool
}

OptSessionCreateParamsProxies is optional SessionCreateParamsProxies.

func NewOptSessionCreateParamsProxies

func NewOptSessionCreateParamsProxies(v SessionCreateParamsProxies) OptSessionCreateParamsProxies

NewOptSessionCreateParamsProxies returns new OptSessionCreateParamsProxies with value set to v.

func (*OptSessionCreateParamsProxies) Decode

Decode decodes SessionCreateParamsProxies from json.

func (OptSessionCreateParamsProxies) Encode

Encode encodes SessionCreateParamsProxies as json.

func (OptSessionCreateParamsProxies) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionCreateParamsProxies) IsSet

IsSet returns true if OptSessionCreateParamsProxies was set.

func (OptSessionCreateParamsProxies) MarshalJSON

func (s OptSessionCreateParamsProxies) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionCreateParamsProxies) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionCreateParamsProxies) Reset

func (o *OptSessionCreateParamsProxies) Reset()

Reset unsets value.

func (*OptSessionCreateParamsProxies) SetTo

SetTo sets value to v.

func (*OptSessionCreateParamsProxies) UnmarshalJSON

func (s *OptSessionCreateParamsProxies) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionCreateParamsRegion

type OptSessionCreateParamsRegion struct {
	Value SessionCreateParamsRegion
	Set   bool
}

OptSessionCreateParamsRegion is optional SessionCreateParamsRegion.

func NewOptSessionCreateParamsRegion

func NewOptSessionCreateParamsRegion(v SessionCreateParamsRegion) OptSessionCreateParamsRegion

NewOptSessionCreateParamsRegion returns new OptSessionCreateParamsRegion with value set to v.

func (*OptSessionCreateParamsRegion) Decode

Decode decodes SessionCreateParamsRegion from json.

func (OptSessionCreateParamsRegion) Encode

Encode encodes SessionCreateParamsRegion as json.

func (OptSessionCreateParamsRegion) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionCreateParamsRegion) IsSet

IsSet returns true if OptSessionCreateParamsRegion was set.

func (OptSessionCreateParamsRegion) MarshalJSON

func (s OptSessionCreateParamsRegion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionCreateParamsRegion) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionCreateParamsRegion) Reset

func (o *OptSessionCreateParamsRegion) Reset()

Reset unsets value.

func (*OptSessionCreateParamsRegion) SetTo

SetTo sets value to v.

func (*OptSessionCreateParamsRegion) UnmarshalJSON

func (s *OptSessionCreateParamsRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionCreateParamsUserMetadata

type OptSessionCreateParamsUserMetadata struct {
	Value SessionCreateParamsUserMetadata
	Set   bool
}

OptSessionCreateParamsUserMetadata is optional SessionCreateParamsUserMetadata.

func NewOptSessionCreateParamsUserMetadata

func NewOptSessionCreateParamsUserMetadata(v SessionCreateParamsUserMetadata) OptSessionCreateParamsUserMetadata

NewOptSessionCreateParamsUserMetadata returns new OptSessionCreateParamsUserMetadata with value set to v.

func (*OptSessionCreateParamsUserMetadata) Decode

Decode decodes SessionCreateParamsUserMetadata from json.

func (OptSessionCreateParamsUserMetadata) Encode

Encode encodes SessionCreateParamsUserMetadata as json.

func (OptSessionCreateParamsUserMetadata) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionCreateParamsUserMetadata) IsSet

IsSet returns true if OptSessionCreateParamsUserMetadata was set.

func (OptSessionCreateParamsUserMetadata) MarshalJSON

func (s OptSessionCreateParamsUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionCreateParamsUserMetadata) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionCreateParamsUserMetadata) Reset

Reset unsets value.

func (*OptSessionCreateParamsUserMetadata) SetTo

SetTo sets value to v.

func (*OptSessionCreateParamsUserMetadata) UnmarshalJSON

func (s *OptSessionCreateParamsUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionLogRequest

type OptSessionLogRequest struct {
	Value SessionLogRequest
	Set   bool
}

OptSessionLogRequest is optional SessionLogRequest.

func NewOptSessionLogRequest

func NewOptSessionLogRequest(v SessionLogRequest) OptSessionLogRequest

NewOptSessionLogRequest returns new OptSessionLogRequest with value set to v.

func (*OptSessionLogRequest) Decode

func (o *OptSessionLogRequest) Decode(d *jx.Decoder) error

Decode decodes SessionLogRequest from json.

func (OptSessionLogRequest) Encode

func (o OptSessionLogRequest) Encode(e *jx.Encoder)

Encode encodes SessionLogRequest as json.

func (OptSessionLogRequest) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionLogRequest) IsSet

func (o OptSessionLogRequest) IsSet() bool

IsSet returns true if OptSessionLogRequest was set.

func (OptSessionLogRequest) MarshalJSON

func (s OptSessionLogRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionLogRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionLogRequest) Reset

func (o *OptSessionLogRequest) Reset()

Reset unsets value.

func (*OptSessionLogRequest) SetTo

SetTo sets value to v.

func (*OptSessionLogRequest) UnmarshalJSON

func (s *OptSessionLogRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionLogResponse

type OptSessionLogResponse struct {
	Value SessionLogResponse
	Set   bool
}

OptSessionLogResponse is optional SessionLogResponse.

func NewOptSessionLogResponse

func NewOptSessionLogResponse(v SessionLogResponse) OptSessionLogResponse

NewOptSessionLogResponse returns new OptSessionLogResponse with value set to v.

func (*OptSessionLogResponse) Decode

func (o *OptSessionLogResponse) Decode(d *jx.Decoder) error

Decode decodes SessionLogResponse from json.

func (OptSessionLogResponse) Encode

func (o OptSessionLogResponse) Encode(e *jx.Encoder)

Encode encodes SessionLogResponse as json.

func (OptSessionLogResponse) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionLogResponse) IsSet

func (o OptSessionLogResponse) IsSet() bool

IsSet returns true if OptSessionLogResponse was set.

func (OptSessionLogResponse) MarshalJSON

func (s OptSessionLogResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionLogResponse) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionLogResponse) Reset

func (o *OptSessionLogResponse) Reset()

Reset unsets value.

func (*OptSessionLogResponse) SetTo

SetTo sets value to v.

func (*OptSessionLogResponse) UnmarshalJSON

func (s *OptSessionLogResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionStatus

type OptSessionStatus struct {
	Value SessionStatus
	Set   bool
}

OptSessionStatus is optional SessionStatus.

func NewOptSessionStatus

func NewOptSessionStatus(v SessionStatus) OptSessionStatus

NewOptSessionStatus returns new OptSessionStatus with value set to v.

func (OptSessionStatus) Get

func (o OptSessionStatus) Get() (v SessionStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionStatus) IsSet

func (o OptSessionStatus) IsSet() bool

IsSet returns true if OptSessionStatus was set.

func (OptSessionStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionStatus) Reset

func (o *OptSessionStatus) Reset()

Reset unsets value.

func (*OptSessionStatus) SetTo

func (o *OptSessionStatus) SetTo(v SessionStatus)

SetTo sets value to v.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

type Project

type Project struct {
	ID string `json:"id"`
	// Max concurrent sessions.
	Concurrency    int    `json:"concurrency"`
	CreatedAt      string `json:"createdAt"`
	DefaultTimeout int    `json:"defaultTimeout"`
	Name           string `json:"name"`
	OwnerId        string `json:"ownerId"`
	UpdatedAt      string `json:"updatedAt"`
}

Ref: #/components/schemas/Project

func (*Project) Decode

func (s *Project) Decode(d *jx.Decoder) error

Decode decodes Project from json.

func (*Project) Encode

func (s *Project) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Project) GetConcurrency

func (s *Project) GetConcurrency() int

GetConcurrency returns the value of Concurrency.

func (*Project) GetCreatedAt

func (s *Project) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*Project) GetDefaultTimeout

func (s *Project) GetDefaultTimeout() int

GetDefaultTimeout returns the value of DefaultTimeout.

func (*Project) GetID

func (s *Project) GetID() string

GetID returns the value of ID.

func (*Project) GetName

func (s *Project) GetName() string

GetName returns the value of Name.

func (*Project) GetOwnerId

func (s *Project) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*Project) GetUpdatedAt

func (s *Project) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*Project) MarshalJSON

func (s *Project) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Project) SetConcurrency

func (s *Project) SetConcurrency(val int)

SetConcurrency sets the value of Concurrency.

func (*Project) SetCreatedAt

func (s *Project) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*Project) SetDefaultTimeout

func (s *Project) SetDefaultTimeout(val int)

SetDefaultTimeout sets the value of DefaultTimeout.

func (*Project) SetID

func (s *Project) SetID(val string)

SetID sets the value of ID.

func (*Project) SetName

func (s *Project) SetName(val string)

SetName sets the value of Name.

func (*Project) SetOwnerId

func (s *Project) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*Project) SetUpdatedAt

func (s *Project) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*Project) UnmarshalJSON

func (s *Project) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectListResponse

type ProjectListResponse []Project

func (*ProjectListResponse) Decode

func (s *ProjectListResponse) Decode(d *jx.Decoder) error

Decode decodes ProjectListResponse from json.

func (ProjectListResponse) Encode

func (s ProjectListResponse) Encode(e *jx.Encoder)

Encode encodes ProjectListResponse as json.

func (ProjectListResponse) MarshalJSON

func (s ProjectListResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectListResponse) UnmarshalJSON

func (s *ProjectListResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ProjectListResponse) Validate

func (s ProjectListResponse) Validate() error

type ProjectUsage

type ProjectUsage struct {
	BrowserMinutes float64 `json:"browserMinutes"`
	ProxyBytes     float64 `json:"proxyBytes"`
}

Ref: #/components/schemas/ProjectUsage

func (*ProjectUsage) Decode

func (s *ProjectUsage) Decode(d *jx.Decoder) error

Decode decodes ProjectUsage from json.

func (*ProjectUsage) Encode

func (s *ProjectUsage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectUsage) GetBrowserMinutes

func (s *ProjectUsage) GetBrowserMinutes() float64

GetBrowserMinutes returns the value of BrowserMinutes.

func (*ProjectUsage) GetProxyBytes

func (s *ProjectUsage) GetProxyBytes() float64

GetProxyBytes returns the value of ProxyBytes.

func (*ProjectUsage) MarshalJSON

func (s *ProjectUsage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectUsage) SetBrowserMinutes

func (s *ProjectUsage) SetBrowserMinutes(val float64)

SetBrowserMinutes sets the value of BrowserMinutes.

func (*ProjectUsage) SetProxyBytes

func (s *ProjectUsage) SetProxyBytes(val float64)

SetProxyBytes sets the value of ProxyBytes.

func (*ProjectUsage) UnmarshalJSON

func (s *ProjectUsage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectUsage) Validate

func (s *ProjectUsage) Validate() error

type ProjectUsageParams

type ProjectUsageParams struct {
	ID string
}

ProjectUsageParams is parameters of projectUsage operation.

type RecordingRetrieveResponse

type RecordingRetrieveResponse []SessionRecording

func (*RecordingRetrieveResponse) Decode

func (s *RecordingRetrieveResponse) Decode(d *jx.Decoder) error

Decode decodes RecordingRetrieveResponse from json.

func (RecordingRetrieveResponse) Encode

func (s RecordingRetrieveResponse) Encode(e *jx.Encoder)

Encode encodes RecordingRetrieveResponse as json.

func (RecordingRetrieveResponse) MarshalJSON

func (s RecordingRetrieveResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecordingRetrieveResponse) UnmarshalJSON

func (s *RecordingRetrieveResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (RecordingRetrieveResponse) Validate

func (s RecordingRetrieveResponse) Validate() error

type RetrieveContextParams

type RetrieveContextParams struct {
	ID string
}

RetrieveContextParams is parameters of retrieveContext operation.

type RetrieveExtensionParams

type RetrieveExtensionParams struct {
	ID string
}

RetrieveExtensionParams is parameters of retrieveExtension operation.

type RetrieveProjectParams

type RetrieveProjectParams struct {
	ID string
}

RetrieveProjectParams is parameters of retrieveProject operation.

type RetrieveSessionParams

type RetrieveSessionParams struct {
	ID string
}

RetrieveSessionParams is parameters of retrieveSession operation.

type SecuritySource

type SecuritySource interface {
	// XBBAPIKey provides X_BB_API_Key security value.
	XBBAPIKey(ctx context.Context, operationName OperationName) (XBBAPIKey, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type Session

type Session struct {
	ID        string `json:"id"`
	CreatedAt string `json:"createdAt"`
	ExpiresAt string `json:"expiresAt"`
	// Whether the session should be kept alive upon disconnections.
	KeepAlive    bool                      `json:"keepAlive"`
	ProjectId    string                    `json:"projectId"`
	ProxyBytes   float64                   `json:"proxyBytes"`
	Region       SessionRegion             `json:"region"`
	StartedAt    string                    `json:"startedAt"`
	Status       SessionStatus             `json:"status"`
	UpdatedAt    string                    `json:"updatedAt"`
	AvgCpuUsage  OptNilFloat64             `json:"avgCpuUsage"`
	ContextId    OptNilString              `json:"contextId"`
	EndedAt      OptNilString              `json:"endedAt"`
	MemoryUsage  OptNilFloat64             `json:"memoryUsage"`
	UserMetadata OptNilSessionUserMetadata `json:"userMetadata"`
}

Ref: #/components/schemas/Session

func (*Session) Decode

func (s *Session) Decode(d *jx.Decoder) error

Decode decodes Session from json.

func (*Session) Encode

func (s *Session) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Session) GetAvgCpuUsage

func (s *Session) GetAvgCpuUsage() OptNilFloat64

GetAvgCpuUsage returns the value of AvgCpuUsage.

func (*Session) GetContextId

func (s *Session) GetContextId() OptNilString

GetContextId returns the value of ContextId.

func (*Session) GetCreatedAt

func (s *Session) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*Session) GetEndedAt

func (s *Session) GetEndedAt() OptNilString

GetEndedAt returns the value of EndedAt.

func (*Session) GetExpiresAt

func (s *Session) GetExpiresAt() string

GetExpiresAt returns the value of ExpiresAt.

func (*Session) GetID

func (s *Session) GetID() string

GetID returns the value of ID.

func (*Session) GetKeepAlive

func (s *Session) GetKeepAlive() bool

GetKeepAlive returns the value of KeepAlive.

func (*Session) GetMemoryUsage

func (s *Session) GetMemoryUsage() OptNilFloat64

GetMemoryUsage returns the value of MemoryUsage.

func (*Session) GetProjectId

func (s *Session) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*Session) GetProxyBytes

func (s *Session) GetProxyBytes() float64

GetProxyBytes returns the value of ProxyBytes.

func (*Session) GetRegion

func (s *Session) GetRegion() SessionRegion

GetRegion returns the value of Region.

func (*Session) GetStartedAt

func (s *Session) GetStartedAt() string

GetStartedAt returns the value of StartedAt.

func (*Session) GetStatus

func (s *Session) GetStatus() SessionStatus

GetStatus returns the value of Status.

func (*Session) GetUpdatedAt

func (s *Session) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*Session) GetUserMetadata

func (s *Session) GetUserMetadata() OptNilSessionUserMetadata

GetUserMetadata returns the value of UserMetadata.

func (*Session) MarshalJSON

func (s *Session) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Session) SetAvgCpuUsage

func (s *Session) SetAvgCpuUsage(val OptNilFloat64)

SetAvgCpuUsage sets the value of AvgCpuUsage.

func (*Session) SetContextId

func (s *Session) SetContextId(val OptNilString)

SetContextId sets the value of ContextId.

func (*Session) SetCreatedAt

func (s *Session) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*Session) SetEndedAt

func (s *Session) SetEndedAt(val OptNilString)

SetEndedAt sets the value of EndedAt.

func (*Session) SetExpiresAt

func (s *Session) SetExpiresAt(val string)

SetExpiresAt sets the value of ExpiresAt.

func (*Session) SetID

func (s *Session) SetID(val string)

SetID sets the value of ID.

func (*Session) SetKeepAlive

func (s *Session) SetKeepAlive(val bool)

SetKeepAlive sets the value of KeepAlive.

func (*Session) SetMemoryUsage

func (s *Session) SetMemoryUsage(val OptNilFloat64)

SetMemoryUsage sets the value of MemoryUsage.

func (*Session) SetProjectId

func (s *Session) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*Session) SetProxyBytes

func (s *Session) SetProxyBytes(val float64)

SetProxyBytes sets the value of ProxyBytes.

func (*Session) SetRegion

func (s *Session) SetRegion(val SessionRegion)

SetRegion sets the value of Region.

func (*Session) SetStartedAt

func (s *Session) SetStartedAt(val string)

SetStartedAt sets the value of StartedAt.

func (*Session) SetStatus

func (s *Session) SetStatus(val SessionStatus)

SetStatus sets the value of Status.

func (*Session) SetUpdatedAt

func (s *Session) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*Session) SetUserMetadata

func (s *Session) SetUserMetadata(val OptNilSessionUserMetadata)

SetUserMetadata sets the value of UserMetadata.

func (*Session) UnmarshalJSON

func (s *Session) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Session) Validate

func (s *Session) Validate() error

type SessionBrowserSettings

type SessionBrowserSettings struct {
	AdvancedStealth OptBool                              `json:"advancedStealth"`
	BlockAds        OptBool                              `json:"blockAds"`
	Context         OptSessionBrowserSettingsContext     `json:"context"`
	ExtensionId     OptString                            `json:"extensionId"`
	Fingerprint     OptSessionBrowserSettingsFingerprint `json:"fingerprint"`
	LogSession      OptBool                              `json:"logSession"`
	RecordSession   OptBool                              `json:"recordSession"`
	SolveCaptchas   OptBool                              `json:"solveCaptchas"`
	Viewport        OptSessionBrowserSettingsViewport    `json:"viewport"`
}

Ref: #/components/schemas/SessionBrowserSettings

func (*SessionBrowserSettings) Decode

func (s *SessionBrowserSettings) Decode(d *jx.Decoder) error

Decode decodes SessionBrowserSettings from json.

func (*SessionBrowserSettings) Encode

func (s *SessionBrowserSettings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionBrowserSettings) GetAdvancedStealth

func (s *SessionBrowserSettings) GetAdvancedStealth() OptBool

GetAdvancedStealth returns the value of AdvancedStealth.

func (*SessionBrowserSettings) GetBlockAds

func (s *SessionBrowserSettings) GetBlockAds() OptBool

GetBlockAds returns the value of BlockAds.

func (*SessionBrowserSettings) GetContext

GetContext returns the value of Context.

func (*SessionBrowserSettings) GetExtensionId

func (s *SessionBrowserSettings) GetExtensionId() OptString

GetExtensionId returns the value of ExtensionId.

func (*SessionBrowserSettings) GetFingerprint

GetFingerprint returns the value of Fingerprint.

func (*SessionBrowserSettings) GetLogSession

func (s *SessionBrowserSettings) GetLogSession() OptBool

GetLogSession returns the value of LogSession.

func (*SessionBrowserSettings) GetRecordSession

func (s *SessionBrowserSettings) GetRecordSession() OptBool

GetRecordSession returns the value of RecordSession.

func (*SessionBrowserSettings) GetSolveCaptchas

func (s *SessionBrowserSettings) GetSolveCaptchas() OptBool

GetSolveCaptchas returns the value of SolveCaptchas.

func (*SessionBrowserSettings) GetViewport

GetViewport returns the value of Viewport.

func (*SessionBrowserSettings) MarshalJSON

func (s *SessionBrowserSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionBrowserSettings) SetAdvancedStealth

func (s *SessionBrowserSettings) SetAdvancedStealth(val OptBool)

SetAdvancedStealth sets the value of AdvancedStealth.

func (*SessionBrowserSettings) SetBlockAds

func (s *SessionBrowserSettings) SetBlockAds(val OptBool)

SetBlockAds sets the value of BlockAds.

func (*SessionBrowserSettings) SetContext

SetContext sets the value of Context.

func (*SessionBrowserSettings) SetExtensionId

func (s *SessionBrowserSettings) SetExtensionId(val OptString)

SetExtensionId sets the value of ExtensionId.

func (*SessionBrowserSettings) SetFingerprint

SetFingerprint sets the value of Fingerprint.

func (*SessionBrowserSettings) SetLogSession

func (s *SessionBrowserSettings) SetLogSession(val OptBool)

SetLogSession sets the value of LogSession.

func (*SessionBrowserSettings) SetRecordSession

func (s *SessionBrowserSettings) SetRecordSession(val OptBool)

SetRecordSession sets the value of RecordSession.

func (*SessionBrowserSettings) SetSolveCaptchas

func (s *SessionBrowserSettings) SetSolveCaptchas(val OptBool)

SetSolveCaptchas sets the value of SolveCaptchas.

func (*SessionBrowserSettings) SetViewport

SetViewport sets the value of Viewport.

func (*SessionBrowserSettings) UnmarshalJSON

func (s *SessionBrowserSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettings) Validate

func (s *SessionBrowserSettings) Validate() error

type SessionBrowserSettingsContext

type SessionBrowserSettingsContext struct {
	ID      string  `json:"id"`
	Persist OptBool `json:"persist"`
}

Ref: #/components/schemas/SessionBrowserSettingsContext

func (*SessionBrowserSettingsContext) Decode

Decode decodes SessionBrowserSettingsContext from json.

func (*SessionBrowserSettingsContext) Encode

Encode implements json.Marshaler.

func (*SessionBrowserSettingsContext) GetID

GetID returns the value of ID.

func (*SessionBrowserSettingsContext) GetPersist

func (s *SessionBrowserSettingsContext) GetPersist() OptBool

GetPersist returns the value of Persist.

func (*SessionBrowserSettingsContext) MarshalJSON

func (s *SessionBrowserSettingsContext) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionBrowserSettingsContext) SetID

func (s *SessionBrowserSettingsContext) SetID(val string)

SetID sets the value of ID.

func (*SessionBrowserSettingsContext) SetPersist

func (s *SessionBrowserSettingsContext) SetPersist(val OptBool)

SetPersist sets the value of Persist.

func (*SessionBrowserSettingsContext) UnmarshalJSON

func (s *SessionBrowserSettingsContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionBrowserSettingsFingerprint

type SessionBrowserSettingsFingerprint struct {
	Browsers         []SessionBrowserSettingsFingerprintBrowsersItem         `json:"browsers"`
	Devices          []SessionBrowserSettingsFingerprintDevicesItem          `json:"devices"`
	HttpVersion      OptSessionBrowserSettingsFingerprintHttpVersion         `json:"httpVersion"`
	Locales          []string                                                `json:"locales"`
	OperatingSystems []SessionBrowserSettingsFingerprintOperatingSystemsItem `json:"operatingSystems"`
	Screen           OptSessionBrowserSettingsFingerprintScreen              `json:"screen"`
}

Ref: #/components/schemas/SessionBrowserSettingsFingerprint

func (*SessionBrowserSettingsFingerprint) Decode

Decode decodes SessionBrowserSettingsFingerprint from json.

func (*SessionBrowserSettingsFingerprint) Encode

Encode implements json.Marshaler.

func (*SessionBrowserSettingsFingerprint) GetBrowsers

GetBrowsers returns the value of Browsers.

func (*SessionBrowserSettingsFingerprint) GetDevices

GetDevices returns the value of Devices.

func (*SessionBrowserSettingsFingerprint) GetHttpVersion

GetHttpVersion returns the value of HttpVersion.

func (*SessionBrowserSettingsFingerprint) GetLocales

func (s *SessionBrowserSettingsFingerprint) GetLocales() []string

GetLocales returns the value of Locales.

func (*SessionBrowserSettingsFingerprint) GetOperatingSystems

GetOperatingSystems returns the value of OperatingSystems.

func (*SessionBrowserSettingsFingerprint) GetScreen

GetScreen returns the value of Screen.

func (*SessionBrowserSettingsFingerprint) MarshalJSON

func (s *SessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionBrowserSettingsFingerprint) SetBrowsers

SetBrowsers sets the value of Browsers.

func (*SessionBrowserSettingsFingerprint) SetDevices

SetDevices sets the value of Devices.

func (*SessionBrowserSettingsFingerprint) SetHttpVersion

SetHttpVersion sets the value of HttpVersion.

func (*SessionBrowserSettingsFingerprint) SetLocales

func (s *SessionBrowserSettingsFingerprint) SetLocales(val []string)

SetLocales sets the value of Locales.

func (*SessionBrowserSettingsFingerprint) SetOperatingSystems

SetOperatingSystems sets the value of OperatingSystems.

func (*SessionBrowserSettingsFingerprint) SetScreen

SetScreen sets the value of Screen.

func (*SessionBrowserSettingsFingerprint) UnmarshalJSON

func (s *SessionBrowserSettingsFingerprint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettingsFingerprint) Validate

type SessionBrowserSettingsFingerprintBrowsersItem

type SessionBrowserSettingsFingerprintBrowsersItem string
const (
	SessionBrowserSettingsFingerprintBrowsersItemChrome  SessionBrowserSettingsFingerprintBrowsersItem = "chrome"
	SessionBrowserSettingsFingerprintBrowsersItemEdge    SessionBrowserSettingsFingerprintBrowsersItem = "edge"
	SessionBrowserSettingsFingerprintBrowsersItemFirefox SessionBrowserSettingsFingerprintBrowsersItem = "firefox"
	SessionBrowserSettingsFingerprintBrowsersItemSafari  SessionBrowserSettingsFingerprintBrowsersItem = "safari"
)

func (SessionBrowserSettingsFingerprintBrowsersItem) AllValues

AllValues returns all SessionBrowserSettingsFingerprintBrowsersItem values.

func (*SessionBrowserSettingsFingerprintBrowsersItem) Decode

Decode decodes SessionBrowserSettingsFingerprintBrowsersItem from json.

func (SessionBrowserSettingsFingerprintBrowsersItem) Encode

Encode encodes SessionBrowserSettingsFingerprintBrowsersItem as json.

func (SessionBrowserSettingsFingerprintBrowsersItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (SessionBrowserSettingsFingerprintBrowsersItem) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalJSON

func (s *SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalText

func (s *SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionBrowserSettingsFingerprintBrowsersItem) Validate

type SessionBrowserSettingsFingerprintDevicesItem

type SessionBrowserSettingsFingerprintDevicesItem string
const (
	SessionBrowserSettingsFingerprintDevicesItemDesktop SessionBrowserSettingsFingerprintDevicesItem = "desktop"
	SessionBrowserSettingsFingerprintDevicesItemMobile  SessionBrowserSettingsFingerprintDevicesItem = "mobile"
)

func (SessionBrowserSettingsFingerprintDevicesItem) AllValues

AllValues returns all SessionBrowserSettingsFingerprintDevicesItem values.

func (*SessionBrowserSettingsFingerprintDevicesItem) Decode

Decode decodes SessionBrowserSettingsFingerprintDevicesItem from json.

func (SessionBrowserSettingsFingerprintDevicesItem) Encode

Encode encodes SessionBrowserSettingsFingerprintDevicesItem as json.

func (SessionBrowserSettingsFingerprintDevicesItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (SessionBrowserSettingsFingerprintDevicesItem) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SessionBrowserSettingsFingerprintDevicesItem) UnmarshalJSON

func (s *SessionBrowserSettingsFingerprintDevicesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettingsFingerprintDevicesItem) UnmarshalText

func (s *SessionBrowserSettingsFingerprintDevicesItem) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionBrowserSettingsFingerprintDevicesItem) Validate

type SessionBrowserSettingsFingerprintHttpVersion

type SessionBrowserSettingsFingerprintHttpVersion string
const (
	SessionBrowserSettingsFingerprintHttpVersion1 SessionBrowserSettingsFingerprintHttpVersion = "1"
	SessionBrowserSettingsFingerprintHttpVersion2 SessionBrowserSettingsFingerprintHttpVersion = "2"
)

func (SessionBrowserSettingsFingerprintHttpVersion) AllValues

AllValues returns all SessionBrowserSettingsFingerprintHttpVersion values.

func (*SessionBrowserSettingsFingerprintHttpVersion) Decode

Decode decodes SessionBrowserSettingsFingerprintHttpVersion from json.

func (SessionBrowserSettingsFingerprintHttpVersion) Encode

Encode encodes SessionBrowserSettingsFingerprintHttpVersion as json.

func (SessionBrowserSettingsFingerprintHttpVersion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (SessionBrowserSettingsFingerprintHttpVersion) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON

func (s *SessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettingsFingerprintHttpVersion) UnmarshalText

func (s *SessionBrowserSettingsFingerprintHttpVersion) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionBrowserSettingsFingerprintHttpVersion) Validate

type SessionBrowserSettingsFingerprintOperatingSystemsItem

type SessionBrowserSettingsFingerprintOperatingSystemsItem string
const (
	SessionBrowserSettingsFingerprintOperatingSystemsItemAndroid SessionBrowserSettingsFingerprintOperatingSystemsItem = "android"
	SessionBrowserSettingsFingerprintOperatingSystemsItemIos     SessionBrowserSettingsFingerprintOperatingSystemsItem = "ios"
	SessionBrowserSettingsFingerprintOperatingSystemsItemLinux   SessionBrowserSettingsFingerprintOperatingSystemsItem = "linux"
	SessionBrowserSettingsFingerprintOperatingSystemsItemMacos   SessionBrowserSettingsFingerprintOperatingSystemsItem = "macos"
	SessionBrowserSettingsFingerprintOperatingSystemsItemWindows SessionBrowserSettingsFingerprintOperatingSystemsItem = "windows"
)

func (SessionBrowserSettingsFingerprintOperatingSystemsItem) AllValues

AllValues returns all SessionBrowserSettingsFingerprintOperatingSystemsItem values.

func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) Decode

Decode decodes SessionBrowserSettingsFingerprintOperatingSystemsItem from json.

func (SessionBrowserSettingsFingerprintOperatingSystemsItem) Encode

Encode encodes SessionBrowserSettingsFingerprintOperatingSystemsItem as json.

func (SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionBrowserSettingsFingerprintOperatingSystemsItem) Validate

type SessionBrowserSettingsFingerprintScreen

type SessionBrowserSettingsFingerprintScreen struct {
	MaxHeight OptInt `json:"maxHeight"`
	MaxWidth  OptInt `json:"maxWidth"`
	MinHeight OptInt `json:"minHeight"`
	MinWidth  OptInt `json:"minWidth"`
}

Ref: #/components/schemas/SessionBrowserSettingsFingerprintScreen

func (*SessionBrowserSettingsFingerprintScreen) Decode

Decode decodes SessionBrowserSettingsFingerprintScreen from json.

func (*SessionBrowserSettingsFingerprintScreen) Encode

Encode implements json.Marshaler.

func (*SessionBrowserSettingsFingerprintScreen) GetMaxHeight

GetMaxHeight returns the value of MaxHeight.

func (*SessionBrowserSettingsFingerprintScreen) GetMaxWidth

GetMaxWidth returns the value of MaxWidth.

func (*SessionBrowserSettingsFingerprintScreen) GetMinHeight

GetMinHeight returns the value of MinHeight.

func (*SessionBrowserSettingsFingerprintScreen) GetMinWidth

GetMinWidth returns the value of MinWidth.

func (*SessionBrowserSettingsFingerprintScreen) MarshalJSON

func (s *SessionBrowserSettingsFingerprintScreen) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionBrowserSettingsFingerprintScreen) SetMaxHeight

func (s *SessionBrowserSettingsFingerprintScreen) SetMaxHeight(val OptInt)

SetMaxHeight sets the value of MaxHeight.

func (*SessionBrowserSettingsFingerprintScreen) SetMaxWidth

func (s *SessionBrowserSettingsFingerprintScreen) SetMaxWidth(val OptInt)

SetMaxWidth sets the value of MaxWidth.

func (*SessionBrowserSettingsFingerprintScreen) SetMinHeight

func (s *SessionBrowserSettingsFingerprintScreen) SetMinHeight(val OptInt)

SetMinHeight sets the value of MinHeight.

func (*SessionBrowserSettingsFingerprintScreen) SetMinWidth

func (s *SessionBrowserSettingsFingerprintScreen) SetMinWidth(val OptInt)

SetMinWidth sets the value of MinWidth.

func (*SessionBrowserSettingsFingerprintScreen) UnmarshalJSON

func (s *SessionBrowserSettingsFingerprintScreen) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionBrowserSettingsViewport

type SessionBrowserSettingsViewport struct {
	Height OptInt `json:"height"`
	Width  OptInt `json:"width"`
}

Ref: #/components/schemas/SessionBrowserSettingsViewport

func (*SessionBrowserSettingsViewport) Decode

Decode decodes SessionBrowserSettingsViewport from json.

func (*SessionBrowserSettingsViewport) Encode

Encode implements json.Marshaler.

func (*SessionBrowserSettingsViewport) GetHeight

func (s *SessionBrowserSettingsViewport) GetHeight() OptInt

GetHeight returns the value of Height.

func (*SessionBrowserSettingsViewport) GetWidth

func (s *SessionBrowserSettingsViewport) GetWidth() OptInt

GetWidth returns the value of Width.

func (*SessionBrowserSettingsViewport) MarshalJSON

func (s *SessionBrowserSettingsViewport) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionBrowserSettingsViewport) SetHeight

func (s *SessionBrowserSettingsViewport) SetHeight(val OptInt)

SetHeight sets the value of Height.

func (*SessionBrowserSettingsViewport) SetWidth

func (s *SessionBrowserSettingsViewport) SetWidth(val OptInt)

SetWidth sets the value of Width.

func (*SessionBrowserSettingsViewport) UnmarshalJSON

func (s *SessionBrowserSettingsViewport) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionCreateParams

type SessionCreateParams struct {
	ProjectId       string                             `json:"projectId"`
	BrowserSettings OptSessionBrowserSettings          `json:"browserSettings"`
	ExtensionId     OptString                          `json:"extensionId"`
	KeepAlive       OptBool                            `json:"keepAlive"`
	Proxies         OptSessionCreateParamsProxies      `json:"proxies"`
	Region          OptSessionCreateParamsRegion       `json:"region"`
	Timeout         OptInt                             `json:"timeout"`
	UserMetadata    OptSessionCreateParamsUserMetadata `json:"userMetadata"`
}

Ref: #/components/schemas/SessionCreateParams

func (*SessionCreateParams) Decode

func (s *SessionCreateParams) Decode(d *jx.Decoder) error

Decode decodes SessionCreateParams from json.

func (*SessionCreateParams) Encode

func (s *SessionCreateParams) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionCreateParams) GetBrowserSettings

func (s *SessionCreateParams) GetBrowserSettings() OptSessionBrowserSettings

GetBrowserSettings returns the value of BrowserSettings.

func (*SessionCreateParams) GetExtensionId

func (s *SessionCreateParams) GetExtensionId() OptString

GetExtensionId returns the value of ExtensionId.

func (*SessionCreateParams) GetKeepAlive

func (s *SessionCreateParams) GetKeepAlive() OptBool

GetKeepAlive returns the value of KeepAlive.

func (*SessionCreateParams) GetProjectId

func (s *SessionCreateParams) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*SessionCreateParams) GetProxies

GetProxies returns the value of Proxies.

func (*SessionCreateParams) GetRegion

GetRegion returns the value of Region.

func (*SessionCreateParams) GetTimeout

func (s *SessionCreateParams) GetTimeout() OptInt

GetTimeout returns the value of Timeout.

func (*SessionCreateParams) GetUserMetadata

GetUserMetadata returns the value of UserMetadata.

func (*SessionCreateParams) MarshalJSON

func (s *SessionCreateParams) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateParams) SetBrowserSettings

func (s *SessionCreateParams) SetBrowserSettings(val OptSessionBrowserSettings)

SetBrowserSettings sets the value of BrowserSettings.

func (*SessionCreateParams) SetExtensionId

func (s *SessionCreateParams) SetExtensionId(val OptString)

SetExtensionId sets the value of ExtensionId.

func (*SessionCreateParams) SetKeepAlive

func (s *SessionCreateParams) SetKeepAlive(val OptBool)

SetKeepAlive sets the value of KeepAlive.

func (*SessionCreateParams) SetProjectId

func (s *SessionCreateParams) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*SessionCreateParams) SetProxies

SetProxies sets the value of Proxies.

func (*SessionCreateParams) SetRegion

SetRegion sets the value of Region.

func (*SessionCreateParams) SetTimeout

func (s *SessionCreateParams) SetTimeout(val OptInt)

SetTimeout sets the value of Timeout.

func (*SessionCreateParams) SetUserMetadata

SetUserMetadata sets the value of UserMetadata.

func (*SessionCreateParams) UnmarshalJSON

func (s *SessionCreateParams) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionCreateParams) Validate

func (s *SessionCreateParams) Validate() error

type SessionCreateParamsProxies

type SessionCreateParamsProxies struct {
	Type                                 SessionCreateParamsProxiesType // switch on this field
	Bool                                 bool
	SessionCreateParamsProxies1ItemArray []SessionCreateParamsProxies1Item
}

SessionCreateParamsProxies represents sum type.

func NewBoolSessionCreateParamsProxies

func NewBoolSessionCreateParamsProxies(v bool) SessionCreateParamsProxies

NewBoolSessionCreateParamsProxies returns new SessionCreateParamsProxies from bool.

func NewSessionCreateParamsProxies1ItemArraySessionCreateParamsProxies

func NewSessionCreateParamsProxies1ItemArraySessionCreateParamsProxies(v []SessionCreateParamsProxies1Item) SessionCreateParamsProxies

NewSessionCreateParamsProxies1ItemArraySessionCreateParamsProxies returns new SessionCreateParamsProxies from []SessionCreateParamsProxies1Item.

func (*SessionCreateParamsProxies) Decode

Decode decodes SessionCreateParamsProxies from json.

func (SessionCreateParamsProxies) Encode

func (s SessionCreateParamsProxies) Encode(e *jx.Encoder)

Encode encodes SessionCreateParamsProxies as json.

func (SessionCreateParamsProxies) GetBool

func (s SessionCreateParamsProxies) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if SessionCreateParamsProxies is bool.

func (SessionCreateParamsProxies) GetSessionCreateParamsProxies1ItemArray

func (s SessionCreateParamsProxies) GetSessionCreateParamsProxies1ItemArray() (v []SessionCreateParamsProxies1Item, ok bool)

GetSessionCreateParamsProxies1ItemArray returns []SessionCreateParamsProxies1Item and true boolean if SessionCreateParamsProxies is []SessionCreateParamsProxies1Item.

func (SessionCreateParamsProxies) IsBool

func (s SessionCreateParamsProxies) IsBool() bool

IsBool reports whether SessionCreateParamsProxies is bool.

func (SessionCreateParamsProxies) IsSessionCreateParamsProxies1ItemArray

func (s SessionCreateParamsProxies) IsSessionCreateParamsProxies1ItemArray() bool

IsSessionCreateParamsProxies1ItemArray reports whether SessionCreateParamsProxies is []SessionCreateParamsProxies1Item.

func (SessionCreateParamsProxies) MarshalJSON

func (s SessionCreateParamsProxies) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateParamsProxies) SetBool

func (s *SessionCreateParamsProxies) SetBool(v bool)

SetBool sets SessionCreateParamsProxies to bool.

func (*SessionCreateParamsProxies) SetSessionCreateParamsProxies1ItemArray

func (s *SessionCreateParamsProxies) SetSessionCreateParamsProxies1ItemArray(v []SessionCreateParamsProxies1Item)

SetSessionCreateParamsProxies1ItemArray sets SessionCreateParamsProxies to []SessionCreateParamsProxies1Item.

func (*SessionCreateParamsProxies) UnmarshalJSON

func (s *SessionCreateParamsProxies) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SessionCreateParamsProxies) Validate

func (s SessionCreateParamsProxies) Validate() error

type SessionCreateParamsProxies1Item

type SessionCreateParamsProxies1Item struct {
	Type                   SessionCreateParamsProxies1ItemType // switch on this field
	BrowserbaseProxyConfig BrowserbaseProxyConfig
	ExternalProxyConfig    ExternalProxyConfig
}

SessionCreateParamsProxies1Item represents sum type.

func NewBrowserbaseProxyConfigSessionCreateParamsProxies1Item

func NewBrowserbaseProxyConfigSessionCreateParamsProxies1Item(v BrowserbaseProxyConfig) SessionCreateParamsProxies1Item

NewBrowserbaseProxyConfigSessionCreateParamsProxies1Item returns new SessionCreateParamsProxies1Item from BrowserbaseProxyConfig.

func NewExternalProxyConfigSessionCreateParamsProxies1Item

func NewExternalProxyConfigSessionCreateParamsProxies1Item(v ExternalProxyConfig) SessionCreateParamsProxies1Item

NewExternalProxyConfigSessionCreateParamsProxies1Item returns new SessionCreateParamsProxies1Item from ExternalProxyConfig.

func (*SessionCreateParamsProxies1Item) Decode

Decode decodes SessionCreateParamsProxies1Item from json.

func (SessionCreateParamsProxies1Item) Encode

Encode encodes SessionCreateParamsProxies1Item as json.

func (SessionCreateParamsProxies1Item) GetBrowserbaseProxyConfig

func (s SessionCreateParamsProxies1Item) GetBrowserbaseProxyConfig() (v BrowserbaseProxyConfig, ok bool)

GetBrowserbaseProxyConfig returns BrowserbaseProxyConfig and true boolean if SessionCreateParamsProxies1Item is BrowserbaseProxyConfig.

func (SessionCreateParamsProxies1Item) GetExternalProxyConfig

func (s SessionCreateParamsProxies1Item) GetExternalProxyConfig() (v ExternalProxyConfig, ok bool)

GetExternalProxyConfig returns ExternalProxyConfig and true boolean if SessionCreateParamsProxies1Item is ExternalProxyConfig.

func (SessionCreateParamsProxies1Item) IsBrowserbaseProxyConfig

func (s SessionCreateParamsProxies1Item) IsBrowserbaseProxyConfig() bool

IsBrowserbaseProxyConfig reports whether SessionCreateParamsProxies1Item is BrowserbaseProxyConfig.

func (SessionCreateParamsProxies1Item) IsExternalProxyConfig

func (s SessionCreateParamsProxies1Item) IsExternalProxyConfig() bool

IsExternalProxyConfig reports whether SessionCreateParamsProxies1Item is ExternalProxyConfig.

func (SessionCreateParamsProxies1Item) MarshalJSON

func (s SessionCreateParamsProxies1Item) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateParamsProxies1Item) SetBrowserbaseProxyConfig

func (s *SessionCreateParamsProxies1Item) SetBrowserbaseProxyConfig(v BrowserbaseProxyConfig)

SetBrowserbaseProxyConfig sets SessionCreateParamsProxies1Item to BrowserbaseProxyConfig.

func (*SessionCreateParamsProxies1Item) SetExternalProxyConfig

func (s *SessionCreateParamsProxies1Item) SetExternalProxyConfig(v ExternalProxyConfig)

SetExternalProxyConfig sets SessionCreateParamsProxies1Item to ExternalProxyConfig.

func (*SessionCreateParamsProxies1Item) UnmarshalJSON

func (s *SessionCreateParamsProxies1Item) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SessionCreateParamsProxies1Item) Validate

type SessionCreateParamsProxies1ItemType

type SessionCreateParamsProxies1ItemType string

SessionCreateParamsProxies1ItemType is oneOf type of SessionCreateParamsProxies1Item.

const (
	BrowserbaseProxyConfigSessionCreateParamsProxies1Item SessionCreateParamsProxies1ItemType = "BrowserbaseProxyConfig"
	ExternalProxyConfigSessionCreateParamsProxies1Item    SessionCreateParamsProxies1ItemType = "ExternalProxyConfig"
)

Possible values for SessionCreateParamsProxies1ItemType.

type SessionCreateParamsProxiesType

type SessionCreateParamsProxiesType string

SessionCreateParamsProxiesType is oneOf type of SessionCreateParamsProxies.

const (
	BoolSessionCreateParamsProxies                                 SessionCreateParamsProxiesType = "bool"
	SessionCreateParamsProxies1ItemArraySessionCreateParamsProxies SessionCreateParamsProxiesType = "[]SessionCreateParamsProxies1Item"
)

Possible values for SessionCreateParamsProxiesType.

type SessionCreateParamsRegion

type SessionCreateParamsRegion string
const (
	SessionCreateParamsRegionUsWest2      SessionCreateParamsRegion = "us-west-2"
	SessionCreateParamsRegionUsEast1      SessionCreateParamsRegion = "us-east-1"
	SessionCreateParamsRegionEuCentral1   SessionCreateParamsRegion = "eu-central-1"
	SessionCreateParamsRegionApSoutheast1 SessionCreateParamsRegion = "ap-southeast-1"
)

func (SessionCreateParamsRegion) AllValues

AllValues returns all SessionCreateParamsRegion values.

func (*SessionCreateParamsRegion) Decode

func (s *SessionCreateParamsRegion) Decode(d *jx.Decoder) error

Decode decodes SessionCreateParamsRegion from json.

func (SessionCreateParamsRegion) Encode

func (s SessionCreateParamsRegion) Encode(e *jx.Encoder)

Encode encodes SessionCreateParamsRegion as json.

func (SessionCreateParamsRegion) MarshalJSON

func (s SessionCreateParamsRegion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionCreateParamsRegion) MarshalText

func (s SessionCreateParamsRegion) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionCreateParamsRegion) UnmarshalJSON

func (s *SessionCreateParamsRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionCreateParamsRegion) UnmarshalText

func (s *SessionCreateParamsRegion) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionCreateParamsRegion) Validate

func (s SessionCreateParamsRegion) Validate() error

type SessionCreateParamsUserMetadata

type SessionCreateParamsUserMetadata map[string]jx.Raw

func (*SessionCreateParamsUserMetadata) Decode

Decode decodes SessionCreateParamsUserMetadata from json.

func (SessionCreateParamsUserMetadata) Encode

Encode implements json.Marshaler.

func (SessionCreateParamsUserMetadata) MarshalJSON

func (s SessionCreateParamsUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateParamsUserMetadata) UnmarshalJSON

func (s *SessionCreateParamsUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionCreateResponse

type SessionCreateResponse struct {
	ID        string `json:"id"`
	CreatedAt string `json:"createdAt"`
	ExpiresAt string `json:"expiresAt"`
	// Whether the session should be kept alive upon disconnections.
	KeepAlive         bool                                    `json:"keepAlive"`
	ProjectId         string                                  `json:"projectId"`
	ProxyBytes        float64                                 `json:"proxyBytes"`
	Region            SessionCreateResponseRegion             `json:"region"`
	StartedAt         string                                  `json:"startedAt"`
	Status            SessionStatus                           `json:"status"`
	UpdatedAt         string                                  `json:"updatedAt"`
	AvgCpuUsage       OptNilFloat64                           `json:"avgCpuUsage"`
	ContextId         OptNilString                            `json:"contextId"`
	EndedAt           OptNilString                            `json:"endedAt"`
	MemoryUsage       OptNilFloat64                           `json:"memoryUsage"`
	UserMetadata      OptNilSessionCreateResponseUserMetadata `json:"userMetadata"`
	ConnectUrl        string                                  `json:"connectUrl"`
	SeleniumRemoteUrl string                                  `json:"seleniumRemoteUrl"`
	SigningKey        string                                  `json:"signingKey"`
}

Merged schema. Ref: #/components/schemas/SessionCreateResponse

func (*SessionCreateResponse) Decode

func (s *SessionCreateResponse) Decode(d *jx.Decoder) error

Decode decodes SessionCreateResponse from json.

func (*SessionCreateResponse) Encode

func (s *SessionCreateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionCreateResponse) GetAvgCpuUsage

func (s *SessionCreateResponse) GetAvgCpuUsage() OptNilFloat64

GetAvgCpuUsage returns the value of AvgCpuUsage.

func (*SessionCreateResponse) GetConnectUrl

func (s *SessionCreateResponse) GetConnectUrl() string

GetConnectUrl returns the value of ConnectUrl.

func (*SessionCreateResponse) GetContextId

func (s *SessionCreateResponse) GetContextId() OptNilString

GetContextId returns the value of ContextId.

func (*SessionCreateResponse) GetCreatedAt

func (s *SessionCreateResponse) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*SessionCreateResponse) GetEndedAt

func (s *SessionCreateResponse) GetEndedAt() OptNilString

GetEndedAt returns the value of EndedAt.

func (*SessionCreateResponse) GetExpiresAt

func (s *SessionCreateResponse) GetExpiresAt() string

GetExpiresAt returns the value of ExpiresAt.

func (*SessionCreateResponse) GetID

func (s *SessionCreateResponse) GetID() string

GetID returns the value of ID.

func (*SessionCreateResponse) GetKeepAlive

func (s *SessionCreateResponse) GetKeepAlive() bool

GetKeepAlive returns the value of KeepAlive.

func (*SessionCreateResponse) GetMemoryUsage

func (s *SessionCreateResponse) GetMemoryUsage() OptNilFloat64

GetMemoryUsage returns the value of MemoryUsage.

func (*SessionCreateResponse) GetProjectId

func (s *SessionCreateResponse) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*SessionCreateResponse) GetProxyBytes

func (s *SessionCreateResponse) GetProxyBytes() float64

GetProxyBytes returns the value of ProxyBytes.

func (*SessionCreateResponse) GetRegion

GetRegion returns the value of Region.

func (*SessionCreateResponse) GetSeleniumRemoteUrl

func (s *SessionCreateResponse) GetSeleniumRemoteUrl() string

GetSeleniumRemoteUrl returns the value of SeleniumRemoteUrl.

func (*SessionCreateResponse) GetSigningKey

func (s *SessionCreateResponse) GetSigningKey() string

GetSigningKey returns the value of SigningKey.

func (*SessionCreateResponse) GetStartedAt

func (s *SessionCreateResponse) GetStartedAt() string

GetStartedAt returns the value of StartedAt.

func (*SessionCreateResponse) GetStatus

func (s *SessionCreateResponse) GetStatus() SessionStatus

GetStatus returns the value of Status.

func (*SessionCreateResponse) GetUpdatedAt

func (s *SessionCreateResponse) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*SessionCreateResponse) GetUserMetadata

GetUserMetadata returns the value of UserMetadata.

func (*SessionCreateResponse) MarshalJSON

func (s *SessionCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateResponse) SetAvgCpuUsage

func (s *SessionCreateResponse) SetAvgCpuUsage(val OptNilFloat64)

SetAvgCpuUsage sets the value of AvgCpuUsage.

func (*SessionCreateResponse) SetConnectUrl

func (s *SessionCreateResponse) SetConnectUrl(val string)

SetConnectUrl sets the value of ConnectUrl.

func (*SessionCreateResponse) SetContextId

func (s *SessionCreateResponse) SetContextId(val OptNilString)

SetContextId sets the value of ContextId.

func (*SessionCreateResponse) SetCreatedAt

func (s *SessionCreateResponse) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*SessionCreateResponse) SetEndedAt

func (s *SessionCreateResponse) SetEndedAt(val OptNilString)

SetEndedAt sets the value of EndedAt.

func (*SessionCreateResponse) SetExpiresAt

func (s *SessionCreateResponse) SetExpiresAt(val string)

SetExpiresAt sets the value of ExpiresAt.

func (*SessionCreateResponse) SetID

func (s *SessionCreateResponse) SetID(val string)

SetID sets the value of ID.

func (*SessionCreateResponse) SetKeepAlive

func (s *SessionCreateResponse) SetKeepAlive(val bool)

SetKeepAlive sets the value of KeepAlive.

func (*SessionCreateResponse) SetMemoryUsage

func (s *SessionCreateResponse) SetMemoryUsage(val OptNilFloat64)

SetMemoryUsage sets the value of MemoryUsage.

func (*SessionCreateResponse) SetProjectId

func (s *SessionCreateResponse) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*SessionCreateResponse) SetProxyBytes

func (s *SessionCreateResponse) SetProxyBytes(val float64)

SetProxyBytes sets the value of ProxyBytes.

func (*SessionCreateResponse) SetRegion

SetRegion sets the value of Region.

func (*SessionCreateResponse) SetSeleniumRemoteUrl

func (s *SessionCreateResponse) SetSeleniumRemoteUrl(val string)

SetSeleniumRemoteUrl sets the value of SeleniumRemoteUrl.

func (*SessionCreateResponse) SetSigningKey

func (s *SessionCreateResponse) SetSigningKey(val string)

SetSigningKey sets the value of SigningKey.

func (*SessionCreateResponse) SetStartedAt

func (s *SessionCreateResponse) SetStartedAt(val string)

SetStartedAt sets the value of StartedAt.

func (*SessionCreateResponse) SetStatus

func (s *SessionCreateResponse) SetStatus(val SessionStatus)

SetStatus sets the value of Status.

func (*SessionCreateResponse) SetUpdatedAt

func (s *SessionCreateResponse) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*SessionCreateResponse) SetUserMetadata

SetUserMetadata sets the value of UserMetadata.

func (*SessionCreateResponse) UnmarshalJSON

func (s *SessionCreateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionCreateResponse) Validate

func (s *SessionCreateResponse) Validate() error

type SessionCreateResponseRegion

type SessionCreateResponseRegion string
const (
	SessionCreateResponseRegionUsWest2      SessionCreateResponseRegion = "us-west-2"
	SessionCreateResponseRegionUsEast1      SessionCreateResponseRegion = "us-east-1"
	SessionCreateResponseRegionEuCentral1   SessionCreateResponseRegion = "eu-central-1"
	SessionCreateResponseRegionApSoutheast1 SessionCreateResponseRegion = "ap-southeast-1"
)

func (SessionCreateResponseRegion) AllValues

AllValues returns all SessionCreateResponseRegion values.

func (*SessionCreateResponseRegion) Decode

Decode decodes SessionCreateResponseRegion from json.

func (SessionCreateResponseRegion) Encode

func (s SessionCreateResponseRegion) Encode(e *jx.Encoder)

Encode encodes SessionCreateResponseRegion as json.

func (SessionCreateResponseRegion) MarshalJSON

func (s SessionCreateResponseRegion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionCreateResponseRegion) MarshalText

func (s SessionCreateResponseRegion) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionCreateResponseRegion) UnmarshalJSON

func (s *SessionCreateResponseRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionCreateResponseRegion) UnmarshalText

func (s *SessionCreateResponseRegion) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionCreateResponseRegion) Validate

func (s SessionCreateResponseRegion) Validate() error

type SessionCreateResponseUserMetadata

type SessionCreateResponseUserMetadata map[string]jx.Raw

func (*SessionCreateResponseUserMetadata) Decode

Decode decodes SessionCreateResponseUserMetadata from json.

func (SessionCreateResponseUserMetadata) Encode

Encode implements json.Marshaler.

func (SessionCreateResponseUserMetadata) MarshalJSON

func (s SessionCreateResponseUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionCreateResponseUserMetadata) UnmarshalJSON

func (s *SessionCreateResponseUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionDebugParams

type SessionDebugParams struct {
	ID string
}

SessionDebugParams is parameters of sessionDebug operation.

type SessionListResponse

type SessionListResponse []Session

func (*SessionListResponse) Decode

func (s *SessionListResponse) Decode(d *jx.Decoder) error

Decode decodes SessionListResponse from json.

func (SessionListResponse) Encode

func (s SessionListResponse) Encode(e *jx.Encoder)

Encode encodes SessionListResponse as json.

func (SessionListResponse) MarshalJSON

func (s SessionListResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionListResponse) UnmarshalJSON

func (s *SessionListResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SessionListResponse) Validate

func (s SessionListResponse) Validate() error

type SessionLiveURLs

type SessionLiveURLs struct {
	DebuggerFullscreenUrl string                `json:"debuggerFullscreenUrl"`
	DebuggerUrl           string                `json:"debuggerUrl"`
	WsUrl                 string                `json:"wsUrl"`
	Pages                 []SessionLiveURLsPage `json:"pages"`
}

Ref: #/components/schemas/SessionLiveURLs

func (*SessionLiveURLs) Decode

func (s *SessionLiveURLs) Decode(d *jx.Decoder) error

Decode decodes SessionLiveURLs from json.

func (*SessionLiveURLs) Encode

func (s *SessionLiveURLs) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionLiveURLs) GetDebuggerFullscreenUrl

func (s *SessionLiveURLs) GetDebuggerFullscreenUrl() string

GetDebuggerFullscreenUrl returns the value of DebuggerFullscreenUrl.

func (*SessionLiveURLs) GetDebuggerUrl

func (s *SessionLiveURLs) GetDebuggerUrl() string

GetDebuggerUrl returns the value of DebuggerUrl.

func (*SessionLiveURLs) GetPages

func (s *SessionLiveURLs) GetPages() []SessionLiveURLsPage

GetPages returns the value of Pages.

func (*SessionLiveURLs) GetWsUrl

func (s *SessionLiveURLs) GetWsUrl() string

GetWsUrl returns the value of WsUrl.

func (*SessionLiveURLs) MarshalJSON

func (s *SessionLiveURLs) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLiveURLs) SetDebuggerFullscreenUrl

func (s *SessionLiveURLs) SetDebuggerFullscreenUrl(val string)

SetDebuggerFullscreenUrl sets the value of DebuggerFullscreenUrl.

func (*SessionLiveURLs) SetDebuggerUrl

func (s *SessionLiveURLs) SetDebuggerUrl(val string)

SetDebuggerUrl sets the value of DebuggerUrl.

func (*SessionLiveURLs) SetPages

func (s *SessionLiveURLs) SetPages(val []SessionLiveURLsPage)

SetPages sets the value of Pages.

func (*SessionLiveURLs) SetWsUrl

func (s *SessionLiveURLs) SetWsUrl(val string)

SetWsUrl sets the value of WsUrl.

func (*SessionLiveURLs) UnmarshalJSON

func (s *SessionLiveURLs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionLiveURLs) Validate

func (s *SessionLiveURLs) Validate() error

type SessionLiveURLsPage

type SessionLiveURLsPage struct {
	ID                    string `json:"id"`
	DebuggerFullscreenUrl string `json:"debuggerFullscreenUrl"`
	DebuggerUrl           string `json:"debuggerUrl"`
	FaviconUrl            string `json:"faviconUrl"`
	Title                 string `json:"title"`
	URL                   string `json:"url"`
}

Ref: #/components/schemas/SessionLiveURLsPage

func (*SessionLiveURLsPage) Decode

func (s *SessionLiveURLsPage) Decode(d *jx.Decoder) error

Decode decodes SessionLiveURLsPage from json.

func (*SessionLiveURLsPage) Encode

func (s *SessionLiveURLsPage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionLiveURLsPage) GetDebuggerFullscreenUrl

func (s *SessionLiveURLsPage) GetDebuggerFullscreenUrl() string

GetDebuggerFullscreenUrl returns the value of DebuggerFullscreenUrl.

func (*SessionLiveURLsPage) GetDebuggerUrl

func (s *SessionLiveURLsPage) GetDebuggerUrl() string

GetDebuggerUrl returns the value of DebuggerUrl.

func (*SessionLiveURLsPage) GetFaviconUrl

func (s *SessionLiveURLsPage) GetFaviconUrl() string

GetFaviconUrl returns the value of FaviconUrl.

func (*SessionLiveURLsPage) GetID

func (s *SessionLiveURLsPage) GetID() string

GetID returns the value of ID.

func (*SessionLiveURLsPage) GetTitle

func (s *SessionLiveURLsPage) GetTitle() string

GetTitle returns the value of Title.

func (*SessionLiveURLsPage) GetURL

func (s *SessionLiveURLsPage) GetURL() string

GetURL returns the value of URL.

func (*SessionLiveURLsPage) MarshalJSON

func (s *SessionLiveURLsPage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLiveURLsPage) SetDebuggerFullscreenUrl

func (s *SessionLiveURLsPage) SetDebuggerFullscreenUrl(val string)

SetDebuggerFullscreenUrl sets the value of DebuggerFullscreenUrl.

func (*SessionLiveURLsPage) SetDebuggerUrl

func (s *SessionLiveURLsPage) SetDebuggerUrl(val string)

SetDebuggerUrl sets the value of DebuggerUrl.

func (*SessionLiveURLsPage) SetFaviconUrl

func (s *SessionLiveURLsPage) SetFaviconUrl(val string)

SetFaviconUrl sets the value of FaviconUrl.

func (*SessionLiveURLsPage) SetID

func (s *SessionLiveURLsPage) SetID(val string)

SetID sets the value of ID.

func (*SessionLiveURLsPage) SetTitle

func (s *SessionLiveURLsPage) SetTitle(val string)

SetTitle sets the value of Title.

func (*SessionLiveURLsPage) SetURL

func (s *SessionLiveURLsPage) SetURL(val string)

SetURL sets the value of URL.

func (*SessionLiveURLsPage) UnmarshalJSON

func (s *SessionLiveURLsPage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionLog

type SessionLog struct {
	Method    string                `json:"method"`
	PageId    int                   `json:"pageId"`
	SessionId string                `json:"sessionId"`
	FrameId   OptString             `json:"frameId"`
	LoaderId  OptString             `json:"loaderId"`
	Request   OptSessionLogRequest  `json:"request"`
	Response  OptSessionLogResponse `json:"response"`
	Timestamp OptInt                `json:"timestamp"`
}

Ref: #/components/schemas/SessionLog

func (*SessionLog) Decode

func (s *SessionLog) Decode(d *jx.Decoder) error

Decode decodes SessionLog from json.

func (*SessionLog) Encode

func (s *SessionLog) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionLog) GetFrameId

func (s *SessionLog) GetFrameId() OptString

GetFrameId returns the value of FrameId.

func (*SessionLog) GetLoaderId

func (s *SessionLog) GetLoaderId() OptString

GetLoaderId returns the value of LoaderId.

func (*SessionLog) GetMethod

func (s *SessionLog) GetMethod() string

GetMethod returns the value of Method.

func (*SessionLog) GetPageId

func (s *SessionLog) GetPageId() int

GetPageId returns the value of PageId.

func (*SessionLog) GetRequest

func (s *SessionLog) GetRequest() OptSessionLogRequest

GetRequest returns the value of Request.

func (*SessionLog) GetResponse

func (s *SessionLog) GetResponse() OptSessionLogResponse

GetResponse returns the value of Response.

func (*SessionLog) GetSessionId

func (s *SessionLog) GetSessionId() string

GetSessionId returns the value of SessionId.

func (*SessionLog) GetTimestamp

func (s *SessionLog) GetTimestamp() OptInt

GetTimestamp returns the value of Timestamp.

func (*SessionLog) MarshalJSON

func (s *SessionLog) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLog) SetFrameId

func (s *SessionLog) SetFrameId(val OptString)

SetFrameId sets the value of FrameId.

func (*SessionLog) SetLoaderId

func (s *SessionLog) SetLoaderId(val OptString)

SetLoaderId sets the value of LoaderId.

func (*SessionLog) SetMethod

func (s *SessionLog) SetMethod(val string)

SetMethod sets the value of Method.

func (*SessionLog) SetPageId

func (s *SessionLog) SetPageId(val int)

SetPageId sets the value of PageId.

func (*SessionLog) SetRequest

func (s *SessionLog) SetRequest(val OptSessionLogRequest)

SetRequest sets the value of Request.

func (*SessionLog) SetResponse

func (s *SessionLog) SetResponse(val OptSessionLogResponse)

SetResponse sets the value of Response.

func (*SessionLog) SetSessionId

func (s *SessionLog) SetSessionId(val string)

SetSessionId sets the value of SessionId.

func (*SessionLog) SetTimestamp

func (s *SessionLog) SetTimestamp(val OptInt)

SetTimestamp sets the value of Timestamp.

func (*SessionLog) UnmarshalJSON

func (s *SessionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionLogRequest

type SessionLogRequest struct {
	Params    SessionLogRequestParams `json:"params"`
	RawBody   string                  `json:"rawBody"`
	Timestamp OptInt                  `json:"timestamp"`
}

Ref: #/components/schemas/SessionLogRequest

func (*SessionLogRequest) Decode

func (s *SessionLogRequest) Decode(d *jx.Decoder) error

Decode decodes SessionLogRequest from json.

func (*SessionLogRequest) Encode

func (s *SessionLogRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionLogRequest) GetParams

GetParams returns the value of Params.

func (*SessionLogRequest) GetRawBody

func (s *SessionLogRequest) GetRawBody() string

GetRawBody returns the value of RawBody.

func (*SessionLogRequest) GetTimestamp

func (s *SessionLogRequest) GetTimestamp() OptInt

GetTimestamp returns the value of Timestamp.

func (*SessionLogRequest) MarshalJSON

func (s *SessionLogRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLogRequest) SetParams

func (s *SessionLogRequest) SetParams(val SessionLogRequestParams)

SetParams sets the value of Params.

func (*SessionLogRequest) SetRawBody

func (s *SessionLogRequest) SetRawBody(val string)

SetRawBody sets the value of RawBody.

func (*SessionLogRequest) SetTimestamp

func (s *SessionLogRequest) SetTimestamp(val OptInt)

SetTimestamp sets the value of Timestamp.

func (*SessionLogRequest) UnmarshalJSON

func (s *SessionLogRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionLogRequestParams

type SessionLogRequestParams map[string]jx.Raw

func (*SessionLogRequestParams) Decode

func (s *SessionLogRequestParams) Decode(d *jx.Decoder) error

Decode decodes SessionLogRequestParams from json.

func (SessionLogRequestParams) Encode

func (s SessionLogRequestParams) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SessionLogRequestParams) MarshalJSON

func (s SessionLogRequestParams) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLogRequestParams) UnmarshalJSON

func (s *SessionLogRequestParams) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionLogResponse

type SessionLogResponse struct {
	RawBody   string                   `json:"rawBody"`
	Result    SessionLogResponseResult `json:"result"`
	Timestamp OptInt                   `json:"timestamp"`
}

Ref: #/components/schemas/SessionLogResponse

func (*SessionLogResponse) Decode

func (s *SessionLogResponse) Decode(d *jx.Decoder) error

Decode decodes SessionLogResponse from json.

func (*SessionLogResponse) Encode

func (s *SessionLogResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionLogResponse) GetRawBody

func (s *SessionLogResponse) GetRawBody() string

GetRawBody returns the value of RawBody.

func (*SessionLogResponse) GetResult

GetResult returns the value of Result.

func (*SessionLogResponse) GetTimestamp

func (s *SessionLogResponse) GetTimestamp() OptInt

GetTimestamp returns the value of Timestamp.

func (*SessionLogResponse) MarshalJSON

func (s *SessionLogResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLogResponse) SetRawBody

func (s *SessionLogResponse) SetRawBody(val string)

SetRawBody sets the value of RawBody.

func (*SessionLogResponse) SetResult

func (s *SessionLogResponse) SetResult(val SessionLogResponseResult)

SetResult sets the value of Result.

func (*SessionLogResponse) SetTimestamp

func (s *SessionLogResponse) SetTimestamp(val OptInt)

SetTimestamp sets the value of Timestamp.

func (*SessionLogResponse) UnmarshalJSON

func (s *SessionLogResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionLogResponseResult

type SessionLogResponseResult map[string]jx.Raw

func (*SessionLogResponseResult) Decode

func (s *SessionLogResponseResult) Decode(d *jx.Decoder) error

Decode decodes SessionLogResponseResult from json.

func (SessionLogResponseResult) Encode

func (s SessionLogResponseResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SessionLogResponseResult) MarshalJSON

func (s SessionLogResponseResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionLogResponseResult) UnmarshalJSON

func (s *SessionLogResponseResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionRecording

type SessionRecording struct {
	Data      SessionRecordingData `json:"data"`
	SessionId string               `json:"sessionId"`
	Timestamp int                  `json:"timestamp"`
	Type      int                  `json:"type"`
}

Ref: #/components/schemas/SessionRecording

func (*SessionRecording) Decode

func (s *SessionRecording) Decode(d *jx.Decoder) error

Decode decodes SessionRecording from json.

func (*SessionRecording) Encode

func (s *SessionRecording) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionRecording) GetData

GetData returns the value of Data.

func (*SessionRecording) GetSessionId

func (s *SessionRecording) GetSessionId() string

GetSessionId returns the value of SessionId.

func (*SessionRecording) GetTimestamp

func (s *SessionRecording) GetTimestamp() int

GetTimestamp returns the value of Timestamp.

func (*SessionRecording) GetType

func (s *SessionRecording) GetType() int

GetType returns the value of Type.

func (*SessionRecording) MarshalJSON

func (s *SessionRecording) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionRecording) SetData

func (s *SessionRecording) SetData(val SessionRecordingData)

SetData sets the value of Data.

func (*SessionRecording) SetSessionId

func (s *SessionRecording) SetSessionId(val string)

SetSessionId sets the value of SessionId.

func (*SessionRecording) SetTimestamp

func (s *SessionRecording) SetTimestamp(val int)

SetTimestamp sets the value of Timestamp.

func (*SessionRecording) SetType

func (s *SessionRecording) SetType(val int)

SetType sets the value of Type.

func (*SessionRecording) UnmarshalJSON

func (s *SessionRecording) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionRecordingData

type SessionRecordingData map[string]jx.Raw

func (*SessionRecordingData) Decode

func (s *SessionRecordingData) Decode(d *jx.Decoder) error

Decode decodes SessionRecordingData from json.

func (SessionRecordingData) Encode

func (s SessionRecordingData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SessionRecordingData) MarshalJSON

func (s SessionRecordingData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionRecordingData) UnmarshalJSON

func (s *SessionRecordingData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionRegion

type SessionRegion string
const (
	SessionRegionUsWest2      SessionRegion = "us-west-2"
	SessionRegionUsEast1      SessionRegion = "us-east-1"
	SessionRegionEuCentral1   SessionRegion = "eu-central-1"
	SessionRegionApSoutheast1 SessionRegion = "ap-southeast-1"
)

func (SessionRegion) AllValues

func (SessionRegion) AllValues() []SessionRegion

AllValues returns all SessionRegion values.

func (*SessionRegion) Decode

func (s *SessionRegion) Decode(d *jx.Decoder) error

Decode decodes SessionRegion from json.

func (SessionRegion) Encode

func (s SessionRegion) Encode(e *jx.Encoder)

Encode encodes SessionRegion as json.

func (SessionRegion) MarshalJSON

func (s SessionRegion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionRegion) MarshalText

func (s SessionRegion) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionRegion) UnmarshalJSON

func (s *SessionRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionRegion) UnmarshalText

func (s *SessionRegion) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionRegion) Validate

func (s SessionRegion) Validate() error

type SessionStatus

type SessionStatus string

Ref: #/components/schemas/SessionStatus

const (
	SessionStatusRUNNING   SessionStatus = "RUNNING"
	SessionStatusERROR     SessionStatus = "ERROR"
	SessionStatusTIMEDOUT  SessionStatus = "TIMED_OUT"
	SessionStatusCOMPLETED SessionStatus = "COMPLETED"
)

func (SessionStatus) AllValues

func (SessionStatus) AllValues() []SessionStatus

AllValues returns all SessionStatus values.

func (*SessionStatus) Decode

func (s *SessionStatus) Decode(d *jx.Decoder) error

Decode decodes SessionStatus from json.

func (SessionStatus) Encode

func (s SessionStatus) Encode(e *jx.Encoder)

Encode encodes SessionStatus as json.

func (SessionStatus) MarshalJSON

func (s SessionStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionStatus) MarshalText

func (s SessionStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionStatus) UnmarshalJSON

func (s *SessionStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionStatus) UnmarshalText

func (s *SessionStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionStatus) Validate

func (s SessionStatus) Validate() error

type SessionUpdateParams

type SessionUpdateParams struct {
	ProjectId string                    `json:"projectId"`
	Status    SessionUpdateParamsStatus `json:"status"`
}

Ref: #/components/schemas/SessionUpdateParams

func (*SessionUpdateParams) Decode

func (s *SessionUpdateParams) Decode(d *jx.Decoder) error

Decode decodes SessionUpdateParams from json.

func (*SessionUpdateParams) Encode

func (s *SessionUpdateParams) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionUpdateParams) GetProjectId

func (s *SessionUpdateParams) GetProjectId() string

GetProjectId returns the value of ProjectId.

func (*SessionUpdateParams) GetStatus

GetStatus returns the value of Status.

func (*SessionUpdateParams) MarshalJSON

func (s *SessionUpdateParams) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionUpdateParams) SetProjectId

func (s *SessionUpdateParams) SetProjectId(val string)

SetProjectId sets the value of ProjectId.

func (*SessionUpdateParams) SetStatus

SetStatus sets the value of Status.

func (*SessionUpdateParams) UnmarshalJSON

func (s *SessionUpdateParams) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionUpdateParams) Validate

func (s *SessionUpdateParams) Validate() error

type SessionUpdateParamsStatus

type SessionUpdateParamsStatus string
const (
	SessionUpdateParamsStatusREQUESTRELEASE SessionUpdateParamsStatus = "REQUEST_RELEASE"
)

func (SessionUpdateParamsStatus) AllValues

AllValues returns all SessionUpdateParamsStatus values.

func (*SessionUpdateParamsStatus) Decode

func (s *SessionUpdateParamsStatus) Decode(d *jx.Decoder) error

Decode decodes SessionUpdateParamsStatus from json.

func (SessionUpdateParamsStatus) Encode

func (s SessionUpdateParamsStatus) Encode(e *jx.Encoder)

Encode encodes SessionUpdateParamsStatus as json.

func (SessionUpdateParamsStatus) MarshalJSON

func (s SessionUpdateParamsStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionUpdateParamsStatus) MarshalText

func (s SessionUpdateParamsStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionUpdateParamsStatus) UnmarshalJSON

func (s *SessionUpdateParamsStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionUpdateParamsStatus) UnmarshalText

func (s *SessionUpdateParamsStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionUpdateParamsStatus) Validate

func (s SessionUpdateParamsStatus) Validate() error

type SessionUserMetadata

type SessionUserMetadata map[string]jx.Raw

func (*SessionUserMetadata) Decode

func (s *SessionUserMetadata) Decode(d *jx.Decoder) error

Decode decodes SessionUserMetadata from json.

func (SessionUserMetadata) Encode

func (s SessionUserMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SessionUserMetadata) MarshalJSON

func (s SessionUserMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionUserMetadata) UnmarshalJSON

func (s *SessionUserMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateContextParams

type UpdateContextParams struct {
	ID string
}

UpdateContextParams is parameters of updateContext operation.

type UpdateSessionParams

type UpdateSessionParams struct {
	ID string
}

UpdateSessionParams is parameters of updateSession operation.

type UploadCreateParamsMultipart

type UploadCreateParamsMultipart struct {
	File ht.MultipartFile `json:"file"`
}

Ref: #/components/schemas/UploadCreateParams

func (*UploadCreateParamsMultipart) GetFile

GetFile returns the value of File.

func (*UploadCreateParamsMultipart) SetFile

SetFile sets the value of File.

type UploadCreateResponse

type UploadCreateResponse struct {
	Message string `json:"message"`
}

Ref: #/components/schemas/UploadCreateResponse

func (*UploadCreateResponse) Decode

func (s *UploadCreateResponse) Decode(d *jx.Decoder) error

Decode decodes UploadCreateResponse from json.

func (*UploadCreateResponse) Encode

func (s *UploadCreateResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UploadCreateResponse) GetMessage

func (s *UploadCreateResponse) GetMessage() string

GetMessage returns the value of Message.

func (*UploadCreateResponse) MarshalJSON

func (s *UploadCreateResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UploadCreateResponse) SetMessage

func (s *UploadCreateResponse) SetMessage(val string)

SetMessage sets the value of Message.

func (*UploadCreateResponse) UnmarshalJSON

func (s *UploadCreateResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type XBBAPIKey

type XBBAPIKey struct {
	APIKey string
}

func (*XBBAPIKey) GetAPIKey

func (s *XBBAPIKey) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*XBBAPIKey) SetAPIKey

func (s *XBBAPIKey) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL