GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — unifapi-sdk-go/docs/BrowserScreenshotRequest.md at main · unifapi-agent/unifapi-sdk-go

Expand file tree

/

BrowserScreenshotRequest.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
259 lines (140 loc) · 7.67 KB
/

BrowserScreenshotRequest.md

Copy path

File metadata and controls

259 lines (140 loc) · 7.67 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

BrowserScreenshotRequest

Properties

Name Type Description Notes
Url string Absolute http(s) URL of the page to render.
WaitUntil Pointer to string When navigation is considered complete. `networkidle0` waits for the network to go idle (best for JavaScript-heavy pages); `load` is fastest. [optional]
TimeoutMs Pointer to int32 Navigation timeout in milliseconds (1000–60000). [optional]
Viewport Pointer to BrowserScreenshotRequestViewport [optional]
FullPage Pointer to bool Capture the full scrollable page instead of just the viewport. [optional]
Format Pointer to string Output image format. [optional] [default to "png"]
Quality Pointer to int32 Compression quality (0–100). Only valid for `jpeg` and `webp`. [optional]
Selector Pointer to string Capture only the first element matching this CSS selector. [optional]
OmitBackground Pointer to bool Render a transparent background (ignored for `jpeg`). [optional]

Methods

NewBrowserScreenshotRequest

func NewBrowserScreenshotRequest(url string, ) *BrowserScreenshotRequest

NewBrowserScreenshotRequest instantiates a new BrowserScreenshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewBrowserScreenshotRequestWithDefaults

func NewBrowserScreenshotRequestWithDefaults() *BrowserScreenshotRequest

NewBrowserScreenshotRequestWithDefaults instantiates a new BrowserScreenshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetUrl

func (o *BrowserScreenshotRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *BrowserScreenshotRequest) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUrl

func (o *BrowserScreenshotRequest) SetUrl(v string)

SetUrl sets Url field to given value.

GetWaitUntil

func (o *BrowserScreenshotRequest) GetWaitUntil() string

GetWaitUntil returns the WaitUntil field if non-nil, zero value otherwise.

GetWaitUntilOk

func (o *BrowserScreenshotRequest) GetWaitUntilOk() (*string, bool)

GetWaitUntilOk returns a tuple with the WaitUntil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWaitUntil

func (o *BrowserScreenshotRequest) SetWaitUntil(v string)

SetWaitUntil sets WaitUntil field to given value.

HasWaitUntil

func (o *BrowserScreenshotRequest) HasWaitUntil() bool

HasWaitUntil returns a boolean if a field has been set.

GetTimeoutMs

func (o *BrowserScreenshotRequest) GetTimeoutMs() int32

GetTimeoutMs returns the TimeoutMs field if non-nil, zero value otherwise.

GetTimeoutMsOk

func (o *BrowserScreenshotRequest) GetTimeoutMsOk() (*int32, bool)

GetTimeoutMsOk returns a tuple with the TimeoutMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTimeoutMs

func (o *BrowserScreenshotRequest) SetTimeoutMs(v int32)

SetTimeoutMs sets TimeoutMs field to given value.

HasTimeoutMs

func (o *BrowserScreenshotRequest) HasTimeoutMs() bool

HasTimeoutMs returns a boolean if a field has been set.

GetViewport

func (o *BrowserScreenshotRequest) GetViewport() BrowserScreenshotRequestViewport

GetViewport returns the Viewport field if non-nil, zero value otherwise.

GetViewportOk

func (o *BrowserScreenshotRequest) GetViewportOk() (*BrowserScreenshotRequestViewport, bool)

GetViewportOk returns a tuple with the Viewport field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetViewport

func (o *BrowserScreenshotRequest) SetViewport(v BrowserScreenshotRequestViewport)

SetViewport sets Viewport field to given value.

HasViewport

func (o *BrowserScreenshotRequest) HasViewport() bool

HasViewport returns a boolean if a field has been set.

GetFullPage

func (o *BrowserScreenshotRequest) GetFullPage() bool

GetFullPage returns the FullPage field if non-nil, zero value otherwise.

GetFullPageOk

func (o *BrowserScreenshotRequest) GetFullPageOk() (*bool, bool)

GetFullPageOk returns a tuple with the FullPage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFullPage

func (o *BrowserScreenshotRequest) SetFullPage(v bool)

SetFullPage sets FullPage field to given value.

HasFullPage

func (o *BrowserScreenshotRequest) HasFullPage() bool

HasFullPage returns a boolean if a field has been set.

GetFormat

func (o *BrowserScreenshotRequest) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *BrowserScreenshotRequest) GetFormatOk() (*string, bool)

GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFormat

func (o *BrowserScreenshotRequest) SetFormat(v string)

SetFormat sets Format field to given value.

HasFormat

func (o *BrowserScreenshotRequest) HasFormat() bool

HasFormat returns a boolean if a field has been set.

GetQuality

func (o *BrowserScreenshotRequest) GetQuality() int32

GetQuality returns the Quality field if non-nil, zero value otherwise.

GetQualityOk

func (o *BrowserScreenshotRequest) GetQualityOk() (*int32, bool)

GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuality

func (o *BrowserScreenshotRequest) SetQuality(v int32)

SetQuality sets Quality field to given value.

HasQuality

func (o *BrowserScreenshotRequest) HasQuality() bool

HasQuality returns a boolean if a field has been set.

GetSelector

func (o *BrowserScreenshotRequest) GetSelector() string

GetSelector returns the Selector field if non-nil, zero value otherwise.

GetSelectorOk

func (o *BrowserScreenshotRequest) GetSelectorOk() (*string, bool)

GetSelectorOk returns a tuple with the Selector field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSelector

func (o *BrowserScreenshotRequest) SetSelector(v string)

SetSelector sets Selector field to given value.

HasSelector

func (o *BrowserScreenshotRequest) HasSelector() bool

HasSelector returns a boolean if a field has been set.

GetOmitBackground

func (o *BrowserScreenshotRequest) GetOmitBackground() bool

GetOmitBackground returns the OmitBackground field if non-nil, zero value otherwise.

GetOmitBackgroundOk

func (o *BrowserScreenshotRequest) GetOmitBackgroundOk() (*bool, bool)

GetOmitBackgroundOk returns a tuple with the OmitBackground field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOmitBackground

func (o *BrowserScreenshotRequest) SetOmitBackground(v bool)

SetOmitBackground sets OmitBackground field to given value.

HasOmitBackground

func (o *BrowserScreenshotRequest) HasOmitBackground() bool

HasOmitBackground returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.