Class: Icalia::CodeMergeRequest

Inherits:
ModelBase show all
Defined in:
lib/icalia/models/code_merge_request.rb

Instance Attribute Summary collapse

Attributes inherited from ModelBase

#serialization_context

Instance Method Summary collapse

Methods inherited from ModelBase

has_many, has_one, #initialize

Methods included from ResourceIdentity

#to_key

Constructor Details

This class inherits a constructor from Icalia::ModelBase

Instance Attribute Details

#added_line_countObject (readonly)

Returns the value of attribute added_line_count.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def added_line_count
  @added_line_count
end

#additionsObject (readonly)

Returns the value of attribute additions.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def additions
  @additions
end

#bodyObject (readonly)

Returns the value of attribute body.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def body
  @body
end

#changed_file_countObject (readonly)

Returns the value of attribute changed_file_count.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def changed_file_count
  @changed_file_count
end

#created_atObject (readonly)

Returns the value of attribute created_at.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def created_at
  @created_at
end

#deleted_line_countObject (readonly)

Returns the value of attribute deleted_line_count.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def deleted_line_count
  @deleted_line_count
end

#deletionsObject (readonly)

Returns the value of attribute deletions.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def deletions
  @deletions
end

#id_at_providerObject (readonly)

Returns the value of attribute id_at_provider.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def id_at_provider
  @id_at_provider
end

#numberObject (readonly)

Returns the value of attribute number.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def number
  @number
end

#providerObject (readonly)

Returns the value of attribute provider.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def provider
  @provider
end

#stateObject (readonly)

Returns the value of attribute state.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def state
  @state
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def title
  @title
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def updated_at
  @updated_at
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/icalia/models/code_merge_request.rb', line 5

def url
  @url
end

Instance Method Details

#closed?Boolean

Returns:

  • (Boolean)


23
# File 'lib/icalia/models/code_merge_request.rb', line 23

def closed?; state == 'closed'; end