Sha256: 6abbaf4f24372e746317e97ee0e60070322265c14cc2a819cbf8dcecc287e7fe

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The external URL of the content
      field :content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_url') } }
      # The description of the content
      field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
      # The order of the individual content within a content grouping. This is not applicable for pushing individual content.
      field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
      # The title of the content
      field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }


      sig { params(content_url: T.nilable(::String), description: T.nilable(::String), order: T.nilable(::Float), title: T.nilable(::String)).void }
      def initialize(content_url: nil, description: nil, order: nil, title: nil)
        @content_url = content_url
        @description = description
        @order = order
        @title = title
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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