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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntentFilter

Returns a new instance of IntentFilter.



1170
1171
1172
# File 'lib/google/apis/testing_v1/classes.rb', line 1170

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>)


1158
1159
1160
# File 'lib/google/apis/testing_v1/classes.rb', line 1158

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>)


1163
1164
1165
# File 'lib/google/apis/testing_v1/classes.rb', line 1163

def category_names
  @category_names
end

#mime_typeString

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

Returns:

  • (String)


1168
1169
1170
# File 'lib/google/apis/testing_v1/classes.rb', line 1168

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
1178
1179
# File 'lib/google/apis/testing_v1/classes.rb', line 1175

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