Class: Pandarus::FeatureFlag

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/feature_flag.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

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

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#context_idObject

Returns the value of attribute context_id.



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

def context_id
  @context_id
end

#context_typeObject

Returns the value of attribute context_type.



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

def context_type
  @context_type
end

#featureObject

Returns the value of attribute feature.



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

def feature
  @feature
end

#lockedObject

Returns the value of attribute locked.



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

def locked
  @locked
end

#locking_account_idObject

Returns the value of attribute locking_account_id.



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

def 
  @locking_account_id
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

Class Method Details

.attribute_mapObject



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

def self.attribute_map
  {
    :context_type => {:external => "context_type", :container => false, :type => "String"},
    :context_id => {:external => "context_id", :container => false, :type => "Integer"},
    :feature => {:external => "feature", :container => false, :type => "String"},
    :state => {:external => "state", :container => false, :type => "String"},
    :locked => {:external => "locked", :container => false, :type => nil},
    :locking_account_id => {:external => "locking_account_id", :container => false, :type => "Integer"}

  }
end