Documentation
¶
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type BrowserbaseProxyConfig
- func (s *BrowserbaseProxyConfig) Decode(d *jx.Decoder) error
- func (s *BrowserbaseProxyConfig) Encode(e *jx.Encoder)
- func (s *BrowserbaseProxyConfig) GetDomainPattern() OptString
- func (s *BrowserbaseProxyConfig) GetGeolocation() OptGeolocation
- func (s *BrowserbaseProxyConfig) GetType() BrowserbaseProxyConfigType
- func (s *BrowserbaseProxyConfig) MarshalJSON() ([]byte, error)
- func (s *BrowserbaseProxyConfig) SetDomainPattern(val OptString)
- func (s *BrowserbaseProxyConfig) SetGeolocation(val OptGeolocation)
- func (s *BrowserbaseProxyConfig) SetType(val BrowserbaseProxyConfigType)
- func (s *BrowserbaseProxyConfig) UnmarshalJSON(data []byte) error
- func (s *BrowserbaseProxyConfig) Validate() error
- type BrowserbaseProxyConfigType
- func (BrowserbaseProxyConfigType) AllValues() []BrowserbaseProxyConfigType
- func (s *BrowserbaseProxyConfigType) Decode(d *jx.Decoder) error
- func (s BrowserbaseProxyConfigType) Encode(e *jx.Encoder)
- func (s BrowserbaseProxyConfigType) MarshalJSON() ([]byte, error)
- func (s BrowserbaseProxyConfigType) MarshalText() ([]byte, error)
- func (s *BrowserbaseProxyConfigType) UnmarshalJSON(data []byte) error
- func (s *BrowserbaseProxyConfigType) UnmarshalText(data []byte) error
- func (s BrowserbaseProxyConfigType) Validate() error
- type Client
- func (c *Client) CreateContext(ctx context.Context, request *ContextCreateParams) (*ContextCreateResponse, error)
- func (c *Client) CreateExtension(ctx context.Context, request *ExtensionCreateParamsMultipart) (*Extension, error)
- func (c *Client) CreateSession(ctx context.Context, request *SessionCreateParams) (*SessionCreateResponse, error)
- func (c *Client) CreateSessionUploads(ctx context.Context, request *UploadCreateParamsMultipart, ...) (*UploadCreateResponse, error)
- func (c *Client) DeleteExtension(ctx context.Context, params DeleteExtensionParams) error
- func (c *Client) GetSessionRecording(ctx context.Context, params GetSessionRecordingParams) (RecordingRetrieveResponse, error)
- func (c *Client) ListProjects(ctx context.Context) (ProjectListResponse, error)
- func (c *Client) ListSessionDownloads(ctx context.Context, params ListSessionDownloadsParams) (ListSessionDownloadsOK, error)
- func (c *Client) ListSessionLogs(ctx context.Context, params ListSessionLogsParams) (LogListResponse, error)
- func (c *Client) ListSessions(ctx context.Context, params ListSessionsParams) (SessionListResponse, error)
- func (c *Client) ProjectUsage(ctx context.Context, params ProjectUsageParams) (*ProjectUsage, error)
- func (c *Client) RetrieveContext(ctx context.Context, params RetrieveContextParams) (*Context, error)
- func (c *Client) RetrieveExtension(ctx context.Context, params RetrieveExtensionParams) (*Extension, error)
- func (c *Client) RetrieveProject(ctx context.Context, params RetrieveProjectParams) (*Project, error)
- func (c *Client) RetrieveSession(ctx context.Context, params RetrieveSessionParams) (*SessionCreateResponse, error)
- func (c *Client) SessionDebug(ctx context.Context, params SessionDebugParams) (*SessionLiveURLs, error)
- func (c *Client) UpdateContext(ctx context.Context, params UpdateContextParams) (*ContextCreateResponse, error)
- func (c *Client) UpdateSession(ctx context.Context, request *SessionUpdateParams, params UpdateSessionParams) (*Session, error)
- type ClientOption
- type Context
- func (s *Context) Decode(d *jx.Decoder) error
- func (s *Context) Encode(e *jx.Encoder)
- func (s *Context) GetCreatedAt() string
- func (s *Context) GetID() string
- func (s *Context) GetProjectId() string
- func (s *Context) GetUpdatedAt() string
- func (s *Context) MarshalJSON() ([]byte, error)
- func (s *Context) SetCreatedAt(val string)
- func (s *Context) SetID(val string)
- func (s *Context) SetProjectId(val string)
- func (s *Context) SetUpdatedAt(val string)
- func (s *Context) UnmarshalJSON(data []byte) error
- type ContextCreateParams
- func (s *ContextCreateParams) Decode(d *jx.Decoder) error
- func (s *ContextCreateParams) Encode(e *jx.Encoder)
- func (s *ContextCreateParams) GetProjectId() string
- func (s *ContextCreateParams) MarshalJSON() ([]byte, error)
- func (s *ContextCreateParams) SetProjectId(val string)
- func (s *ContextCreateParams) UnmarshalJSON(data []byte) error
- type ContextCreateResponse
- func (s *ContextCreateResponse) Decode(d *jx.Decoder) error
- func (s *ContextCreateResponse) Encode(e *jx.Encoder)
- func (s *ContextCreateResponse) GetCipherAlgorithm() string
- func (s *ContextCreateResponse) GetID() string
- func (s *ContextCreateResponse) GetInitializationVectorSize() int
- func (s *ContextCreateResponse) GetPublicKey() string
- func (s *ContextCreateResponse) GetUploadUrl() string
- func (s *ContextCreateResponse) MarshalJSON() ([]byte, error)
- func (s *ContextCreateResponse) SetCipherAlgorithm(val string)
- func (s *ContextCreateResponse) SetID(val string)
- func (s *ContextCreateResponse) SetInitializationVectorSize(val int)
- func (s *ContextCreateResponse) SetPublicKey(val string)
- func (s *ContextCreateResponse) SetUploadUrl(val string)
- func (s *ContextCreateResponse) UnmarshalJSON(data []byte) error
- type CreateSessionUploadsParams
- type DeleteExtensionNoContent
- type DeleteExtensionParams
- type Extension
- func (s *Extension) Decode(d *jx.Decoder) error
- func (s *Extension) Encode(e *jx.Encoder)
- func (s *Extension) GetCreatedAt() string
- func (s *Extension) GetFileName() string
- func (s *Extension) GetID() string
- func (s *Extension) GetProjectId() string
- func (s *Extension) GetUpdatedAt() string
- func (s *Extension) MarshalJSON() ([]byte, error)
- func (s *Extension) SetCreatedAt(val string)
- func (s *Extension) SetFileName(val string)
- func (s *Extension) SetID(val string)
- func (s *Extension) SetProjectId(val string)
- func (s *Extension) SetUpdatedAt(val string)
- func (s *Extension) UnmarshalJSON(data []byte) error
- type ExtensionCreateParamsMultipart
- type ExternalProxyConfig
- func (s *ExternalProxyConfig) Decode(d *jx.Decoder) error
- func (s *ExternalProxyConfig) Encode(e *jx.Encoder)
- func (s *ExternalProxyConfig) GetDomainPattern() OptString
- func (s *ExternalProxyConfig) GetPassword() OptString
- func (s *ExternalProxyConfig) GetServer() string
- func (s *ExternalProxyConfig) GetType() ExternalProxyConfigType
- func (s *ExternalProxyConfig) GetUsername() OptString
- func (s *ExternalProxyConfig) MarshalJSON() ([]byte, error)
- func (s *ExternalProxyConfig) SetDomainPattern(val OptString)
- func (s *ExternalProxyConfig) SetPassword(val OptString)
- func (s *ExternalProxyConfig) SetServer(val string)
- func (s *ExternalProxyConfig) SetType(val ExternalProxyConfigType)
- func (s *ExternalProxyConfig) SetUsername(val OptString)
- func (s *ExternalProxyConfig) UnmarshalJSON(data []byte) error
- func (s *ExternalProxyConfig) Validate() error
- type ExternalProxyConfigType
- func (ExternalProxyConfigType) AllValues() []ExternalProxyConfigType
- func (s *ExternalProxyConfigType) Decode(d *jx.Decoder) error
- func (s ExternalProxyConfigType) Encode(e *jx.Encoder)
- func (s ExternalProxyConfigType) MarshalJSON() ([]byte, error)
- func (s ExternalProxyConfigType) MarshalText() ([]byte, error)
- func (s *ExternalProxyConfigType) UnmarshalJSON(data []byte) error
- func (s *ExternalProxyConfigType) UnmarshalText(data []byte) error
- func (s ExternalProxyConfigType) Validate() error
- type Geolocation
- func (s *Geolocation) Decode(d *jx.Decoder) error
- func (s *Geolocation) Encode(e *jx.Encoder)
- func (s *Geolocation) GetCity() OptString
- func (s *Geolocation) GetCountry() string
- func (s *Geolocation) GetState() OptString
- func (s *Geolocation) MarshalJSON() ([]byte, error)
- func (s *Geolocation) SetCity(val OptString)
- func (s *Geolocation) SetCountry(val string)
- func (s *Geolocation) SetState(val OptString)
- func (s *Geolocation) UnmarshalJSON(data []byte) error
- type GetSessionRecordingParams
- type Invoker
- type ListSessionDownloadsOK
- type ListSessionDownloadsParams
- type ListSessionLogsParams
- type ListSessionsParams
- type LogListResponse
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptGeolocation
- func (o *OptGeolocation) Decode(d *jx.Decoder) error
- func (o OptGeolocation) Encode(e *jx.Encoder)
- func (o OptGeolocation) Get() (v Geolocation, ok bool)
- func (o OptGeolocation) IsSet() bool
- func (s OptGeolocation) MarshalJSON() ([]byte, error)
- func (o OptGeolocation) Or(d Geolocation) Geolocation
- func (o *OptGeolocation) Reset()
- func (o *OptGeolocation) SetTo(v Geolocation)
- func (s *OptGeolocation) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptNilFloat64
- func (o *OptNilFloat64) Decode(d *jx.Decoder) error
- func (o OptNilFloat64) Encode(e *jx.Encoder)
- func (o OptNilFloat64) Get() (v float64, ok bool)
- func (o OptNilFloat64) IsNull() bool
- func (o OptNilFloat64) IsSet() bool
- func (s OptNilFloat64) MarshalJSON() ([]byte, error)
- func (o OptNilFloat64) Or(d float64) float64
- func (o *OptNilFloat64) Reset()
- func (o *OptNilFloat64) SetTo(v float64)
- func (o *OptNilFloat64) SetToNull()
- func (s *OptNilFloat64) UnmarshalJSON(data []byte) error
- type OptNilSessionCreateResponseUserMetadata
- func (o *OptNilSessionCreateResponseUserMetadata) Decode(d *jx.Decoder) error
- func (o OptNilSessionCreateResponseUserMetadata) Encode(e *jx.Encoder)
- func (o OptNilSessionCreateResponseUserMetadata) Get() (v SessionCreateResponseUserMetadata, ok bool)
- func (o OptNilSessionCreateResponseUserMetadata) IsNull() bool
- func (o OptNilSessionCreateResponseUserMetadata) IsSet() bool
- func (s OptNilSessionCreateResponseUserMetadata) MarshalJSON() ([]byte, error)
- func (o OptNilSessionCreateResponseUserMetadata) Or(d SessionCreateResponseUserMetadata) SessionCreateResponseUserMetadata
- func (o *OptNilSessionCreateResponseUserMetadata) Reset()
- func (o *OptNilSessionCreateResponseUserMetadata) SetTo(v SessionCreateResponseUserMetadata)
- func (o *OptNilSessionCreateResponseUserMetadata) SetToNull()
- func (s *OptNilSessionCreateResponseUserMetadata) UnmarshalJSON(data []byte) error
- type OptNilSessionUserMetadata
- func (o *OptNilSessionUserMetadata) Decode(d *jx.Decoder) error
- func (o OptNilSessionUserMetadata) Encode(e *jx.Encoder)
- func (o OptNilSessionUserMetadata) Get() (v SessionUserMetadata, ok bool)
- func (o OptNilSessionUserMetadata) IsNull() bool
- func (o OptNilSessionUserMetadata) IsSet() bool
- func (s OptNilSessionUserMetadata) MarshalJSON() ([]byte, error)
- func (o OptNilSessionUserMetadata) Or(d SessionUserMetadata) SessionUserMetadata
- func (o *OptNilSessionUserMetadata) Reset()
- func (o *OptNilSessionUserMetadata) SetTo(v SessionUserMetadata)
- func (o *OptNilSessionUserMetadata) SetToNull()
- func (s *OptNilSessionUserMetadata) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettings
- func (o *OptSessionBrowserSettings) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettings) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettings) Get() (v SessionBrowserSettings, ok bool)
- func (o OptSessionBrowserSettings) IsSet() bool
- func (s OptSessionBrowserSettings) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettings) Or(d SessionBrowserSettings) SessionBrowserSettings
- func (o *OptSessionBrowserSettings) Reset()
- func (o *OptSessionBrowserSettings) SetTo(v SessionBrowserSettings)
- func (s *OptSessionBrowserSettings) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettingsContext
- func (o *OptSessionBrowserSettingsContext) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettingsContext) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettingsContext) Get() (v SessionBrowserSettingsContext, ok bool)
- func (o OptSessionBrowserSettingsContext) IsSet() bool
- func (s OptSessionBrowserSettingsContext) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettingsContext) Or(d SessionBrowserSettingsContext) SessionBrowserSettingsContext
- func (o *OptSessionBrowserSettingsContext) Reset()
- func (o *OptSessionBrowserSettingsContext) SetTo(v SessionBrowserSettingsContext)
- func (s *OptSessionBrowserSettingsContext) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettingsFingerprint
- func (o *OptSessionBrowserSettingsFingerprint) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettingsFingerprint) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettingsFingerprint) Get() (v SessionBrowserSettingsFingerprint, ok bool)
- func (o OptSessionBrowserSettingsFingerprint) IsSet() bool
- func (s OptSessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettingsFingerprint) Or(d SessionBrowserSettingsFingerprint) SessionBrowserSettingsFingerprint
- func (o *OptSessionBrowserSettingsFingerprint) Reset()
- func (o *OptSessionBrowserSettingsFingerprint) SetTo(v SessionBrowserSettingsFingerprint)
- func (s *OptSessionBrowserSettingsFingerprint) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettingsFingerprintHttpVersion
- func (o *OptSessionBrowserSettingsFingerprintHttpVersion) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettingsFingerprintHttpVersion) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettingsFingerprintHttpVersion) Get() (v SessionBrowserSettingsFingerprintHttpVersion, ok bool)
- func (o OptSessionBrowserSettingsFingerprintHttpVersion) IsSet() bool
- func (s OptSessionBrowserSettingsFingerprintHttpVersion) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettingsFingerprintHttpVersion) Or(d SessionBrowserSettingsFingerprintHttpVersion) SessionBrowserSettingsFingerprintHttpVersion
- func (o *OptSessionBrowserSettingsFingerprintHttpVersion) Reset()
- func (o *OptSessionBrowserSettingsFingerprintHttpVersion) SetTo(v SessionBrowserSettingsFingerprintHttpVersion)
- func (s *OptSessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettingsFingerprintScreen
- func (o *OptSessionBrowserSettingsFingerprintScreen) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettingsFingerprintScreen) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettingsFingerprintScreen) Get() (v SessionBrowserSettingsFingerprintScreen, ok bool)
- func (o OptSessionBrowserSettingsFingerprintScreen) IsSet() bool
- func (s OptSessionBrowserSettingsFingerprintScreen) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettingsFingerprintScreen) Or(d SessionBrowserSettingsFingerprintScreen) SessionBrowserSettingsFingerprintScreen
- func (o *OptSessionBrowserSettingsFingerprintScreen) Reset()
- func (o *OptSessionBrowserSettingsFingerprintScreen) SetTo(v SessionBrowserSettingsFingerprintScreen)
- func (s *OptSessionBrowserSettingsFingerprintScreen) UnmarshalJSON(data []byte) error
- type OptSessionBrowserSettingsViewport
- func (o *OptSessionBrowserSettingsViewport) Decode(d *jx.Decoder) error
- func (o OptSessionBrowserSettingsViewport) Encode(e *jx.Encoder)
- func (o OptSessionBrowserSettingsViewport) Get() (v SessionBrowserSettingsViewport, ok bool)
- func (o OptSessionBrowserSettingsViewport) IsSet() bool
- func (s OptSessionBrowserSettingsViewport) MarshalJSON() ([]byte, error)
- func (o OptSessionBrowserSettingsViewport) Or(d SessionBrowserSettingsViewport) SessionBrowserSettingsViewport
- func (o *OptSessionBrowserSettingsViewport) Reset()
- func (o *OptSessionBrowserSettingsViewport) SetTo(v SessionBrowserSettingsViewport)
- func (s *OptSessionBrowserSettingsViewport) UnmarshalJSON(data []byte) error
- type OptSessionCreateParamsProxies
- func (o *OptSessionCreateParamsProxies) Decode(d *jx.Decoder) error
- func (o OptSessionCreateParamsProxies) Encode(e *jx.Encoder)
- func (o OptSessionCreateParamsProxies) Get() (v SessionCreateParamsProxies, ok bool)
- func (o OptSessionCreateParamsProxies) IsSet() bool
- func (s OptSessionCreateParamsProxies) MarshalJSON() ([]byte, error)
- func (o OptSessionCreateParamsProxies) Or(d SessionCreateParamsProxies) SessionCreateParamsProxies
- func (o *OptSessionCreateParamsProxies) Reset()
- func (o *OptSessionCreateParamsProxies) SetTo(v SessionCreateParamsProxies)
- func (s *OptSessionCreateParamsProxies) UnmarshalJSON(data []byte) error
- type OptSessionCreateParamsRegion
- func (o *OptSessionCreateParamsRegion) Decode(d *jx.Decoder) error
- func (o OptSessionCreateParamsRegion) Encode(e *jx.Encoder)
- func (o OptSessionCreateParamsRegion) Get() (v SessionCreateParamsRegion, ok bool)
- func (o OptSessionCreateParamsRegion) IsSet() bool
- func (s OptSessionCreateParamsRegion) MarshalJSON() ([]byte, error)
- func (o OptSessionCreateParamsRegion) Or(d SessionCreateParamsRegion) SessionCreateParamsRegion
- func (o *OptSessionCreateParamsRegion) Reset()
- func (o *OptSessionCreateParamsRegion) SetTo(v SessionCreateParamsRegion)
- func (s *OptSessionCreateParamsRegion) UnmarshalJSON(data []byte) error
- type OptSessionCreateParamsUserMetadata
- func (o *OptSessionCreateParamsUserMetadata) Decode(d *jx.Decoder) error
- func (o OptSessionCreateParamsUserMetadata) Encode(e *jx.Encoder)
- func (o OptSessionCreateParamsUserMetadata) Get() (v SessionCreateParamsUserMetadata, ok bool)
- func (o OptSessionCreateParamsUserMetadata) IsSet() bool
- func (s OptSessionCreateParamsUserMetadata) MarshalJSON() ([]byte, error)
- func (o OptSessionCreateParamsUserMetadata) Or(d SessionCreateParamsUserMetadata) SessionCreateParamsUserMetadata
- func (o *OptSessionCreateParamsUserMetadata) Reset()
- func (o *OptSessionCreateParamsUserMetadata) SetTo(v SessionCreateParamsUserMetadata)
- func (s *OptSessionCreateParamsUserMetadata) UnmarshalJSON(data []byte) error
- type OptSessionLogRequest
- func (o *OptSessionLogRequest) Decode(d *jx.Decoder) error
- func (o OptSessionLogRequest) Encode(e *jx.Encoder)
- func (o OptSessionLogRequest) Get() (v SessionLogRequest, ok bool)
- func (o OptSessionLogRequest) IsSet() bool
- func (s OptSessionLogRequest) MarshalJSON() ([]byte, error)
- func (o OptSessionLogRequest) Or(d SessionLogRequest) SessionLogRequest
- func (o *OptSessionLogRequest) Reset()
- func (o *OptSessionLogRequest) SetTo(v SessionLogRequest)
- func (s *OptSessionLogRequest) UnmarshalJSON(data []byte) error
- type OptSessionLogResponse
- func (o *OptSessionLogResponse) Decode(d *jx.Decoder) error
- func (o OptSessionLogResponse) Encode(e *jx.Encoder)
- func (o OptSessionLogResponse) Get() (v SessionLogResponse, ok bool)
- func (o OptSessionLogResponse) IsSet() bool
- func (s OptSessionLogResponse) MarshalJSON() ([]byte, error)
- func (o OptSessionLogResponse) Or(d SessionLogResponse) SessionLogResponse
- func (o *OptSessionLogResponse) Reset()
- func (o *OptSessionLogResponse) SetTo(v SessionLogResponse)
- func (s *OptSessionLogResponse) UnmarshalJSON(data []byte) error
- type OptSessionStatus
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type Option
- type Project
- func (s *Project) Decode(d *jx.Decoder) error
- func (s *Project) Encode(e *jx.Encoder)
- func (s *Project) GetConcurrency() int
- func (s *Project) GetCreatedAt() string
- func (s *Project) GetDefaultTimeout() int
- func (s *Project) GetID() string
- func (s *Project) GetName() string
- func (s *Project) GetOwnerId() string
- func (s *Project) GetUpdatedAt() string
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetConcurrency(val int)
- func (s *Project) SetCreatedAt(val string)
- func (s *Project) SetDefaultTimeout(val int)
- func (s *Project) SetID(val string)
- func (s *Project) SetName(val string)
- func (s *Project) SetOwnerId(val string)
- func (s *Project) SetUpdatedAt(val string)
- func (s *Project) UnmarshalJSON(data []byte) error
- type ProjectListResponse
- type ProjectUsage
- func (s *ProjectUsage) Decode(d *jx.Decoder) error
- func (s *ProjectUsage) Encode(e *jx.Encoder)
- func (s *ProjectUsage) GetBrowserMinutes() float64
- func (s *ProjectUsage) GetProxyBytes() float64
- func (s *ProjectUsage) MarshalJSON() ([]byte, error)
- func (s *ProjectUsage) SetBrowserMinutes(val float64)
- func (s *ProjectUsage) SetProxyBytes(val float64)
- func (s *ProjectUsage) UnmarshalJSON(data []byte) error
- func (s *ProjectUsage) Validate() error
- type ProjectUsageParams
- type RecordingRetrieveResponse
- func (s *RecordingRetrieveResponse) Decode(d *jx.Decoder) error
- func (s RecordingRetrieveResponse) Encode(e *jx.Encoder)
- func (s RecordingRetrieveResponse) MarshalJSON() ([]byte, error)
- func (s *RecordingRetrieveResponse) UnmarshalJSON(data []byte) error
- func (s RecordingRetrieveResponse) Validate() error
- type RetrieveContextParams
- type RetrieveExtensionParams
- type RetrieveProjectParams
- type RetrieveSessionParams
- type SecuritySource
- type Session
- func (s *Session) Decode(d *jx.Decoder) error
- func (s *Session) Encode(e *jx.Encoder)
- func (s *Session) GetAvgCpuUsage() OptNilFloat64
- func (s *Session) GetContextId() OptNilString
- func (s *Session) GetCreatedAt() string
- func (s *Session) GetEndedAt() OptNilString
- func (s *Session) GetExpiresAt() string
- func (s *Session) GetID() string
- func (s *Session) GetKeepAlive() bool
- func (s *Session) GetMemoryUsage() OptNilFloat64
- func (s *Session) GetProjectId() string
- func (s *Session) GetProxyBytes() float64
- func (s *Session) GetRegion() SessionRegion
- func (s *Session) GetStartedAt() string
- func (s *Session) GetStatus() SessionStatus
- func (s *Session) GetUpdatedAt() string
- func (s *Session) GetUserMetadata() OptNilSessionUserMetadata
- func (s *Session) MarshalJSON() ([]byte, error)
- func (s *Session) SetAvgCpuUsage(val OptNilFloat64)
- func (s *Session) SetContextId(val OptNilString)
- func (s *Session) SetCreatedAt(val string)
- func (s *Session) SetEndedAt(val OptNilString)
- func (s *Session) SetExpiresAt(val string)
- func (s *Session) SetID(val string)
- func (s *Session) SetKeepAlive(val bool)
- func (s *Session) SetMemoryUsage(val OptNilFloat64)
- func (s *Session) SetProjectId(val string)
- func (s *Session) SetProxyBytes(val float64)
- func (s *Session) SetRegion(val SessionRegion)
- func (s *Session) SetStartedAt(val string)
- func (s *Session) SetStatus(val SessionStatus)
- func (s *Session) SetUpdatedAt(val string)
- func (s *Session) SetUserMetadata(val OptNilSessionUserMetadata)
- func (s *Session) UnmarshalJSON(data []byte) error
- func (s *Session) Validate() error
- type SessionBrowserSettings
- func (s *SessionBrowserSettings) Decode(d *jx.Decoder) error
- func (s *SessionBrowserSettings) Encode(e *jx.Encoder)
- func (s *SessionBrowserSettings) GetAdvancedStealth() OptBool
- func (s *SessionBrowserSettings) GetBlockAds() OptBool
- func (s *SessionBrowserSettings) GetContext() OptSessionBrowserSettingsContext
- func (s *SessionBrowserSettings) GetExtensionId() OptString
- func (s *SessionBrowserSettings) GetFingerprint() OptSessionBrowserSettingsFingerprint
- func (s *SessionBrowserSettings) GetLogSession() OptBool
- func (s *SessionBrowserSettings) GetRecordSession() OptBool
- func (s *SessionBrowserSettings) GetSolveCaptchas() OptBool
- func (s *SessionBrowserSettings) GetViewport() OptSessionBrowserSettingsViewport
- func (s *SessionBrowserSettings) MarshalJSON() ([]byte, error)
- func (s *SessionBrowserSettings) SetAdvancedStealth(val OptBool)
- func (s *SessionBrowserSettings) SetBlockAds(val OptBool)
- func (s *SessionBrowserSettings) SetContext(val OptSessionBrowserSettingsContext)
- func (s *SessionBrowserSettings) SetExtensionId(val OptString)
- func (s *SessionBrowserSettings) SetFingerprint(val OptSessionBrowserSettingsFingerprint)
- func (s *SessionBrowserSettings) SetLogSession(val OptBool)
- func (s *SessionBrowserSettings) SetRecordSession(val OptBool)
- func (s *SessionBrowserSettings) SetSolveCaptchas(val OptBool)
- func (s *SessionBrowserSettings) SetViewport(val OptSessionBrowserSettingsViewport)
- func (s *SessionBrowserSettings) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettings) Validate() error
- type SessionBrowserSettingsContext
- func (s *SessionBrowserSettingsContext) Decode(d *jx.Decoder) error
- func (s *SessionBrowserSettingsContext) Encode(e *jx.Encoder)
- func (s *SessionBrowserSettingsContext) GetID() string
- func (s *SessionBrowserSettingsContext) GetPersist() OptBool
- func (s *SessionBrowserSettingsContext) MarshalJSON() ([]byte, error)
- func (s *SessionBrowserSettingsContext) SetID(val string)
- func (s *SessionBrowserSettingsContext) SetPersist(val OptBool)
- func (s *SessionBrowserSettingsContext) UnmarshalJSON(data []byte) error
- type SessionBrowserSettingsFingerprint
- func (s *SessionBrowserSettingsFingerprint) Decode(d *jx.Decoder) error
- func (s *SessionBrowserSettingsFingerprint) Encode(e *jx.Encoder)
- func (s *SessionBrowserSettingsFingerprint) GetBrowsers() []SessionBrowserSettingsFingerprintBrowsersItem
- func (s *SessionBrowserSettingsFingerprint) GetDevices() []SessionBrowserSettingsFingerprintDevicesItem
- func (s *SessionBrowserSettingsFingerprint) GetHttpVersion() OptSessionBrowserSettingsFingerprintHttpVersion
- func (s *SessionBrowserSettingsFingerprint) GetLocales() []string
- func (s *SessionBrowserSettingsFingerprint) GetOperatingSystems() []SessionBrowserSettingsFingerprintOperatingSystemsItem
- func (s *SessionBrowserSettingsFingerprint) GetScreen() OptSessionBrowserSettingsFingerprintScreen
- func (s *SessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprint) SetBrowsers(val []SessionBrowserSettingsFingerprintBrowsersItem)
- func (s *SessionBrowserSettingsFingerprint) SetDevices(val []SessionBrowserSettingsFingerprintDevicesItem)
- func (s *SessionBrowserSettingsFingerprint) SetHttpVersion(val OptSessionBrowserSettingsFingerprintHttpVersion)
- func (s *SessionBrowserSettingsFingerprint) SetLocales(val []string)
- func (s *SessionBrowserSettingsFingerprint) SetOperatingSystems(val []SessionBrowserSettingsFingerprintOperatingSystemsItem)
- func (s *SessionBrowserSettingsFingerprint) SetScreen(val OptSessionBrowserSettingsFingerprintScreen)
- func (s *SessionBrowserSettingsFingerprint) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettingsFingerprint) Validate() error
- type SessionBrowserSettingsFingerprintBrowsersItem
- func (SessionBrowserSettingsFingerprintBrowsersItem) AllValues() []SessionBrowserSettingsFingerprintBrowsersItem
- func (s *SessionBrowserSettingsFingerprintBrowsersItem) Decode(d *jx.Decoder) error
- func (s SessionBrowserSettingsFingerprintBrowsersItem) Encode(e *jx.Encoder)
- func (s SessionBrowserSettingsFingerprintBrowsersItem) MarshalJSON() ([]byte, error)
- func (s SessionBrowserSettingsFingerprintBrowsersItem) MarshalText() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettingsFingerprintBrowsersItem) UnmarshalText(data []byte) error
- func (s SessionBrowserSettingsFingerprintBrowsersItem) Validate() error
- type SessionBrowserSettingsFingerprintDevicesItem
- func (SessionBrowserSettingsFingerprintDevicesItem) AllValues() []SessionBrowserSettingsFingerprintDevicesItem
- func (s *SessionBrowserSettingsFingerprintDevicesItem) Decode(d *jx.Decoder) error
- func (s SessionBrowserSettingsFingerprintDevicesItem) Encode(e *jx.Encoder)
- func (s SessionBrowserSettingsFingerprintDevicesItem) MarshalJSON() ([]byte, error)
- func (s SessionBrowserSettingsFingerprintDevicesItem) MarshalText() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprintDevicesItem) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettingsFingerprintDevicesItem) UnmarshalText(data []byte) error
- func (s SessionBrowserSettingsFingerprintDevicesItem) Validate() error
- type SessionBrowserSettingsFingerprintHttpVersion
- func (SessionBrowserSettingsFingerprintHttpVersion) AllValues() []SessionBrowserSettingsFingerprintHttpVersion
- func (s *SessionBrowserSettingsFingerprintHttpVersion) Decode(d *jx.Decoder) error
- func (s SessionBrowserSettingsFingerprintHttpVersion) Encode(e *jx.Encoder)
- func (s SessionBrowserSettingsFingerprintHttpVersion) MarshalJSON() ([]byte, error)
- func (s SessionBrowserSettingsFingerprintHttpVersion) MarshalText() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettingsFingerprintHttpVersion) UnmarshalText(data []byte) error
- func (s SessionBrowserSettingsFingerprintHttpVersion) Validate() error
- type SessionBrowserSettingsFingerprintOperatingSystemsItem
- func (SessionBrowserSettingsFingerprintOperatingSystemsItem) AllValues() []SessionBrowserSettingsFingerprintOperatingSystemsItem
- func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) Decode(d *jx.Decoder) error
- func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) Encode(e *jx.Encoder)
- func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalJSON() ([]byte, error)
- func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalText() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalJSON(data []byte) error
- func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalText(data []byte) error
- func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) Validate() error
- type SessionBrowserSettingsFingerprintScreen
- func (s *SessionBrowserSettingsFingerprintScreen) Decode(d *jx.Decoder) error
- func (s *SessionBrowserSettingsFingerprintScreen) Encode(e *jx.Encoder)
- func (s *SessionBrowserSettingsFingerprintScreen) GetMaxHeight() OptInt
- func (s *SessionBrowserSettingsFingerprintScreen) GetMaxWidth() OptInt
- func (s *SessionBrowserSettingsFingerprintScreen) GetMinHeight() OptInt
- func (s *SessionBrowserSettingsFingerprintScreen) GetMinWidth() OptInt
- func (s *SessionBrowserSettingsFingerprintScreen) MarshalJSON() ([]byte, error)
- func (s *SessionBrowserSettingsFingerprintScreen) SetMaxHeight(val OptInt)
- func (s *SessionBrowserSettingsFingerprintScreen) SetMaxWidth(val OptInt)
- func (s *SessionBrowserSettingsFingerprintScreen) SetMinHeight(val OptInt)
- func (s *SessionBrowserSettingsFingerprintScreen) SetMinWidth(val OptInt)
- func (s *SessionBrowserSettingsFingerprintScreen) UnmarshalJSON(data []byte) error
- type SessionBrowserSettingsViewport
- func (s *SessionBrowserSettingsViewport) Decode(d *jx.Decoder) error
- func (s *SessionBrowserSettingsViewport) Encode(e *jx.Encoder)
- func (s *SessionBrowserSettingsViewport) GetHeight() OptInt
- func (s *SessionBrowserSettingsViewport) GetWidth() OptInt
- func (s *SessionBrowserSettingsViewport) MarshalJSON() ([]byte, error)
- func (s *SessionBrowserSettingsViewport) SetHeight(val OptInt)
- func (s *SessionBrowserSettingsViewport) SetWidth(val OptInt)
- func (s *SessionBrowserSettingsViewport) UnmarshalJSON(data []byte) error
- type SessionCreateParams
- func (s *SessionCreateParams) Decode(d *jx.Decoder) error
- func (s *SessionCreateParams) Encode(e *jx.Encoder)
- func (s *SessionCreateParams) GetBrowserSettings() OptSessionBrowserSettings
- func (s *SessionCreateParams) GetExtensionId() OptString
- func (s *SessionCreateParams) GetKeepAlive() OptBool
- func (s *SessionCreateParams) GetProjectId() string
- func (s *SessionCreateParams) GetProxies() OptSessionCreateParamsProxies
- func (s *SessionCreateParams) GetRegion() OptSessionCreateParamsRegion
- func (s *SessionCreateParams) GetTimeout() OptInt
- func (s *SessionCreateParams) GetUserMetadata() OptSessionCreateParamsUserMetadata
- func (s *SessionCreateParams) MarshalJSON() ([]byte, error)
- func (s *SessionCreateParams) SetBrowserSettings(val OptSessionBrowserSettings)
- func (s *SessionCreateParams) SetExtensionId(val OptString)
- func (s *SessionCreateParams) SetKeepAlive(val OptBool)
- func (s *SessionCreateParams) SetProjectId(val string)
- func (s *SessionCreateParams) SetProxies(val OptSessionCreateParamsProxies)
- func (s *SessionCreateParams) SetRegion(val OptSessionCreateParamsRegion)
- func (s *SessionCreateParams) SetTimeout(val OptInt)
- func (s *SessionCreateParams) SetUserMetadata(val OptSessionCreateParamsUserMetadata)
- func (s *SessionCreateParams) UnmarshalJSON(data []byte) error
- func (s *SessionCreateParams) Validate() error
- type SessionCreateParamsProxies
- func (s *SessionCreateParamsProxies) Decode(d *jx.Decoder) error
- func (s SessionCreateParamsProxies) Encode(e *jx.Encoder)
- func (s SessionCreateParamsProxies) GetBool() (v bool, ok bool)
- func (s SessionCreateParamsProxies) GetSessionCreateParamsProxies1ItemArray() (v []SessionCreateParamsProxies1Item, ok bool)
- func (s SessionCreateParamsProxies) IsBool() bool
- func (s SessionCreateParamsProxies) IsSessionCreateParamsProxies1ItemArray() bool
- func (s SessionCreateParamsProxies) MarshalJSON() ([]byte, error)
- func (s *SessionCreateParamsProxies) SetBool(v bool)
- func (s *SessionCreateParamsProxies) SetSessionCreateParamsProxies1ItemArray(v []SessionCreateParamsProxies1Item)
- func (s *SessionCreateParamsProxies) UnmarshalJSON(data []byte) error
- func (s SessionCreateParamsProxies) Validate() error
- type SessionCreateParamsProxies1Item
- func (s *SessionCreateParamsProxies1Item) Decode(d *jx.Decoder) error
- func (s SessionCreateParamsProxies1Item) Encode(e *jx.Encoder)
- func (s SessionCreateParamsProxies1Item) GetBrowserbaseProxyConfig() (v BrowserbaseProxyConfig, ok bool)
- func (s SessionCreateParamsProxies1Item) GetExternalProxyConfig() (v ExternalProxyConfig, ok bool)
- func (s SessionCreateParamsProxies1Item) IsBrowserbaseProxyConfig() bool
- func (s SessionCreateParamsProxies1Item) IsExternalProxyConfig() bool
- func (s SessionCreateParamsProxies1Item) MarshalJSON() ([]byte, error)
- func (s *SessionCreateParamsProxies1Item) SetBrowserbaseProxyConfig(v BrowserbaseProxyConfig)
- func (s *SessionCreateParamsProxies1Item) SetExternalProxyConfig(v ExternalProxyConfig)
- func (s *SessionCreateParamsProxies1Item) UnmarshalJSON(data []byte) error
- func (s SessionCreateParamsProxies1Item) Validate() error
- type SessionCreateParamsProxies1ItemType
- type SessionCreateParamsProxiesType
- type SessionCreateParamsRegion
- func (SessionCreateParamsRegion) AllValues() []SessionCreateParamsRegion
- func (s *SessionCreateParamsRegion) Decode(d *jx.Decoder) error
- func (s SessionCreateParamsRegion) Encode(e *jx.Encoder)
- func (s SessionCreateParamsRegion) MarshalJSON() ([]byte, error)
- func (s SessionCreateParamsRegion) MarshalText() ([]byte, error)
- func (s *SessionCreateParamsRegion) UnmarshalJSON(data []byte) error
- func (s *SessionCreateParamsRegion) UnmarshalText(data []byte) error
- func (s SessionCreateParamsRegion) Validate() error
- type SessionCreateParamsUserMetadata
- type SessionCreateResponse
- func (s *SessionCreateResponse) Decode(d *jx.Decoder) error
- func (s *SessionCreateResponse) Encode(e *jx.Encoder)
- func (s *SessionCreateResponse) GetAvgCpuUsage() OptNilFloat64
- func (s *SessionCreateResponse) GetConnectUrl() string
- func (s *SessionCreateResponse) GetContextId() OptNilString
- func (s *SessionCreateResponse) GetCreatedAt() string
- func (s *SessionCreateResponse) GetEndedAt() OptNilString
- func (s *SessionCreateResponse) GetExpiresAt() string
- func (s *SessionCreateResponse) GetID() string
- func (s *SessionCreateResponse) GetKeepAlive() bool
- func (s *SessionCreateResponse) GetMemoryUsage() OptNilFloat64
- func (s *SessionCreateResponse) GetProjectId() string
- func (s *SessionCreateResponse) GetProxyBytes() float64
- func (s *SessionCreateResponse) GetRegion() SessionCreateResponseRegion
- func (s *SessionCreateResponse) GetSeleniumRemoteUrl() string
- func (s *SessionCreateResponse) GetSigningKey() string
- func (s *SessionCreateResponse) GetStartedAt() string
- func (s *SessionCreateResponse) GetStatus() SessionStatus
- func (s *SessionCreateResponse) GetUpdatedAt() string
- func (s *SessionCreateResponse) GetUserMetadata() OptNilSessionCreateResponseUserMetadata
- func (s *SessionCreateResponse) MarshalJSON() ([]byte, error)
- func (s *SessionCreateResponse) SetAvgCpuUsage(val OptNilFloat64)
- func (s *SessionCreateResponse) SetConnectUrl(val string)
- func (s *SessionCreateResponse) SetContextId(val OptNilString)
- func (s *SessionCreateResponse) SetCreatedAt(val string)
- func (s *SessionCreateResponse) SetEndedAt(val OptNilString)
- func (s *SessionCreateResponse) SetExpiresAt(val string)
- func (s *SessionCreateResponse) SetID(val string)
- func (s *SessionCreateResponse) SetKeepAlive(val bool)
- func (s *SessionCreateResponse) SetMemoryUsage(val OptNilFloat64)
- func (s *SessionCreateResponse) SetProjectId(val string)
- func (s *SessionCreateResponse) SetProxyBytes(val float64)
- func (s *SessionCreateResponse) SetRegion(val SessionCreateResponseRegion)
- func (s *SessionCreateResponse) SetSeleniumRemoteUrl(val string)
- func (s *SessionCreateResponse) SetSigningKey(val string)
- func (s *SessionCreateResponse) SetStartedAt(val string)
- func (s *SessionCreateResponse) SetStatus(val SessionStatus)
- func (s *SessionCreateResponse) SetUpdatedAt(val string)
- func (s *SessionCreateResponse) SetUserMetadata(val OptNilSessionCreateResponseUserMetadata)
- func (s *SessionCreateResponse) UnmarshalJSON(data []byte) error
- func (s *SessionCreateResponse) Validate() error
- type SessionCreateResponseRegion
- func (SessionCreateResponseRegion) AllValues() []SessionCreateResponseRegion
- func (s *SessionCreateResponseRegion) Decode(d *jx.Decoder) error
- func (s SessionCreateResponseRegion) Encode(e *jx.Encoder)
- func (s SessionCreateResponseRegion) MarshalJSON() ([]byte, error)
- func (s SessionCreateResponseRegion) MarshalText() ([]byte, error)
- func (s *SessionCreateResponseRegion) UnmarshalJSON(data []byte) error
- func (s *SessionCreateResponseRegion) UnmarshalText(data []byte) error
- func (s SessionCreateResponseRegion) Validate() error
- type SessionCreateResponseUserMetadata
- type SessionDebugParams
- type SessionListResponse
- type SessionLiveURLs
- func (s *SessionLiveURLs) Decode(d *jx.Decoder) error
- func (s *SessionLiveURLs) Encode(e *jx.Encoder)
- func (s *SessionLiveURLs) GetDebuggerFullscreenUrl() string
- func (s *SessionLiveURLs) GetDebuggerUrl() string
- func (s *SessionLiveURLs) GetPages() []SessionLiveURLsPage
- func (s *SessionLiveURLs) GetWsUrl() string
- func (s *SessionLiveURLs) MarshalJSON() ([]byte, error)
- func (s *SessionLiveURLs) SetDebuggerFullscreenUrl(val string)
- func (s *SessionLiveURLs) SetDebuggerUrl(val string)
- func (s *SessionLiveURLs) SetPages(val []SessionLiveURLsPage)
- func (s *SessionLiveURLs) SetWsUrl(val string)
- func (s *SessionLiveURLs) UnmarshalJSON(data []byte) error
- func (s *SessionLiveURLs) Validate() error
- type SessionLiveURLsPage
- func (s *SessionLiveURLsPage) Decode(d *jx.Decoder) error
- func (s *SessionLiveURLsPage) Encode(e *jx.Encoder)
- func (s *SessionLiveURLsPage) GetDebuggerFullscreenUrl() string
- func (s *SessionLiveURLsPage) GetDebuggerUrl() string
- func (s *SessionLiveURLsPage) GetFaviconUrl() string
- func (s *SessionLiveURLsPage) GetID() string
- func (s *SessionLiveURLsPage) GetTitle() string
- func (s *SessionLiveURLsPage) GetURL() string
- func (s *SessionLiveURLsPage) MarshalJSON() ([]byte, error)
- func (s *SessionLiveURLsPage) SetDebuggerFullscreenUrl(val string)
- func (s *SessionLiveURLsPage) SetDebuggerUrl(val string)
- func (s *SessionLiveURLsPage) SetFaviconUrl(val string)
- func (s *SessionLiveURLsPage) SetID(val string)
- func (s *SessionLiveURLsPage) SetTitle(val string)
- func (s *SessionLiveURLsPage) SetURL(val string)
- func (s *SessionLiveURLsPage) UnmarshalJSON(data []byte) error
- type SessionLog
- func (s *SessionLog) Decode(d *jx.Decoder) error
- func (s *SessionLog) Encode(e *jx.Encoder)
- func (s *SessionLog) GetFrameId() OptString
- func (s *SessionLog) GetLoaderId() OptString
- func (s *SessionLog) GetMethod() string
- func (s *SessionLog) GetPageId() int
- func (s *SessionLog) GetRequest() OptSessionLogRequest
- func (s *SessionLog) GetResponse() OptSessionLogResponse
- func (s *SessionLog) GetSessionId() string
- func (s *SessionLog) GetTimestamp() OptInt
- func (s *SessionLog) MarshalJSON() ([]byte, error)
- func (s *SessionLog) SetFrameId(val OptString)
- func (s *SessionLog) SetLoaderId(val OptString)
- func (s *SessionLog) SetMethod(val string)
- func (s *SessionLog) SetPageId(val int)
- func (s *SessionLog) SetRequest(val OptSessionLogRequest)
- func (s *SessionLog) SetResponse(val OptSessionLogResponse)
- func (s *SessionLog) SetSessionId(val string)
- func (s *SessionLog) SetTimestamp(val OptInt)
- func (s *SessionLog) UnmarshalJSON(data []byte) error
- type SessionLogRequest
- func (s *SessionLogRequest) Decode(d *jx.Decoder) error
- func (s *SessionLogRequest) Encode(e *jx.Encoder)
- func (s *SessionLogRequest) GetParams() SessionLogRequestParams
- func (s *SessionLogRequest) GetRawBody() string
- func (s *SessionLogRequest) GetTimestamp() OptInt
- func (s *SessionLogRequest) MarshalJSON() ([]byte, error)
- func (s *SessionLogRequest) SetParams(val SessionLogRequestParams)
- func (s *SessionLogRequest) SetRawBody(val string)
- func (s *SessionLogRequest) SetTimestamp(val OptInt)
- func (s *SessionLogRequest) UnmarshalJSON(data []byte) error
- type SessionLogRequestParams
- type SessionLogResponse
- func (s *SessionLogResponse) Decode(d *jx.Decoder) error
- func (s *SessionLogResponse) Encode(e *jx.Encoder)
- func (s *SessionLogResponse) GetRawBody() string
- func (s *SessionLogResponse) GetResult() SessionLogResponseResult
- func (s *SessionLogResponse) GetTimestamp() OptInt
- func (s *SessionLogResponse) MarshalJSON() ([]byte, error)
- func (s *SessionLogResponse) SetRawBody(val string)
- func (s *SessionLogResponse) SetResult(val SessionLogResponseResult)
- func (s *SessionLogResponse) SetTimestamp(val OptInt)
- func (s *SessionLogResponse) UnmarshalJSON(data []byte) error
- type SessionLogResponseResult
- type SessionRecording
- func (s *SessionRecording) Decode(d *jx.Decoder) error
- func (s *SessionRecording) Encode(e *jx.Encoder)
- func (s *SessionRecording) GetData() SessionRecordingData
- func (s *SessionRecording) GetSessionId() string
- func (s *SessionRecording) GetTimestamp() int
- func (s *SessionRecording) GetType() int
- func (s *SessionRecording) MarshalJSON() ([]byte, error)
- func (s *SessionRecording) SetData(val SessionRecordingData)
- func (s *SessionRecording) SetSessionId(val string)
- func (s *SessionRecording) SetTimestamp(val int)
- func (s *SessionRecording) SetType(val int)
- func (s *SessionRecording) UnmarshalJSON(data []byte) error
- type SessionRecordingData
- type SessionRegion
- func (SessionRegion) AllValues() []SessionRegion
- func (s *SessionRegion) Decode(d *jx.Decoder) error
- func (s SessionRegion) Encode(e *jx.Encoder)
- func (s SessionRegion) MarshalJSON() ([]byte, error)
- func (s SessionRegion) MarshalText() ([]byte, error)
- func (s *SessionRegion) UnmarshalJSON(data []byte) error
- func (s *SessionRegion) UnmarshalText(data []byte) error
- func (s SessionRegion) Validate() error
- type SessionStatus
- func (SessionStatus) AllValues() []SessionStatus
- func (s *SessionStatus) Decode(d *jx.Decoder) error
- func (s SessionStatus) Encode(e *jx.Encoder)
- func (s SessionStatus) MarshalJSON() ([]byte, error)
- func (s SessionStatus) MarshalText() ([]byte, error)
- func (s *SessionStatus) UnmarshalJSON(data []byte) error
- func (s *SessionStatus) UnmarshalText(data []byte) error
- func (s SessionStatus) Validate() error
- type SessionUpdateParams
- func (s *SessionUpdateParams) Decode(d *jx.Decoder) error
- func (s *SessionUpdateParams) Encode(e *jx.Encoder)
- func (s *SessionUpdateParams) GetProjectId() string
- func (s *SessionUpdateParams) GetStatus() SessionUpdateParamsStatus
- func (s *SessionUpdateParams) MarshalJSON() ([]byte, error)
- func (s *SessionUpdateParams) SetProjectId(val string)
- func (s *SessionUpdateParams) SetStatus(val SessionUpdateParamsStatus)
- func (s *SessionUpdateParams) UnmarshalJSON(data []byte) error
- func (s *SessionUpdateParams) Validate() error
- type SessionUpdateParamsStatus
- func (SessionUpdateParamsStatus) AllValues() []SessionUpdateParamsStatus
- func (s *SessionUpdateParamsStatus) Decode(d *jx.Decoder) error
- func (s SessionUpdateParamsStatus) Encode(e *jx.Encoder)
- func (s SessionUpdateParamsStatus) MarshalJSON() ([]byte, error)
- func (s SessionUpdateParamsStatus) MarshalText() ([]byte, error)
- func (s *SessionUpdateParamsStatus) UnmarshalJSON(data []byte) error
- func (s *SessionUpdateParamsStatus) UnmarshalText(data []byte) error
- func (s SessionUpdateParamsStatus) Validate() error
- type SessionUserMetadata
- type UpdateContextParams
- type UpdateSessionParams
- type UploadCreateParamsMultipart
- type UploadCreateResponse
- func (s *UploadCreateResponse) Decode(d *jx.Decoder) error
- func (s *UploadCreateResponse) Encode(e *jx.Encoder)
- func (s *UploadCreateResponse) GetMessage() string
- func (s *UploadCreateResponse) MarshalJSON() ([]byte, error)
- func (s *UploadCreateResponse) SetMessage(val string)
- func (s *UploadCreateResponse) UnmarshalJSON(data []byte) error
- type XBBAPIKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (s *BrowserbaseProxyConfig) GetType() BrowserbaseProxyConfigType
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 ¶
func (s *BrowserbaseProxyConfig) SetType(val BrowserbaseProxyConfigType)
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 ¶
func (BrowserbaseProxyConfigType) AllValues() []BrowserbaseProxyConfigType
AllValues returns all BrowserbaseProxyConfigType values.
func (*BrowserbaseProxyConfigType) Decode ¶
func (s *BrowserbaseProxyConfigType) Decode(d *jx.Decoder) error
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) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Context) GetProjectId ¶
GetProjectId returns the value of ProjectId.
func (*Context) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Context) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Context) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Context) SetProjectId ¶
SetProjectId sets the value of ProjectId.
func (*Context) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Context) UnmarshalJSON ¶
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 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) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Extension) GetFileName ¶
GetFileName returns the value of FileName.
func (*Extension) GetProjectId ¶
GetProjectId returns the value of ProjectId.
func (*Extension) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Extension) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Extension) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Extension) SetFileName ¶
SetFileName sets the value of FileName.
func (*Extension) SetProjectId ¶
SetProjectId sets the value of ProjectId.
func (*Extension) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Extension) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ExtensionCreateParamsMultipart ¶
type ExtensionCreateParamsMultipart struct {
File ht.MultipartFile `json:"file"`
}
Ref: #/components/schemas/ExtensionCreateParams
func (*ExtensionCreateParamsMultipart) GetFile ¶
func (s *ExtensionCreateParamsMultipart) GetFile() ht.MultipartFile
GetFile returns the value of File.
func (*ExtensionCreateParamsMultipart) SetFile ¶
func (s *ExtensionCreateParamsMultipart) SetFile(val ht.MultipartFile)
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 ¶
func (s *ExternalProxyConfig) GetType() ExternalProxyConfigType
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 ¶
func (s *ExternalProxyConfig) SetType(val ExternalProxyConfigType)
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 ¶
func (ExternalProxyConfigType) AllValues() []ExternalProxyConfigType
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 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 ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
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 ¶
func (o OptGeolocation) Or(d Geolocation) Geolocation
Or returns value if set, or given parameter if does not.
func (*OptGeolocation) UnmarshalJSON ¶
func (s *OptGeolocation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilFloat64 ¶
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) 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 ¶
func (o *OptNilSessionCreateResponseUserMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionCreateResponseUserMetadata from json.
func (OptNilSessionCreateResponseUserMetadata) Encode ¶
func (o OptNilSessionCreateResponseUserMetadata) Encode(e *jx.Encoder)
Encode encodes SessionCreateResponseUserMetadata as json.
func (OptNilSessionCreateResponseUserMetadata) Get ¶
func (o OptNilSessionCreateResponseUserMetadata) Get() (v SessionCreateResponseUserMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilSessionCreateResponseUserMetadata) IsNull ¶
func (o OptNilSessionCreateResponseUserMetadata) IsNull() bool
IsNull returns true if value is Null.
func (OptNilSessionCreateResponseUserMetadata) IsSet ¶
func (o OptNilSessionCreateResponseUserMetadata) IsSet() bool
IsSet returns true if OptNilSessionCreateResponseUserMetadata was set.
func (OptNilSessionCreateResponseUserMetadata) MarshalJSON ¶
func (s OptNilSessionCreateResponseUserMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilSessionCreateResponseUserMetadata) Or ¶
func (o OptNilSessionCreateResponseUserMetadata) Or(d SessionCreateResponseUserMetadata) SessionCreateResponseUserMetadata
Or returns value if set, or given parameter if does not.
func (*OptNilSessionCreateResponseUserMetadata) Reset ¶
func (o *OptNilSessionCreateResponseUserMetadata) Reset()
Reset unsets value.
func (*OptNilSessionCreateResponseUserMetadata) SetTo ¶
func (o *OptNilSessionCreateResponseUserMetadata) SetTo(v SessionCreateResponseUserMetadata)
SetTo sets value to v.
func (*OptNilSessionCreateResponseUserMetadata) SetToNull ¶
func (o *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 ¶
func (o OptNilSessionUserMetadata) Get() (v SessionUserMetadata, ok bool)
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 ¶
func (o OptNilSessionUserMetadata) Or(d SessionUserMetadata) SessionUserMetadata
Or returns value if set, or given parameter if does not.
func (*OptNilSessionUserMetadata) Reset ¶
func (o *OptNilSessionUserMetadata) Reset()
Reset unsets value.
func (*OptNilSessionUserMetadata) SetTo ¶
func (o *OptNilSessionUserMetadata) SetTo(v SessionUserMetadata)
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 ¶
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) 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 ¶
func (o OptSessionBrowserSettings) Get() (v SessionBrowserSettings, ok bool)
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) Reset ¶
func (o *OptSessionBrowserSettings) Reset()
Reset unsets value.
func (*OptSessionBrowserSettings) SetTo ¶
func (o *OptSessionBrowserSettings) SetTo(v SessionBrowserSettings)
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 ¶
func (o *OptSessionBrowserSettingsContext) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsContext from json.
func (OptSessionBrowserSettingsContext) Encode ¶
func (o OptSessionBrowserSettingsContext) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsContext as json.
func (OptSessionBrowserSettingsContext) Get ¶
func (o OptSessionBrowserSettingsContext) Get() (v SessionBrowserSettingsContext, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionBrowserSettingsContext) IsSet ¶
func (o OptSessionBrowserSettingsContext) IsSet() bool
IsSet returns true if OptSessionBrowserSettingsContext was set.
func (OptSessionBrowserSettingsContext) MarshalJSON ¶
func (s OptSessionBrowserSettingsContext) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionBrowserSettingsContext) Or ¶
func (o OptSessionBrowserSettingsContext) Or(d SessionBrowserSettingsContext) SessionBrowserSettingsContext
Or returns value if set, or given parameter if does not.
func (*OptSessionBrowserSettingsContext) Reset ¶
func (o *OptSessionBrowserSettingsContext) Reset()
Reset unsets value.
func (*OptSessionBrowserSettingsContext) SetTo ¶
func (o *OptSessionBrowserSettingsContext) SetTo(v SessionBrowserSettingsContext)
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 ¶
func (o *OptSessionBrowserSettingsFingerprint) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprint from json.
func (OptSessionBrowserSettingsFingerprint) Encode ¶
func (o OptSessionBrowserSettingsFingerprint) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprint as json.
func (OptSessionBrowserSettingsFingerprint) Get ¶
func (o OptSessionBrowserSettingsFingerprint) Get() (v SessionBrowserSettingsFingerprint, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionBrowserSettingsFingerprint) IsSet ¶
func (o OptSessionBrowserSettingsFingerprint) IsSet() bool
IsSet returns true if OptSessionBrowserSettingsFingerprint was set.
func (OptSessionBrowserSettingsFingerprint) MarshalJSON ¶
func (s OptSessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionBrowserSettingsFingerprint) Or ¶
func (o OptSessionBrowserSettingsFingerprint) Or(d SessionBrowserSettingsFingerprint) SessionBrowserSettingsFingerprint
Or returns value if set, or given parameter if does not.
func (*OptSessionBrowserSettingsFingerprint) Reset ¶
func (o *OptSessionBrowserSettingsFingerprint) Reset()
Reset unsets value.
func (*OptSessionBrowserSettingsFingerprint) SetTo ¶
func (o *OptSessionBrowserSettingsFingerprint) SetTo(v SessionBrowserSettingsFingerprint)
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 ¶
func (o *OptSessionBrowserSettingsFingerprintHttpVersion) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintHttpVersion from json.
func (OptSessionBrowserSettingsFingerprintHttpVersion) Encode ¶
func (o OptSessionBrowserSettingsFingerprintHttpVersion) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintHttpVersion as json.
func (OptSessionBrowserSettingsFingerprintHttpVersion) Get ¶
func (o OptSessionBrowserSettingsFingerprintHttpVersion) Get() (v SessionBrowserSettingsFingerprintHttpVersion, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionBrowserSettingsFingerprintHttpVersion) IsSet ¶
func (o OptSessionBrowserSettingsFingerprintHttpVersion) IsSet() bool
IsSet returns true if OptSessionBrowserSettingsFingerprintHttpVersion was set.
func (OptSessionBrowserSettingsFingerprintHttpVersion) MarshalJSON ¶
func (s OptSessionBrowserSettingsFingerprintHttpVersion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionBrowserSettingsFingerprintHttpVersion) Or ¶
func (o OptSessionBrowserSettingsFingerprintHttpVersion) Or(d SessionBrowserSettingsFingerprintHttpVersion) SessionBrowserSettingsFingerprintHttpVersion
Or returns value if set, or given parameter if does not.
func (*OptSessionBrowserSettingsFingerprintHttpVersion) Reset ¶
func (o *OptSessionBrowserSettingsFingerprintHttpVersion) Reset()
Reset unsets value.
func (*OptSessionBrowserSettingsFingerprintHttpVersion) SetTo ¶
func (o *OptSessionBrowserSettingsFingerprintHttpVersion) SetTo(v SessionBrowserSettingsFingerprintHttpVersion)
SetTo sets value to v.
func (*OptSessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON ¶
func (s *OptSessionBrowserSettingsFingerprintHttpVersion) UnmarshalJSON(data []byte) error
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 ¶
func (o *OptSessionBrowserSettingsFingerprintScreen) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintScreen from json.
func (OptSessionBrowserSettingsFingerprintScreen) Encode ¶
func (o OptSessionBrowserSettingsFingerprintScreen) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintScreen as json.
func (OptSessionBrowserSettingsFingerprintScreen) Get ¶
func (o OptSessionBrowserSettingsFingerprintScreen) Get() (v SessionBrowserSettingsFingerprintScreen, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionBrowserSettingsFingerprintScreen) IsSet ¶
func (o OptSessionBrowserSettingsFingerprintScreen) IsSet() bool
IsSet returns true if OptSessionBrowserSettingsFingerprintScreen was set.
func (OptSessionBrowserSettingsFingerprintScreen) MarshalJSON ¶
func (s OptSessionBrowserSettingsFingerprintScreen) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionBrowserSettingsFingerprintScreen) Or ¶
func (o OptSessionBrowserSettingsFingerprintScreen) Or(d SessionBrowserSettingsFingerprintScreen) SessionBrowserSettingsFingerprintScreen
Or returns value if set, or given parameter if does not.
func (*OptSessionBrowserSettingsFingerprintScreen) Reset ¶
func (o *OptSessionBrowserSettingsFingerprintScreen) Reset()
Reset unsets value.
func (*OptSessionBrowserSettingsFingerprintScreen) SetTo ¶
func (o *OptSessionBrowserSettingsFingerprintScreen) SetTo(v SessionBrowserSettingsFingerprintScreen)
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 ¶
func (o *OptSessionBrowserSettingsViewport) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsViewport from json.
func (OptSessionBrowserSettingsViewport) Encode ¶
func (o OptSessionBrowserSettingsViewport) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsViewport as json.
func (OptSessionBrowserSettingsViewport) Get ¶
func (o OptSessionBrowserSettingsViewport) Get() (v SessionBrowserSettingsViewport, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionBrowserSettingsViewport) IsSet ¶
func (o OptSessionBrowserSettingsViewport) IsSet() bool
IsSet returns true if OptSessionBrowserSettingsViewport was set.
func (OptSessionBrowserSettingsViewport) MarshalJSON ¶
func (s OptSessionBrowserSettingsViewport) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionBrowserSettingsViewport) Or ¶
func (o OptSessionBrowserSettingsViewport) Or(d SessionBrowserSettingsViewport) SessionBrowserSettingsViewport
Or returns value if set, or given parameter if does not.
func (*OptSessionBrowserSettingsViewport) Reset ¶
func (o *OptSessionBrowserSettingsViewport) Reset()
Reset unsets value.
func (*OptSessionBrowserSettingsViewport) SetTo ¶
func (o *OptSessionBrowserSettingsViewport) SetTo(v SessionBrowserSettingsViewport)
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 ¶
func (o *OptSessionCreateParamsProxies) Decode(d *jx.Decoder) error
Decode decodes SessionCreateParamsProxies from json.
func (OptSessionCreateParamsProxies) Encode ¶
func (o OptSessionCreateParamsProxies) Encode(e *jx.Encoder)
Encode encodes SessionCreateParamsProxies as json.
func (OptSessionCreateParamsProxies) Get ¶
func (o OptSessionCreateParamsProxies) Get() (v SessionCreateParamsProxies, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionCreateParamsProxies) IsSet ¶
func (o OptSessionCreateParamsProxies) IsSet() bool
IsSet returns true if OptSessionCreateParamsProxies was set.
func (OptSessionCreateParamsProxies) MarshalJSON ¶
func (s OptSessionCreateParamsProxies) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptSessionCreateParamsProxies) Reset ¶
func (o *OptSessionCreateParamsProxies) Reset()
Reset unsets value.
func (*OptSessionCreateParamsProxies) SetTo ¶
func (o *OptSessionCreateParamsProxies) SetTo(v SessionCreateParamsProxies)
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 ¶
func (o *OptSessionCreateParamsRegion) Decode(d *jx.Decoder) error
Decode decodes SessionCreateParamsRegion from json.
func (OptSessionCreateParamsRegion) Encode ¶
func (o OptSessionCreateParamsRegion) Encode(e *jx.Encoder)
Encode encodes SessionCreateParamsRegion as json.
func (OptSessionCreateParamsRegion) Get ¶
func (o OptSessionCreateParamsRegion) Get() (v SessionCreateParamsRegion, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionCreateParamsRegion) IsSet ¶
func (o OptSessionCreateParamsRegion) IsSet() bool
IsSet returns true if OptSessionCreateParamsRegion was set.
func (OptSessionCreateParamsRegion) MarshalJSON ¶
func (s OptSessionCreateParamsRegion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptSessionCreateParamsRegion) Reset ¶
func (o *OptSessionCreateParamsRegion) Reset()
Reset unsets value.
func (*OptSessionCreateParamsRegion) SetTo ¶
func (o *OptSessionCreateParamsRegion) SetTo(v SessionCreateParamsRegion)
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 ¶
func (o *OptSessionCreateParamsUserMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionCreateParamsUserMetadata from json.
func (OptSessionCreateParamsUserMetadata) Encode ¶
func (o OptSessionCreateParamsUserMetadata) Encode(e *jx.Encoder)
Encode encodes SessionCreateParamsUserMetadata as json.
func (OptSessionCreateParamsUserMetadata) Get ¶
func (o OptSessionCreateParamsUserMetadata) Get() (v SessionCreateParamsUserMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSessionCreateParamsUserMetadata) IsSet ¶
func (o OptSessionCreateParamsUserMetadata) IsSet() bool
IsSet returns true if OptSessionCreateParamsUserMetadata was set.
func (OptSessionCreateParamsUserMetadata) MarshalJSON ¶
func (s OptSessionCreateParamsUserMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSessionCreateParamsUserMetadata) Or ¶
func (o OptSessionCreateParamsUserMetadata) Or(d SessionCreateParamsUserMetadata) SessionCreateParamsUserMetadata
Or returns value if set, or given parameter if does not.
func (*OptSessionCreateParamsUserMetadata) Reset ¶
func (o *OptSessionCreateParamsUserMetadata) Reset()
Reset unsets value.
func (*OptSessionCreateParamsUserMetadata) SetTo ¶
func (o *OptSessionCreateParamsUserMetadata) SetTo(v SessionCreateParamsUserMetadata)
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 ¶
func (o OptSessionLogRequest) Get() (v SessionLogRequest, ok bool)
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 ¶
func (o OptSessionLogRequest) Or(d SessionLogRequest) SessionLogRequest
Or returns value if set, or given parameter if does not.
func (*OptSessionLogRequest) SetTo ¶
func (o *OptSessionLogRequest) SetTo(v SessionLogRequest)
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 ¶
func (o OptSessionLogResponse) Get() (v SessionLogResponse, ok bool)
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 ¶
func (o OptSessionLogResponse) Or(d SessionLogResponse) SessionLogResponse
Or returns value if set, or given parameter if does not.
func (*OptSessionLogResponse) SetTo ¶
func (o *OptSessionLogResponse) SetTo(v SessionLogResponse)
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 ¶
func (o OptSessionStatus) Or(d SessionStatus) SessionStatus
Or returns value if set, or given parameter if does not.
func (*OptSessionStatus) SetTo ¶
func (o *OptSessionStatus) SetTo(v SessionStatus)
SetTo sets value to v.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetConcurrency ¶
GetConcurrency returns the value of Concurrency.
func (*Project) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Project) GetDefaultTimeout ¶
GetDefaultTimeout returns the value of DefaultTimeout.
func (*Project) GetOwnerId ¶
GetOwnerId returns the value of OwnerId.
func (*Project) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Project) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Project) SetConcurrency ¶
SetConcurrency sets the value of Concurrency.
func (*Project) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Project) SetDefaultTimeout ¶
SetDefaultTimeout sets the value of DefaultTimeout.
func (*Project) SetOwnerId ¶
SetOwnerId sets the value of OwnerId.
func (*Project) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Project) UnmarshalJSON ¶
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) 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 ¶
GetCreatedAt returns the value of CreatedAt.
func (*Session) GetEndedAt ¶
func (s *Session) GetEndedAt() OptNilString
GetEndedAt returns the value of EndedAt.
func (*Session) GetExpiresAt ¶
GetExpiresAt returns the value of ExpiresAt.
func (*Session) GetKeepAlive ¶
GetKeepAlive returns the value of KeepAlive.
func (*Session) GetMemoryUsage ¶
func (s *Session) GetMemoryUsage() OptNilFloat64
GetMemoryUsage returns the value of MemoryUsage.
func (*Session) GetProjectId ¶
GetProjectId returns the value of ProjectId.
func (*Session) GetProxyBytes ¶
GetProxyBytes returns the value of ProxyBytes.
func (*Session) GetRegion ¶
func (s *Session) GetRegion() SessionRegion
GetRegion returns the value of Region.
func (*Session) GetStartedAt ¶
GetStartedAt returns the value of StartedAt.
func (*Session) GetStatus ¶
func (s *Session) GetStatus() SessionStatus
GetStatus returns the value of Status.
func (*Session) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Session) GetUserMetadata ¶
func (s *Session) GetUserMetadata() OptNilSessionUserMetadata
GetUserMetadata returns the value of UserMetadata.
func (*Session) MarshalJSON ¶
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 ¶
SetCreatedAt sets the value of CreatedAt.
func (*Session) SetEndedAt ¶
func (s *Session) SetEndedAt(val OptNilString)
SetEndedAt sets the value of EndedAt.
func (*Session) SetExpiresAt ¶
SetExpiresAt sets the value of ExpiresAt.
func (*Session) SetKeepAlive ¶
SetKeepAlive sets the value of KeepAlive.
func (*Session) SetMemoryUsage ¶
func (s *Session) SetMemoryUsage(val OptNilFloat64)
SetMemoryUsage sets the value of MemoryUsage.
func (*Session) SetProjectId ¶
SetProjectId sets the value of ProjectId.
func (*Session) SetProxyBytes ¶
SetProxyBytes sets the value of ProxyBytes.
func (*Session) SetRegion ¶
func (s *Session) SetRegion(val SessionRegion)
SetRegion sets the value of Region.
func (*Session) SetStartedAt ¶
SetStartedAt sets the value of StartedAt.
func (*Session) SetStatus ¶
func (s *Session) SetStatus(val SessionStatus)
SetStatus sets the value of Status.
func (*Session) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Session) SetUserMetadata ¶
func (s *Session) SetUserMetadata(val OptNilSessionUserMetadata)
SetUserMetadata sets the value of UserMetadata.
func (*Session) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *SessionBrowserSettings) GetContext() OptSessionBrowserSettingsContext
GetContext returns the value of Context.
func (*SessionBrowserSettings) GetExtensionId ¶
func (s *SessionBrowserSettings) GetExtensionId() OptString
GetExtensionId returns the value of ExtensionId.
func (*SessionBrowserSettings) GetFingerprint ¶
func (s *SessionBrowserSettings) GetFingerprint() OptSessionBrowserSettingsFingerprint
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 ¶
func (s *SessionBrowserSettings) GetViewport() OptSessionBrowserSettingsViewport
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 ¶
func (s *SessionBrowserSettings) SetContext(val OptSessionBrowserSettingsContext)
SetContext sets the value of Context.
func (*SessionBrowserSettings) SetExtensionId ¶
func (s *SessionBrowserSettings) SetExtensionId(val OptString)
SetExtensionId sets the value of ExtensionId.
func (*SessionBrowserSettings) SetFingerprint ¶
func (s *SessionBrowserSettings) SetFingerprint(val OptSessionBrowserSettingsFingerprint)
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 ¶
func (s *SessionBrowserSettings) SetViewport(val OptSessionBrowserSettingsViewport)
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 ¶
func (s *SessionBrowserSettingsContext) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsContext from json.
func (*SessionBrowserSettingsContext) Encode ¶
func (s *SessionBrowserSettingsContext) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionBrowserSettingsContext) GetID ¶
func (s *SessionBrowserSettingsContext) GetID() string
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 ¶
func (s *SessionBrowserSettingsFingerprint) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprint from json.
func (*SessionBrowserSettingsFingerprint) Encode ¶
func (s *SessionBrowserSettingsFingerprint) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionBrowserSettingsFingerprint) GetBrowsers ¶
func (s *SessionBrowserSettingsFingerprint) GetBrowsers() []SessionBrowserSettingsFingerprintBrowsersItem
GetBrowsers returns the value of Browsers.
func (*SessionBrowserSettingsFingerprint) GetDevices ¶
func (s *SessionBrowserSettingsFingerprint) GetDevices() []SessionBrowserSettingsFingerprintDevicesItem
GetDevices returns the value of Devices.
func (*SessionBrowserSettingsFingerprint) GetHttpVersion ¶
func (s *SessionBrowserSettingsFingerprint) GetHttpVersion() OptSessionBrowserSettingsFingerprintHttpVersion
GetHttpVersion returns the value of HttpVersion.
func (*SessionBrowserSettingsFingerprint) GetLocales ¶
func (s *SessionBrowserSettingsFingerprint) GetLocales() []string
GetLocales returns the value of Locales.
func (*SessionBrowserSettingsFingerprint) GetOperatingSystems ¶
func (s *SessionBrowserSettingsFingerprint) GetOperatingSystems() []SessionBrowserSettingsFingerprintOperatingSystemsItem
GetOperatingSystems returns the value of OperatingSystems.
func (*SessionBrowserSettingsFingerprint) GetScreen ¶
func (s *SessionBrowserSettingsFingerprint) GetScreen() OptSessionBrowserSettingsFingerprintScreen
GetScreen returns the value of Screen.
func (*SessionBrowserSettingsFingerprint) MarshalJSON ¶
func (s *SessionBrowserSettingsFingerprint) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SessionBrowserSettingsFingerprint) SetBrowsers ¶
func (s *SessionBrowserSettingsFingerprint) SetBrowsers(val []SessionBrowserSettingsFingerprintBrowsersItem)
SetBrowsers sets the value of Browsers.
func (*SessionBrowserSettingsFingerprint) SetDevices ¶
func (s *SessionBrowserSettingsFingerprint) SetDevices(val []SessionBrowserSettingsFingerprintDevicesItem)
SetDevices sets the value of Devices.
func (*SessionBrowserSettingsFingerprint) SetHttpVersion ¶
func (s *SessionBrowserSettingsFingerprint) SetHttpVersion(val OptSessionBrowserSettingsFingerprintHttpVersion)
SetHttpVersion sets the value of HttpVersion.
func (*SessionBrowserSettingsFingerprint) SetLocales ¶
func (s *SessionBrowserSettingsFingerprint) SetLocales(val []string)
SetLocales sets the value of Locales.
func (*SessionBrowserSettingsFingerprint) SetOperatingSystems ¶
func (s *SessionBrowserSettingsFingerprint) SetOperatingSystems(val []SessionBrowserSettingsFingerprintOperatingSystemsItem)
SetOperatingSystems sets the value of OperatingSystems.
func (*SessionBrowserSettingsFingerprint) SetScreen ¶
func (s *SessionBrowserSettingsFingerprint) SetScreen(val OptSessionBrowserSettingsFingerprintScreen)
SetScreen sets the value of Screen.
func (*SessionBrowserSettingsFingerprint) UnmarshalJSON ¶
func (s *SessionBrowserSettingsFingerprint) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionBrowserSettingsFingerprint) Validate ¶
func (s *SessionBrowserSettingsFingerprint) Validate() error
type SessionBrowserSettingsFingerprintBrowsersItem ¶
type SessionBrowserSettingsFingerprintBrowsersItem string
const ( SessionBrowserSettingsFingerprintBrowsersItemChrome SessionBrowserSettingsFingerprintBrowsersItem = "chrome" SessionBrowserSettingsFingerprintBrowsersItemEdge SessionBrowserSettingsFingerprintBrowsersItem = "edge" SessionBrowserSettingsFingerprintBrowsersItemFirefox SessionBrowserSettingsFingerprintBrowsersItem = "firefox" SessionBrowserSettingsFingerprintBrowsersItemSafari SessionBrowserSettingsFingerprintBrowsersItem = "safari" )
func (SessionBrowserSettingsFingerprintBrowsersItem) AllValues ¶
func (SessionBrowserSettingsFingerprintBrowsersItem) AllValues() []SessionBrowserSettingsFingerprintBrowsersItem
AllValues returns all SessionBrowserSettingsFingerprintBrowsersItem values.
func (*SessionBrowserSettingsFingerprintBrowsersItem) Decode ¶
func (s *SessionBrowserSettingsFingerprintBrowsersItem) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintBrowsersItem from json.
func (SessionBrowserSettingsFingerprintBrowsersItem) Encode ¶
func (s SessionBrowserSettingsFingerprintBrowsersItem) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintBrowsersItem as json.
func (SessionBrowserSettingsFingerprintBrowsersItem) MarshalJSON ¶
func (s SessionBrowserSettingsFingerprintBrowsersItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SessionBrowserSettingsFingerprintBrowsersItem) MarshalText ¶
func (s SessionBrowserSettingsFingerprintBrowsersItem) MarshalText() ([]byte, error)
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 ¶
func (s SessionBrowserSettingsFingerprintBrowsersItem) Validate() error
type SessionBrowserSettingsFingerprintDevicesItem ¶
type SessionBrowserSettingsFingerprintDevicesItem string
const ( SessionBrowserSettingsFingerprintDevicesItemDesktop SessionBrowserSettingsFingerprintDevicesItem = "desktop" SessionBrowserSettingsFingerprintDevicesItemMobile SessionBrowserSettingsFingerprintDevicesItem = "mobile" )
func (SessionBrowserSettingsFingerprintDevicesItem) AllValues ¶
func (SessionBrowserSettingsFingerprintDevicesItem) AllValues() []SessionBrowserSettingsFingerprintDevicesItem
AllValues returns all SessionBrowserSettingsFingerprintDevicesItem values.
func (*SessionBrowserSettingsFingerprintDevicesItem) Decode ¶
func (s *SessionBrowserSettingsFingerprintDevicesItem) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintDevicesItem from json.
func (SessionBrowserSettingsFingerprintDevicesItem) Encode ¶
func (s SessionBrowserSettingsFingerprintDevicesItem) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintDevicesItem as json.
func (SessionBrowserSettingsFingerprintDevicesItem) MarshalJSON ¶
func (s SessionBrowserSettingsFingerprintDevicesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SessionBrowserSettingsFingerprintDevicesItem) MarshalText ¶
func (s SessionBrowserSettingsFingerprintDevicesItem) MarshalText() ([]byte, error)
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 ¶
func (s SessionBrowserSettingsFingerprintDevicesItem) Validate() error
type SessionBrowserSettingsFingerprintHttpVersion ¶
type SessionBrowserSettingsFingerprintHttpVersion string
const ( SessionBrowserSettingsFingerprintHttpVersion1 SessionBrowserSettingsFingerprintHttpVersion = "1" SessionBrowserSettingsFingerprintHttpVersion2 SessionBrowserSettingsFingerprintHttpVersion = "2" )
func (SessionBrowserSettingsFingerprintHttpVersion) AllValues ¶
func (SessionBrowserSettingsFingerprintHttpVersion) AllValues() []SessionBrowserSettingsFingerprintHttpVersion
AllValues returns all SessionBrowserSettingsFingerprintHttpVersion values.
func (*SessionBrowserSettingsFingerprintHttpVersion) Decode ¶
func (s *SessionBrowserSettingsFingerprintHttpVersion) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintHttpVersion from json.
func (SessionBrowserSettingsFingerprintHttpVersion) Encode ¶
func (s SessionBrowserSettingsFingerprintHttpVersion) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintHttpVersion as json.
func (SessionBrowserSettingsFingerprintHttpVersion) MarshalJSON ¶
func (s SessionBrowserSettingsFingerprintHttpVersion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SessionBrowserSettingsFingerprintHttpVersion) MarshalText ¶
func (s SessionBrowserSettingsFingerprintHttpVersion) MarshalText() ([]byte, error)
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 ¶
func (s SessionBrowserSettingsFingerprintHttpVersion) Validate() error
type SessionBrowserSettingsFingerprintOperatingSystemsItem ¶
type SessionBrowserSettingsFingerprintOperatingSystemsItem string
const ( SessionBrowserSettingsFingerprintOperatingSystemsItemAndroid SessionBrowserSettingsFingerprintOperatingSystemsItem = "android" SessionBrowserSettingsFingerprintOperatingSystemsItemIos SessionBrowserSettingsFingerprintOperatingSystemsItem = "ios" SessionBrowserSettingsFingerprintOperatingSystemsItemLinux SessionBrowserSettingsFingerprintOperatingSystemsItem = "linux" SessionBrowserSettingsFingerprintOperatingSystemsItemMacos SessionBrowserSettingsFingerprintOperatingSystemsItem = "macos" SessionBrowserSettingsFingerprintOperatingSystemsItemWindows SessionBrowserSettingsFingerprintOperatingSystemsItem = "windows" )
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) AllValues ¶
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) AllValues() []SessionBrowserSettingsFingerprintOperatingSystemsItem
AllValues returns all SessionBrowserSettingsFingerprintOperatingSystemsItem values.
func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) Decode ¶
func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintOperatingSystemsItem from json.
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) Encode ¶
func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) Encode(e *jx.Encoder)
Encode encodes SessionBrowserSettingsFingerprintOperatingSystemsItem as json.
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalJSON ¶
func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalText ¶
func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalJSON ¶
func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalText ¶
func (s *SessionBrowserSettingsFingerprintOperatingSystemsItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SessionBrowserSettingsFingerprintOperatingSystemsItem) Validate ¶
func (s SessionBrowserSettingsFingerprintOperatingSystemsItem) Validate() error
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 ¶
func (s *SessionBrowserSettingsFingerprintScreen) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsFingerprintScreen from json.
func (*SessionBrowserSettingsFingerprintScreen) Encode ¶
func (s *SessionBrowserSettingsFingerprintScreen) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SessionBrowserSettingsFingerprintScreen) GetMaxHeight ¶
func (s *SessionBrowserSettingsFingerprintScreen) GetMaxHeight() OptInt
GetMaxHeight returns the value of MaxHeight.
func (*SessionBrowserSettingsFingerprintScreen) GetMaxWidth ¶
func (s *SessionBrowserSettingsFingerprintScreen) GetMaxWidth() OptInt
GetMaxWidth returns the value of MaxWidth.
func (*SessionBrowserSettingsFingerprintScreen) GetMinHeight ¶
func (s *SessionBrowserSettingsFingerprintScreen) GetMinHeight() OptInt
GetMinHeight returns the value of MinHeight.
func (*SessionBrowserSettingsFingerprintScreen) GetMinWidth ¶
func (s *SessionBrowserSettingsFingerprintScreen) GetMinWidth() OptInt
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 ¶
func (s *SessionBrowserSettingsViewport) Decode(d *jx.Decoder) error
Decode decodes SessionBrowserSettingsViewport from json.
func (*SessionBrowserSettingsViewport) Encode ¶
func (s *SessionBrowserSettingsViewport) Encode(e *jx.Encoder)
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 ¶
func (s *SessionCreateParams) GetProxies() OptSessionCreateParamsProxies
GetProxies returns the value of Proxies.
func (*SessionCreateParams) GetRegion ¶
func (s *SessionCreateParams) GetRegion() OptSessionCreateParamsRegion
GetRegion returns the value of Region.
func (*SessionCreateParams) GetTimeout ¶
func (s *SessionCreateParams) GetTimeout() OptInt
GetTimeout returns the value of Timeout.
func (*SessionCreateParams) GetUserMetadata ¶
func (s *SessionCreateParams) GetUserMetadata() OptSessionCreateParamsUserMetadata
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 ¶
func (s *SessionCreateParams) SetProxies(val OptSessionCreateParamsProxies)
SetProxies sets the value of Proxies.
func (*SessionCreateParams) SetRegion ¶
func (s *SessionCreateParams) SetRegion(val OptSessionCreateParamsRegion)
SetRegion sets the value of Region.
func (*SessionCreateParams) SetTimeout ¶
func (s *SessionCreateParams) SetTimeout(val OptInt)
SetTimeout sets the value of Timeout.
func (*SessionCreateParams) SetUserMetadata ¶
func (s *SessionCreateParams) SetUserMetadata(val OptSessionCreateParamsUserMetadata)
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 ¶
func (s *SessionCreateParamsProxies) Decode(d *jx.Decoder) error
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 ¶
func (s *SessionCreateParamsProxies1Item) Decode(d *jx.Decoder) error
Decode decodes SessionCreateParamsProxies1Item from json.
func (SessionCreateParamsProxies1Item) Encode ¶
func (s SessionCreateParamsProxies1Item) Encode(e *jx.Encoder)
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 ¶
func (s SessionCreateParamsProxies1Item) Validate() error
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 ¶
func (SessionCreateParamsRegion) AllValues() []SessionCreateParamsRegion
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 ¶
func (*SessionCreateParamsUserMetadata) Decode ¶
func (s *SessionCreateParamsUserMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionCreateParamsUserMetadata from json.
func (SessionCreateParamsUserMetadata) Encode ¶
func (s SessionCreateParamsUserMetadata) Encode(e *jx.Encoder)
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 ¶
func (s *SessionCreateResponse) GetRegion() SessionCreateResponseRegion
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 ¶
func (s *SessionCreateResponse) GetUserMetadata() OptNilSessionCreateResponseUserMetadata
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 ¶
func (s *SessionCreateResponse) SetRegion(val SessionCreateResponseRegion)
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 ¶
func (s *SessionCreateResponse) SetUserMetadata(val OptNilSessionCreateResponseUserMetadata)
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 ¶
func (SessionCreateResponseRegion) AllValues() []SessionCreateResponseRegion
AllValues returns all SessionCreateResponseRegion values.
func (*SessionCreateResponseRegion) Decode ¶
func (s *SessionCreateResponseRegion) Decode(d *jx.Decoder) error
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 ¶
func (*SessionCreateResponseUserMetadata) Decode ¶
func (s *SessionCreateResponseUserMetadata) Decode(d *jx.Decoder) error
Decode decodes SessionCreateResponseUserMetadata from json.
func (SessionCreateResponseUserMetadata) Encode ¶
func (s SessionCreateResponseUserMetadata) Encode(e *jx.Encoder)
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 ¶
func (s *SessionLogRequest) GetParams() SessionLogRequestParams
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 ¶
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 ¶
func (s *SessionLogResponse) GetResult() SessionLogResponseResult
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 ¶
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 ¶
func (s *SessionRecording) GetData() SessionRecordingData
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 ¶
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 ¶
func (s *SessionUpdateParams) GetStatus() SessionUpdateParamsStatus
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 ¶
func (s *SessionUpdateParams) SetStatus(val SessionUpdateParamsStatus)
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 ¶
func (SessionUpdateParamsStatus) AllValues() []SessionUpdateParamsStatus
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 ¶
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 ¶
func (s *UploadCreateParamsMultipart) GetFile() ht.MultipartFile
GetFile returns the value of File.
func (*UploadCreateParamsMultipart) SetFile ¶
func (s *UploadCreateParamsMultipart) SetFile(val ht.MultipartFile)
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.