Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the UpdateProfileRequest class.
 /// </summary>
 /// <param name="canvas">Possible values include: 'intelligent',
 /// 'noise', 'block', 'off'</param>
 /// <param name="startPage">This website will be opened in the browser
 /// when the profile launches.</param>
 /// <param name="extensions">A list of abolute paths from where the
 /// profile should load extensions or addons when starting the browser.
 /// For chrome and edge use CRX3 format extensions. For firefox use
 /// signed xpi format addons.</param>
 /// <param name="notes">A free text including any notes written by the
 /// user.</param>
 /// <param name="launcher">The mode how the profile should be launched.
 /// It determines which browser to launch. This cannot be modified
 /// after creation. Possible values are 'automatic', 'chrome',
 /// 'chromium', 'firefox', 'edge', 'external'</param>
 public UpdateProfileRequest(string canvas, WebglSpoofingTypeWebglSpoofingOptionsMultiLevelChoice webgl, TimezoneSpoofingTypeTimezoneMultiLevelChoice timezone, GeolocationSpoofingTypeGeolocationSpoofingOptionsMultiLevelChoice geolocation, ProxyConnectionTypeServerMultiLevelChoice proxy, WebRtcSpoofingTypeWebRtcSpoofingOptionsMultiLevelChoice webRtc, FontSpoofingTypeFontIListMultiLevelChoice fonts, PluginSpoofingTypePluginIListMultiLevelChoice plugins, ScreenSpoofingTypeScreenSizeMultiLevelChoice screen, string startPage, IList <string> extensions = default(IList <string>), string notes = default(string), string launcher = default(string))
 {
     Canvas      = canvas;
     Webgl       = webgl;
     Timezone    = timezone;
     Geolocation = geolocation;
     Proxy       = proxy;
     WebRtc      = webRtc;
     Fonts       = fonts;
     Plugins     = plugins;
     Screen      = screen;
     StartPage   = startPage;
     Extensions  = extensions;
     Notes       = notes;
     Launcher    = launcher;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ProfileResponse class.
 /// </summary>
 /// <param name="id">A unique identifier of the profile</param>
 /// <param name="createdAt">Date when the profile was created.</param>
 /// <param name="canvas">Possible values include: 'intelligent',
 /// 'noise', 'block', 'off'</param>
 /// <param name="startPage">This website will be opened in the browser
 /// when the profile launches.</param>
 /// <param name="extensions">A list of abolute paths from where the
 /// profile should load extensions or addons when starting the browser.
 /// For chrome and edge use CRX3 format extensions. For firefox use
 /// signed xpi format addons.</param>
 /// <param name="notes">A free text including any notes written by the
 /// user.</param>
 /// <param name="launcher">The mode how the profile should be launched.
 /// It determines which browser to launch. This cannot be modified
 /// after creation. Possible values are 'automatic', 'chrome',
 /// 'chromium', 'firefox', 'edge', 'external'</param>
 /// <param name="lastKnownPath">An absolute path where the related
 /// .kameleo profile file was accessed lastly. This is updated when a
 /// profile is saved to a .kameleo file, or loaded from a .kameleo
 /// file.</param>
 public ProfileResponse(System.Guid id, System.DateTime createdAt, BaseProfile baseProfile, string canvas, WebglSpoofingTypeWebglSpoofingOptionsMultiLevelChoice webgl, TimezoneSpoofingTypeTimezoneMultiLevelChoice timezone, GeolocationSpoofingTypeGeolocationSpoofingOptionsMultiLevelChoice geolocation, ProxyConnectionTypeServerMultiLevelChoice proxy, WebRtcSpoofingTypeWebRtcSpoofingOptionsMultiLevelChoice webRtc, FontSpoofingTypeFontIListMultiLevelChoice fonts, PluginSpoofingTypePluginIListMultiLevelChoice plugins, ScreenSpoofingTypeScreenSizeMultiLevelChoice screen, string startPage, IList <string> extensions, string notes, string launcher, StatusResponse status, string lastKnownPath = default(string))
 {
     Id            = id;
     LastKnownPath = lastKnownPath;
     CreatedAt     = createdAt;
     BaseProfile   = baseProfile;
     Canvas        = canvas;
     Webgl         = webgl;
     Timezone      = timezone;
     Geolocation   = geolocation;
     Proxy         = proxy;
     WebRtc        = webRtc;
     Fonts         = fonts;
     Plugins       = plugins;
     Screen        = screen;
     StartPage     = startPage;
     Extensions    = extensions;
     Notes         = notes;
     Launcher      = launcher;
     Status        = status;
     CustomInit();
 }