Class: Icalia::CodeMergeRequest
- Defined in:
- lib/icalia-sdk-event-core/models/code_merge_request.rb
Instance Attribute Summary collapse
-
#added_line_count ⇒ Object
readonly
Returns the value of attribute added_line_count.
-
#additions ⇒ Object
readonly
Returns the value of attribute additions.
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#changed_file_count ⇒ Object
readonly
Returns the value of attribute changed_file_count.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#deleted_line_count ⇒ Object
readonly
Returns the value of attribute deleted_line_count.
-
#deletions ⇒ Object
readonly
Returns the value of attribute deletions.
-
#id_at_provider ⇒ Object
readonly
Returns the value of attribute id_at_provider.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from ModelBase
Instance Method Summary collapse
Methods inherited from ModelBase
has_many, has_one, #initialize
Methods included from ResourceIdentity
Constructor Details
This class inherits a constructor from Icalia::ModelBase
Instance Attribute Details
#added_line_count ⇒ Object (readonly)
Returns the value of attribute added_line_count.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def added_line_count @added_line_count end |
#additions ⇒ Object (readonly)
Returns the value of attribute additions.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def additions @additions end |
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def body @body end |
#changed_file_count ⇒ Object (readonly)
Returns the value of attribute changed_file_count.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def changed_file_count @changed_file_count end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def created_at @created_at end |
#deleted_line_count ⇒ Object (readonly)
Returns the value of attribute deleted_line_count.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def deleted_line_count @deleted_line_count end |
#deletions ⇒ Object (readonly)
Returns the value of attribute deletions.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def deletions @deletions end |
#id_at_provider ⇒ Object (readonly)
Returns the value of attribute id_at_provider.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def id_at_provider @id_at_provider end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def number @number end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def provider @provider end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def state @state end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def title @title end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 5 def url @url end |
Instance Method Details
#closed? ⇒ Boolean
23 |
# File 'lib/icalia-sdk-event-core/models/code_merge_request.rb', line 23 def closed?; state == 'closed'; end |