Class: Courier::Models::NotificationLocalePutRequest::Element

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/courier/models/notification_locale_put_request.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(id:) ⇒ Object

Parameters:

  • Target element ID.



27
28
29
30
31
32
33
34
35
36
# File 'lib/courier/models/notification_locale_put_request.rb', line 27

class Element < Courier::Internal::Type::BaseModel
  # @!attribute id
  #   Target element ID.
  #
  #   @return [String]
  required :id, String

  # @!method initialize(id:)
  #   @param id [String] Target element ID.
end

Instance Attribute Details

#idString

Target element ID.

Returns:



32
# File 'lib/courier/models/notification_locale_put_request.rb', line 32

required :id, String