Class: Stigg::Models::V1::Events::DataExport::DestinationCreateResponse::Data::Destination

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/events/data_export/destination_create_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(connected_at:, destination_id:, type:) ⇒ Object

A single destination entry under the DATA_EXPORT integration.

Parameters:

  • connected_at (String)

    ISO8601 timestamp of when the destination was connected

  • destination_id (String)

    Provider destination ID

  • type (String)

    Destination type (snowflake, bigquery, …)



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/stigg/models/v1/events/data_export/destination_create_response.rb', line 35

class Destination < Stigg::Internal::Type::BaseModel
  # @!attribute connected_at
  #   ISO8601 timestamp of when the destination was connected
  #
  #   @return [String]
  required :connected_at, String, api_name: :connectedAt

  # @!attribute destination_id
  #   Provider destination ID
  #
  #   @return [String]
  required :destination_id, String, api_name: :destinationId

  # @!attribute type
  #   Destination type (snowflake, bigquery, ...)
  #
  #   @return [String]
  required :type, String

  # @!method initialize(connected_at:, destination_id:, type:)
  #   A single destination entry under the DATA_EXPORT integration.
  #
  #   @param connected_at [String] ISO8601 timestamp of when the destination was connected
  #
  #   @param destination_id [String] Provider destination ID
  #
  #   @param type [String] Destination type (snowflake, bigquery, ...)
end

Instance Attribute Details

#connected_atString

ISO8601 timestamp of when the destination was connected

Returns:

  • (String)


40
# File 'lib/stigg/models/v1/events/data_export/destination_create_response.rb', line 40

required :connected_at, String, api_name: :connectedAt

#destination_idString

Provider destination ID

Returns:

  • (String)


46
# File 'lib/stigg/models/v1/events/data_export/destination_create_response.rb', line 46

required :destination_id, String, api_name: :destinationId

#typeString

Destination type (snowflake, bigquery, …)

Returns:

  • (String)


52
# File 'lib/stigg/models/v1/events/data_export/destination_create_response.rb', line 52

required :type, String