Class: Google::Apis::TestingV1::IntentFilter
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IntentFilter
- 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
The section of an tag. https://developer.android.com/guide/topics/manifest/ intent-filter-element.html
Instance Attribute Summary collapse
-
#action_names ⇒ Array<String>
The android:name value of the tag.
-
#category_names ⇒ Array<String>
The android:name value of the tag.
-
#mime_type ⇒ String
The android:mimeType value of the tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntentFilter
constructor
A new instance of IntentFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntentFilter
Returns a new instance of IntentFilter.
1128 1129 1130 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_names ⇒ Array<String>
The android:name value of the tag.
Corresponds to the JSON property actionNames
1116 1117 1118 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1116 def action_names @action_names end |
#category_names ⇒ Array<String>
The android:name value of the tag.
Corresponds to the JSON property categoryNames
1121 1122 1123 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1121 def category_names @category_names end |
#mime_type ⇒ String
The android:mimeType value of the tag.
Corresponds to the JSON property mimeType
1126 1127 1128 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1126 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1133 1134 1135 1136 1137 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1133 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 |