Class: StackOne::Models::Shared::TicketingTicketCreateRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::TicketingTicketCreateRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/ticketingticketcreaterequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(assignees: nil, component_ids: nil, content: nil, creator_id: nil, organization_id: nil, parent_id: nil, priority: nil, project_id: nil, reporters: nil, tags: nil, title: nil, type: nil, unified_custom_fields: nil) ⇒ TicketingTicketCreateRequestDto
constructor
A new instance of TicketingTicketCreateRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(assignees: nil, component_ids: nil, content: nil, creator_id: nil, organization_id: nil, parent_id: nil, priority: nil, project_id: nil, reporters: nil, tags: nil, title: nil, type: nil, unified_custom_fields: nil) ⇒ TicketingTicketCreateRequestDto
Returns a new instance of TicketingTicketCreateRequestDto.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/stack_one/models/shared/ticketingticketcreaterequestdto.rb', line 43 def initialize(assignees: nil, component_ids: nil, content: nil, creator_id: nil, organization_id: nil, parent_id: nil, priority: nil, project_id: nil, reporters: nil, tags: nil, title: nil, type: nil, unified_custom_fields: nil) @assignees = assignees @component_ids = component_ids @content = content @creator_id = creator_id @organization_id = organization_id @parent_id = parent_id @priority = priority @project_id = project_id @reporters = reporters @tags = @title = title @type = type @unified_custom_fields = unified_custom_fields end |
Instance Method Details
#==(other) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/stack_one/models/shared/ticketingticketcreaterequestdto.rb', line 60 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 @creator_id == other.creator_id return false unless @organization_id == other.organization_id 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 @tags == other. return false unless @title == other.title return false unless @type == other.type return false unless @unified_custom_fields == other.unified_custom_fields true end |