Class: OneLogin::Api::Models::App

Inherits:
Object
  • Object
show all
Defined in:
lib/onelogin/api/models/app.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ App

Returns a new instance of App.


10
11
12
13
14
15
16
17
18
# File 'lib/onelogin/api/models/app.rb', line 10

def initialize(data)
  @id = data['id']
  @name = data['name']
  @icon = data['icon']
  @provisioned = data['provisioned']
  @extension = data['extension']
  @login_id = data['login_id']
  @personal = data['personal']
end

Instance Attribute Details

#extensionObject

Returns the value of attribute extension.


8
9
10
# File 'lib/onelogin/api/models/app.rb', line 8

def extension
  @extension
end

#iconObject

Returns the value of attribute icon.


7
8
9
# File 'lib/onelogin/api/models/app.rb', line 7

def icon
  @icon
end

#idObject

Returns the value of attribute id.


7
8
9
# File 'lib/onelogin/api/models/app.rb', line 7

def id
  @id
end

#login_idObject

Returns the value of attribute login_id.


8
9
10
# File 'lib/onelogin/api/models/app.rb', line 8

def 
  @login_id
end

#nameObject

Returns the value of attribute name.


7
8
9
# File 'lib/onelogin/api/models/app.rb', line 7

def name
  @name
end

#personalObject

Returns the value of attribute personal.


8
9
10
# File 'lib/onelogin/api/models/app.rb', line 8

def personal
  @personal
end

#provisionedObject

Returns the value of attribute provisioned.


7
8
9
# File 'lib/onelogin/api/models/app.rb', line 7

def provisioned
  @provisioned
end