@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-03-29T15:32:30.861Z") public class BodyPart extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BodyPart.EncodingEnum
0 for None, 1 for Raw7Bit, 2 for Raw8Bit, 3 for QuotedPrintable, 4 for Base64 (Default), 5 for Uue note that you can also provide the text version such as \"Raw7Bit\" for value 1.
|
| Constructor and Description |
|---|
BodyPart() |
| Modifier and Type | Method and Description |
|---|---|
BodyPart |
charset(String charset) |
BodyPart |
content(String content) |
BodyPart |
contentType(String contentType) |
BodyPart |
encoding(BodyPart.EncodingEnum encoding) |
boolean |
equals(Object o) |
String |
getCharset()
Get charset
|
String |
getContent()
Actual content of the body part
|
String |
getContentType()
Type of the body part (for example 'text/html')
|
BodyPart.EncodingEnum |
getEncoding()
0 for None, 1 for Raw7Bit, 2 for Raw8Bit, 3 for QuotedPrintable, 4 for Base64 (Default), 5 for Uue note that you can also provide the text version such as \"Raw7Bit\" for value 1.
|
int |
hashCode() |
void |
setCharset(String charset) |
void |
setContent(String content) |
void |
setContentType(String contentType) |
void |
setEncoding(BodyPart.EncodingEnum encoding) |
String |
toString() |
public String getContentType()
public void setContentType(String contentType)
public String getContent()
public void setContent(String content)
public String getCharset()
public void setCharset(String charset)
public BodyPart encoding(BodyPart.EncodingEnum encoding)
public BodyPart.EncodingEnum getEncoding()
public void setEncoding(BodyPart.EncodingEnum encoding)
Copyright © 2019. All rights reserved.