Class Attachment
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Attachment
-
public class Attachment extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachment.Builder
-
Constructor Summary
Constructors Constructor Description Attachment()Attachment(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url, org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attachment.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<AttachmentContentType>contentType()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>url()The URL of the attachment.AttachmentwithContentType(AttachmentContentType contentType)AttachmentwithContentType(org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)AttachmentwithUrl(java.lang.String url)The URL of the attachment.AttachmentwithUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)The URL of the attachment.
-
-
-
Constructor Detail
-
Attachment
public Attachment(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url, org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)
-
Attachment
public Attachment()
-
-
Method Detail
-
url
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url()
The URL of the attachment.
-
contentType
public org.openapitools.jackson.nullable.JsonNullable<AttachmentContentType> contentType()
-
builder
public static Attachment.Builder builder()
-
withUrl
public Attachment withUrl(java.lang.String url)
The URL of the attachment.
-
withUrl
public Attachment withUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)
The URL of the attachment.
-
withContentType
public Attachment withContentType(AttachmentContentType contentType)
-
withContentType
public Attachment withContentType(org.openapitools.jackson.nullable.JsonNullable<? extends AttachmentContentType> contentType)
-
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
-
-