Package com.slack.api.model.event
Class ExternalOrgMigrationFinishedEvent
java.lang.Object
com.slack.api.model.event.ExternalOrgMigrationFinishedEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class ExternalOrgMigrationFinishedEvent extends java.lang.Object implements Event
The external_org_migration_finished event is sent to all connections when an external workspace completes to migrate to an Enterprise Grid.
The team indicates the external workspace that is migrating.
The date_started indicates the time the external workspace started to migrate.
The date_finished indicates the time the external workspace finished to migrate.
https://api.slack.com/events/external_org_migration_finished
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalOrgMigrationFinishedEvent.Team -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description ExternalOrgMigrationFinishedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetDateFinished()java.lang.IntegergetDateStarted()ExternalOrgMigrationFinishedEvent.TeamgetTeam()java.lang.StringgetType()inthashCode()voidsetDateFinished(java.lang.Integer dateFinished)voidsetDateStarted(java.lang.Integer dateStarted)voidsetTeam(ExternalOrgMigrationFinishedEvent.Team team)java.lang.StringtoString()
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
ExternalOrgMigrationFinishedEvent
public ExternalOrgMigrationFinishedEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
getTeam
-
getDateStarted
public java.lang.Integer getDateStarted() -
getDateFinished
public java.lang.Integer getDateFinished() -
setTeam
-
setDateStarted
public void setDateStarted(java.lang.Integer dateStarted) -
setDateFinished
public void setDateFinished(java.lang.Integer dateFinished) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-