Class FleetInvitation

    • Constructor Detail

      • FleetInvitation

        public FleetInvitation()
    • Method Detail

      • getCharacterId

        public Integer getCharacterId()
        The character you want to invite
        Returns:
        characterId
      • setCharacterId

        public void setCharacterId​(Integer characterId)
      • getRole

        public FleetInvitation.RoleEnum getRole()
        If a character is invited with the `fleet_commander` role, neither `wing_id` or `squad_id` should be specified. If a character is invited with the `wing_commander` role, only `wing_id` should be specified. If a character is invited with the `squad_commander` role, both `wing_id` and `squad_id` should be specified. If a character is invited with the `squad_member` role, `wing_id` and `squad_id` should either both be specified or not specified at all. If they aren’t specified, the invited character will join any squad with available positions.
        Returns:
        role
      • getRoleString

        public String getRoleString()
      • setRoleString

        public void setRoleString​(String role)
      • getSquadId

        @Nullable
        public Long getSquadId()
        squad_id integer minimum: 0
        Returns:
        squadId
      • setSquadId

        public void setSquadId​(Long squadId)
      • getWingId

        @Nullable
        public Long getWingId()
        wing_id integer minimum: 0
        Returns:
        wingId
      • setWingId

        public void setWingId​(Long wingId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object