Class CreateContactResponse.Avatar.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.contacts.types.CreateContactResponse.Avatar.Builder
-
- Enclosing class:
- CreateContactResponse.Avatar
public static final class CreateContactResponse.Avatar.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateContactResponse.Avatarbuild()CreateContactResponse.Avatar.Builderfrom(CreateContactResponse.Avatar other)CreateContactResponse.Avatar.BuilderimageUrl(java.lang.String imageUrl)CreateContactResponse.Avatar.BuilderimageUrl(java.util.Optional<java.lang.String> imageUrl)An image URL containing the avatar of a contact.CreateContactResponse.Avatar.Buildertype(java.lang.String type)CreateContactResponse.Avatar.Buildertype(java.util.Optional<java.lang.String> type)The type of object
-
-
-
Method Detail
-
from
public CreateContactResponse.Avatar.Builder from(CreateContactResponse.Avatar other)
-
type
public CreateContactResponse.Avatar.Builder type(java.util.Optional<java.lang.String> type)
The type of object
-
type
public CreateContactResponse.Avatar.Builder type(java.lang.String type)
-
imageUrl
public CreateContactResponse.Avatar.Builder imageUrl(java.util.Optional<java.lang.String> imageUrl)
An image URL containing the avatar of a contact.
-
imageUrl
public CreateContactResponse.Avatar.Builder imageUrl(java.lang.String imageUrl)
-
build
public CreateContactResponse.Avatar build()
-
-