Class: Zavudev::Models::Senders::Agent::FlowStep

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/senders/agent/flow_step.rb

Defined Under Namespace

Modules: Type

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(id:, config:, type:, next_step_id: nil) ⇒ Object

Parameters:

  • id (String)

    Unique step identifier.

  • config (Hash{Symbol=>Object})

    Step configuration (varies by type).

  • type (Symbol, Zavudev::Models::Senders::Agent::FlowStep::Type)

    Type of flow step.

  • next_step_id (String, nil) (defaults to: nil)

    ID of the next step to execute.



# File 'lib/zavudev/models/senders/agent/flow_step.rb', line 32

Instance Attribute Details

#configHash{Symbol=>Object}

Step configuration (varies by type).

Returns:

  • (Hash{Symbol=>Object})


18
# File 'lib/zavudev/models/senders/agent/flow_step.rb', line 18

required :config, Zavudev::Internal::Type::HashOf[Zavudev::Internal::Type::Unknown]

#idString

Unique step identifier.

Returns:

  • (String)


12
# File 'lib/zavudev/models/senders/agent/flow_step.rb', line 12

required :id, String

#next_step_idString?

ID of the next step to execute.

Returns:

  • (String, nil)


30
# File 'lib/zavudev/models/senders/agent/flow_step.rb', line 30

optional :next_step_id, String, api_name: :nextStepId, nil?: true

#typeSymbol, Zavudev::Models::Senders::Agent::FlowStep::Type

Type of flow step.



24
# File 'lib/zavudev/models/senders/agent/flow_step.rb', line 24

required :type, enum: -> { Zavudev::Senders::Agent::FlowStep::Type }