Class: Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/aplus_content_2020_11_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#color_type ⇒ String (readonly)

Returns the value of attribute color_type.

Returns:

  • (String)


1252
1253
1254
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1252

def color_type
  @color_type
end

#description ⇒ Peddler::APIs::AplusContent20201101::ParagraphComponent? (readonly)

Returns the value of attribute description.



1253
1254
1255
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1253

def description
  @description
end

#desktop_image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent (readonly)

Returns the value of attribute desktop_image.



1254
1255
1256
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1254

def desktop_image
  @desktop_image
end

#headline ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute headline.



1255
1256
1257
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1255

def headline
  @headline
end

#mobile_image ⇒ Peddler::APIs::AplusContent20201101::ImageComponent (readonly)

Returns the value of attribute mobile_image.



1256
1257
1258
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1256

def mobile_image
  @mobile_image
end

#position_type ⇒ String (readonly)

Returns the value of attribute position_type.

Returns:

  • (String)


1257
1258
1259
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1257

def position_type
  @position_type
end

#subheadline ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute subheadline.



1258
1259
1260
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1258

def subheadline
  @subheadline
end

Class Method Details

.[](color_type:, desktop_image:, mobile_image:, position_type:, description:, headline:, subheadline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule



1245
1246
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1245

def self.[]: (color_type: String, desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?, ?subheadline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule
| (String, Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::ImageComponent, String, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule

.members ⇒ [ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ]

Returns:

  • ([ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ])


1248
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1248

def self.members: () -> [ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ]

.new(color_type:, desktop_image:, mobile_image:, position_type:, description:, headline:, subheadline:) ⇒ Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule



1243
1244
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1243

def self.new: (color_type: String, desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, ?description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, ?headline: Peddler::APIs::AplusContent20201101::TextComponent?, ?subheadline: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule
| (String, Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::ImageComponent, String, Peddler::APIs::AplusContent20201101::ParagraphComponent?, Peddler::APIs::AplusContent20201101::TextComponent?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule

.parse ⇒ Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



1250
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1250

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::PremiumFullBackgroundTextModule

Instance Method Details

#members ⇒ [ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ]

Returns:

  • ([ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ])


1260
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1260

def members: () -> [ :color_type, :desktop_image, :mobile_image, :position_type, :description, :headline, :subheadline ]

#to_h ⇒ { color_type: String, desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, headline: Peddler::APIs::AplusContent20201101::TextComponent?, subheadline: Peddler::APIs::AplusContent20201101::TextComponent? }



1261
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1261

def to_h: () -> { color_type: String, desktop_image: Peddler::APIs::AplusContent20201101::ImageComponent, mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, position_type: String, description: Peddler::APIs::AplusContent20201101::ParagraphComponent?, headline: Peddler::APIs::AplusContent20201101::TextComponent?, subheadline: Peddler::APIs::AplusContent20201101::TextComponent? }