lib/athenian/models/jira_issue.rb in athenian-2.1.81 vs lib/athenian/models/jira_issue.rb in athenian-2.1.85

- old
+ new

@@ -1,12 +1,12 @@ =begin This is an automatically generated file. DO NOT EDIT. -Generated from version 2.1.81 of the OpenAPI specification at -https://github.com/athenianco/api-spec/releases/tag/2.1.81. +Generated from version 2.1.85 of the OpenAPI specification at +https://github.com/athenianco/api-spec/releases/tag/2.1.85. Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.4.0 +OpenAPI Generator version: 6.5.0 =end require 'date' require 'time' @@ -28,10 +28,12 @@ attr_accessor :work_began # When the issue finished: the stage is \"Done\" and all PRs are either released or rejected. This timestamp can be missing and is always greater than or equal to `work_began`. attr_accessor :resolved + attr_accessor :acknowledge_time + attr_accessor :lead_time attr_accessor :life_time # Name of the person who reported the issue. @@ -77,10 +79,11 @@ :'title' => :'title', :'created' => :'created', :'updated' => :'updated', :'work_began' => :'work_began', :'resolved' => :'resolved', + :'acknowledge_time' => :'acknowledge_time', :'lead_time' => :'lead_time', :'life_time' => :'life_time', :'reporter' => :'reporter', :'assignee' => :'assignee', :'comments' => :'comments', @@ -108,10 +111,11 @@ :'title' => :'String', :'created' => :'Time', :'updated' => :'Time', :'work_began' => :'Time', :'resolved' => :'Time', + :'acknowledge_time' => :'Object', :'lead_time' => :'Object', :'life_time' => :'Object', :'reporter' => :'String', :'assignee' => :'String', :'comments' => :'Integer', @@ -179,10 +183,14 @@ if attributes.key?(:'resolved') self.resolved = attributes[:'resolved'] end + if attributes.key?(:'acknowledge_time') + self.acknowledge_time = attributes[:'acknowledge_time'] + end + if attributes.key?(:'lead_time') self.lead_time = attributes[:'lead_time'] end if attributes.key?(:'life_time') @@ -260,10 +268,14 @@ if @updated.nil? invalid_properties.push('invalid value for "updated", updated cannot be nil.') end + if @acknowledge_time.nil? + invalid_properties.push('invalid value for "acknowledge_time", acknowledge_time cannot be nil.') + end + if @life_time.nil? invalid_properties.push('invalid value for "life_time", life_time cannot be nil.') end if @reporter.nil? @@ -298,10 +310,11 @@ def valid? return false if @id.nil? return false if @title.nil? return false if @created.nil? return false if @updated.nil? + return false if @acknowledge_time.nil? return false if @life_time.nil? return false if @reporter.nil? return false if @comments.nil? return false if @status.nil? return false if @type.nil? @@ -319,10 +332,11 @@ title == o.title && created == o.created && updated == o.updated && work_began == o.work_began && resolved == o.resolved && + acknowledge_time == o.acknowledge_time && lead_time == o.lead_time && life_time == o.life_time && reporter == o.reporter && assignee == o.assignee && comments == o.comments && @@ -344,10 +358,10 @@ end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, title, created, updated, work_began, resolved, lead_time, life_time, reporter, assignee, comments, comment_list, priority, rendered_description, status, story_points, type, url, project, prs].hash + [id, title, created, updated, work_began, resolved, acknowledge_time, lead_time, life_time, reporter, assignee, comments, comment_list, priority, rendered_description, status, story_points, type, url, project, prs].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself