Class: StackOne::Models::Shared::TicketingTicketResultData
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::TicketingTicketResultData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/ticketingticketresult_data.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(assignees: nil, closed_at: nil, components: nil, content: nil, created_at: nil, creator_id: nil, id: nil, organization: nil, parent_id: nil, priority: nil, projects: nil, remote_id: nil, reporters: nil, status: nil, tags: nil, ticket_number: nil, ticket_url: nil, title: nil, type: nil, unified_custom_fields: nil, updated_at: nil) ⇒ TicketingTicketResultData
constructor
A new instance of TicketingTicketResultData.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(assignees: nil, closed_at: nil, components: nil, content: nil, created_at: nil, creator_id: nil, id: nil, organization: nil, parent_id: nil, priority: nil, projects: nil, remote_id: nil, reporters: nil, status: nil, tags: nil, ticket_number: nil, ticket_url: nil, title: nil, type: nil, unified_custom_fields: nil, updated_at: nil) ⇒ TicketingTicketResultData
Returns a new instance of TicketingTicketResultData.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/stack_one/models/shared/ticketingticketresult_data.rb', line 59 def initialize(assignees: nil, closed_at: nil, components: nil, content: nil, created_at: nil, creator_id: nil, id: nil, organization: nil, parent_id: nil, priority: nil, projects: nil, remote_id: nil, reporters: nil, status: nil, tags: nil, ticket_number: nil, ticket_url: nil, title: nil, type: nil, unified_custom_fields: nil, updated_at: nil) @assignees = assignees @closed_at = closed_at @components = components @content = content @created_at = created_at @creator_id = creator_id @id = id @organization = organization @parent_id = parent_id @priority = priority @projects = projects @remote_id = remote_id @reporters = reporters @status = status @tags = @ticket_number = ticket_number @ticket_url = ticket_url @title = title @type = type @unified_custom_fields = unified_custom_fields @updated_at = updated_at end |
Instance Method Details
#==(other) ⇒ Object
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/stack_one/models/shared/ticketingticketresult_data.rb', line 84 def ==(other) return false unless other.is_a? self.class return false unless @assignees == other.assignees return false unless @closed_at == other.closed_at return false unless @components == other.components return false unless @content == other.content return false unless @created_at == other.created_at return false unless @creator_id == other.creator_id return false unless @id == other.id return false unless @organization == other.organization return false unless @parent_id == other.parent_id return false unless @priority == other.priority return false unless @projects == other.projects return false unless @remote_id == other.remote_id return false unless @reporters == other.reporters return false unless @status == other.status return false unless @tags == other. return false unless @ticket_number == other.ticket_number return false unless @ticket_url == other.ticket_url return false unless @title == other.title return false unless @type == other.type return false unless @unified_custom_fields == other.unified_custom_fields return false unless @updated_at == other.updated_at true end |