class Bio::BaseSpace::AppSessionLaunchObject
Records the launch as part of an AppSession
.
Public Class Methods
new()
click to toggle source
Create a new instance.
# File lib/basespace/model/app_session_launch_object.rb, line 23 def initialize @swagger_types = { 'Content' => 'dict', 'Href' => 'str', 'HrefContent' => 'str', 'Rel' => 'str', 'Type' => 'str', } @attributes = { 'Content' => nil, 'Href' => nil, 'HrefContent' => nil, 'Rel' => nil, 'Type' => nil, } end
Public Instance Methods
serialize_object(api)
click to toggle source
Serializes the object.
api
-
BaseSpaceAPI
instance.
# File lib/basespace/model/app_session_launch_object.rb, line 48 def serialize_object(api) res = api.serialize_object(get_attr('Content'), get_attr('Type')) set_attr('Content', res) return self end
to_s()
click to toggle source
Returns the type of the object.
# File lib/basespace/model/app_session_launch_object.rb, line 41 def to_s return get_attr('Type').to_s end