Class CarouselMessageDisplaySettings
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.CarouselMessageDisplaySettings
-
public class CarouselMessageDisplaySettings extends java.lang.ObjectSettings to adjust the carousel layout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCarouselMessageDisplaySettings.ImageAspectRatioEnumSpecifies how to display all carousel images.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_IMAGE_ASPECT_RATIO
-
Constructor Summary
Constructors Constructor Description CarouselMessageDisplaySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)CarouselMessageDisplaySettings.ImageAspectRatioEnumgetImageAspectRatio()Specifies how to display all carousel images.inthashCode()CarouselMessageDisplaySettingsimageAspectRatio(CarouselMessageDisplaySettings.ImageAspectRatioEnum imageAspectRatio)voidsetImageAspectRatio(CarouselMessageDisplaySettings.ImageAspectRatioEnum imageAspectRatio)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_IMAGE_ASPECT_RATIO
public static final java.lang.String JSON_PROPERTY_IMAGE_ASPECT_RATIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
imageAspectRatio
public CarouselMessageDisplaySettings imageAspectRatio(CarouselMessageDisplaySettings.ImageAspectRatioEnum imageAspectRatio)
-
getImageAspectRatio
@Nullable public CarouselMessageDisplaySettings.ImageAspectRatioEnum getImageAspectRatio()
Specifies how to display all carousel images. Valid values are horizontal (default) and square. Only supported in Facebook Messenger, Web Messenger, Android SDK and iOS SDK carousels.- Returns:
- imageAspectRatio
-
setImageAspectRatio
public void setImageAspectRatio(CarouselMessageDisplaySettings.ImageAspectRatioEnum imageAspectRatio)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-