Class: Peddler::APIs::AplusContent20201101::ImageHotSpot

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

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

Returns the value of attribute description.



742
743
744
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 742

def description
  @description
end

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

Returns the value of attribute mobile_image.



743
744
745
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 743

def mobile_image
  @mobile_image
end

#title ⇒ Peddler::APIs::AplusContent20201101::TextComponent (readonly)

Returns the value of attribute title.



744
745
746
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 744

def title
  @title
end

#x_coordinate ⇒ Peddler::APIs::AplusContent20201101::TextComponent (readonly)

Returns the value of attribute x_coordinate.



745
746
747
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 745

def x_coordinate
  @x_coordinate
end

#y_coordinate ⇒ Peddler::APIs::AplusContent20201101::TextComponent (readonly)

Returns the value of attribute y_coordinate.



746
747
748
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 746

def y_coordinate
  @y_coordinate
end

Class Method Details

.[](mobile_image:, title:, x_coordinate:, y_coordinate:, description:) ⇒ Peddler::APIs::AplusContent20201101::ImageHotSpot .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::ImageHotSpot



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

def self.[]: (mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, title: Peddler::APIs::AplusContent20201101::TextComponent, x_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, y_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, ?description: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageHotSpot
| (Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageHotSpot

.members ⇒ [ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ]

Returns:

  • ([ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ])


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

def self.members: () -> [ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ]

.new(mobile_image:, title:, x_coordinate:, y_coordinate:, description:) ⇒ Peddler::APIs::AplusContent20201101::ImageHotSpot .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::AplusContent20201101::ImageHotSpot



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

def self.new: (mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, title: Peddler::APIs::AplusContent20201101::TextComponent, x_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, y_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, ?description: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageHotSpot
| (Peddler::APIs::AplusContent20201101::ImageComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::ImageHotSpot

.parse ⇒ Peddler::APIs::AplusContent20201101::ImageHotSpot

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ]

Returns:

  • ([ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ])


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

def members: () -> [ :mobile_image, :title, :x_coordinate, :y_coordinate, :description ]

#to_h ⇒ { mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, title: Peddler::APIs::AplusContent20201101::TextComponent, x_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, y_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, description: Peddler::APIs::AplusContent20201101::TextComponent? }



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

def to_h: () -> { mobile_image: Peddler::APIs::AplusContent20201101::ImageComponent, title: Peddler::APIs::AplusContent20201101::TextComponent, x_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, y_coordinate: Peddler::APIs::AplusContent20201101::TextComponent, description: Peddler::APIs::AplusContent20201101::TextComponent? }