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_textString (readonly)

Returns the value of attribute alt_text.

Returns:

  • (String)


276
277
278
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 276

def alt_text
  @alt_text
end

#image_crop_specificationPeddler::APIs::AplusContent20201101::ImageCropSpecification (readonly)

Returns the value of attribute image_crop_specification.



277
278
279
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 277

def image_crop_specification
  @image_crop_specification
end

#upload_destination_idString (readonly)

Returns the value of attribute upload_destination_id.

Returns:

  • (String)


278
279
280
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 278

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:



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

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 ])


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

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:



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

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

.parsePeddler::APIs::AplusContent20201101::ImageComponent

Parameters:

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

Returns:



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

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 ])


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

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:



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

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