Class: Pandarus::NotificationPreference

Inherits:
ModelBase
  • Object
show all
Defined in:
lib/pandarus/models/notification_preference.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #to_hash, #vivify

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



6
7
8
# File 'lib/pandarus/models/notification_preference.rb', line 6

def category
  @category
end

#frequencyObject

Returns the value of attribute frequency.



6
7
8
# File 'lib/pandarus/models/notification_preference.rb', line 6

def frequency
  @frequency
end

#hrefObject

Returns the value of attribute href.



6
7
8
# File 'lib/pandarus/models/notification_preference.rb', line 6

def href
  @href
end

#notificationObject

Returns the value of attribute notification.



6
7
8
# File 'lib/pandarus/models/notification_preference.rb', line 6

def notification
  @notification
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
# File 'lib/pandarus/models/notification_preference.rb', line 9

def self.attribute_map
  {
    :href => {:external => "href", :container => false, :type => "String"},
    :notification => {:external => "notification", :container => false, :type => "String"},
    :category => {:external => "category", :container => false, :type => "String"},
    :frequency => {:external => "frequency", :container => false, :type => "String"}

  }
end