Class: Peddler::APIs::AplusContent20201101::ImageComponent

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

#alt_text ⇒ String (readonly)

Returns the value of attribute alt_text.

Returns:

  • (String)


690
691
692
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 690

def alt_text
  @alt_text
end

#image_crop_specification ⇒ Peddler::APIs::AplusContent20201101::ImageCropSpecification (readonly)

Returns the value of attribute image_crop_specification.



691
692
693
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 691

def image_crop_specification
  @image_crop_specification
end

#upload_destination_id ⇒ String (readonly)

Returns the value of attribute upload_destination_id.

Returns:

  • (String)


692
693
694
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 692

def upload_destination_id
  @upload_destination_id
end

Class Method Details

.[](alt_text:, image_crop_specification:, upload_destination_id:) ⇒ Peddler::APIs::AplusContent20201101::ImageComponent .[](arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::ImageComponent

Overloads:



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

def self.[]: (alt_text: String, image_crop_specification: Peddler::APIs::AplusContent20201101::ImageCropSpecification, upload_destination_id: String) -> Peddler::APIs::AplusContent20201101::ImageComponent
| (String, Peddler::APIs::AplusContent20201101::ImageCropSpecification, String) -> Peddler::APIs::AplusContent20201101::ImageComponent

.members ⇒ [ :alt_text, :image_crop_specification, :upload_destination_id ]

Returns:

  • ([ :alt_text, :image_crop_specification, :upload_destination_id ])


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

def self.members: () -> [ :alt_text, :image_crop_specification, :upload_destination_id ]

.new(alt_text:, image_crop_specification:, upload_destination_id:) ⇒ Peddler::APIs::AplusContent20201101::ImageComponent .new(arg0, arg1, arg2) ⇒ Peddler::APIs::AplusContent20201101::ImageComponent

Overloads:



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

def self.new: (alt_text: String, image_crop_specification: Peddler::APIs::AplusContent20201101::ImageCropSpecification, upload_destination_id: String) -> Peddler::APIs::AplusContent20201101::ImageComponent
| (String, Peddler::APIs::AplusContent20201101::ImageCropSpecification, String) -> Peddler::APIs::AplusContent20201101::ImageComponent

.parse ⇒ Peddler::APIs::AplusContent20201101::ImageComponent

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :alt_text, :image_crop_specification, :upload_destination_id ]

Returns:

  • ([ :alt_text, :image_crop_specification, :upload_destination_id ])


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

def members: () -> [ :alt_text, :image_crop_specification, :upload_destination_id ]

#to_h ⇒ { alt_text: String, image_crop_specification: Peddler::APIs::AplusContent20201101::ImageCropSpecification, upload_destination_id: String }

Returns:



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

def to_h: () -> { alt_text: String, image_crop_specification: Peddler::APIs::AplusContent20201101::ImageCropSpecification, upload_destination_id: String }