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)


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

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)


402
403
404
# File 'sig/types.rbs', line 402

def acknowledged
  @acknowledged
end

#complete_receivedBoolean (readonly)

Returns the value of attribute complete_received.

Returns:

  • (Boolean)


405
406
407
# File 'sig/types.rbs', line 405

def complete_received
  @complete_received
end

#errorsArray[json_value] (readonly)

Returns the value of attribute errors.

Returns:

  • (Array[json_value])


404
405
406
# File 'sig/types.rbs', line 404

def errors
  @errors
end

#eventjson_value (readonly)

Returns the value of attribute event.

Returns:

  • (json_value)


403
404
405
# File 'sig/types.rbs', line 403

def event
  @event
end

#operation_idString (readonly)

Returns the value of attribute operation_id.

Returns:

  • (String)


401
402
403
# File 'sig/types.rbs', line 401

def operation_id
  @operation_id
end