Class: Google::Apis::WalletobjectsV1::AppLinkData
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AppLinkData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#android_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner app link.
-
#ios_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Deprecated.
-
#web_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner web link.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppLinkData
constructor
A new instance of AppLinkData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppLinkData
Returns a new instance of AppLinkData.
164 165 166 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner app link.
Corresponds to the JSON property androidAppLinkInfo
152 153 154 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 152 def android_app_link_info @android_app_link_info end |
#ios_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Deprecated. Links to open iOS apps are not supported.
Corresponds to the JSON property iosAppLinkInfo
157 158 159 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 157 def ios_app_link_info @ios_app_link_info end |
#web_app_link_info ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
Optional information about the partner web link.
Corresponds to the JSON property webAppLinkInfo
162 163 164 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 162 def web_app_link_info @web_app_link_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
169 170 171 172 173 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 169 def update!(**args) @android_app_link_info = args[:android_app_link_info] if args.key?(:android_app_link_info) @ios_app_link_info = args[:ios_app_link_info] if args.key?(:ios_app_link_info) @web_app_link_info = args[:web_app_link_info] if args.key?(:web_app_link_info) end |