Class: Bio::BaseSpace::AppSessionCompact

Inherits:
Model
  • Object
show all
Defined in:
lib/basespace/model/app_session_compact.rb

Overview

Returned from GET purchases.

Instance Attribute Summary

Attributes inherited from Model

#attributes, #swagger_types

Instance Method Summary collapse

Methods inherited from Model

#get_attr, #method_missing, #set_attr

Constructor Details

#initializeAppSessionCompact

Create a new object.



23
24
25
26
27
28
29
30
31
32
# File 'lib/basespace/model/app_session_compact.rb', line 23

def initialize
  @swagger_types = {
    'Id'    => 'str',
    'Name'  => 'str',
  }
  @attributes = {
    'Id'    => nil,
    'Name'  => nil,
  }
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Bio::BaseSpace::Model

Instance Method Details

#to_sObject

Return the name of the object.



35
36
37
# File 'lib/basespace/model/app_session_compact.rb', line 35

def to_s
  return get_attr('Name').to_s
end