AttachmentData Class

  • java.lang.Object
    • com.microsoft.bot.schema.AttachmentData

public class AttachmentData

Attachment data.

Constructor Summary

Constructor Description
AttachmentData()

Method Summary

Modifier and Type Method and Description
java.lang.String getName()

Get the name value.

byte[] getOriginalBase64()

Get the originalBase64 value.

byte[] getThumbnailBase64()

Get the thumbnailBase64 value.

java.lang.String getType()

Get the type value.

void setName(String withName)

Set the name value.

void setOriginalBase64(byte[] withOriginalBase64)

Set the originalBase64 value.

void setThumbnailBase64(byte[] withThumbnailBase64)

Set the thumbnailBase64 value.

void setType(String withType)

Set the type value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AttachmentData

public AttachmentData()

Method Details

getName

public String getName()

Get the name value.

Returns:

the name value

getOriginalBase64

public byte[] getOriginalBase64()

Get the originalBase64 value.

Returns:

the originalBase64 value

getThumbnailBase64

public byte[] getThumbnailBase64()

Get the thumbnailBase64 value.

Returns:

the thumbnailBase64 value

getType

public String getType()

Get the type value.

Returns:

the type value

setName

public void setName(String withName)

Set the name value.

Parameters:

withName - the name value to set

setOriginalBase64

public void setOriginalBase64(byte[] withOriginalBase64)

Set the originalBase64 value.

Parameters:

withOriginalBase64 - the originalBase64 value to set

setThumbnailBase64

public void setThumbnailBase64(byte[] withThumbnailBase64)

Set the thumbnailBase64 value.

Parameters:

withThumbnailBase64 - the thumbnailBase64 value to set

setType

public void setType(String withType)

Set the type value.

Parameters:

withType - the type value to set

Applies to