Class: OTX::User

Inherits:
Type::Base show all
Defined in:
lib/otx_ruby/types/user.rb

Overview

AlienVault OTX User Record

Instance Attribute Summary collapse

Attributes inherited from Type::Base

#created, #id, #modified

Method Summary

Methods inherited from Type::Base

#initialize

Constructor Details

This class inherits a constructor from OTX::Type::Base

Instance Attribute Details

#accepted_edits_countInteger

Number of Users edits that have been accepted

Returns:

  • (Integer)

    the current value of accepted_edits_count



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def accepted_edits_count
  @accepted_edits_count
end

#avatar_urlString

URL for Users avatar image

Returns:

  • (String)

    the current value of avatar_url



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def avatar_url
  @avatar_url
end

#award_countInteger

Number of awards this User has received

Returns:

  • (Integer)

    the current value of award_count



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def award_count
  @award_count
end

#awardsArray<String>

Array of awards this User has received

Returns:

  • (Array<String>)

    the current value of awards



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def awards
  @awards
end

#follower_countInteger

Number of other Users following this User

Returns:

  • (Integer)

    the current value of follower_count



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def follower_count
  @follower_count
end

#member_sinceString

Number of days since User created their account

Returns:

  • (String)

    the current value of member_since



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def member_since
  @member_since
end

#pulse_countInteger

Number of Pulses created

Returns:

  • (Integer)

    the current value of pulse_count



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def pulse_count
  @pulse_count
end

#subscriber_countInteger

Number of other Users subscribed to this User

Returns:

  • (Integer)

    the current value of subscriber_count



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def subscriber_count
  @subscriber_count
end

#user_idString

User ID

Returns:

  • (String)

    the current value of user_id



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def user_id
  @user_id
end

#usernameString

User name

Returns:

  • (String)

    the current value of username



16
17
18
# File 'lib/otx_ruby/types/user.rb', line 16

def username
  @username
end