Sha256: ec32835a297b9618f075eeccd4dd079614e4192b5f71108b056eb37547879aa0

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class MarketingCreateContentBlocksRequestDto < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }

      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
      # Value to pass through to the provider
      field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }

      field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
      # Stackone enum identifying the type of content block.
      field :type, T.nilable(::StackOne::Shared::MarketingCreateContentBlocksRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }


      sig { params(content: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tags: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::MarketingCreateContentBlocksRequestDtoType)).void }
      def initialize(content: nil, name: nil, passthrough: nil, tags: nil, type: nil)
        @content = content
        @name = name
        @passthrough = passthrough
        @tags = tags
        @type = type
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb
stackone_client-0.3.1 lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb
stackone_client-0.3.0 lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb
stackone_client-0.2.46 lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb