Class: Ghub::Models::Team

Inherits:
Struct
  • Object
show all
Defined in:
lib/ghub/models/team.rb

Overview

Defines a team.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTeam

Returns a new instance of Team.



20
21
22
23
# File 'lib/ghub/models/team.rb', line 20

def initialize(**)
  super
  freeze
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def description
  @description
end

#html_urlObject

Returns the value of attribute html_url

Returns:

  • (Object)

    the current value of html_url



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def html_url
  @html_url
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def id
  @id
end

#members_urlObject

Returns the value of attribute members_url

Returns:

  • (Object)

    the current value of members_url



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def members_url
  @members_url
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def name
  @name
end

#node_idObject

Returns the value of attribute node_id

Returns:

  • (Object)

    the current value of node_id



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def node_id
  @node_id
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def parent
  @parent
end

#permissionObject

Returns the value of attribute permission

Returns:

  • (Object)

    the current value of permission



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def permission
  @permission
end

#privacyObject

Returns the value of attribute privacy

Returns:

  • (Object)

    the current value of privacy



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def privacy
  @privacy
end

#repositories_urlObject

Returns the value of attribute repositories_url

Returns:

  • (Object)

    the current value of repositories_url



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def repositories_url
  @repositories_url
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def slug
  @slug
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



6
7
8
# File 'lib/ghub/models/team.rb', line 6

def url
  @url
end