Class: Seam::Resources::ActionAttempt::DeleteNoiseThreshold

Inherits:
ActionAttempt
  • Object
show all
Defined in:
lib/seam/resources/action_attempt.rb

Defined Under Namespace

Classes: Error, Result

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action_attempt_idString

ID of the action attempt.

Returns:

  • (String)


1654
1655
1656
# File 'lib/seam/resources/action_attempt.rb', line 1654

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Deleting a noise threshold is pending. Known values:

  • DELETE_NOISE_THRESHOLD

Returns:

  • (String)


1659
1660
1661
# File 'lib/seam/resources/action_attempt.rb', line 1659

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1665
1666
1667
# File 'lib/seam/resources/action_attempt.rb', line 1665

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action. Only present when status is error; nil otherwise.

Returns:



1645
# File 'lib/seam/resources/action_attempt.rb', line 1645

resource_accessor :error, Error

#resultResult?

Result of the action. Only present when status is success; nil otherwise.

Returns:



1650
# File 'lib/seam/resources/action_attempt.rb', line 1650

resource_accessor :result, Result