Class: StackOne::Models::Shared::TicketingTicketUpdateRequestDto

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/ticketingticketupdaterequestdto.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(assignees: nil, component_ids: nil, content: nil, parent_id: nil, priority: nil, project_id: nil, reporters: nil, status: nil, tags: nil, title: nil, unified_custom_fields: nil) ⇒ TicketingTicketUpdateRequestDto

Returns a new instance of TicketingTicketUpdateRequestDto.



39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/stack_one/models/shared/ticketingticketupdaterequestdto.rb', line 39

def initialize(assignees: nil, component_ids: nil, content: nil, parent_id: nil, priority: nil, project_id: nil, reporters: nil, status: nil, tags: nil, title: nil, unified_custom_fields: nil)
  @assignees = assignees
  @component_ids = component_ids
  @content = content
  @parent_id = parent_id
  @priority = priority
  @project_id = project_id
  @reporters = reporters
  @status = status
  @tags = tags
  @title = title
  @unified_custom_fields = unified_custom_fields
end

Instance Method Details

#==(other) ⇒ Object



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/stack_one/models/shared/ticketingticketupdaterequestdto.rb', line 54

def ==(other)
  return false unless other.is_a? self.class
  return false unless @assignees == other.assignees
  return false unless @component_ids == other.component_ids
  return false unless @content == other.content
  return false unless @parent_id == other.parent_id
  return false unless @priority == other.priority
  return false unless @project_id == other.project_id
  return false unless @reporters == other.reporters
  return false unless @status == other.status
  return false unless @tags == other.tags
  return false unless @title == other.title
  return false unless @unified_custom_fields == other.unified_custom_fields
  true
end