Class: Google::Apis::TestingV1::IntentFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IntentFilter

Returns a new instance of IntentFilter.



1096
1097
1098
# File 'generated/google/apis/testing_v1/classes.rb', line 1096

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_namesArray<String>

The android:name value of the tag. Corresponds to the JSON property actionNames

Returns:

  • (Array<String>)


1084
1085
1086
# File 'generated/google/apis/testing_v1/classes.rb', line 1084

def action_names
  @action_names
end

#category_namesArray<String>

The android:name value of the tag. Corresponds to the JSON property categoryNames

Returns:

  • (Array<String>)


1089
1090
1091
# File 'generated/google/apis/testing_v1/classes.rb', line 1089

def category_names
  @category_names
end

#mime_typeString

The android:mimeType value of the tag. Corresponds to the JSON property mimeType

Returns:

  • (String)


1094
1095
1096
# File 'generated/google/apis/testing_v1/classes.rb', line 1094

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1101
1102
1103
1104
1105
# File 'generated/google/apis/testing_v1/classes.rb', line 1101

def update!(**args)
  @action_names = args[:action_names] if args.key?(:action_names)
  @category_names = args[:category_names] if args.key?(:category_names)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end