Package net.worcade.client.internal
Class IncomingDto
- java.lang.Object
-
- net.worcade.client.internal.IncomingDto
-
- All Implemented Interfaces:
ApiKey,Application,ApplicationProfile,Asset,Attachment,Authentication,Checklist,Checklist.Row,Company,CompanyProfile,Contact,Conversation,ConversationContent,ConversationEvent,Email,Entity,ExternalNumber,Group,GroupProfile,Label,Markup,Notification,Notification.Tracking,OptionalField,Reference,ReferenceWithName,ReferenceWithNumber,RemoteId,RemoteIdSearchResult,Room,SamlSettings,Site,Site.Coordinates,User,UserProfile,View,Webhook,Webhook.Header,Webhook.Log,WebhookTestResult,WorkOrder,WorkOrder.Row
public class IncomingDto extends Object implements ApplicationProfile, Asset, Attachment, Checklist, CompanyProfile, Contact, Conversation, GroupProfile, Label, Room, Site, UserProfile, Webhook, WorkOrder, ApiKey, Site.Coordinates, OptionalField, RemoteId, RemoteIdSearchResult, ExternalNumber, ConversationContent, ConversationEvent, Markup, View, Webhook.Header, Webhook.Log, WebhookTestResult, ReferenceWithNumber, Notification, Notification.Tracking, WorkOrder.Row, Checklist.Row, Email, SamlSettings, Authentication
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.worcade.client.get.Checklist
Checklist.Row
-
Nested classes/interfaces inherited from interface net.worcade.client.get.Notification
Notification.Tracking
-
Nested classes/interfaces inherited from interface net.worcade.client.get.Site
Site.Coordinates
-
Nested classes/interfaces inherited from interface net.worcade.client.get.Webhook
Webhook.Event, Webhook.Header, Webhook.Log
-
Nested classes/interfaces inherited from interface net.worcade.client.get.WorkOrder
WorkOrder.Row
-
-
Method Summary
-
-
-
Method Detail
-
modify
public net.worcade.client.internal.Modification modify()
- Specified by:
modifyin interfaceApplicationProfile- Specified by:
modifyin interfaceAsset- Specified by:
modifyin interfaceCompany- Specified by:
modifyin interfaceConversation- Specified by:
modifyin interfaceGroupProfile- Specified by:
modifyin interfaceRoom- Specified by:
modifyin interfaceSite- Specified by:
modifyin interfaceUserProfile- Specified by:
modifyin interfaceWorkOrder- Specified by:
modifyin interfaceWorkOrder.Row
-
getId
public String getId()
- Specified by:
getIdin interfaceApiKey- Specified by:
getIdin interfaceChecklist.Row- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceWebhook- Specified by:
getIdin interfaceWorkOrder.Row
-
getVersion
public int getVersion()
- Specified by:
getVersionin interfaceReference
-
getType
public String getType()
- Specified by:
getTypein interfaceConversationContent- Specified by:
getTypein interfaceConversationEvent- Specified by:
getTypein interfaceMarkup- Specified by:
getTypein interfaceNotification- Specified by:
getTypein interfaceNotification.Tracking- Specified by:
getTypein interfaceReference
-
createdBy
public ReferenceWithName createdBy()
- Specified by:
createdByin interfaceEntity- Specified by:
createdByin interfaceExternalNumber
-
getModified
public Instant getModified()
- Specified by:
getModifiedin interfaceReference
-
modifier
public ReferenceWithName modifier()
-
getName
public String getName()
- Specified by:
getNamein interfaceChecklist- Specified by:
getNamein interfaceChecklist.Row- Specified by:
getNamein interfaceConversationEvent- Specified by:
getNamein interfaceOptionalField- Specified by:
getNamein interfaceReferenceWithName- Specified by:
getNamein interfaceWebhook.Header- Specified by:
getNamein interfaceWorkOrder
-
getNumber
public String getNumber()
- Specified by:
getNumberin interfaceExternalNumber- Specified by:
getNumberin interfaceReferenceWithNumber
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceApiKey- Specified by:
getDescriptionin interfaceCompany- Specified by:
getDescriptionin interfaceExternalNumber- Specified by:
getDescriptionin interfaceWorkOrder.Row
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfaceApplicationProfile- Specified by:
getEmailin interfaceEmail- Specified by:
getEmailin interfaceGroupProfile- Specified by:
getEmailin interfaceUserProfile
-
getRoomNumber
public String getRoomNumber()
- Specified by:
getRoomNumberin interfaceRoom
-
getAddressLineOne
public String getAddressLineOne()
- Specified by:
getAddressLineOnein interfaceSite
-
getAddressLineTwo
public String getAddressLineTwo()
- Specified by:
getAddressLineTwoin interfaceSite
-
getPostalCode
public String getPostalCode()
- Specified by:
getPostalCodein interfaceSite
-
getCountry
public String getCountry()
- Specified by:
getCountryin interfaceSite
-
getTelephone
public String getTelephone()
- Specified by:
getTelephonein interfaceSite
-
getAssetType
public String getAssetType()
- Specified by:
getAssetTypein interfaceAsset
-
getAssetMake
public String getAssetMake()
- Specified by:
getAssetMakein interfaceAsset
-
getAssetModel
public String getAssetModel()
- Specified by:
getAssetModelin interfaceAsset
-
getSpecification
public String getSpecification()
- Specified by:
getSpecificationin interfaceAsset
-
getRemoteIdType
public String getRemoteIdType()
- Specified by:
getRemoteIdTypein interfaceRemoteId
-
getRemoteId
public String getRemoteId()
- Specified by:
getRemoteIdin interfaceRemoteId
-
getCoordinates
public Site.Coordinates getCoordinates()
- Specified by:
getCoordinatesin interfaceSite
-
getLatitude
public float getLatitude()
- Specified by:
getLatitudein interfaceSite.Coordinates
-
getLongitude
public float getLongitude()
- Specified by:
getLongitudein interfaceSite.Coordinates
-
getLabels
public Collection<? extends ReferenceWithName> getLabels()
-
getOwners
public Collection<? extends ReferenceWithName> getOwners()
-
getRemoteIds
public Collection<? extends RemoteId> getRemoteIds()
- Specified by:
getRemoteIdsin interfaceEntity- Specified by:
getRemoteIdsin interfaceRemoteIdSearchResult
-
getOptionalFields
public Collection<? extends OptionalField> getOptionalFields()
- Specified by:
getOptionalFieldsin interfaceEntity- Specified by:
getOptionalFieldsin interfaceRemoteIdSearchResult
-
hasPassword
public boolean hasPassword()
- Specified by:
hasPasswordin interfaceUserProfile
-
getLocale
public Locale getLocale()
-
getLocation
public ReferenceWithName getLocation()
- Specified by:
getLocationin interfaceAsset- Specified by:
getLocationin interfaceCompany- Specified by:
getLocationin interfaceUser
-
getPicture
public ReferenceWithName getPicture()
- Specified by:
getPicturein interfaceAsset- Specified by:
getPicturein interfaceCompany- Specified by:
getPicturein interfaceContact- Specified by:
getPicturein interfaceGroup- Specified by:
getPicturein interfaceUser
-
getProGroups
public Collection<? extends ReferenceWithName> getProGroups()
- Specified by:
getProGroupsin interfaceUserProfile
-
getMailImportAddress
public String getMailImportAddress()
- Specified by:
getMailImportAddressin interfaceGroupProfile- Specified by:
getMailImportAddressin interfaceUserProfile
-
getAutoShareTarget
public ReferenceWithName getAutoShareTarget()
- Specified by:
getAutoShareTargetin interfaceGroupProfile- Specified by:
getAutoShareTargetin interfaceUserProfile
-
isSuppressUpdateNotifications
public boolean isSuppressUpdateNotifications()
- Specified by:
isSuppressUpdateNotificationsin interfaceUserProfile
-
isSubscribedToGettingStarted
public boolean isSubscribedToGettingStarted()
- Specified by:
isSubscribedToGettingStartedin interfaceUserProfile
-
isSubscribedToNewsletter
public boolean isSubscribedToNewsletter()
- Specified by:
isSubscribedToNewsletterin interfaceUserProfile
-
getTrustedApplications
public Collection<? extends ReferenceWithName> getTrustedApplications()
- Specified by:
getTrustedApplicationsin interfaceUserProfile
-
getExternalNumbers
public Collection<? extends ExternalNumber> getExternalNumbers()
- Specified by:
getExternalNumbersin interfaceConversation
-
getAssignee
public ReferenceWithName getAssignee()
- Specified by:
getAssigneein interfaceConversation
-
getReporter
public ReferenceWithName getReporter()
- Specified by:
getReporterin interfaceConversation
-
getLastContentTimestamp
public Instant getLastContentTimestamp()
- Specified by:
getLastContentTimestampin interfaceConversation
-
getConversationContent
public Collection<? extends ConversationContent> getConversationContent()
- Specified by:
getConversationContentin interfaceConversation
-
getEvents
public Collection<? extends ConversationEvent> getEvents()
- Specified by:
getEventsin interfaceConversation
-
getContent
public Reference getContent()
Description copied from interface:ConversationContentGet a reference to the content. Available for all types except `MESSAGE` and `EVALUATION`.- Specified by:
getContentin interfaceConversationContent
-
getTimestamp
public Instant getTimestamp()
- Specified by:
getTimestampin interfaceConversationContent- Specified by:
getTimestampin interfaceConversationEvent- Specified by:
getTimestampin interfaceNotification.Tracking- Specified by:
getTimestampin interfaceWebhook.Log
-
getSource
public ReferenceWithName getSource()
Description copied from interface:ConversationContentGet a reference to the entity who added the content.- Specified by:
getSourcein interfaceConversationContent- Specified by:
getSourcein interfaceConversationEvent- Specified by:
getSourcein interfaceOptionalField
-
getMessage
public String getMessage()
Description copied from interface:ConversationContentGet the text message for this content. Only available ifConversationContent.getType()returns `MESSAGE`.- Specified by:
getMessagein interfaceConversationContent
-
getRating
public int getRating()
Description copied from interface:ConversationContentGet the rating for this evaluation. Only available ifConversationContent.getType()returns `EVALUATION`.- Specified by:
getRatingin interfaceConversationContent- Returns:
- a rating between 1 and 5
-
getMarkup
public Collection<? extends Markup> getMarkup()
- Specified by:
getMarkupin interfaceConversationContent
-
isPro
public boolean isPro()
- Specified by:
isProin interfaceGroupProfile
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceGroupProfile
-
getDomains
public Collection<String> getDomains()
- Specified by:
getDomainsin interfaceCompanyProfile- Specified by:
getDomainsin interfaceGroup
-
getMembers
public Collection<? extends ReferenceWithName> getMembers()
- Specified by:
getMembersin interfaceCompanyProfile- Specified by:
getMembersin interfaceGroup
-
getCompany
public ReferenceWithName getCompany()
- Specified by:
getCompanyin interfaceApplication- Specified by:
getCompanyin interfaceAuthentication- Specified by:
getCompanyin interfaceGroup- Specified by:
getCompanyin interfaceUser
-
getUrl
public String getUrl()
-
isSuppressOwn
public boolean isSuppressOwn()
- Specified by:
isSuppressOwnin interfaceWebhook
-
getHeaders
public Collection<? extends Webhook.Header> getHeaders()
- Specified by:
getHeadersin interfaceWebhook
-
getStatus
public Integer getStatus()
- Specified by:
getStatusin interfaceWebhook.Log- Specified by:
getStatusin interfaceWebhookTestResult
-
getResponseBody
public String getResponseBody()
- Specified by:
getResponseBodyin interfaceWebhook.Log
-
getValue
public String getValue()
- Specified by:
getValuein interfaceOptionalField- Specified by:
getValuein interfaceWebhook.Header
-
getBackgroundColor
public String getBackgroundColor()
- Specified by:
getBackgroundColorin interfaceLabel
-
getForegroundColor
public String getForegroundColor()
- Specified by:
getForegroundColorin interfaceLabel
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceAttachment
-
getSize
public int getSize()
- Specified by:
getSizein interfaceAttachment
-
getHeight
public Integer getHeight()
- Specified by:
getHeightin interfaceAttachment
-
getWidth
public Integer getWidth()
- Specified by:
getWidthin interfaceAttachment
-
getTarget
public Reference getTarget()
- Specified by:
getTargetin interfaceNotification
-
getSubject
public ReferenceWithName getSubject()
Description copied from interface:ConversationEventGet a reference to the content. Available for all types except `MESSAGE` and `EVALUATION`.- Specified by:
getSubjectin interfaceConversationEvent- Specified by:
getSubjectin interfaceNotification
-
getContext
public String getContext()
- Specified by:
getContextin interfaceConversationEvent
-
getTrackings
public Collection<? extends Notification.Tracking> getTrackings()
- Specified by:
getTrackingsin interfaceNotification
-
getRows
public Collection<IncomingDto> getRows()
-
isApproved
public boolean isApproved()
- Specified by:
isApprovedin interfaceWorkOrder
-
isRejected
public boolean isRejected()
- Specified by:
isRejectedin interfaceWorkOrder
-
getDuration
public Duration getDuration()
- Specified by:
getDurationin interfaceWorkOrder.Row
-
getCostAmount
public Double getCostAmount()
- Specified by:
getCostAmountin interfaceWorkOrder.Row
-
getCostCurrency
public Currency getCostCurrency()
- Specified by:
getCostCurrencyin interfaceWorkOrder.Row
-
getBody
public String getBody()
- Specified by:
getBodyin interfaceWebhookTestResult
-
getSecondaryEmails
public Collection<? extends Email> getSecondaryEmails()
- Specified by:
getSecondaryEmailsin interfaceUserProfile
-
getMainGroup
public Reference getMainGroup()
- Specified by:
getMainGroupin interfaceCompanyProfile
-
getEntityId
public String getEntityId()
- Specified by:
getEntityIdin interfaceSamlSettings
-
getSsoServiceUrl
public String getSsoServiceUrl()
- Specified by:
getSsoServiceUrlin interfaceSamlSettings
-
getCertificate
public String getCertificate()
- Specified by:
getCertificatein interfaceSamlSettings
-
getFingerprint
public String getFingerprint()
- Specified by:
getFingerprintin interfaceApplicationProfile
-
getLinkedConversations
public Collection<? extends Reference> getLinkedConversations()
- Specified by:
getLinkedConversationsin interfaceConversation
-
getViews
public Collection<? extends View> getViews()
- Specified by:
getViewsin interfaceConversation
-
getUser
public ReferenceWithName getUser()
- Specified by:
getUserin interfaceAuthentication
-
getApplication
public ReferenceWithName getApplication()
- Specified by:
getApplicationin interfaceAuthentication
-
getAdminUser
public ReferenceWithName getAdminUser()
- Specified by:
getAdminUserin interfaceAuthentication
-
getWatchers
public Collection<? extends ReferenceWithName> getWatchers()
- Specified by:
getWatchersin interfaceConversation
-
isChecked
public boolean isChecked()
- Specified by:
isCheckedin interfaceChecklist.Row
-
getLastView
public Instant getLastView()
- Specified by:
getLastViewin interfaceView
-
isInfected
public Boolean isInfected()
- Specified by:
isInfectedin interfaceAttachment
-
getInvolvedCompanies
public Collection<? extends ReferenceWithName> getInvolvedCompanies()
- Specified by:
getInvolvedCompaniesin interfaceConversation
-
getSharedWith
public Collection<? extends ReferenceWithName> getSharedWith()
- Specified by:
getSharedWithin interfaceAsset
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceConversation
-
getMetadataUrl
public String getMetadataUrl()
- Specified by:
getMetadataUrlin interfaceSamlSettings
-
getAttribute
public String getAttribute()
- Specified by:
getAttributein interfaceSamlSettings
-
getVersions
public Collection<String> getVersions()
- Specified by:
getVersionsin interfaceApplicationProfile
-
getOwner
public Reference getOwner()
- Specified by:
getOwnerin interfaceOptionalField
-
-