Sha256: f6134400177fedacdac7d963f49b856c1f9cef6a60b965eabff50ce80134831d

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

Stored size: 455 Bytes

Contents

# typed: true
# frozen_string_literal: true

module CloudWaba
  module Models
    module Templates
      class FooterComponent < T::Struct
        prop :type, ::CloudWaba::Models::Enums::Templates::ComponentType, default: ::CloudWaba::Models::Enums::Templates::ComponentType::Footer
        prop :text, ::String

        def serialize
          {
            type: type.serialize,
            text: text
          }
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cloud-waba-ruby-client-0.0.10 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.9 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.8 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.7 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.6 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.5 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.3 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.2 lib/cloud_waba/models/templates/footer_component.rb
cloud-waba-ruby-client-0.0.1 lib/cloud_waba/models/templates/footer_component.rb