Class: FortyTwo::Response::Model::ProjectUser

Inherits:
Base
  • Object
show all
Defined in:
lib/fortytwo/responses/models/project_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ProjectUser

Returns a new instance of ProjectUser.



11
12
13
14
15
# File 'lib/fortytwo/responses/models/project_user.rb', line 11

def initialize(json)
  super(json)

  @project = parse(@project, Project)
end

Instance Attribute Details

#current_team_idObject (readonly)

Returns the value of attribute current_team_id.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def current_team_id
  @current_team_id
end

#cursus_idsObject (readonly)

Returns the value of attribute cursus_ids.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def cursus_ids
  @cursus_ids
end

#final_markObject (readonly)

Returns the value of attribute final_mark.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def final_mark
  @final_mark
end

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def id
  @id
end

#occurenceObject (readonly)

Returns the value of attribute occurence.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def occurence
  @occurence
end

#projectObject (readonly)

Returns the value of attribute project.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def project
  @project
end

#statusObject (readonly)

Returns the value of attribute status.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def status
  @status
end

#validatedObject (readonly)

Returns the value of attribute validated.



8
9
10
# File 'lib/fortytwo/responses/models/project_user.rb', line 8

def validated
  @validated
end