Class NewsfeedAssignment
- java.lang.Object
-
- com.intercom.api.resources.unstable.news.types.NewsfeedAssignment
-
public final class NewsfeedAssignment extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNewsfeedAssignment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewsfeedAssignment.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Integer>getNewsfeedId()java.util.Optional<java.lang.Integer>getPublishedAt()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getNewsfeedId
public java.util.Optional<java.lang.Integer> getNewsfeedId()
- Returns:
- The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).
-
getPublishedAt
public java.util.Optional<java.lang.Integer> getPublishedAt()
- Returns:
- Publish date of the news item on the newsfeed, use this field if you want to set a publish date in the past (e.g. when importing existing news items). On write, this field will be ignored if the news item state is "draft".
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static NewsfeedAssignment.Builder builder()
-
-