Class: UltracartClient::ScreenRecordingFilter
- Inherits:
-
Object
- Object
- UltracartClient::ScreenRecordingFilter
- Defined in:
- lib/ultracart_api/models/screen_recording_filter.rb
Instance Attribute Summary collapse
-
#affiliate_email ⇒ Object
Returns the value of attribute affiliate_email.
-
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
-
#communications_campaign_name ⇒ Object
Returns the value of attribute communications_campaign_name.
-
#communications_campaign_name_filter ⇒ Object
Returns the value of attribute communications_campaign_name_filter.
-
#communications_email_subject ⇒ Object
Returns the value of attribute communications_email_subject.
-
#communications_email_subject_filter ⇒ Object
Returns the value of attribute communications_email_subject_filter.
-
#communications_flow_name ⇒ Object
Returns the value of attribute communications_flow_name.
-
#communications_flow_name_filter ⇒ Object
Returns the value of attribute communications_flow_name_filter.
-
#email ⇒ Object
Returns the value of attribute email.
-
#email_domain ⇒ Object
Returns the value of attribute email_domain.
-
#email_domain_filter ⇒ Object
Returns the value of attribute email_domain_filter.
-
#email_identified ⇒ Object
Returns the value of attribute email_identified.
-
#end_timestamp ⇒ Object
Returns the value of attribute end_timestamp.
-
#esp_customer_uuid ⇒ Object
Returns the value of attribute esp_customer_uuid.
-
#favorite ⇒ Object
Returns the value of attribute favorite.
-
#geolocation ⇒ Object
Returns the value of attribute geolocation.
-
#geolocation_country ⇒ Object
Returns the value of attribute geolocation_country.
-
#geolocation_country_filter ⇒ Object
Returns the value of attribute geolocation_country_filter.
-
#geolocation_state ⇒ Object
Returns the value of attribute geolocation_state.
-
#geolocation_state_filter ⇒ Object
Returns the value of attribute geolocation_state_filter.
-
#language_iso_code ⇒ Object
Returns the value of attribute language_iso_code.
-
#language_iso_code_filter ⇒ Object
Returns the value of attribute language_iso_code_filter.
-
#last_x_days ⇒ Object
Returns the value of attribute last_x_days.
-
#max_filter_values ⇒ Object
Returns the value of attribute max_filter_values.
-
#order_id ⇒ Object
Returns the value of attribute order_id.
-
#page_view_count ⇒ Object
Returns the value of attribute page_view_count.
-
#page_views ⇒ Object
Returns the value of attribute page_views.
-
#placed_order ⇒ Object
Returns the value of attribute placed_order.
-
#preferred_language ⇒ Object
Returns the value of attribute preferred_language.
-
#preferred_language_filter ⇒ Object
Returns the value of attribute preferred_language_filter.
-
#referrer_domain ⇒ Object
Returns the value of attribute referrer_domain.
-
#referrer_domain_filter ⇒ Object
Returns the value of attribute referrer_domain_filter.
-
#screen_recording_uuids ⇒ Object
Returns the value of attribute screen_recording_uuids.
-
#screen_sizes ⇒ Object
Returns the value of attribute screen_sizes.
-
#skip_filter_values ⇒ Object
Returns the value of attribute skip_filter_values.
-
#skip_histogram ⇒ Object
Returns the value of attribute skip_histogram.
-
#skip_hits ⇒ Object
Returns the value of attribute skip_hits.
-
#start_timestamp ⇒ Object
Returns the value of attribute start_timestamp.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#time_on_site ⇒ Object
Returns the value of attribute time_on_site.
-
#time_on_site_max_filter ⇒ Object
Returns the value of attribute time_on_site_max_filter.
-
#time_on_site_min_filter ⇒ Object
Returns the value of attribute time_on_site_min_filter.
-
#url_filter ⇒ Object
Returns the value of attribute url_filter.
-
#user_agent_device_name ⇒ Object
Returns the value of attribute user_agent_device_name.
-
#user_agent_device_name_filter ⇒ Object
Returns the value of attribute user_agent_device_name_filter.
-
#user_agent_device_os_name_filter ⇒ Object
Returns the value of attribute user_agent_device_os_name_filter.
-
#user_agent_device_os_version_filter ⇒ Object
Returns the value of attribute user_agent_device_os_version_filter.
-
#user_agent_name ⇒ Object
Returns the value of attribute user_agent_name.
-
#user_agent_name_filter ⇒ Object
Returns the value of attribute user_agent_name_filter.
-
#user_agent_original ⇒ Object
Returns the value of attribute user_agent_original.
-
#user_agent_original_filter ⇒ Object
Returns the value of attribute user_agent_original_filter.
-
#user_agent_os_name ⇒ Object
Returns the value of attribute user_agent_os_name.
-
#user_agent_os_version ⇒ Object
Returns the value of attribute user_agent_os_version.
-
#user_ip ⇒ Object
Returns the value of attribute user_ip.
-
#utm_campaign ⇒ Object
Returns the value of attribute utm_campaign.
-
#utm_campaign_filter ⇒ Object
Returns the value of attribute utm_campaign_filter.
-
#utm_source ⇒ Object
Returns the value of attribute utm_source.
-
#utm_source_filter ⇒ Object
Returns the value of attribute utm_source_filter.
-
#visitor_number ⇒ Object
Returns the value of attribute visitor_number.
-
#watched ⇒ Object
Returns the value of attribute watched.
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ScreenRecordingFilter
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ ScreenRecordingFilter
Initializes the object
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 283 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ScreenRecordingFilter` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ScreenRecordingFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'affiliate_email') self.affiliate_email = attributes[:'affiliate_email'] end if attributes.key?(:'affiliate_id') self.affiliate_id = attributes[:'affiliate_id'] end if attributes.key?(:'communications_campaign_name') self.communications_campaign_name = attributes[:'communications_campaign_name'] end if attributes.key?(:'communications_campaign_name_filter') self.communications_campaign_name_filter = attributes[:'communications_campaign_name_filter'] end if attributes.key?(:'communications_email_subject') self.communications_email_subject = attributes[:'communications_email_subject'] end if attributes.key?(:'communications_email_subject_filter') self.communications_email_subject_filter = attributes[:'communications_email_subject_filter'] end if attributes.key?(:'communications_flow_name') self.communications_flow_name = attributes[:'communications_flow_name'] end if attributes.key?(:'communications_flow_name_filter') self.communications_flow_name_filter = attributes[:'communications_flow_name_filter'] end if attributes.key?(:'email') self.email = attributes[:'email'] end if attributes.key?(:'email_domain') self.email_domain = attributes[:'email_domain'] end if attributes.key?(:'email_domain_filter') self.email_domain_filter = attributes[:'email_domain_filter'] end if attributes.key?(:'email_identified') self.email_identified = attributes[:'email_identified'] end if attributes.key?(:'end_timestamp') self. = attributes[:'end_timestamp'] end if attributes.key?(:'esp_customer_uuid') self.esp_customer_uuid = attributes[:'esp_customer_uuid'] end if attributes.key?(:'favorite') self.favorite = attributes[:'favorite'] end if attributes.key?(:'geolocation') self.geolocation = attributes[:'geolocation'] end if attributes.key?(:'geolocation_country') self.geolocation_country = attributes[:'geolocation_country'] end if attributes.key?(:'geolocation_country_filter') self.geolocation_country_filter = attributes[:'geolocation_country_filter'] end if attributes.key?(:'geolocation_state') self.geolocation_state = attributes[:'geolocation_state'] end if attributes.key?(:'geolocation_state_filter') self.geolocation_state_filter = attributes[:'geolocation_state_filter'] end if attributes.key?(:'language_iso_code') self.language_iso_code = attributes[:'language_iso_code'] end if attributes.key?(:'language_iso_code_filter') self.language_iso_code_filter = attributes[:'language_iso_code_filter'] end if attributes.key?(:'last_x_days') self.last_x_days = attributes[:'last_x_days'] end if attributes.key?(:'max_filter_values') self.max_filter_values = attributes[:'max_filter_values'] end if attributes.key?(:'order_id') self.order_id = attributes[:'order_id'] end if attributes.key?(:'page_view_count') self.page_view_count = attributes[:'page_view_count'] end if attributes.key?(:'page_views') if (value = attributes[:'page_views']).is_a?(Array) self.page_views = value end end if attributes.key?(:'placed_order') self.placed_order = attributes[:'placed_order'] end if attributes.key?(:'preferred_language') self.preferred_language = attributes[:'preferred_language'] end if attributes.key?(:'preferred_language_filter') self.preferred_language_filter = attributes[:'preferred_language_filter'] end if attributes.key?(:'referrer_domain') self.referrer_domain = attributes[:'referrer_domain'] end if attributes.key?(:'referrer_domain_filter') self.referrer_domain_filter = attributes[:'referrer_domain_filter'] end if attributes.key?(:'screen_recording_uuids') if (value = attributes[:'screen_recording_uuids']).is_a?(Array) self.screen_recording_uuids = value end end if attributes.key?(:'screen_sizes') if (value = attributes[:'screen_sizes']).is_a?(Array) self.screen_sizes = value end end if attributes.key?(:'skip_filter_values') self.skip_filter_values = attributes[:'skip_filter_values'] end if attributes.key?(:'skip_histogram') self.skip_histogram = attributes[:'skip_histogram'] end if attributes.key?(:'skip_hits') self.skip_hits = attributes[:'skip_hits'] end if attributes.key?(:'start_timestamp') self. = attributes[:'start_timestamp'] end if attributes.key?(:'tags') if (value = attributes[:'tags']).is_a?(Array) self. = value end end if attributes.key?(:'time_on_site') self.time_on_site = attributes[:'time_on_site'] end if attributes.key?(:'time_on_site_max_filter') self.time_on_site_max_filter = attributes[:'time_on_site_max_filter'] end if attributes.key?(:'time_on_site_min_filter') self.time_on_site_min_filter = attributes[:'time_on_site_min_filter'] end if attributes.key?(:'url_filter') self.url_filter = attributes[:'url_filter'] end if attributes.key?(:'user_agent_device_name') self.user_agent_device_name = attributes[:'user_agent_device_name'] end if attributes.key?(:'user_agent_device_name_filter') self.user_agent_device_name_filter = attributes[:'user_agent_device_name_filter'] end if attributes.key?(:'user_agent_device_os_name_filter') self.user_agent_device_os_name_filter = attributes[:'user_agent_device_os_name_filter'] end if attributes.key?(:'user_agent_device_os_version_filter') self.user_agent_device_os_version_filter = attributes[:'user_agent_device_os_version_filter'] end if attributes.key?(:'user_agent_name') self.user_agent_name = attributes[:'user_agent_name'] end if attributes.key?(:'user_agent_name_filter') self.user_agent_name_filter = attributes[:'user_agent_name_filter'] end if attributes.key?(:'user_agent_original') self.user_agent_original = attributes[:'user_agent_original'] end if attributes.key?(:'user_agent_original_filter') self.user_agent_original_filter = attributes[:'user_agent_original_filter'] end if attributes.key?(:'user_agent_os_name') self.user_agent_os_name = attributes[:'user_agent_os_name'] end if attributes.key?(:'user_agent_os_version') self.user_agent_os_version = attributes[:'user_agent_os_version'] end if attributes.key?(:'user_ip') self.user_ip = attributes[:'user_ip'] end if attributes.key?(:'utm_campaign') self.utm_campaign = attributes[:'utm_campaign'] end if attributes.key?(:'utm_campaign_filter') self.utm_campaign_filter = attributes[:'utm_campaign_filter'] end if attributes.key?(:'utm_source') self.utm_source = attributes[:'utm_source'] end if attributes.key?(:'utm_source_filter') self.utm_source_filter = attributes[:'utm_source_filter'] end if attributes.key?(:'visitor_number') self.visitor_number = attributes[:'visitor_number'] end if attributes.key?(:'watched') self.watched = attributes[:'watched'] end end |
Instance Attribute Details
#affiliate_email ⇒ Object
Returns the value of attribute affiliate_email.
18 19 20 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 18 def affiliate_email @affiliate_email end |
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
20 21 22 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 20 def affiliate_id @affiliate_id end |
#communications_campaign_name ⇒ Object
Returns the value of attribute communications_campaign_name.
22 23 24 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 22 def communications_campaign_name @communications_campaign_name end |
#communications_campaign_name_filter ⇒ Object
Returns the value of attribute communications_campaign_name_filter.
24 25 26 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 24 def communications_campaign_name_filter @communications_campaign_name_filter end |
#communications_email_subject ⇒ Object
Returns the value of attribute communications_email_subject.
26 27 28 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 26 def communications_email_subject @communications_email_subject end |
#communications_email_subject_filter ⇒ Object
Returns the value of attribute communications_email_subject_filter.
28 29 30 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 28 def communications_email_subject_filter @communications_email_subject_filter end |
#communications_flow_name ⇒ Object
Returns the value of attribute communications_flow_name.
30 31 32 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 30 def communications_flow_name @communications_flow_name end |
#communications_flow_name_filter ⇒ Object
Returns the value of attribute communications_flow_name_filter.
32 33 34 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 32 def communications_flow_name_filter @communications_flow_name_filter end |
#email ⇒ Object
Returns the value of attribute email.
34 35 36 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 34 def email @email end |
#email_domain ⇒ Object
Returns the value of attribute email_domain.
36 37 38 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 36 def email_domain @email_domain end |
#email_domain_filter ⇒ Object
Returns the value of attribute email_domain_filter.
38 39 40 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 38 def email_domain_filter @email_domain_filter end |
#email_identified ⇒ Object
Returns the value of attribute email_identified.
40 41 42 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 40 def email_identified @email_identified end |
#end_timestamp ⇒ Object
Returns the value of attribute end_timestamp.
42 43 44 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 42 def @end_timestamp end |
#esp_customer_uuid ⇒ Object
Returns the value of attribute esp_customer_uuid.
44 45 46 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 44 def esp_customer_uuid @esp_customer_uuid end |
#favorite ⇒ Object
Returns the value of attribute favorite.
46 47 48 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 46 def favorite @favorite end |
#geolocation ⇒ Object
Returns the value of attribute geolocation.
48 49 50 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 48 def geolocation @geolocation end |
#geolocation_country ⇒ Object
Returns the value of attribute geolocation_country.
50 51 52 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 50 def geolocation_country @geolocation_country end |
#geolocation_country_filter ⇒ Object
Returns the value of attribute geolocation_country_filter.
52 53 54 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 52 def geolocation_country_filter @geolocation_country_filter end |
#geolocation_state ⇒ Object
Returns the value of attribute geolocation_state.
54 55 56 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 54 def geolocation_state @geolocation_state end |
#geolocation_state_filter ⇒ Object
Returns the value of attribute geolocation_state_filter.
56 57 58 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 56 def geolocation_state_filter @geolocation_state_filter end |
#language_iso_code ⇒ Object
Returns the value of attribute language_iso_code.
58 59 60 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 58 def language_iso_code @language_iso_code end |
#language_iso_code_filter ⇒ Object
Returns the value of attribute language_iso_code_filter.
60 61 62 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 60 def language_iso_code_filter @language_iso_code_filter end |
#last_x_days ⇒ Object
Returns the value of attribute last_x_days.
62 63 64 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 62 def last_x_days @last_x_days end |
#max_filter_values ⇒ Object
Returns the value of attribute max_filter_values.
64 65 66 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 64 def max_filter_values @max_filter_values end |
#order_id ⇒ Object
Returns the value of attribute order_id.
66 67 68 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 66 def order_id @order_id end |
#page_view_count ⇒ Object
Returns the value of attribute page_view_count.
68 69 70 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 68 def page_view_count @page_view_count end |
#page_views ⇒ Object
Returns the value of attribute page_views.
70 71 72 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 70 def page_views @page_views end |
#placed_order ⇒ Object
Returns the value of attribute placed_order.
72 73 74 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 72 def placed_order @placed_order end |
#preferred_language ⇒ Object
Returns the value of attribute preferred_language.
74 75 76 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 74 def preferred_language @preferred_language end |
#preferred_language_filter ⇒ Object
Returns the value of attribute preferred_language_filter.
76 77 78 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 76 def preferred_language_filter @preferred_language_filter end |
#referrer_domain ⇒ Object
Returns the value of attribute referrer_domain.
78 79 80 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 78 def referrer_domain @referrer_domain end |
#referrer_domain_filter ⇒ Object
Returns the value of attribute referrer_domain_filter.
80 81 82 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 80 def referrer_domain_filter @referrer_domain_filter end |
#screen_recording_uuids ⇒ Object
Returns the value of attribute screen_recording_uuids.
82 83 84 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 82 def screen_recording_uuids @screen_recording_uuids end |
#screen_sizes ⇒ Object
Returns the value of attribute screen_sizes.
84 85 86 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 84 def screen_sizes @screen_sizes end |
#skip_filter_values ⇒ Object
Returns the value of attribute skip_filter_values.
86 87 88 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 86 def skip_filter_values @skip_filter_values end |
#skip_histogram ⇒ Object
Returns the value of attribute skip_histogram.
88 89 90 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 88 def skip_histogram @skip_histogram end |
#skip_hits ⇒ Object
Returns the value of attribute skip_hits.
90 91 92 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 90 def skip_hits @skip_hits end |
#start_timestamp ⇒ Object
Returns the value of attribute start_timestamp.
92 93 94 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 92 def @start_timestamp end |
#tags ⇒ Object
Returns the value of attribute tags.
94 95 96 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 94 def @tags end |
#time_on_site ⇒ Object
Returns the value of attribute time_on_site.
96 97 98 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 96 def time_on_site @time_on_site end |
#time_on_site_max_filter ⇒ Object
Returns the value of attribute time_on_site_max_filter.
98 99 100 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 98 def time_on_site_max_filter @time_on_site_max_filter end |
#time_on_site_min_filter ⇒ Object
Returns the value of attribute time_on_site_min_filter.
100 101 102 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 100 def time_on_site_min_filter @time_on_site_min_filter end |
#url_filter ⇒ Object
Returns the value of attribute url_filter.
102 103 104 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 102 def url_filter @url_filter end |
#user_agent_device_name ⇒ Object
Returns the value of attribute user_agent_device_name.
104 105 106 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 104 def user_agent_device_name @user_agent_device_name end |
#user_agent_device_name_filter ⇒ Object
Returns the value of attribute user_agent_device_name_filter.
106 107 108 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 106 def user_agent_device_name_filter @user_agent_device_name_filter end |
#user_agent_device_os_name_filter ⇒ Object
Returns the value of attribute user_agent_device_os_name_filter.
108 109 110 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 108 def user_agent_device_os_name_filter @user_agent_device_os_name_filter end |
#user_agent_device_os_version_filter ⇒ Object
Returns the value of attribute user_agent_device_os_version_filter.
110 111 112 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 110 def user_agent_device_os_version_filter @user_agent_device_os_version_filter end |
#user_agent_name ⇒ Object
Returns the value of attribute user_agent_name.
112 113 114 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 112 def user_agent_name @user_agent_name end |
#user_agent_name_filter ⇒ Object
Returns the value of attribute user_agent_name_filter.
114 115 116 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 114 def user_agent_name_filter @user_agent_name_filter end |
#user_agent_original ⇒ Object
Returns the value of attribute user_agent_original.
116 117 118 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 116 def user_agent_original @user_agent_original end |
#user_agent_original_filter ⇒ Object
Returns the value of attribute user_agent_original_filter.
118 119 120 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 118 def user_agent_original_filter @user_agent_original_filter end |
#user_agent_os_name ⇒ Object
Returns the value of attribute user_agent_os_name.
120 121 122 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 120 def user_agent_os_name @user_agent_os_name end |
#user_agent_os_version ⇒ Object
Returns the value of attribute user_agent_os_version.
122 123 124 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 122 def user_agent_os_version @user_agent_os_version end |
#user_ip ⇒ Object
Returns the value of attribute user_ip.
124 125 126 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 124 def user_ip @user_ip end |
#utm_campaign ⇒ Object
Returns the value of attribute utm_campaign.
126 127 128 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 126 def utm_campaign @utm_campaign end |
#utm_campaign_filter ⇒ Object
Returns the value of attribute utm_campaign_filter.
128 129 130 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 128 def utm_campaign_filter @utm_campaign_filter end |
#utm_source ⇒ Object
Returns the value of attribute utm_source.
130 131 132 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 130 def utm_source @utm_source end |
#utm_source_filter ⇒ Object
Returns the value of attribute utm_source_filter.
132 133 134 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 132 def utm_source_filter @utm_source_filter end |
#visitor_number ⇒ Object
Returns the value of attribute visitor_number.
134 135 136 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 134 def visitor_number @visitor_number end |
#watched ⇒ Object
Returns the value of attribute watched.
136 137 138 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 136 def watched @watched end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
205 206 207 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 205 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 139 def self.attribute_map { :'affiliate_email' => :'affiliate_email', :'affiliate_id' => :'affiliate_id', :'communications_campaign_name' => :'communications_campaign_name', :'communications_campaign_name_filter' => :'communications_campaign_name_filter', :'communications_email_subject' => :'communications_email_subject', :'communications_email_subject_filter' => :'communications_email_subject_filter', :'communications_flow_name' => :'communications_flow_name', :'communications_flow_name_filter' => :'communications_flow_name_filter', :'email' => :'email', :'email_domain' => :'email_domain', :'email_domain_filter' => :'email_domain_filter', :'email_identified' => :'email_identified', :'end_timestamp' => :'end_timestamp', :'esp_customer_uuid' => :'esp_customer_uuid', :'favorite' => :'favorite', :'geolocation' => :'geolocation', :'geolocation_country' => :'geolocation_country', :'geolocation_country_filter' => :'geolocation_country_filter', :'geolocation_state' => :'geolocation_state', :'geolocation_state_filter' => :'geolocation_state_filter', :'language_iso_code' => :'language_iso_code', :'language_iso_code_filter' => :'language_iso_code_filter', :'last_x_days' => :'last_x_days', :'max_filter_values' => :'max_filter_values', :'order_id' => :'order_id', :'page_view_count' => :'page_view_count', :'page_views' => :'page_views', :'placed_order' => :'placed_order', :'preferred_language' => :'preferred_language', :'preferred_language_filter' => :'preferred_language_filter', :'referrer_domain' => :'referrer_domain', :'referrer_domain_filter' => :'referrer_domain_filter', :'screen_recording_uuids' => :'screen_recording_uuids', :'screen_sizes' => :'screen_sizes', :'skip_filter_values' => :'skip_filter_values', :'skip_histogram' => :'skip_histogram', :'skip_hits' => :'skip_hits', :'start_timestamp' => :'start_timestamp', :'tags' => :'tags', :'time_on_site' => :'time_on_site', :'time_on_site_max_filter' => :'time_on_site_max_filter', :'time_on_site_min_filter' => :'time_on_site_min_filter', :'url_filter' => :'url_filter', :'user_agent_device_name' => :'user_agent_device_name', :'user_agent_device_name_filter' => :'user_agent_device_name_filter', :'user_agent_device_os_name_filter' => :'user_agent_device_os_name_filter', :'user_agent_device_os_version_filter' => :'user_agent_device_os_version_filter', :'user_agent_name' => :'user_agent_name', :'user_agent_name_filter' => :'user_agent_name_filter', :'user_agent_original' => :'user_agent_original', :'user_agent_original_filter' => :'user_agent_original_filter', :'user_agent_os_name' => :'user_agent_os_name', :'user_agent_os_version' => :'user_agent_os_version', :'user_ip' => :'user_ip', :'utm_campaign' => :'utm_campaign', :'utm_campaign_filter' => :'utm_campaign_filter', :'utm_source' => :'utm_source', :'utm_source_filter' => :'utm_source_filter', :'visitor_number' => :'visitor_number', :'watched' => :'watched' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
640 641 642 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 640 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
276 277 278 279 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 276 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 210 def self.openapi_types { :'affiliate_email' => :'String', :'affiliate_id' => :'Integer', :'communications_campaign_name' => :'String', :'communications_campaign_name_filter' => :'Boolean', :'communications_email_subject' => :'String', :'communications_email_subject_filter' => :'Boolean', :'communications_flow_name' => :'String', :'communications_flow_name_filter' => :'Boolean', :'email' => :'ScreenRecordingFilterStringSearch', :'email_domain' => :'String', :'email_domain_filter' => :'Boolean', :'email_identified' => :'Boolean', :'end_timestamp' => :'ScreenRecordingFilterRangeDate', :'esp_customer_uuid' => :'String', :'favorite' => :'Boolean', :'geolocation' => :'ScreenRecordingFilterGeoDistance', :'geolocation_country' => :'ScreenRecordingFilterStringSearch', :'geolocation_country_filter' => :'Boolean', :'geolocation_state' => :'ScreenRecordingFilterStringSearch', :'geolocation_state_filter' => :'Boolean', :'language_iso_code' => :'ScreenRecordingFilterStringSearch', :'language_iso_code_filter' => :'Boolean', :'last_x_days' => :'Integer', :'max_filter_values' => :'Integer', :'order_id' => :'ScreenRecordingFilterStringSearch', :'page_view_count' => :'ScreenRecordingFilterRangeInteger', :'page_views' => :'Array<ScreenRecordingFilterPageView>', :'placed_order' => :'Boolean', :'preferred_language' => :'ScreenRecordingFilterStringSearch', :'preferred_language_filter' => :'Boolean', :'referrer_domain' => :'String', :'referrer_domain_filter' => :'Boolean', :'screen_recording_uuids' => :'Array<String>', :'screen_sizes' => :'Array<String>', :'skip_filter_values' => :'Boolean', :'skip_histogram' => :'Boolean', :'skip_hits' => :'Boolean', :'start_timestamp' => :'ScreenRecordingFilterRangeDate', :'tags' => :'Array<String>', :'time_on_site' => :'ScreenRecordingFilterRangeInteger', :'time_on_site_max_filter' => :'Boolean', :'time_on_site_min_filter' => :'Boolean', :'url_filter' => :'Boolean', :'user_agent_device_name' => :'String', :'user_agent_device_name_filter' => :'Boolean', :'user_agent_device_os_name_filter' => :'Boolean', :'user_agent_device_os_version_filter' => :'Boolean', :'user_agent_name' => :'String', :'user_agent_name_filter' => :'Boolean', :'user_agent_original' => :'ScreenRecordingFilterStringSearch', :'user_agent_original_filter' => :'Boolean', :'user_agent_os_name' => :'String', :'user_agent_os_version' => :'String', :'user_ip' => :'ScreenRecordingFilterIpSearch', :'utm_campaign' => :'String', :'utm_campaign_filter' => :'Boolean', :'utm_source' => :'String', :'utm_source_filter' => :'Boolean', :'visitor_number' => :'Integer', :'watched' => :'Boolean' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 560 def ==(o) return true if self.equal?(o) self.class == o.class && affiliate_email == o.affiliate_email && affiliate_id == o.affiliate_id && communications_campaign_name == o.communications_campaign_name && communications_campaign_name_filter == o.communications_campaign_name_filter && communications_email_subject == o.communications_email_subject && communications_email_subject_filter == o.communications_email_subject_filter && communications_flow_name == o.communications_flow_name && communications_flow_name_filter == o.communications_flow_name_filter && email == o.email && email_domain == o.email_domain && email_domain_filter == o.email_domain_filter && email_identified == o.email_identified && == o. && esp_customer_uuid == o.esp_customer_uuid && favorite == o.favorite && geolocation == o.geolocation && geolocation_country == o.geolocation_country && geolocation_country_filter == o.geolocation_country_filter && geolocation_state == o.geolocation_state && geolocation_state_filter == o.geolocation_state_filter && language_iso_code == o.language_iso_code && language_iso_code_filter == o.language_iso_code_filter && last_x_days == o.last_x_days && max_filter_values == o.max_filter_values && order_id == o.order_id && page_view_count == o.page_view_count && page_views == o.page_views && placed_order == o.placed_order && preferred_language == o.preferred_language && preferred_language_filter == o.preferred_language_filter && referrer_domain == o.referrer_domain && referrer_domain_filter == o.referrer_domain_filter && screen_recording_uuids == o.screen_recording_uuids && screen_sizes == o.screen_sizes && skip_filter_values == o.skip_filter_values && skip_histogram == o.skip_histogram && skip_hits == o.skip_hits && == o. && == o. && time_on_site == o.time_on_site && time_on_site_max_filter == o.time_on_site_max_filter && time_on_site_min_filter == o.time_on_site_min_filter && url_filter == o.url_filter && user_agent_device_name == o.user_agent_device_name && user_agent_device_name_filter == o.user_agent_device_name_filter && user_agent_device_os_name_filter == o.user_agent_device_os_name_filter && user_agent_device_os_version_filter == o.user_agent_device_os_version_filter && user_agent_name == o.user_agent_name && user_agent_name_filter == o.user_agent_name_filter && user_agent_original == o.user_agent_original && user_agent_original_filter == o.user_agent_original_filter && user_agent_os_name == o.user_agent_os_name && user_agent_os_version == o.user_agent_os_version && user_ip == o.user_ip && utm_campaign == o.utm_campaign && utm_campaign_filter == o.utm_campaign_filter && utm_source == o.utm_source && utm_source_filter == o.utm_source_filter && visitor_number == o.visitor_number && watched == o.watched end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 671 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = UltracartClient.const_get(type) klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
742 743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 742 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 647 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(o) ⇒ Boolean
627 628 629 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 627 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
633 634 635 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 633 def hash [affiliate_email, affiliate_id, communications_campaign_name, communications_campaign_name_filter, communications_email_subject, communications_email_subject_filter, communications_flow_name, communications_flow_name_filter, email, email_domain, email_domain_filter, email_identified, , esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_country_filter, geolocation_state, geolocation_state_filter, language_iso_code, language_iso_code_filter, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, preferred_language_filter, referrer_domain, referrer_domain_filter, screen_recording_uuids, screen_sizes, skip_filter_values, skip_histogram, skip_hits, , , time_on_site, time_on_site_max_filter, time_on_site_min_filter, url_filter, user_agent_device_name, user_agent_device_name_filter, user_agent_device_os_name_filter, user_agent_device_os_version_filter, user_agent_name, user_agent_name_filter, user_agent_original, user_agent_original_filter, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_campaign_filter, utm_source, utm_source_filter, visitor_number, watched].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
547 548 549 550 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 547 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
718 719 720 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 718 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 724 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
712 713 714 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 712 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
554 555 556 |
# File 'lib/ultracart_api/models/screen_recording_filter.rb', line 554 def valid? true end |