Class: Spikard::GraphQLSubscriptionSnapshot

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGraphQLSubscriptionSnapshot

Returns a new instance of GraphQLSubscriptionSnapshot.

Parameters:

  • operation_id: (String)
  • acknowledged: (Boolean)
  • event: (json_value)
  • errors: (Array[json_value])
  • complete_received: (Boolean)


427
# File 'sig/types.rbs', line 427

def initialize: (operation_id: String, acknowledged: bool, ?event: json_value, errors: Array[json_value], complete_received: bool) -> void

Instance Attribute Details

#acknowledgedBoolean (readonly)

Returns the value of attribute acknowledged.

Returns:

  • (Boolean)


422
423
424
# File 'sig/types.rbs', line 422

def acknowledged
  @acknowledged
end

#complete_receivedBoolean (readonly)

Returns the value of attribute complete_received.

Returns:

  • (Boolean)


425
426
427
# File 'sig/types.rbs', line 425

def complete_received
  @complete_received
end

#errorsArray[json_value] (readonly)

Returns the value of attribute errors.

Returns:

  • (Array[json_value])


424
425
426
# File 'sig/types.rbs', line 424

def errors
  @errors
end

#eventjson_value (readonly)

Returns the value of attribute event.

Returns:

  • (json_value)


423
424
425
# File 'sig/types.rbs', line 423

def event
  @event
end

#operation_idString (readonly)

Returns the value of attribute operation_id.

Returns:

  • (String)


421
422
423
# File 'sig/types.rbs', line 421

def operation_id
  @operation_id
end