public class Attachment extends Object implements Serializable
Java class for Attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attachment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
source |
protected String |
type |
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
String |
getSource()
Gets the value of the source property.
|
String |
getType()
Gets the value of the type property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSource(String value)
Sets the value of the source property.
|
void |
setType(String value)
Sets the value of the type property.
|
Attachment |
withName(String value) |
Attachment |
withSource(String value) |
Attachment |
withType(String value) |
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getSource()
Stringpublic void setSource(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic Attachment withName(String value)
public Attachment withSource(String value)
public Attachment withType(String value)
Copyright © 2017 qameta.io. All rights reserved.